政策课题-课题组资料-其他-字段修改

This commit is contained in:
zyn
2023-11-16 10:58:15 +08:00
parent dd8eca16d1
commit 5c3f70931e
4 changed files with 19 additions and 10 deletions
@@ -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()
}