commit
This commit is contained in:
@@ -470,9 +470,9 @@
|
|||||||
this.form.modelList = data.modelList || data.form.modelList
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
this.form.responUserList = data.form.responUserList
|
this.form.responUserList = data.form.responUserList
|
||||||
this.form.responUserListName = data.form.responUserListName
|
this.form.responUserListName = data.form.responUserListName
|
||||||
this.form.fileName = data.form.fileName || data.fileName || ''
|
this.form.fileName = data.form? data.form.fileName : ''
|
||||||
this.form.fileId = data.form.fileId || data.fileId || ''
|
this.form.fileId = data.form ? data.form.fileId : ''
|
||||||
this.form.dyhz = data.form.dyhz || data.dyhz || ''
|
this.form.dyhz = data.form ? data.form.dyhz : ''
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -374,14 +374,14 @@
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let data = JSON.parse(res.mesg)
|
let data = JSON.parse(res.mesg)
|
||||||
this.form.dyhz = data.dyhz || data.form.dyhz
|
this.form.dyhz = data.form ? data.form.dyhz : ''
|
||||||
this.form.title = data.title || data.form.title
|
this.form.title = data.title || data.form.title
|
||||||
this.form.date = data.date || data.form.date
|
this.form.date = data.date || data.form.date
|
||||||
this.json = data || data.form
|
this.json = data || data.form
|
||||||
this.form.file = data.fileId || data.form.fileId
|
this.form.file = data.form ? data.form.fileId : ''
|
||||||
this.form.fileName = data.fileName || data.form.fileName
|
this.form.fileName = data.form ? data.form.fileName : ''
|
||||||
this.form.fileId = data.fileId || data.form.fileId
|
this.form.fileId = data.form ? data.form.fileId : ''
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
this.form.modelList = data.form ? data.form.modelList : []
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -315,14 +315,14 @@
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let data = JSON.parse(res.mesg)
|
let data = JSON.parse(res.mesg)
|
||||||
this.form.dyhz = data.dyhz || data.form.dyhz
|
this.form.dyhz = data.form ? data.form.dyhz : ''
|
||||||
this.form.title = data.title || data.form.title
|
this.form.title = data.title || data.form.title
|
||||||
this.form.date = data.date || data.form.date
|
this.form.date = data.date || data.form.date
|
||||||
this.json = data || data.form
|
this.json = data || data.form
|
||||||
this.form.file = data.fileId || data.form.fileId
|
this.form.file = data.form ? data.form.fileId : ''
|
||||||
this.form.fileName = data.fileName || data.form.fileName
|
this.form.fileName = data.form ? data.form.fileName : ''
|
||||||
this.form.fileId = data.fileId || data.form.fileId
|
this.form.fileId = data.form ? data.form.fileId : ''
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
this.form.modelList = data.form ? data.form.modelList : []
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user