Z 1 an în urmă
părinte
comite
6da7fa1cfe

+ 13 - 6
src/views/bpm/done/index.vue

@@ -74,7 +74,7 @@
       >
         <template v-slot:result="{ row }">
           <el-tag size="medium" :type="getTimelineItemType(getDictValue('流程实例的结果', row.result))"> {{getDictValue('流程实例的结果', row.result)}} </el-tag>
-   
+
         </template>
         <template v-slot:durationInMillis="{ row }">
           {{getDateTime(row.durationInMillis)}}
@@ -132,12 +132,19 @@
             showOverflowTooltip: true,
             fixed: 'left'
           },
+          {
+            prop: 'processInstance.processTypeName',
+            label: '流程分类',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 150
+          },
           {
             prop: 'processInstance.name',
             label: '流程名称',
             align: 'center',
             showOverflowTooltip: true,
-            minWidth: 200
+            minWidth: 150
           },
           {
             prop: 'name',
@@ -145,14 +152,14 @@
             label: '任务名称',
             align: 'center',
             showOverflowTooltip: true,
-            minWidth: 200
+            minWidth: 150
           },
           {
             prop: 'processInstance.startUserNickname',
             label: '流程发起人',
             align: 'center',
             showOverflowTooltip: true,
-            minWidth: 200
+            minWidth: 120
           },
           {
             prop: 'result',
@@ -190,7 +197,7 @@
             label: '耗时',
             align: 'center',
             showOverflowTooltip: true,
-            minWidth: 180
+            minWidth: 130
           },
           // {
           //   columnKey: 'action',
@@ -248,7 +255,7 @@
       if (result === '处理中') {
         return 'warning';
       }
-     
+
       return '';
     },
     getDateTime(ms){

+ 1 - 2
src/views/bpm/handleTask/components/businessOpportunity/submit.vue

@@ -229,7 +229,7 @@ export default {
         let list = []
         let arr = data.map((item) => {
           requiredFiled.forEach(i => {
-            if (!item[i.filed]) {
+            if (!item[i.filed]&&item[i.filed]!==0) {
               list.push(i.name)
             }
           })
@@ -246,7 +246,6 @@ export default {
             technicalAnswerName: item.technicalAnswerName
           };
         });
-        console.log(arr);
         if (!arr) {
           return;
         }

+ 7 - 0
src/views/bpm/todo/index.vue

@@ -96,6 +96,13 @@
             @click="handleAudit('audit', row)"
             >处理</el-button
           >
+<!--          <el-button-->
+<!--            size="mini"-->
+<!--            type="text"-->
+<!--            icon="el-icon-edit"-->
+<!--            @click="handleAudit('audit', row)"-->
+<!--          >转派</el-button-->
+<!--          >-->
           <!-- <el-button
             size="mini"
             type="text"