From 44ad38c2bf5cb11ca1c3fc3f4d47eba6714aacf5 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 31 八月 2023 14:26:04 +0800
Subject: [PATCH] 集成系统 样式表格修改
---
Source/UBCS-WEB/src/views/docking/data.vue | 43 +++++++++-----
Source/UBCS-WEB/src/views/docking/loge.vue | 59 ++++++++++++-------
Source/UBCS-WEB/src/views/docking/info.vue | 6 +
Source/UBCS-WEB/src/views/docking/task.vue | 71 +++++++++++++----------
4 files changed, 110 insertions(+), 69 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/docking/data.vue b/Source/UBCS-WEB/src/views/docking/data.vue
index 3216c5f..e81b923 100644
--- a/Source/UBCS-WEB/src/views/docking/data.vue
+++ b/Source/UBCS-WEB/src/views/docking/data.vue
@@ -55,52 +55,63 @@
prop: "id",
search: true,
sortable:true,
- width:150
+ // width:150
},
{
label: "鍥惧彿",
- prop: "uniquecode",
+ prop: "uniqueCode",
search: true,
+ hide:true,
sortable:true
},
{
- label: '鍒嗙被id',
- prop: 'classifyid',
+ label: '鍒嗙被浠e彿',
+ prop: 'classifyId',
search: true,
sortable:true,
- width: 250
+ // width: 250
},
{
label: '鍒嗙被鍚嶇О',
- prop: 'classifyname',
+ prop: 'classifyName',
search: true,
- sortable:true
+ sortable:true,
},
{
label: '涓氬姟绫诲瀷oid',
- prop: 'btmoid',
+ prop: 'btmOid',
sortable:true,
- width: 150
+ hide:true,
+ // width: 250
},
{
label: '涓氬姟绫诲瀷id',
- prop: 'btmid',
+ prop: 'btmId',
sortable:true,
- width: 150
+ // width: 150
},
{
label: '鎺ㄩ�佺被鍨�',
- prop: 'sendtype',
+ prop: 'sendType',
search: true,
sortable:true,
- width: 150
+ // width: 150,
+ formatter: function (row, column) {
+ if (row.sendType === 'Released') {
+ return '鍙戝竷';
+ } else if (row.sendType === 'TakeBack') {
+ return '鍥炴敹';
+ } else if (row.sendType === 'Disabled') {
+ return '鍋滅敤';
+ }
+ }
},
{
label: '鏄惁鍒嗚В浠诲姟',
- prop: 'sendflag',
+ prop: 'sendFlag',
search: true,
sortable:true,
- width: 130,
+ // width: 130,
html:true,
align:'center',
type:'select',
@@ -111,7 +122,7 @@
value: "key"
},
formatter : function (row, column) {
- return row.sendflag == 'true' || row.sendflag == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>'
+ return row.sendFlag == 'true' || row.sendFlag == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>'
}
}
]
diff --git a/Source/UBCS-WEB/src/views/docking/info.vue b/Source/UBCS-WEB/src/views/docking/info.vue
index efed36f..ba7f8f1 100644
--- a/Source/UBCS-WEB/src/views/docking/info.vue
+++ b/Source/UBCS-WEB/src/views/docking/info.vue
@@ -174,8 +174,9 @@
},{
label: 'soapAction',
prop: 'soapAction',
+ overHidden:true,
sortable: true,
- width: 150
+ width: 200
}, {
label: '璋冪敤鏂瑰紡',
prop: 'cxfaxis',
@@ -191,7 +192,8 @@
label: '璇锋眰鍦板潃',
prop: 'requestUrl',
sortable: true,
- width: 150
+ overHidden:true,
+ width: 200
}, {
label: '鎺ュ彛鍑芥暟',
prop: 'interfaceFunction',
diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue
index a0fc186..f806110 100644
--- a/Source/UBCS-WEB/src/views/docking/loge.vue
+++ b/Source/UBCS-WEB/src/views/docking/loge.vue
@@ -58,42 +58,70 @@
},
{
label: "鍥惧彿",
- prop: "uniquecode",
+ prop: "uniqueCode",
search: true,
+ hide:true,
sortable:true,
width:150
},
{
- label: '鍒嗙被id',
- prop: 'classifyid',
+ label: '鍒嗙被浠e彿',
+ prop: 'classifyId',
search: true,
sortable:true,
width: 250
},
{
label: '鍒嗙被鍚嶇О',
- prop: 'classifyname',
+ prop: 'classifyName',
search: true,
sortable:true,
overHidden: true
},
{
- label: '绯荤粺缂栧彿',
- prop: 'systemcode',
+ label: '闆嗘垚绯荤粺缂栧彿',
+ prop: 'systemCode',
search: true,
sortable:true,
width: 150
},
{
- label: '绯荤粺鍚嶇О',
- prop: 'systemname',
+ label: '闆嗘垚绯荤粺鍚嶇О',
+ prop: 'systemName',
search: true,
sortable:true,
width: 150
+ },
+ {
+ label:'鎺ュ彛鍙傛暟',
+ prop:'paramString',
+ overHidden:true,
+ search: true,
+ sortable:true,
+ width: 150
+ },
+ {
+ label:'杩斿洖鍙傛暟',
+ prop:'returnString',
+ overHidden:true,
+ search: true,
+ sortable:true,
+ width: 150
+ },
+ {
+ label: '杩斿洖msg',
+ prop: 'msg',
+ overHidden: true
+ },
+ {
+ label: '璁板綍鏃堕棿',
+ prop: 'createTime',
+ sortable:true,
+ width: 160
},
{
label: '鏄惁鎺ㄩ�佹垚鍔�',
- prop: 'interfacestatus',
+ prop: 'interFaceStatus',
search: true,
sortable:true,
width: 120,
@@ -107,20 +135,9 @@
value: "key"
},
formatter : function (row, column) {
- return row.interfacestatus == 'true' || row.interfacestatus == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>'
+ return row.interFaceStatus == 'true' || row.interFaceStatus == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>'
}
},
- {
- label: '杩斿洖msg',
- prop: 'msg',
- overHidden: true
- },
- {
- label: '璁板綍鏃堕棿',
- prop: 'createTime',
- sortable:true,
- width: 160
- }
]
}
}
diff --git a/Source/UBCS-WEB/src/views/docking/task.vue b/Source/UBCS-WEB/src/views/docking/task.vue
index 69c2ae8..591ea4e 100644
--- a/Source/UBCS-WEB/src/views/docking/task.vue
+++ b/Source/UBCS-WEB/src/views/docking/task.vue
@@ -67,61 +67,53 @@
},
{
label: "鍥惧彿",
- prop: "uniquecode",
+ prop: "uniqueCode",
search: true,
+ hide:true,
sortable:true,
width:150
},
{
- label: '鍒嗙被id',
- prop: 'classifyid',
+ label: '鍒嗙被浠e彿',
+ prop: 'classifyId',
search: true,
sortable:true,
width: 250
},
{
label: '鍒嗙被鍚嶇О',
- prop: 'classifyname',
+ prop: 'classifyName',
search: true,
- sortable:true
+ sortable:true,
+ width: 200
},
{
- label: '绯荤粺缂栧彿',
- prop: 'systemcode',
+ label: '闆嗘垚绯荤粺缂栧彿',
+ prop: 'systemCode',
search: true,
sortable:true,
width: 150
},
{
- label: '绯荤粺鍚嶇О',
- prop: 'systemname',
+ label: '闆嗘垚绯荤粺鍚嶇О',
+ prop: 'systemName',
search: true,
sortable:true,
width: 150
},
{
label: '鏁版嵁鎯呭喌',
- prop: 'sendtype',
+ prop: 'sendType',
sortable:true,
- width: 100
- },
- {
- label: '鏄惁鎺ㄩ�佹垚鍔�',
- prop: 'sendflag',
- search: true,
- sortable:true,
- width: 120,
- html:true,
- align:'center',
- type:'select',
- searchLabelWidth:130,
- dicData: [{key:'true',value:'鏄�'},{key:'false',value:'鍚�'}],
- props: {
- label: "value",
- value: "key"
- },
- formatter : function (row, column) {
- return row.sendflag == 'true' || row.sendflag == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>'
+ width: 100,
+ formatter: function (row, column) {
+ if (row.sendType === 'Released') {
+ return '鍙戝竷';
+ } else if (row.sendType === 'TakeBack') {
+ return '鍥炴敹';
+ } else if (row.sendType === 'Disabled') {
+ return '鍋滅敤';
+ }
}
},
{
@@ -135,7 +127,26 @@
prop: 'lastModifyTime',
sortable:true,
width: 150
- }
+ },
+ {
+ label: '鏄惁鎺ㄩ�佹垚鍔�',
+ prop: 'sendFlag',
+ search: true,
+ sortable:true,
+ width: 120,
+ html:true,
+ align:'center',
+ type:'select',
+ searchLabelWidth:130,
+ dicData: [{key:'true',value:'鏄�'},{key:'false',value:'鍚�'}],
+ props: {
+ label: "value",
+ value: "key"
+ },
+ formatter : function (row, column) {
+ return row.sendFlag == 'true' || row.sendFlag == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>'
+ }
+ },
]
}
}
--
Gitblit v1.9.3