Commit a8edc7705ff4b33a5cf0eeaf46b67319b0a6ab7f
1 parent
04debb70
m
Showing
3 changed files
with
6 additions
and
6 deletions
trash-ui/dist.7z deleted
100644 → 0
No preview for this file type
trash-ui/dist.zip
0 → 100644
No preview for this file type
trash-ui/src/views/unit/dropPointInfo/index.vue
| @@ -56,7 +56,7 @@ | @@ -56,7 +56,7 @@ | ||
| 56 | icon="el-icon-plus" | 56 | icon="el-icon-plus" |
| 57 | size="mini" | 57 | size="mini" |
| 58 | @click="handleAdd" | 58 | @click="handleAdd" |
| 59 | - v-hasPermi="['business.supervision.droppoint.insert']" | 59 | + v-if="checkPer(['business.supervision.droppoint.insert'])" |
| 60 | >新增 | 60 | >新增 |
| 61 | </el-button> | 61 | </el-button> |
| 62 | </el-col> | 62 | </el-col> |
| @@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
| 67 | size="mini" | 67 | size="mini" |
| 68 | :disabled="single" | 68 | :disabled="single" |
| 69 | @click="handleUpdate" | 69 | @click="handleUpdate" |
| 70 | - v-hasPermi="['business.supervision.droppoint.edit']" | 70 | + v-if="checkPer(['business.supervision.droppoint.edit'])" |
| 71 | >修改 | 71 | >修改 |
| 72 | </el-button> | 72 | </el-button> |
| 73 | </el-col> | 73 | </el-col> |
| @@ -78,7 +78,7 @@ | @@ -78,7 +78,7 @@ | ||
| 78 | size="mini" | 78 | size="mini" |
| 79 | :disabled="multiple" | 79 | :disabled="multiple" |
| 80 | @click="handleDelete" | 80 | @click="handleDelete" |
| 81 | - v-hasPermi="['business.supervision.droppoint.delete']" | 81 | + v-if="checkPer(['business.supervision.droppoint.delete'])" |
| 82 | >删除 | 82 | >删除 |
| 83 | </el-button> | 83 | </el-button> |
| 84 | </el-col> | 84 | </el-col> |
| @@ -88,7 +88,7 @@ | @@ -88,7 +88,7 @@ | ||
| 88 | icon="el-icon-download" | 88 | icon="el-icon-download" |
| 89 | size="mini" | 89 | size="mini" |
| 90 | @click="handleExport" | 90 | @click="handleExport" |
| 91 | - v-hasPermi="['business.supervision.droppoint.export']" | 91 | + v-if="checkPer(['business.supervision.droppoint.export'])" |
| 92 | >导出 | 92 | >导出 |
| 93 | </el-button> | 93 | </el-button> |
| 94 | </el-col> | 94 | </el-col> |
| @@ -150,7 +150,7 @@ | @@ -150,7 +150,7 @@ | ||
| 150 | type="text" | 150 | type="text" |
| 151 | icon="el-icon-edit" | 151 | icon="el-icon-edit" |
| 152 | @click="handleUpdate(scope.row)" | 152 | @click="handleUpdate(scope.row)" |
| 153 | - v-hasPermi="['unit:dropPointInfo:edit']" | 153 | + v-if="checkPer(['business.supervision.droppoint.edit'])" |
| 154 | >修改 | 154 | >修改 |
| 155 | </el-button> | 155 | </el-button> |
| 156 | <el-button | 156 | <el-button |
| @@ -158,7 +158,7 @@ | @@ -158,7 +158,7 @@ | ||
| 158 | type="text" | 158 | type="text" |
| 159 | icon="el-icon-delete" | 159 | icon="el-icon-delete" |
| 160 | @click="handleDelete(scope.row)" | 160 | @click="handleDelete(scope.row)" |
| 161 | - v-hasPermi="['unit:dropPointInfo:remove']" | 161 | + v-if="checkPer(['business.supervision.droppoint.remove'])" |
| 162 | >删除 | 162 | >删除 |
| 163 | </el-button> | 163 | </el-button> |
| 164 | </template> | 164 | </template> |