| | |
| | | plain
|
| | | icon="Plus"
|
| | | @click="handleAdd"
|
| | | v-hasPermi="['system:dict:add']"
|
| | | >新增</el-button>
|
| | | </el-col>
|
| | | <el-col :span="1.5">
|
| | |
| | | icon="Edit"
|
| | | :disabled="single"
|
| | | @click="handleUpdate"
|
| | | v-hasPermi="['system:dict:edit']"
|
| | | >修改</el-button>
|
| | | </el-col>
|
| | | <el-col :span="1.5">
|
| | |
| | | icon="Delete"
|
| | | :disabled="multiple"
|
| | | @click="handleDelete"
|
| | | v-hasPermi="['system:dict:remove']"
|
| | | >删除</el-button>
|
| | | </el-col>
|
| | | <el-col :span="1.5">
|
| | |
| | | plain
|
| | | icon="Download"
|
| | | @click="handleExport"
|
| | | v-hasPermi="['system:dict:export']"
|
| | | >导出</el-button>
|
| | | </el-col>
|
| | | <el-col :span="1.5">
|
| | |
| | | plain
|
| | | icon="Refresh"
|
| | | @click="handleRefreshCache"
|
| | | v-hasPermi="['system:dict:remove']"
|
| | | >刷新缓存</el-button>
|
| | | </el-col>
|
| | | <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
| | |
| | | </el-table-column>
|
| | | <el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width">
|
| | | <template #default="scope">
|
| | | <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:dict:edit']">修改</el-button>
|
| | | <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:dict:remove']">删除</el-button>
|
| | | <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)">修改</el-button>
|
| | | <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)">删除</el-button>
|
| | | </template>
|
| | | </el-table-column>
|
| | | </el-table>
|