From 6ab830320b2508ee5f6a7be6cb18653e5d651f0d Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期三, 10 九月 2025 14:37:06 +0800
Subject: [PATCH] 1、DNC首页三维工艺生成产品结构树列表增加字符数超出省略功能 2、设备调拨列表详情改为查看流程详情

---
 src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue |   50 +++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 47 insertions(+), 3 deletions(-)

diff --git a/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue b/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
index 606fd57..a887909 100644
--- a/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
+++ b/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
@@ -16,7 +16,7 @@
 </template>
 
 <script>
-  import { getAction } from '@/api/manage'
+import { getAction, postAction } from '@/api/manage'
   import { JeecgListMixin } from '@/mixins/JeecgListMixin'
   import DocumentModal from '../../../../common/DocumentModal'
   import NcDocumentAssignModal from '@views/dnc/base/modules/ProductStructure/Document/NcDocumentAssignModal.vue'
@@ -91,7 +91,8 @@
         currentRightClickedDocumentInfo: {},
         currentClickedDocumentInfo: {},
         url: {
-          list: '/nc/doc/find/page'
+          list: '/nc/doc/find/page',
+          startDispatchFile:'/dncFlow/dispatchFile/startDispatchFile',
         }
       }
     },
@@ -190,7 +191,50 @@
         this.$refs.documentAssignModalRef.title = modalTitle
         this.$refs.documentAssignModalRef.visible = true
       },
-
+      handleDocumentDispatch(record) {
+        const that = this
+        console.log("sssss",record)
+        that.$confirm({
+          title: '鎻愮ず',
+          content: `纭鍙戣捣瀹$娴佺▼鍚楋紵`,
+          okText: '纭',
+          cancelText: '鍙栨秷',
+          onOk: () => {
+            let dispatchFile = {
+              'docId':record.docId,
+              'attributionId':record.attributionId,
+              'attributionType':record.attributionType,
+              'fileId':record.publishFileId,
+              'docClassCode':record.classificationId_dictText,
+            }
+            postAction(this.url.startDispatchFile,dispatchFile)
+              .then(res => {
+                if (res.success) {
+                  this.$message.success('娴佺▼鍙戣捣鎴愬姛')
+                  this.loadData()
+                } else {
+                  that.$notification.error({
+                    message: '娑堟伅',
+                    description: res.message
+                  })
+                }
+              })
+              .catch(err => {
+                that.$notification.error({
+                  message: '娑堟伅',
+                  description: err.message
+                })
+              })
+              .finally(() => {
+                that.$destroyAll()
+                this.loadData()
+              })
+          },
+          onCancel: () => {
+            that.$destroyAll()
+          }
+        })
+      },
       handleDelete() {
         // 姝ゅ鍑芥暟涓哄睆钄絤ixins涓殑鍚屽悕鍑芥暟锛岄�氱敤鍑芥暟鍐欏湪鐖剁骇涓�
       },

--
Gitblit v1.9.3