认证清单关联平台件后对数据进行编辑,提示操作失败
This commit is contained in:
+15
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user