Browse Source

数据采集:列表中“审核状态”字段由audit更改为approveStatus(之前绑定错误了)

hezhihong 1 year ago
parent
commit
2fad34f050
1 changed files with 8 additions and 7 deletions
  1. 8 7
      src/views/GATHER/index.vue

+ 8 - 7
src/views/GATHER/index.vue

@@ -238,12 +238,12 @@
         prop="approveTime"
         width="100"
       />
-      <el-table-column label="审核状态" align="center" prop="audit">
+      <el-table-column label="审核状态" align="center" prop="approveStatus">
         <template slot-scope="scope">
-          <span v-if="scope.row.audit == 0">未提交审核</span>
-          <span v-if="scope.row.audit == 1">审核中</span>
-          <span v-if="scope.row.audit == 2">审核通过</span>
-          <span v-if="scope.row.audit == 3">审核拒绝</span>
+          <span v-if="scope.row.approveStatus == 0">未提交审核</span>
+          <span v-if="scope.row.approveStatus == 1">审核中</span>
+          <span v-if="scope.row.approveStatus == 2">审核通过</span>
+          <span v-if="scope.row.approveStatus == 3">审核拒绝</span>
         </template>
       </el-table-column>
       <el-table-column
@@ -351,12 +351,12 @@
             @click="handleDetail(scope.row, 0)"
             >查看</el-button
           >
-          <!-- {{scope.row.collStatus}}--{{scope.row.audit}} -->
+          <!-- {{scope.row.collStatus}}--{{scope.row.approveStatus}} -->
           <el-button
             style="margin: 0 2px"
             v-if="
               scope.row.collStatus == 1 &&         // 已采集
-              scope.row.audit == 0 &&              // 未审核
+              scope.row.approveStatus == 0 &&              // 未审核
               checkPermi(['gather:GATHER:edit'])   // 编辑权限
             "
             size="mini"
@@ -1166,6 +1166,7 @@ export default {
         })
         .catch((err) => {
           console.log(err);
+          debugger;
           this.$message.error("请检查是否有必填项未输入!");
         });
     },