|
@@ -830,8 +830,15 @@
|
|
|
// console.log('data', data)
|
|
|
// console.log('this.inputForm.contractProperList', this.inputForm.contractProperList)
|
|
|
// console.log('this.inputForm.contractInfoList', this.inputForm.contractInfoList)
|
|
|
+ if (this.commonJS.isEmpty(this.inputForm.contractProperList)) {
|
|
|
+ this.inputForm.contractProperList = []
|
|
|
+ }
|
|
|
+ if (this.commonJS.isEmpty(this.inputForm.contractInfoList)) {
|
|
|
+ this.inputForm.contractInfoList = []
|
|
|
+ }
|
|
|
this.$refs.uploadFile.newUpload(method, this.inputForm.contractProperList, 'cwWorkContract', null, null, null, null, false)
|
|
|
- this.$refs.archiveFile.newUpload(method, this.inputForm.contractInfoList, 'cwWorkContract', null, null, null, null, false)
|
|
|
+ this.$refs.archiveFile.newUpload('view', this.inputForm.contractInfoList, 'cwWorkContract', null, null, null, null, false)
|
|
|
+ this.$refs.archiveFile.setDividerName('', false)
|
|
|
this.loading = false
|
|
|
})
|
|
|
// 获取关联项目信息
|