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