浏览代码

巡检修改

duy 1 年之前
父节点
当前提交
6aeda39d3b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/patrol/safe.vue

+ 2 - 2
src/views/patrol/safe.vue

@@ -18,8 +18,8 @@
                 </template>
                 <template #action="{ row }">
                     <el-link v-if="row.submitRectify == 2 && row.isRectify == 1" type="primary" @click="reviewRow(row)">复核</el-link>
-                    <el-link type="primary" :disabled="row.isRectify === 3" @click="updateRow(row)">修改</el-link>
-                    <el-link type="primary" :disabled="row.isRectify === 3" @click="delRow(row)">删除</el-link>
+                    <el-link type="primary" :disabled="row.submitRectify === '2'" @click="updateRow(row)">修改</el-link>
+                    <el-link type="primary" :disabled="row.submitRectify === '2'" @click="delRow(row)">删除</el-link>
                 </template>
             </HcTable>
             <template #action>