Explorar o código

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

wangggziwen %!s(int64=3) %!d(string=hai) anos
pai
achega
4c1ea66489
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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>