From 80da77d96adf4acbf25ea5c8614ae485bc02da2d Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 07 十二月 2023 15:48:18 +0800 Subject: [PATCH] 下载历史数据导入模板带上码段宽度 --- Source/UBCS-WEB/src/views/system/param.vue | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Source/UBCS-WEB/src/views/system/param.vue b/Source/UBCS-WEB/src/views/system/param.vue index c890354..b7247f1 100644 --- a/Source/UBCS-WEB/src/views/system/param.vue +++ b/Source/UBCS-WEB/src/views/system/param.vue @@ -1,17 +1,17 @@ <template> <basic-container> <avue-crud v-bind="bindVal" - v-on="onEvent" - v-model="form" - :permission="permissionList" - :page.sync="page"> + v-on="onEvent" + v-model="form" + :permission="permissionList" + :page.sync="page"> <template slot="menuLeft"> - <el-button type="danger" - size="small" - icon="el-icon-delete" - v-if="permission.param_delete" - plain - @click="handleDelete">鍒� 闄� + <el-button v-if="permissionList.delBtn" + type="danger" + size="small" + icon="el-icon-delete" + plain + @click="handleDelete">鍒� 闄� </el-button> </template> </avue-crud> @@ -27,10 +27,10 @@ computed: { permissionList() { return { - addBtn: this.vaildData(this.permission.param_add, false), - viewBtn: this.vaildData(this.permission.param_view, false), - delBtn: this.vaildData(this.permission.param_delete, false), - editBtn: this.vaildData(this.permission.param_edit, false) + addBtn: this.vaildData(this.permission.param.param_add, false), + viewBtn: this.vaildData(this.permission.param.param_view, false), + delBtn: this.vaildData(this.permission.param.param_delete, false), + editBtn: this.vaildData(this.permission.param.param_edit, false) }; } }, -- Gitblit v1.9.3