Commit a8edc7705ff4b33a5cf0eeaf46b67319b0a6ab7f

Authored by youxiw2000
1 parent 04debb70

m

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 56 icon="el-icon-plus"
57 57 size="mini"
58 58 @click="handleAdd"
59   - v-hasPermi="['business.supervision.droppoint.insert']"
  59 + v-if="checkPer(['business.supervision.droppoint.insert'])"
60 60 >新增
61 61 </el-button>
62 62 </el-col>
... ... @@ -67,7 +67,7 @@
67 67 size="mini"
68 68 :disabled="single"
69 69 @click="handleUpdate"
70   - v-hasPermi="['business.supervision.droppoint.edit']"
  70 + v-if="checkPer(['business.supervision.droppoint.edit'])"
71 71 >修改
72 72 </el-button>
73 73 </el-col>
... ... @@ -78,7 +78,7 @@
78 78 size="mini"
79 79 :disabled="multiple"
80 80 @click="handleDelete"
81   - v-hasPermi="['business.supervision.droppoint.delete']"
  81 + v-if="checkPer(['business.supervision.droppoint.delete'])"
82 82 >删除
83 83 </el-button>
84 84 </el-col>
... ... @@ -88,7 +88,7 @@
88 88 icon="el-icon-download"
89 89 size="mini"
90 90 @click="handleExport"
91   - v-hasPermi="['business.supervision.droppoint.export']"
  91 + v-if="checkPer(['business.supervision.droppoint.export'])"
92 92 >导出
93 93 </el-button>
94 94 </el-col>
... ... @@ -150,7 +150,7 @@
150 150 type="text"
151 151 icon="el-icon-edit"
152 152 @click="handleUpdate(scope.row)"
153   - v-hasPermi="['unit:dropPointInfo:edit']"
  153 + v-if="checkPer(['business.supervision.droppoint.edit'])"
154 154 >修改
155 155 </el-button>
156 156 <el-button
... ... @@ -158,7 +158,7 @@
158 158 type="text"
159 159 icon="el-icon-delete"
160 160 @click="handleDelete(scope.row)"
161   - v-hasPermi="['unit:dropPointInfo:remove']"
  161 + v-if="checkPer(['business.supervision.droppoint.remove'])"
162 162 >删除
163 163 </el-button>
164 164 </template>
... ...