From 15e22fc7a5b6ee006ff88e0eb0d1bd36f14d683f Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期二, 01 四月 2025 15:21:28 +0800
Subject: [PATCH] 修改审签工作流

---
 src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue b/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
index ee053f4..0594357 100644
--- a/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
+++ b/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
@@ -1,7 +1,7 @@
 <template>
   <div>
-    <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination"
-             :scroll="{y:189}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange">
+    <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination" :loading="loading"
+             :scroll="{y:265}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange">
 
     </a-table>
 
@@ -21,6 +21,9 @@
     props: {
       currentTreeNodeInfo: {
         type: Object
+      },
+      currentTypeOfDevice:{
+        type:Number
       },
       size: {
         type: String
@@ -61,13 +64,15 @@
           },
           {
             title: '鐘�  鎬�',
-            dataIndex: 'docStatus_dictText',
-            key: 'docStatus',
+            dataIndex: 'docDispatchStatus_dictText',
+            key: 'docDispatchStatus',
             align: 'center',
             filters: [
-              { text: '璁捐', value: 1 },
-              { text: '鍙戝竷', value: 2 },
-              { text: '褰掓。', value: 3 }
+              { text: '缂栧埗', value: 1 },
+              { text: '鏍″', value: 2 },
+              { text: '鎵瑰噯', value: 3 },
+              { text: '璇曞垏', value: 4 },
+              { text: '瀹氬瀷', value: 5 }
             ]
           },
           { title: '绯荤粺鎸囧畾鐗堟湰', dataIndex: 'publishVersion', align: 'center' },
@@ -109,7 +114,7 @@
         var params = this.getQueryParams()//鏌ヨ鏉′欢
         console.log('currentTreeNodeInfo', this.currentTreeNodeInfo)
         params.attributionId = this.currentTreeNodeInfo.key
-        params.attributionType = 4
+        params.attributionType = this.currentTypeOfDevice
         params.docClassCode = 'REC'
         if (!params) return false
         this.dataSource = []
@@ -132,6 +137,9 @@
 
       customRow(record) {
         return {
+          style: {
+            backgroundColor: this.currentClickedDocumentInfo.docId === record.docId ? '#BAE7FF' : 'transparent'
+          },
           on: {
             contextmenu: event => {
               event.preventDefault()
@@ -169,6 +177,7 @@
       },
 
       handleDocumentEdit(record, modalTitle) {
+        if (!this.$refs.modalForm) return
         this.$refs.modalForm.edit(record)
         this.$refs.modalForm.title = modalTitle
       },

--
Gitblit v1.9.3