chrislee 1 рік тому
батько
коміт
ba6d1e2823

+ 0 - 3
src/views/modules/worder/add-or-update.vue

@@ -162,9 +162,6 @@ export default {
         ],
         receiver: [
           { required: true, message: '请输入工单任务接收人', trigger: 'blur' }
-        ],
-        attachList: [
-          { required: true, message: '请上传附件', trigger: 'blur' }
         ]
       }
     }

+ 5 - 5
src/views/modules/works/work-center.vue

@@ -58,7 +58,7 @@
         >
             <template slot-scope="scope">
                  <span>{{
-                rankTypeOption.findIndex((t) => t.value == scope.row.ranks) > -1 
+                rankTypeOption.findIndex((t) => t.value == scope.row.ranks) > -1
                 ? rankTypeOption.find((t) => t.value == scope.row.ranks).label
                 : ''
               }}</span>
@@ -74,7 +74,7 @@
         >
             <template slot-scope="scope">
                 <span>{{
-                taskTypeOption.findIndex((t) => t.value == scope.row.taskType) > -1 
+                taskTypeOption.findIndex((t) => t.value == scope.row.taskType) > -1
                 ? taskTypeOption.find((t) => t.value == scope.row.taskType).label
                 : ''
               }}</span>
@@ -146,7 +146,7 @@
         >
             <template slot-scope="scope">
                 <span>{{
-                nodeStateOption.findIndex((t) => t.value == scope.row.state) > -1 
+                nodeStateOption.findIndex((t) => t.value == scope.row.state) > -1
                 ? nodeStateOption.find((t) => t.value == scope.row.state).label
                 : ''
               }}</span>
@@ -229,7 +229,7 @@
                     @click="showDetail(scope.row.taskId)"
                     >查看</el-button>
                 <el-button
-                    v-if="isAuth('work:clt:start')"
+                    v-if="isAuth('work:clt:start') && Number(scope.row.state) < 2"
                     type="text"
                     size="small"
                     @click="addOrUpdateHandle(scope.row.taskId, scope.row)"
@@ -345,4 +345,4 @@ export default {
 
 <style>
 
-</style>
+</style>

+ 11 - 2
src/views/modules/works/work.vue

@@ -45,7 +45,7 @@
       <template slot-scope="scope">
           <span>
             {{
-                rankTypeOption.findIndex((t) => t.value == scope.row.ranks) > -1 
+                rankTypeOption.findIndex((t) => t.value == scope.row.ranks) > -1
                 ? rankTypeOption.find((t) => t.value == scope.row.ranks).label
                 : ''
             }}
@@ -62,7 +62,7 @@
         <template slot-scope="scope">
           <span>
             {{
-                taskTypeOption.findIndex((t) => t.value == scope.row.taskType) > -1 
+                taskTypeOption.findIndex((t) => t.value == scope.row.taskType) > -1
                 ? taskTypeOption.find((t) => t.value == scope.row.taskType).label
                 : ''
             }}
@@ -106,6 +106,15 @@
             <el-button :disabled="!scope.row.attachListVo || scope.row.attachListVo.length === 0" type="text" size="small" @click="changeDetails(scope.row.attachListVo)">查看</el-button>
          </template>
       </el-table-column>
+      <el-table-column
+        prop="historicalOperationRecords"
+        header-align="center"
+        align="center"
+        width="160"
+        :show-tooltip-when-overflow="true"
+        label="操作记录"
+      >
+      </el-table-column>
       <el-table-column
         prop="remark"
         header-align="center"