Ver código fonte

巡检修改

duy 1 ano atrás
pai
commit
6aeda39d3b
1 arquivos alterados com 2 adições e 2 exclusões
  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>