|
@@ -364,9 +364,6 @@
|
|
|
export default {
|
|
|
data () {
|
|
|
return {
|
|
|
- workClientInfo: '',
|
|
|
- workClientBank: [],
|
|
|
- workClientLinkman: [],
|
|
|
radio: 0,
|
|
|
tableData: [],
|
|
|
dataList: [],
|
|
@@ -392,7 +389,8 @@
|
|
|
companyUrl: '',
|
|
|
areaId: '',
|
|
|
registerAddress: '',
|
|
|
- address: ''
|
|
|
+ address: '',
|
|
|
+ remarks: ''
|
|
|
},
|
|
|
bankInfos: [],
|
|
|
bankInfo: {
|
|
@@ -504,6 +502,7 @@
|
|
|
areaId: '',
|
|
|
registerAddress: '',
|
|
|
address: '',
|
|
|
+ remarks: '',
|
|
|
bankInfos: [],
|
|
|
bankInfo: {
|
|
|
ourBank: '',
|
|
@@ -585,16 +584,20 @@
|
|
|
if (item.id === null || item.id === undefined || item.id === '') {
|
|
|
item.url = item.raw.url
|
|
|
}
|
|
|
- item.attachmentFlag = 'projectRecords'
|
|
|
+ item.attachmentFlag = 'workClient'
|
|
|
item.fileSize = item.size
|
|
|
item.attachmentName = item.name
|
|
|
this.inputForm.workAttachments.push(item)
|
|
|
})
|
|
|
- if (this.inputForm.evaluationReportDateUi === null || this.inputForm.evaluationReportDateUi === undefined || this.inputForm.evaluationReportDateUi === '') {
|
|
|
- this.inputForm.status = '1'
|
|
|
- } else {
|
|
|
- this.inputForm.status = '5'
|
|
|
- }
|
|
|
+ this.inputForm.workClientBank = []
|
|
|
+ this.bankInfos.forEach((item) => {
|
|
|
+ this.inputForm.workClientBank.push(item)
|
|
|
+ })
|
|
|
+ this.inputForm.workClientLinkman = []
|
|
|
+ this.linkmanInfos.forEach((item) => {
|
|
|
+ this.inputForm.workClientLinkman.push(item)
|
|
|
+ })
|
|
|
+ console.log(this.inputForm)
|
|
|
this.workClientService.save(this.inputForm).then(({data}) => {
|
|
|
this.close()
|
|
|
this.$message.success(data)
|