龚焕茏
2024-04-19 427c876d16ba2e310b90092ab65af40f96c672f4
接口权限精确到按钮补充
6个文件已修改
30 ■■■■■ 已修改文件
src/views/system/point/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/region/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/report/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/unit/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/unit/people/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/work-order/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/point/index.vue
@@ -49,6 +49,7 @@
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['point:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -59,6 +60,7 @@
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['point:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -68,6 +70,7 @@
          icon="el-icon-top"
          size="mini"
          @click="handleImportPoint"
          v-hasPermi="['point:import']"
        >导入点位</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -77,6 +80,7 @@
          icon="el-icon-receiving"
          size="mini"
          @click="handleEditBatch"
          v-hasPermi="['point:edit']"
        >批量修改</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -116,12 +120,14 @@
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['point:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['point:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
src/views/system/region/index.vue
@@ -45,6 +45,7 @@
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['system:report:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -55,6 +56,7 @@
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['system:report:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -65,6 +67,7 @@
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['system:report:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -74,6 +77,7 @@
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['system:report:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -103,12 +107,14 @@
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['system:report:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['system:report:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
src/views/system/report/index.vue
@@ -52,6 +52,7 @@
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['system:report:add']"
        >新增</el-button>
      </el-col>
<!--      <el-col :span="1.5">-->
@@ -72,6 +73,7 @@
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['system:report:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -81,6 +83,7 @@
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['system:report:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -118,7 +121,7 @@
            type="text"
            icon="el-icon-edit"
            @click="handleAuditing(scope.row)"
            v-hasPermi="['system:report:audit']"
            v-hasPermi="['system:report:edit']"
            v-if="scope.row.status === 0"
          >审核</el-button>
          <el-button
src/views/system/unit/index.vue
@@ -44,6 +44,7 @@
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['unit:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -54,6 +55,7 @@
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['unit:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -64,6 +66,7 @@
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['unit:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -73,6 +76,7 @@
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['unit:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -94,12 +98,14 @@
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['unit:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['unit:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
src/views/system/unit/people/index.vue
@@ -43,6 +43,7 @@
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['unit:people:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -53,6 +54,7 @@
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['unit:people:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -63,6 +65,7 @@
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['unit:people:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -72,6 +75,7 @@
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['unit:people:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -92,12 +96,14 @@
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['unit:people:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['unit:people:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
src/views/system/work-order/index.vue
@@ -84,6 +84,7 @@
                size="mini"
                type="text"
                @click="handleReport(item)"
                v-hasPermi="['system:report:add']"
              >事后报备</el-button>
            </el-row>
          </div>