From 47ef64f25dedd992b9a7fe1804d0f91da714d149 Mon Sep 17 00:00:00 2001
From: lideqin <694785430@qq.com>
Date: Wed, 13 Mar 2024 14:22:35 +0800
Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BC=9A=E5=91=98=E7=AE=A1=E7=90=86?=
=?UTF-8?q?-=E4=BC=9A=E8=AE=AE=E7=BB=B4=E6=8A=A4=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E4=BC=9A=E8=AE=AE=E5=A2=9E=E5=8A=A0=E6=A0=87=E5=87=86=E9=A1=B9?=
=?UTF-8?q?=E7=9B=AE=E9=9D=A2=E6=9D=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../meetManage/AddOrDetailMeet.vue | 50 ++++++++++---------
1 file changed, 27 insertions(+), 23 deletions(-)
diff --git a/src/views/incomePayments/meetManage/AddOrDetailMeet.vue b/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
index 07f0ca6..454ac07 100644
--- a/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
+++ b/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
@@ -204,7 +204,7 @@
event.target.value = event.target.value.trim()"
:maxLength="50"
- v-decorator="['standardProjectList['+index+'].standardNumber', validatorRules.standProjectStandardNumber]"
+ v-decorator="['standardProjectList['+index+'].standardNo', validatorRules.standProjectStandardNumber]"
placeholder="请输入标准编号">
@@ -220,7 +220,8 @@
@@ -228,15 +229,16 @@
+ v-decorator="['standardProjectList['+index+'].promoter', validatorRules.standProjectPropagator]">
@@ -246,7 +248,7 @@
placeholder="请选择宣贯时间"
format="YYYY-MM-DD"
valueFormat="YYYY-MM-DD"
- v-decorator="['standardProjectList['+index+'].promulgationTime', validatorRules.standProjectPromulgationTime]">
+ v-decorator="['standardProjectList['+index+'].promotionTime', validatorRules.standProjectPromulgationTime]">
@@ -255,7 +257,7 @@
event.target.value = event.target.value.trim()"
:maxLength="50"
- v-decorator="['standardProjectList['+index+'].promotionPlace',validatorRules.standProjectPromotionPlace]"
+ v-decorator="['standardProjectList['+index+'].promotionLocation',validatorRules.standProjectPromotionPlace]"
placeholder="请输入宣贯地点">
@@ -860,13 +862,13 @@ export default {
if((this.model.standardProjectList || []).length === 0) {
// 标准项目列表
this.model.standardProjectList = [{
- standardNumber: undefined,
+ standardNo: undefined,
standardName: undefined,
standardType: undefined,
- edit: undefined,
- propagator: undefined,
- promulgationTime: undefined,
- promotionPlace: undefined
+ preparationAndRevision: undefined,
+ promoter: undefined,
+ promotionTime: undefined,
+ promotionLocation: undefined
}]
}
this.model.isAddQuestion = this.model.isAddQuestion || 0 // 处理历史数据的问题
@@ -892,13 +894,13 @@ export default {
}]
// 标准项目列表
this.model.standardProjectList = [{
- standardNumber: undefined,
+ standardNo: undefined,
standardName: undefined,
standardType: undefined,
- edit: undefined,
- propagator: undefined,
- promulgationTime: undefined,
- promotionPlace: undefined
+ preparationAndRevision: undefined,
+ promoter: undefined,
+ promotionTime: undefined,
+ promotionLocation: undefined
}]
// 新增取路由参数
this.meetingType = this.$route.query.meetingType
@@ -950,10 +952,12 @@ export default {
this.tbMeetingType = Number(this.model.tbMeetingType)
// 标准宣贯或者学习培训
this.$refs.standardMeetingType.setCurrentDictOptions(arr.splice(0, 2))
+ otherKeys.push('standardProjectList')
}
}
setTimeout(() => {
- this.form.setFieldsValue(pick(this.model, 'signInTime', 'tbMeetingType', 'meetingCostsVip', 'isAddQuestion', 'standardProjectList', ...otherKeys))
+ console.log('------------otherKeys', otherKeys)
+ this.form.setFieldsValue(pick(this.model, 'signInTime', 'tbMeetingType', 'meetingCostsVip', 'isAddQuestion', ...otherKeys))
})
}
// 如果是工作组会议 赋值工作组
@@ -1545,13 +1549,13 @@ export default {
addStandardProject(index) {
const {form} = this
const obj = {
- standardNumber: undefined,
+ standardNo: undefined,
standardName: undefined,
standardType: undefined,
- edit: undefined,
- propagator: undefined,
- promulgationTime: undefined,
- promotionPlace: undefined
+ preparationAndRevision: undefined,
+ promoter: undefined,
+ promotionTime: undefined,
+ promotionLocation: undefined
}
const keys = form.getFieldValue('standardProjectList')
// 增加数据后重新赋值