From 02611cd19ef961dedee41f74eb3df13b002993aa Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 19 十二月 2023 17:57:11 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/UBCS-WEB/src/views/docking/loge.vue | 101 +++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 87 insertions(+), 14 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue
index d120764..2ae4333 100644
--- a/Source/UBCS-WEB/src/views/docking/loge.vue
+++ b/Source/UBCS-WEB/src/views/docking/loge.vue
@@ -3,9 +3,8 @@
<basic-container>
<avue-crud :option="option"
:table-loading="loading"
- :data="data"
+ :data="data || getList"
:page.sync="page"
- :permission="permissionList"
ref="crud"
@cell-dblclick="cellDbClick"
@search-change="searchChange"
@@ -16,14 +15,24 @@
@refresh-change="refreshChange"
@on-load="onLoad">
<template slot-scope="scope" slot="menuLeft">
- <vci-docking-search :SearchObject="SearchObject" :page="page" :formInline="formInline" :status="status"></vci-docking-search>
+ <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>
</template>
<script>
-import {getList} from "@/api/docking/loge";
+import {getLogoList} from "@/api/docking/loge";
import {validatenull} from "@/util/validate";
import {mapGetters} from "vuex";
@@ -32,12 +41,14 @@
data(){
return {
value:'',
+ //鍚勪釜绫诲瀷鐘舵��
status:{
type:'loge',
typeFlag:false,
dateFlag:false,
stateFlag:false,
},
+ //model缁戝畾
formInline:{
type:'',
cut:'',
@@ -45,6 +56,7 @@
Date:'',
state:''
},
+ //闆嗘垚绫诲瀷姝绘暟鎹�
SearchObject:{
searchData:[
{
@@ -87,6 +99,20 @@
prop: 'interfaceStatus',
value:7
},
+ {
+ label: '鏍囧噯鐢宠',
+ prop: 'applyCodeForBZ',
+ value:8 },
+ {
+ label: '閮ㄩ棬鐢宠',
+ prop: 'syncDataForOrg',
+ value:9
+ },
+ {
+ label: '浜哄憳鐢宠',
+ prop: 'syncDataForPerson',
+ value:10
+ },
],
},
loading: false,
@@ -103,13 +129,16 @@
calcHeight: 0,
tip: false,
searchShow: false,
- // searchMenuSpan: 12,
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: "鏁版嵁缂栫爜",
@@ -139,8 +168,27 @@
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: 'systemCode',
+ labelWidth:150,
sortable:true,
width: 130
},
@@ -148,6 +196,7 @@
label: '闆嗘垚绯荤粺鍚嶇О',
prop: 'systemName',
sortable:true,
+ labelWidth:150,
width: 150
},
{
@@ -159,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',
@@ -196,7 +249,7 @@
value: "key"
},
formatter : function (row, column) {
- return row.interfaceStatus == 'true' || row.interfaceStatus == '' ? '<i class="el-icon-check" style="color: limegreen;font-size: 20px;font-weight: 800"></i>' : '<i class="el-icon-close" style="color: red;font-size: 20px;font-weight: 800"></i>'
+ return row.interfaceStatus == 'true' || row.interfaceStatus == '' ? '<i class="el-icon-check" style="color: #32cd32;font-size: 20px;font-weight: 800"></i>' : '<i class="el-icon-close" style="color: #ff0000;font-size: 20px;font-weight: 800"></i>'
}
},
]
@@ -215,6 +268,12 @@
}
},
methods: {
+ dockingGetList(val){
+ this.data=val.records;
+ this.page.pageSize=val.size;
+ this.page.currentPage=val.current;
+ this.page.total=val.total;
+ },
async cellDbClick(row, column, cell, event) {
for (const key in row) {
if (key === column.property) {
@@ -262,7 +321,7 @@
query['conditionMap["' + key + '"]'] = this.query[key];
}
}
- getList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => {
+ getLogoList(page.currentPage, page.pageSize,'createTime','desc',Object.assign(params,this.params, query,this.query),).then(res => {
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
@@ -278,6 +337,20 @@
}
</script>
-<style scoped>
+<style lang="scss" scoped>
+// 婊氬姩鏉℃牱寮忎慨鏀�
+// 婊氬姩鏉$殑瀹藉害
+ /deep/ .el-table__body-wrapper::-webkit-scrollbar {
+ height: 15px; // 绾靛悜婊氬姩鏉� 蹇呭啓
+ background: white;
+ border: white;
+ width: 10px;
+ }
+// 婊氬姩鏉$殑婊戝潡
+ /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
+ background-color: #ececec;
+ border-radius: 20px;
+ border: #ececec;
+ }
</style>
--
Gitblit v1.9.3