浏览代码

王子文 目标措施 - bug fixed: 目标措施页面数据加载时,没有设定措施项的数据,不应有操作项

wangggziwen 3 年之前
父节点
当前提交
4c1ea66489
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      ui/src/views/plant/targetmeasures/index.vue

+ 2 - 0
ui/src/views/plant/targetmeasures/index.vue

@@ -71,6 +71,7 @@
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
             v-hasPermi="['plant:targetlist:edit']"
+            v-if="scope.row.measures!=null"
           >{{ $t('修改') }}</el-button>
           <el-button
             size="mini"
@@ -78,6 +79,7 @@
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
             v-hasPermi="['plant:targetlist:remove']"
+            v-if="scope.row.measures!=null"
           >{{ $t('删除') }}</el-button>
         </template>
       </el-table-column>