【bug】标协会议新增 增加standardsId参数
This commit is contained in:
@@ -520,6 +520,14 @@ export default {
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
},
|
||||
// 是否是 标协项目 会议
|
||||
isStandardsId(){
|
||||
if (this.$route.query.standardsId) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -638,7 +646,7 @@ export default {
|
||||
}
|
||||
let placeName = values.convokeLocale
|
||||
const formData = Object.assign(this.model, values, {venue: this.getPcaText(placeName)})
|
||||
// 如果会议的费用未为0 不能上传缴费凭证
|
||||
// 如果会议的费用为0 不能上传缴费凭证
|
||||
if (values.meetingCosts === '0.00') {
|
||||
delete formData.paymentQrCode
|
||||
}
|
||||
@@ -660,6 +668,11 @@ export default {
|
||||
formData.councilId = this.$route.query.councilId
|
||||
formData.councilName = this.$route.query.connccilName
|
||||
}
|
||||
// 如果是 标准协会会议 需要加入 standardsId
|
||||
if (this.isStandardsId) {
|
||||
formData.meetingType = '2'
|
||||
formData.standardsId = this.$route.query.standardsId
|
||||
}
|
||||
// 转换召开时间
|
||||
formData.startTime = this.newConvokeTime[0]
|
||||
formData.endTime = this.newConvokeTime[1]
|
||||
|
||||
@@ -350,6 +350,10 @@ export default {
|
||||
caseCommitteeId() {
|
||||
return this.$route.query.id ? this.$route.query.id : undefined
|
||||
},
|
||||
// 标协项目id
|
||||
standardsId(){
|
||||
return this.$route.query.id ? this.$route.query.id : undefined
|
||||
},
|
||||
// eslint-disable-next-line
|
||||
url() {
|
||||
let meetingType = this.$route.query.meetingType + ''
|
||||
@@ -393,7 +397,8 @@ export default {
|
||||
this.$router.push({
|
||||
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
||||
query: {
|
||||
meetingType: this.meetingType
|
||||
meetingType: this.meetingType,
|
||||
standardsId:this.standardsId
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user