소스 검색

refactor(权限): 统一修改权限标识符格式

将多个视图组件中的权限标识符从旧格式修改为新格式,统一为'blocked'前缀
huoyi 1 개월 전
부모
커밋
aada8eb26d

+ 6 - 6
src/views/blockingData/dailyLuggageCheckInList/index.vue

@@ -19,19 +19,19 @@
19 19
     <el-row :gutter="10" class="mb8">
20 20
       <el-col :span="1.5">
21 21
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
22
-          v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:add']">新增</el-button>
22
+          v-hasPermi="['blocked:daily:add']">新增</el-button>
23 23
       </el-col>
24 24
       <el-col :span="1.5">
25 25
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
26
-          v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:remove']">删除</el-button>
26
+          v-hasPermi="['blocked:daily:remove']">删除</el-button>
27 27
       </el-col>
28 28
       <el-col :span="1.5">
29 29
         <el-button type="warning" plain icon="Download" @click="handleExport"
30
-          v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:export']">导出</el-button>
30
+          v-hasPermi="['blocked:daily:export']">导出</el-button>
31 31
       </el-col>
32 32
       <el-col :span="1.5">
33 33
         <el-button type="info" plain icon="Upload" @click="handleImport"
34
-          v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:import']">导入</el-button>
34
+          v-hasPermi="['blocked:daily:import']">导入</el-button>
35 35
       </el-col>
36 36
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
37 37
     </el-row>
@@ -72,9 +72,9 @@
72 72
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140" fixed="right">
73 73
         <template #default="scope">
74 74
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
75
-            v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:edit']">修改</el-button>
75
+            v-hasPermi="['blocked:daily:edit']">修改</el-button>
76 76
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
77
-            v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:remove']">删除</el-button>
77
+            v-hasPermi="['blocked:daily:remove']">删除</el-button>
78 78
         </template>
79 79
       </el-table-column>
80 80
     </el-table>

+ 6 - 6
src/views/blockingData/dailyLuggageInspectionScheduleByTime/index.vue

@@ -19,19 +19,19 @@
19 19
     <el-row :gutter="10" class="mb8">
20 20
       <el-col :span="1.5">
21 21
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
22
-          v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:add']">新增</el-button>
22
+          v-hasPermi="['blocked:pieceDaily:add']">新增</el-button>
23 23
       </el-col>
24 24
       <el-col :span="1.5">
25 25
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
26
-          v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:remove']">删除</el-button>
26
+          v-hasPermi="['blocked:pieceDaily:remove']">删除</el-button>
27 27
       </el-col>
28 28
       <el-col :span="1.5">
29 29
         <el-button type="warning" plain icon="Download" @click="handleExport"
30
-          v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:export']">导出</el-button>
30
+          v-hasPermi="['blocked:pieceDaily:export']">导出</el-button>
31 31
       </el-col>
32 32
       <el-col :span="1.5">
33 33
         <el-button type="info" plain icon="Upload" @click="handleImport"
34
-          v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:import']">导入</el-button>
34
+          v-hasPermi="['blocked:pieceDaily:import']">导入</el-button>
35 35
       </el-col>
36 36
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
37 37
     </el-row>
@@ -57,9 +57,9 @@
57 57
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140">
58 58
         <template #default="scope">
59 59
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
60
-            v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:edit']">修改</el-button>
60
+            v-hasPermi="['blocked:pieceDaily:edit']">修改</el-button>
61 61
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
62
-            v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:remove']">删除</el-button>
62
+            v-hasPermi="['blocked:pieceDaily:remove']">删除</el-button>
63 63
         </template>
64 64
       </el-table-column>
65 65
     </el-table>

+ 6 - 6
src/views/blockingData/missedInspectionList/index.vue

@@ -41,19 +41,19 @@
41 41
     <el-row :gutter="10" class="mb8">
42 42
       <el-col :span="1.5">
43 43
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
44
-          v-hasPermi="['missedInspection:missedInspection:add']">新增</el-button>
44
+          v-hasPermi="['blocked:missReview:add']">新增</el-button>
45 45
       </el-col>
46 46
       <el-col :span="1.5">
47 47
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
48
-          v-hasPermi="['missedInspection:missedInspection:remove']">删除</el-button>
48
+          v-hasPermi="['blocked:missReview:remove']">删除</el-button>
49 49
       </el-col>
50 50
       <el-col :span="1.5">
51 51
         <el-button type="warning" plain icon="Download" @click="handleExport"
52
-          v-hasPermi="['missedInspection:missedInspection:export']">导出</el-button>
52
+          v-hasPermi="['blocked:missReview:export']">导出</el-button>
53 53
       </el-col>
54 54
       <el-col :span="1.5">
55 55
         <el-button type="info" plain icon="Upload" @click="handleImport"
56
-          v-hasPermi="['missedInspection:missedInspection:import']">导入</el-button>
56
+          v-hasPermi="['blocked:missReview:import']">导入</el-button>
57 57
       </el-col>
58 58
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
59 59
     </el-row>
@@ -90,9 +90,9 @@
90 90
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140" fixed="right">
91 91
         <template #default="scope">
92 92
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
93
-            v-hasPermi="['missedInspection:missedInspection:edit']">修改</el-button>
93
+            v-hasPermi="['blocked:missReview:edit']">修改</el-button>
94 94
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
95
-            v-hasPermi="['missedInspection:missedInspection:remove']">删除</el-button>
95
+            v-hasPermi="['blocked:missReview:remove']">删除</el-button>
96 96
         </template>
97 97
       </el-table-column>
98 98
     </el-table>

+ 6 - 6
src/views/blockingData/rateList/index.vue

@@ -24,19 +24,19 @@
24 24
     <el-row :gutter="10" class="mb8">
25 25
       <el-col :span="1.5">
26 26
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
27
-          v-hasPermi="['rateList:rateList:add']">新增</el-button>
27
+          v-hasPermi="['blocked:rate:add']">新增</el-button>
28 28
       </el-col>
29 29
       <el-col :span="1.5">
30 30
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
31
-          v-hasPermi="['rateList:rateList:remove']">删除</el-button>
31
+          v-hasPermi="['blocked:rate:remove']">删除</el-button>
32 32
       </el-col>
33 33
       <el-col :span="1.5">
34 34
         <el-button type="warning" plain icon="Download" @click="handleExport"
35
-          v-hasPermi="['rateList:rateList:export']">导出</el-button>
35
+          v-hasPermi="['blocked:rate:export']">导出</el-button>
36 36
       </el-col>
37 37
       <el-col :span="1.5">
38 38
         <el-button type="info" plain icon="Upload" @click="handleImport"
39
-          v-hasPermi="['rateList:rateList:import']">导入</el-button>
39
+          v-hasPermi="['blocked:rate:import']">导入</el-button>
40 40
       </el-col>
41 41
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
42 42
     </el-row>
@@ -62,9 +62,9 @@
62 62
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="180">
63 63
         <template #default="scope">
64 64
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
65
-            v-hasPermi="['rateList:rateList:edit']">修改</el-button>
65
+            v-hasPermi="['blocked:rate:edit']">修改</el-button>
66 66
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
67
-            v-hasPermi="['rateList:rateList:remove']">删除</el-button>
67
+            v-hasPermi="['blocked:rate:remove']">删除</el-button>
68 68
         </template>
69 69
       </el-table-column>
70 70
     </el-table>