From 25ae0c60dc018683e71e62b3f7cc6d6a7f93b255 Mon Sep 17 00:00:00 2001
From: lzhe <181968431@qq.com>
Date: 星期六, 16 八月 2025 17:06:29 +0800
Subject: [PATCH] 1

---
 src/views/wel/shemi.vue |   58 +++++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 39 insertions(+), 19 deletions(-)

diff --git a/src/views/wel/shemi.vue b/src/views/wel/shemi.vue
index 91acb8c..3d3e735 100644
--- a/src/views/wel/shemi.vue
+++ b/src/views/wel/shemi.vue
@@ -22,7 +22,7 @@
           </el-col>
           <el-col :span="6">
             <el-select v-model="search.nodeType" placeholder="璇疯緭鍏ヨ妭鐐圭被鍨�" clearable>
-              <el-option v-for="item in nodeTypeList" :key="item.dictValue" :label="item.dictValue" :value="item.dictKey"/>
+              <el-option v-for="item in nodeTypeList" :key="item.dictValue" :label="item.dictValue" :value="item.dictKey"/>formApprove.
             </el-select>
           </el-col>
           <el-col :span="6">
@@ -65,7 +65,7 @@
     </el-dialog>
     <avue-tabs :option="tabsOption" @change="tabsHandleChange" style="margin-top: 30px;" v-if="isShowTabs"></avue-tabs>
     <avue-form v-if="tabsType == 'tab1'" :option="tabsFormOption" v-model="tabsForm"></avue-form>
-    <span v-else-if="tabsType == 'tab2'">鐗堟湰淇℃伅</span>
+    <!--<span v-else-if="tabsType == 'tab2'">鐗堟湰淇℃伅</span>-->
     <template v-else-if="tabsType == 'tab3'">
         <div v-html="convertToHtml(fileContent)" class="convertToHtml"></div>
     </template>
@@ -210,22 +210,22 @@
           icon: 'el-icon-info',
           label: '鑺傜偣淇℃伅',
           prop: 'tab1',
-        }, {
+        }/*, {
           icon: 'el-icon-warning',
           label: '鐗堟湰淇℃伅',
           prop: 'tab2',
-        }]
+        }*/]
       },
       tabsOption2: {
         column: [{
           icon: 'el-icon-info',
           label: '鑺傜偣淇℃伅',
           prop: 'tab1',
-        }, {
+        },/* {
           icon: 'el-icon-warning',
           label: '鐗堟湰淇℃伅',
           prop: 'tab2',
-        }, {
+        }, */{
           icon: 'el-icon-warning',
           label: '鏂囦欢鍐呭',
           prop: 'tab3'
@@ -262,25 +262,25 @@
             prop: 'createTime',
             disabled: true,
             placeholder: " "
-          },
+          },/*
           {
             label: '鑺傜偣鎻忚堪',
             prop: 'description',
             disabled: true,
             placeholder: " "
-          },
+          },*/
           {
             label: '淇敼鏃堕棿',
             prop: 'updateTime',
             disabled: true,
             placeholder: " "
-          },
+          }/*,
           {
             label: '澶囨敞',
             prop: 'remark',
             disabled: true,
             placeholder: " "
-          }
+          }*/
         ]
       },
       tabsForm: {},
@@ -412,7 +412,7 @@
                     return '';
                 }
             }
-          },
+          },/*
           {
             label: '鐗堟',
             prop: 'processEdition',
@@ -427,16 +427,16 @@
           {
             label: '鎻忚堪',
             prop: 'abc'
-          },
+          },*/
           {
             label: '绫诲瀷',
             prop: 'nodeTypeName'
-          },
+          },/*
           {
             label: '璁惧',
             prop: 'machineCode'
           },
-          
+          */
           {
             label: '閿佸畾鐘舵��',
             prop: 'isLocked',
@@ -459,25 +459,30 @@
                         //闈炵▼搴忚妭鐐�
                         return '';
                     }else{
-                        if(value==0||value==null){
+                        if(value==0||value==-1){
                             return '鏈惎鍔�';
                         }else if(value == 1){
                             return '瀹℃壒涓�';
                         }else if(value == 2){
                             return '宸查�氳繃';
                         }else{
-                            return '鏈畾涔�';
+                            return '';
                         }
                       }
                   },
-          },
+          },/*
           {
             label: '娴嬭瘯绋嬪簭',
             prop: 'abc'
-          },
+          },*/
           {
             label: '鍒涘缓浜�',
             prop: 'createUserName',
+            width: '180'
+          },
+		  {
+            label: '鍒涘缓鏃堕棿',
+            prop: 'createTime',
             width: '180'
           }
         ],
@@ -692,11 +697,26 @@
         this.replaceDataId = resp.data.data.processInstanceId;
         this.processNo = resp.data.data.processNo;
         this.processEdition = resp.data.data.processEdition;
-		this.drawingNo = resp.data.data.drawingNo;
+		    this.drawingNo = resp.data.data.drawingNo;
         this.formApprove.title = resp.data.data.name + "鏇挎崲";
+        this.getHandler(); //鑾峰彇澶勭悊浜�
         this.todolistModel = true;
       });
     },
+    getHandler() {  //鑾峰彇澶勭悊浜�
+      axios({
+        url: '/blade-mdm/flow/replace/default-assignees',
+        method: 'get',
+        params: {drawingNo: this.drawingNo}
+      }).then(
+      resp => {
+        if(resp.data.code == 200) {
+          this.formApprove.assignee = resp.data.data.checkerId;
+        }else {
+          this.$message.success(resp.msg);
+        }
+      });
+    },
     convertToHtml(text) {
         return text.replace(/\n/g, '<br>');
     },

--
Gitblit v1.9.3