From d387848d15a40fb16c8a6eefb007d5f7411c5dbc Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期日, 28 四月 2024 13:32:27 +0800 Subject: [PATCH] fix:修改图片浏览组件 --- src/views/system/template/default/index.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/system/template/default/index.vue b/src/views/system/template/default/index.vue index 516bdac..01773b0 100644 --- a/src/views/system/template/default/index.vue +++ b/src/views/system/template/default/index.vue @@ -42,6 +42,7 @@ icon="el-icon-plus" size="mini" @click="handleAdd" + v-hasPermi="['platform:template:add']" >鏂板</el-button> </el-col> <el-col :span="1.5"> @@ -51,6 +52,7 @@ icon="el-icon-edit" size="mini" :disabled="single" + v-hasPermi="['platform:template:edit']" @click="handleUpdate" >淇敼</el-button> </el-col> @@ -61,6 +63,7 @@ icon="el-icon-delete" size="mini" :disabled="multiple" + v-hasPermi="['platform:template:remove']" @click="handleDelete" >鍒犻櫎</el-button> </el-col> @@ -70,6 +73,7 @@ plain icon="el-icon-download" size="mini" + v-hasPermi="['platform:template:export']" @click="handleExport" >瀵煎嚭</el-button> </el-col> @@ -94,12 +98,14 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" + v-hasPermi="['platform:template:edit']" >淇敼</el-button> <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" + v-hasPermi="['platform:template:remove']" >鍒犻櫎</el-button> </template> </el-table-column> @@ -183,7 +189,7 @@ <script> import { listTemplate, getTemplate, delTemplate, addTemplate, updateTemplate } from "@/api/platform/default-template"; -// import { ruleSelect } from '@/api/platform/default-rule' +// import { ruleSelect } from '@/api/platform/calculate-rule' import { unitSelect } from '@/api/platform/unit' export default { -- Gitblit v1.8.0