From e4e330bd76b313896bb867e74b169567f5ace14e Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 12 十二月 2023 08:29:45 +0800 Subject: [PATCH] 集成日志添加查看按钮 --- Source/UBCS-WEB/src/views/docking/loge.vue | 34 ++++++++++++++++++++++++++-------- 1 files changed, 26 insertions(+), 8 deletions(-) diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue index 023a104..43436b1 100644 --- a/Source/UBCS-WEB/src/views/docking/loge.vue +++ b/Source/UBCS-WEB/src/views/docking/loge.vue @@ -5,7 +5,6 @@ :table-loading="loading" :data="data || getList" :page.sync="page" - :permission="permissionList" ref="crud" @cell-dblclick="cellDbClick" @search-change="searchChange" @@ -17,6 +16,16 @@ @on-load="onLoad"> <template slot-scope="scope" slot="menuLeft"> <vci-docking-search :SearchObject="SearchObject" :page="page" :formInline="formInline" :status="status" @getList="dockingGetList"></vci-docking-search> + </template> + <template slot="paramString" slot-scope="scope"> + <avue-text-ellipsis :text="scope.row.paramString" :height="50"> + <small slot="more">...</small> + </avue-text-ellipsis> + </template> + <template slot="returnString" slot-scope="scope"> + <avue-text-ellipsis :text="scope.row.returnString" :height="50"> + <small slot="more">...</small> + </avue-text-ellipsis> </template> </avue-crud> </basic-container> @@ -118,15 +127,18 @@ option: { height:'auto', calcHeight: 0, - columnBtn:false, tip: false, searchShow: false, border: true, index: true, - viewBtn: true, selection: false, dialogClickModal: false, - menu:false, + menuFixed:false, + dialogType: 'drawer', + viewBtn: true, + addBtn:false, + editBtn:false, + delBtn:false, column: [ { label: "鏁版嵁缂栫爜", @@ -176,6 +188,7 @@ { label: '闆嗘垚绯荤粺缂栧彿', prop: 'systemCode', + labelWidth:150, sortable:true, width: 130 }, @@ -183,6 +196,7 @@ label: '闆嗘垚绯荤粺鍚嶇О', prop: 'systemName', sortable:true, + labelWidth:150, width: 150 }, { @@ -194,16 +208,20 @@ { label:'鎺ュ彛鍙傛暟', prop:'paramString', - overHidden:true, sortable:true, - width: 150 + minRows: 20, + width: 150, + type: "textarea", + slot: true, }, { label:'杩斿洖鍙傛暟', prop:'returnString', - overHidden:true, sortable:true, - width: 150 + minRows: 20, + width: 150, + type: "textarea", + slot: true, }, { label: '杩斿洖msg', -- Gitblit v1.9.3