政策课题-课题组资料-其他-字段修改
This commit is contained in:
@@ -165,9 +165,9 @@
|
||||
<customFile
|
||||
:config="{
|
||||
attrName: '其他',
|
||||
attrField: 'other'
|
||||
attrField: 'researchGroupOther'
|
||||
}"
|
||||
v-model="form.other"
|
||||
v-model="form.researchGroupOther"
|
||||
></customFile>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -442,7 +442,7 @@ export default {
|
||||
// 课题组资料
|
||||
researchPlan: '',
|
||||
researchFindings: '',
|
||||
other: '',
|
||||
researchGroupOther: '',
|
||||
conferenceMaterials: '',
|
||||
// 课题组联系方式
|
||||
topicContactInformationList: [
|
||||
@@ -498,6 +498,15 @@ export default {
|
||||
showDrawer (val) {
|
||||
if (this.title === '编辑') {
|
||||
this.form = { ...this.editForm }
|
||||
if (this.editForm.meetingList.length < 1) {
|
||||
this.form.meetingList = JSON.parse(JSON.stringify(this.initForm.meetingList))
|
||||
}
|
||||
if (this.editForm.topicContactInformationList.length < 1) {
|
||||
this.form.topicContactInformationList = JSON.parse(JSON.stringify(this.initForm.topicContactInformationList))
|
||||
}
|
||||
if (this.editForm.insideContactInformationList.length < 1) {
|
||||
this.form.insideContactInformationList = JSON.parse(JSON.stringify(this.initForm.insideContactInformationList))
|
||||
}
|
||||
} else {
|
||||
this.resetForm()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user