From fb120532c97a55a846471e03eb2873fece9fdac1 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期二, 10 十月 2023 11:42:20 +0800
Subject: [PATCH] 定时器推送更将增加集成系统唯一标识字段以便对方系统更新数据
---
Source/UBCS-WEB/src/views/integration/systemInfo.vue | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/integration/systemInfo.vue b/Source/UBCS-WEB/src/views/integration/systemInfo.vue
index 215d713..aea7794 100644
--- a/Source/UBCS-WEB/src/views/integration/systemInfo.vue
+++ b/Source/UBCS-WEB/src/views/integration/systemInfo.vue
@@ -142,16 +142,17 @@
methods: {
empower() {
batchAddSave(this.checkAll.oid, this.checkAll.id, this.ParentList).then(res => {
- console.log(res)
- if(res.data.data.code === 200){
- this.$message.success(res.data.data.msg)
+ // console.log(res.data)
+ if(res.data.code === 200){
+ this.$message.success(res.data.msg)
this.dialogVisible=false;
}
})
},
//鍒嗙被鎺堟潈澶氶�夊洖璋�
checkChange(row, checked) {
- console.log('row',row)
+ // this.ParentList=[]
+ // console.log('row',row)
if (checked) {
if (!row.parentId) {
const parentRecord = {
@@ -219,7 +220,7 @@
}
}
}
- console.log(this.ParentList);
+ console.log('this.ParentList',this.ParentList);
},
//鍒嗙被鎺堟潈
classifyHandler(row) {
@@ -244,21 +245,21 @@
children: []
};
//褰撳墠宸查�夋嫨鏁版嵁鍥炲~
- if (!record.attributes.selected) {
+ if (record.attributes.selected == 'true') {
NumberList.push(record.value);
}
if (parent) {
- const existingChild = parent.children.find(child => child.label === record.label);
- if (existingChild) {
- record.value = existingChild.value; // 浣跨敤宸插瓨鍦ㄧ殑瀛愯妭鐐圭殑value鍊�
+ const stingChild = parent.children.find(child => child.label === record.label);
+ if (stingChild) {
+ record.value = stingChild.value; // 浣跨敤宸插瓨鍦ㄧ殑瀛愯妭鐐圭殑value鍊�
} else {
parent.children.push(record);
value++;
}
} else {
- const existingRecord = List.find(item => item.label === record.label);
- if (existingRecord) {
- record.value = existingRecord.value; // 浣跨敤宸插瓨鍦ㄧ殑椤跺眰鑺傜偣鐨剉alue鍊�
+ const stingRecord = List.find(item => item.label === record.label);
+ if (stingRecord) {
+ record.value = stingRecord.value; // 浣跨敤宸插瓨鍦ㄧ殑椤跺眰鑺傜偣鐨剉alue鍊�
} else {
List.push(record);
value++;
@@ -305,7 +306,6 @@
},
async getDataList() {
this.loading = true;
- console.log(this.search);
const {pageSize, currentPage} = this.page;
const conditions = {};
if (Object.keys(this.search).length > 0) {
@@ -317,7 +317,7 @@
}
const response = await getSysInfoList(pageSize, currentPage, conditions);
if (response.status === 200) {
- console.log(response);
+ // console.log(response);
this.loading = false;
const data = response.data.data;
this.data = data.records;
@@ -386,7 +386,7 @@
}).then(async () => {
const response = await sysInfoDel(param)
if (response.status === 200) {
- console.log(response)
+ // console.log(response)
this.$message({
type: 'success',
message: '鍒犻櫎鎴愬姛!'
--
Gitblit v1.9.3