|
@@ -2207,6 +2207,7 @@ const sortFormSubmit = async () => {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
const rows = tableSortFormData.value
|
|
const rows = tableSortFormData.value
|
|
|
|
+ const ids = arrToKey(rows, 'id')
|
|
//发起请求
|
|
//发起请求
|
|
nodeSaveLoading.value = true
|
|
nodeSaveLoading.value = true
|
|
const { error, code, msg } = await wbsApi.formTableSort({
|
|
const { error, code, msg } = await wbsApi.formTableSort({
|
|
@@ -2214,7 +2215,7 @@ const sortFormSubmit = async () => {
|
|
contractId: contractId.value,
|
|
contractId: contractId.value,
|
|
classify: authBtnTabKey.value,
|
|
classify: authBtnTabKey.value,
|
|
nodeIds: treeId,
|
|
nodeIds: treeId,
|
|
- ids: rows.join(),
|
|
|
|
|
|
+ ids: ids,
|
|
}, false)
|
|
}, false)
|
|
nodeSaveLoading.value = false
|
|
nodeSaveLoading.value = false
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|