|
@@ -207,7 +207,8 @@ const tianjia = async () => {
|
207
|
207
|
let a1 = {
|
208
|
208
|
label: item.name,
|
209
|
209
|
id: item.id,
|
210
|
|
- value: item.id
|
|
210
|
+ value: item.id,
|
|
211
|
+ childrenid: item.children[0].id
|
211
|
212
|
}
|
212
|
213
|
transformedData.push(a1)
|
213
|
214
|
} else {
|
|
@@ -334,7 +335,9 @@ const send = (a, b) => {
|
334
|
335
|
query.authorityList = []
|
335
|
336
|
b.checkedNodes.map((item) => {
|
336
|
337
|
query.authorityList.push(item.value)
|
|
338
|
+ query.authorityList.push(item.childrenid)
|
337
|
339
|
query2.authorityList.push(item.value)
|
|
340
|
+ query2.authorityList.push(item.childrenid)
|
338
|
341
|
})
|
339
|
342
|
}
|
340
|
343
|
|