From e53927c7ccc6a6b97b9205c742b592a6612486ca Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 24 一月 2024 14:47:29 +0800 Subject: [PATCH] 集成日志固定列 --- Source/UBCS-WEB/src/views/docking/loge.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue index 2ae4333..4fdffbe 100644 --- a/Source/UBCS-WEB/src/views/docking/loge.vue +++ b/Source/UBCS-WEB/src/views/docking/loge.vue @@ -126,16 +126,19 @@ data:[], option: { height:'auto', - calcHeight: 0, + calcHeight: 20, + menuWidth:120, tip: false, searchShow: false, border: true, index: true, + indexFixed:false, selection: false, dialogClickModal: false, - menuFixed:false, + menuFixed:'right', dialogType: 'drawer', viewBtn: true, + stripe: true, addBtn:false, editBtn:false, delBtn:false, @@ -226,6 +229,7 @@ { label: '杩斿洖msg', prop: 'msg', + width: 150, overHidden: true }, { @@ -315,13 +319,13 @@ }, onLoad(page, params={}) { this.loading = true; - var query={} + var queryCondition={} if (this.query) { for (var key in this.query) { - query['conditionMap["' + key + '"]'] = this.query[key]; + queryCondition['conditionMap["' + key + '"]'] = this.query[key]; } } - getLogoList(page.currentPage, page.pageSize,'createTime','desc',Object.assign(params,this.params, query,this.query),).then(res => { + getLogoList(page.currentPage, page.pageSize,'createTime','desc',Object.assign(params,this.params, queryCondition,this.query),).then(res => { const data = res.data.data; this.page.total = data.total; this.data = data.records; -- Gitblit v1.9.3