From b4c7c6a738f44afadbc388bb774ac044e7fafe38 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 12 十月 2023 11:24:21 +0800 Subject: [PATCH] 修改列显隐 --- Source/UBCS-WEB/src/views/docking/info.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/views/docking/info.vue b/Source/UBCS-WEB/src/views/docking/info.vue index eb7c585..eaf994b 100644 --- a/Source/UBCS-WEB/src/views/docking/info.vue +++ b/Source/UBCS-WEB/src/views/docking/info.vue @@ -12,7 +12,7 @@ <template slot="menu" slot-scope="{row,index}"> <el-button icon="el-icon-edit" size="small" type="text" @click="updateSave(row,index)" :disabled="row.usedFlag === 'true' ? false :true">缂栬緫</el-button> <el-button icon="el-icon-delete" size="small" type="text" @click="deleteSave(row,index)">鍒犻櫎</el-button> - <el-button v-if="row.usedflag=='false'" icon="el-icon-position" size="small" type="text" + <el-button v-if="row.usedFlag=='false' || row.usedFlag==''" icon="el-icon-position" size="small" type="text" @click="ENABLE(row,index)">鍚敤 </el-button> <el-button v-else icon="el-icon-finished" size="small" type="text" @click="DISABLE(row,index)">鍋滅敤 @@ -93,6 +93,7 @@ option: { height: "auto", calcHeight: 20, + columnBtn:false, tip: false, headerAlign: "center", border: true, @@ -174,8 +175,9 @@ },{ label: 'soapAction', prop: 'soapAction', + overHidden:true, sortable: true, - width: 150 + width: 200 }, { label: '璋冪敤鏂瑰紡', prop: 'cxfaxis', @@ -191,7 +193,8 @@ label: '璇锋眰鍦板潃', prop: 'requestUrl', sortable: true, - width: 150 + overHidden:true, + width: 200 }, { label: '鎺ュ彛鍑芥暟', prop: 'interfaceFunction', @@ -400,7 +403,7 @@ onLoad(page, params = {}) { this.loading = true; getList(this.page.currentPage, this.page.pageSize, Object.assign(params, this.query)).then(res => { - console.log(res) + // console.log(res) const data = res.data.data; this.page.total = data.total; this.data = data.records; -- Gitblit v1.9.3