linwenxin 1 месяц назад
Родитель
Сommit
9edaad97da
1 измененных файлов с 62 добавлено и 1 удалено
  1. 62 1
      src/views/workOrder/qualityFeedback/index.vue

+ 62 - 1
src/views/workOrder/qualityFeedback/index.vue

@@ -31,6 +31,16 @@
                 :form-data="formData"
                 :form-items="items2"
               />
+
+              <zj-form-module title="操作明细">
+                <zj-table
+                  :columns="operationDetailColumns"
+                  :tableData="logList"
+                  :tableAttributes="{
+                    border: true
+                  }"
+                ></zj-table>
+              </zj-form-module>
             </zj-form-container>
           </zj-page-fill>
           <!-- 操作按钮 -->
@@ -176,7 +186,8 @@ export default {
         },
         // 产品小类
         PRODUCT_SUBCLASS: (v, data) => {}
-      }
+      },
+      logList: []
     }
   },
   created() {
@@ -202,6 +213,53 @@ export default {
     })
   },
   computed: {
+    operationDetailColumns() {
+      return [
+        {
+          columnAttributes: {
+            label: '网点提交时间',
+            prop: 'submitTime'
+          }
+        },
+        {
+          columnAttributes: {
+            label: '网点提交人',
+            prop: 'submitBy'
+          }
+        },
+        {
+          columnAttributes: {
+            label: '审核结果',
+            prop: 'status'
+          },
+          render: (h, { row, column, index }) => {
+            return (
+              <div style="padding: 0 10px">
+                {{ OK: '通过', REJECT: '驳回可修改', FAIL: '驳回不可修改' }[row.status]}
+              </div>
+            )
+          }
+        },
+        {
+          columnAttributes: {
+            label: '审核备注',
+            prop: 'remark'
+          }
+        },
+        {
+          columnAttributes: {
+            label: '中心审核人',
+            prop: 'confirmBy'
+          }
+        },
+        {
+          columnAttributes: {
+            label: '中心审核时间',
+            prop: 'confirmTime'
+          }
+        }
+      ]
+    },
     moreParameters() {
       return [
         {
@@ -1292,6 +1350,7 @@ export default {
                 waijitiaoma: res.data.items.filter(item => item.type === 'OUT_CODE').map(item => ({ url: item.url })),
                 qita: res.data.items.filter(item => item.type === 'OTHER').map(item => ({ url: item.url }))
               }
+              this.logList = res.data.recordList
               this.$nextTick(() => {
                 this.getinitlbslist()
                 this.formType = 1
@@ -1319,6 +1378,7 @@ export default {
                 qita: res.data.items.filter(item => item.type === 'OTHER').map(item => ({ url: item.url })),
                 status: ''
               }
+              this.logList = res.data.recordList
               this.$nextTick(() => {
                 this.getinitlbslist()
                 this.formType = 2
@@ -1342,6 +1402,7 @@ export default {
                 waijitiaoma: res.data.items.filter(item => item.type === 'OUT_CODE').map(item => ({ url: item.url })),
                 qita: res.data.items.filter(item => item.type === 'OTHER').map(item => ({ url: item.url }))
               }
+              this.logList = res.data.recordList
               this.$nextTick(() => {
                 this.getinitlbslist()
                 this.formType = 3