From d8f51c40544ae278095e991ed00ec297842d4332 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期日, 29 九月 2024 11:01:55 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/views/docking/loge.vue | 81 +++++++++++++++++++++++----------------- 1 files changed, 47 insertions(+), 34 deletions(-) diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue index 4fdffbe..6a2b9f7 100644 --- a/Source/UBCS-WEB/src/views/docking/loge.vue +++ b/Source/UBCS-WEB/src/views/docking/loge.vue @@ -27,12 +27,15 @@ <small slot="more">...</small> </avue-text-ellipsis> </template> + <template slot="menu" slot-scope="scope"> + <el-button type="text" icon="el-icon-view" size="mini" @click="rowView(scope.row)">鏌ョ湅</el-button> + </template> </avue-crud> </basic-container> </template> <script> -import {getLogoList} from "@/api/docking/loge"; +import {getLogoList,gridLogeDetail} from "@/api/docking/loge"; import {validatenull} from "@/util/validate"; import {mapGetters} from "vuex"; @@ -100,18 +103,19 @@ value:7 }, { - label: '鏍囧噯鐢宠', - prop: 'applyCodeForBZ', - value:8 }, - { - label: '閮ㄩ棬鐢宠', - prop: 'syncDataForOrg', - value:9 + label:'鎺ュ彛鍙傛暟', + prop:'paramString', + value:11 }, { - label: '浜哄憳鐢宠', - prop: 'syncDataForPerson', - value:10 + label:'杩斿洖鍙傛暟', + prop:'returnString', + value:12 + }, + { + label: '杩斿洖msg', + prop: 'msg', + value:13 }, ], }, @@ -137,7 +141,7 @@ dialogClickModal: false, menuFixed:'right', dialogType: 'drawer', - viewBtn: true, + viewBtn: false, stripe: true, addBtn:false, editBtn:false, @@ -170,24 +174,24 @@ overHidden: true, width: 140 }, - { - label: '鏍囧噯鐢宠', - prop: 'applyCodeForBZ', - sortable:true, - width: 130 - }, - { - label: '閮ㄩ棬鐢宠', - prop: 'syncDataForOrg', - sortable:true, - width: 130 - }, - { - label: '浜哄憳鐢宠', - prop: 'syncDataForPerson', - sortable:true, - width: 130 - }, + // { + // label: '鏍囧噯鐢宠', + // prop: 'applyCodeForBZ', + // sortable:true, + // width: 130 + // }, + // { + // label: '閮ㄩ棬鐢宠', + // prop: 'syncDataForOrg', + // sortable:true, + // width: 130 + // }, + // { + // label: '浜哄憳鐢宠', + // prop: 'syncDataForPerson', + // sortable:true, + // width: 130 + // }, { label: '闆嗘垚绯荤粺缂栧彿', prop: 'systemCode', @@ -213,30 +217,29 @@ prop:'paramString', sortable:true, minRows: 20, - width: 150, type: "textarea", slot: true, + hide:true, }, { label:'杩斿洖鍙傛暟', prop:'returnString', sortable:true, minRows: 20, - width: 150, type: "textarea", slot: true, + hide:true, }, { label: '杩斿洖msg', prop: 'msg', - width: 150, overHidden: true }, { label: '璁板綍鏃堕棿', prop: 'createTime', sortable:true, - width: 160 + }, { label: '鏄惁鎴愬姛', @@ -272,6 +275,16 @@ } }, methods: { + rowView(row){ + this.loading = true; + gridLogeDetail({oid:row.oid}).then(res =>{ + console.log(res) + if(res.data.data){ + this.loading = false + this.$refs.crud.rowView(res.data.data) + } + }) + }, dockingGetList(val){ this.data=val.records; this.page.pageSize=val.size; -- Gitblit v1.9.3