认证清单关联平台件后对数据进行编辑,提示操作失败

This commit is contained in:
zyx.net
2023-09-27 09:29:01 +08:00
parent e6a55ed4cc
commit 7084816766
@@ -900,11 +900,21 @@
if (this.formInline.id) { if (this.formInline.id) {
url = this.url.edit url = this.url.edit
Action = putAction Action = putAction
Object.keys(query).forEach(res => { // if(Object.keys(query) == 'projectCertificationInventoryEOS'){
if (query[res] && query[res] instanceof Array) { //
query[res] = query[res].join(',') // }else{
} // Object.keys(query).forEach(res => {
}) // if (query[res] && query[res] instanceof Array) {
// query[res] = query[res].join(',')
// }
// })
// }
if (query.dutyDepart) {
query.dutyDepart = query.dutyDepart.join(',')
}
if (query.dutyTerritory) {
query.dutyTerritory = query.dutyTerritory.join(',')
}
query.projectLibraryId = this.$route.query.id query.projectLibraryId = this.$route.query.id
} else { } else {
url = this.url.add url = this.url.add