潘志宝
2024-11-22 df90c0c5cfa4de114798015b92120ad8ba8b4826
src/views/data/ind/data/index.vue
@@ -27,7 +27,7 @@
          重置
        </el-button>
        <el-button
          v-hasPermi="['system:dict:create']"
          v-hasPermi="['data:ind-data-set:create']"
          plain
          type="primary"
          @click="openForm('create')"
@@ -54,18 +54,18 @@
      <el-table-column align="center" label="操作">
        <template #default="scope">
          <el-button
            v-hasPermi="['system:dict:update']"
            v-hasPermi="['data:ind-data-set:update']"
            link
            type="primary"
            @click="openForm('update', scope.row.id)"
          >
            修改
          </el-button>
          <router-link :to="'/ind/data/field/' + scope.row.type">
          <router-link :to="'/ind/data/field/' + scope.row.id">
            <el-button link type="primary">字段</el-button>
          </router-link>
          <el-button
            v-hasPermi="['system:dict:delete']"
            v-hasPermi="['data:ind-data-set:delete']"
            link
            type="danger"
            @click="handleDelete(scope.row.id)"