From e3376657b0f8c25fd04ec1d06f424160e67e20a2 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 10 十二月 2024 17:21:36 +0800
Subject: [PATCH] 生命周期备选列表添加超出隐藏和提示文字&&表单定义查询模板切换不显示值问题
---
Source/plt-web/plt-web-ui/src/views/system/department/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/views/system/department/index.vue b/Source/plt-web/plt-web-ui/src/views/system/department/index.vue
index 82e6fcc..5059528 100644
--- a/Source/plt-web/plt-web-ui/src/views/system/department/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/system/department/index.vue
@@ -95,6 +95,7 @@
...basicOption,
rowKey: 'oid',
rowParentKey: 'parentId',
+ expandRowKeys:[],
selection: false,
addBtn: false,
editBtn: false,
@@ -102,7 +103,7 @@
gridBtn: false,
menuWidth:280,
highlightCurrentRow: true,
- calcHeight: -60,
+ calcHeight: -50,
column: column
},
tableLoading: false,
@@ -156,6 +157,7 @@
getTableList() {
refTree({queryAllLevel: true, 'extandParamsMap[showAllDepartmentNode]': true}).then(res => {
this.tableData = this.departDtaFormAtter(res.data.treeData);
+ this.option.expandRowKeys=[res.data.treeData[0].oid];
})
},
@@ -164,6 +166,7 @@
return items.map(item => {
// 杞崲褰撳墠鑺傜偣鐨勫睘鎬�
const formList = {
+ expanded:item.expanded,
oid: item.oid,
id: item.attributes.id,
name: item.attributes.name,
@@ -207,7 +210,6 @@
done();
}
}).catch(err => {
- console.log(err);
loading();
})
@@ -235,7 +237,6 @@
done();
}
}).catch(err => {
- console.log(err);
loading();
})
},
@@ -337,11 +338,11 @@
// 鍒嗛厤鎴愬憳绌挎妗嗗洖濉�
departTransferSend(row) {
let params = {
- userOids: row.join(','),
+ userOIds: row.join(','),
deptId: this.departCurrenRow.oid
}
saveUsersDepts(params).then(res => {
- console.log(res);
+ //console.log(res);
this.$message.success(res.data.obj);
this.getTableList();
}).catch(err => {
--
Gitblit v1.9.3