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

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) {
url = this.url.edit
Action = putAction
Object.keys(query).forEach(res => {
if (query[res] && query[res] instanceof Array) {
query[res] = query[res].join(',')
}
})
// if(Object.keys(query) == 'projectCertificationInventoryEOS'){
//
// }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
} else {
url = this.url.add