linwenxin vor 4 Monaten
Ursprung
Commit
6954da2fc8
1 geänderte Dateien mit 24 neuen und 0 gelöschten Zeilen
  1. 24 0
      src/views/workOrder/appraiseAppeal/appraisalStatement/index.vue

+ 24 - 0
src/views/workOrder/appraiseAppeal/appraisalStatement/index.vue

@@ -734,6 +734,30 @@ export default {
             })
           }
         },
+        // 申诉
+        statement: {
+          conditions: ({ row, index, column }) => {
+            return row.isSecond == false && row.status == 'WAIT'
+          },
+          click: ({ row, index, column }) => {
+            appraiseApplyApplyDetail({
+              id: row.id
+            }).then(res => {
+              appraiseApplyCategoryList({ pageNum: 1, pageSize: -1, params: [] }).then(res => {
+                this.appraiseApplyCategoryList = res.data.records
+              })
+              this.formData = {
+                ...res.data,
+                recordingFile: (res.data?.items || []).filter(item => item.type == 'C'),
+                applicationDocument: (res.data?.items || []).filter(item => item.type == 'I')
+              }
+              this.$nextTick(() => {
+                this.formType = 2
+                this.formBool = true
+              })
+            })
+          }
+        },
         // 二次申诉
         secondStatement: {
           conditions: ({ row, index, column }) => {