From e20bf5092ee15f5569bc3939204a0f598b75d15b Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 11 九月 2023 09:40:15 +0800
Subject: [PATCH] 编码规则-分类码段-码值管理树折叠
---
Source/UBCS-WEB/src/views/docking/task.vue | 73 +++++++++++++++++++++---------------
1 files changed, 42 insertions(+), 31 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/docking/task.vue b/Source/UBCS-WEB/src/views/docking/task.vue
index 69c2ae8..9ca5fc5 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',
+ label: '鎺ㄩ�佺被鍨�',
+ 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 === 'Enabled') {
+ 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;font-size: 20px;font-weight: 800"></i>' : '<i class="el-icon-close" style="color: red;font-size: 20px;font-weight: 800"></i>'
+ }
+ },
]
}
}
--
Gitblit v1.9.3