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