|
|
@ -299,6 +299,21 @@ export default { |
|
|
|
|
|
|
|
|
handleChangeScope (index) { |
|
|
handleChangeScope (index) { |
|
|
|
|
|
|
|
|
|
|
|
let obj = this.$refs["myCascader" + index].getCheckedNodes()[0].data |
|
|
|
|
|
|
|
|
|
|
|
// if (obj) { |
|
|
|
|
|
// this.tableData[index].publishPartyOrgId = obj.id//发布活动党组织id |
|
|
|
|
|
// this.tableData[index].publishPartyOrgName = obj.partyOrgName//发布活动党组织名称 |
|
|
|
|
|
// this.tableData[index].publishOrgPid = obj.pid//发布活动党组织ID的上级节点 |
|
|
|
|
|
// this.tableData[index].publishOrgType = obj.partyOrgType//党组织类型 0省委,1市委,2区委,3党工委,4党委,5支部;6党小组 |
|
|
|
|
|
// this.tableData[index].publishOrgPathShow = value.join(':')//PUBLISH_PARTY_ORG_ID的全路径,包含自身。方便前端回显 |
|
|
|
|
|
// } else { |
|
|
|
|
|
// this.tableData[index].publishPartyOrgId = '' |
|
|
|
|
|
// this.tableData[index].publishPartyOrgName = '' |
|
|
|
|
|
// this.tableData[index].publishOrgPid = '' |
|
|
|
|
|
// this.tableData[index].publishOrgType = '' |
|
|
|
|
|
// this.tableData[index].publishOrgPathShow = '' |
|
|
|
|
|
// } |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
handleChangeJoinOrg (value, index) { |
|
|
handleChangeJoinOrg (value, index) { |
|
|
@ -426,6 +441,16 @@ export default { |
|
|
|
|
|
|
|
|
disposeParty () { |
|
|
disposeParty () { |
|
|
this.tableData.forEach((tableItem, index) => { |
|
|
this.tableData.forEach((tableItem, index) => { |
|
|
|
|
|
|
|
|
|
|
|
let obj = this.$refs["myCascader" + index].getCheckedNodes()[0] |
|
|
|
|
|
|
|
|
|
|
|
//发布活动党组织 |
|
|
|
|
|
tableItem.publishPartyOrgId = obj.data.id//发布活动党组织id |
|
|
|
|
|
tableItem.publishPartyOrgName = obj.data.partyOrgName//发布活动党组织名称 |
|
|
|
|
|
tableItem.publishOrgPid = obj.data.pid//发布活动党组织ID的上级节点 |
|
|
|
|
|
tableItem.publishOrgType = obj.data.partyOrgType//党组织类型 0省委,1市委,2区委,3党工委,4党委,5支部;6党小组 |
|
|
|
|
|
tableItem.publishOrgPathShow = obj.path.join(':')//PUBLISH_PARTY_ORG_ID的全路径,包含自身。方便前端回显 |
|
|
|
|
|
|
|
|
//参会党组织 |
|
|
//参会党组织 |
|
|
tableItem.joinOrgList = [] |
|
|
tableItem.joinOrgList = [] |
|
|
let selJoinArray = this.$refs["myCascader_join" + index].getCheckedNodes() |
|
|
let selJoinArray = this.$refs["myCascader_join" + index].getCheckedNodes() |
|
|
@ -538,13 +563,13 @@ export default { |
|
|
address: '',// 活动地址 |
|
|
address: '',// 活动地址 |
|
|
latitude: '',//活动地点纬度 |
|
|
latitude: '',//活动地点纬度 |
|
|
longitude: '',// 活动地点经度 |
|
|
longitude: '',// 活动地点经度 |
|
|
autoPublicType: this.autoTimeArray[1].value ||'',//自动发布时间key; 来源于字典表接口 默认 3天 |
|
|
autoPublicType: this.autoTimeArray[1].value || '',//自动发布时间key; 来源于字典表接口 默认 3天 |
|
|
publishPartyOrgId: this.defaultPublishParty.defaultPartyOrgId,// 发布活动党组织id |
|
|
publishPartyOrgId: this.defaultPublishParty.defaultPartyOrgId,// 发布活动党组织id |
|
|
publishPartyOrgName: this.defaultPublishParty.defaultPartyOrgName,// 发布活动党组织名称 |
|
|
publishPartyOrgName: this.defaultPublishParty.defaultPartyOrgName,// 发布活动党组织名称 |
|
|
publishOrgPid: this.defaultPublishParty.defaultPartyOrgPid,// 参加活动党组织ID的上级节点 |
|
|
publishOrgPid: this.defaultPublishParty.defaultPartyOrgPid,// 参加活动党组织ID的上级节点 |
|
|
publishOrgType: this.defaultPublishParty.orgType,//党组织类型 0省委,1市委,2区委,3党工委,4党委,5支部;6党小组 |
|
|
publishOrgType: this.defaultPublishParty.orgType,//党组织类型 0省委,1市委,2区委,3党工委,4党委,5支部;6党小组 |
|
|
publishOrgPathShow: this.defaultPublishParty.defaultPartyOrgPath,//PUBLISH_PARTY_ORG_ID的全路径,包含自身。方便前端回显 |
|
|
publishOrgPathShow: this.defaultPublishParty.defaultPartyOrgPath,//PUBLISH_PARTY_ORG_ID的全路径,包含自身。方便前端回显 |
|
|
joinUserType: this.joinArray[0].value ||'',//参加人员类型,0:全体党员;1:支部委员 默认 全体 |
|
|
joinUserType: this.joinArray[0].value || '',//参加人员类型,0:全体党员;1:支部委员 默认 全体 |
|
|
isAutoInform: '',// 是否自动通知参加人员,0否;1是 |
|
|
isAutoInform: '',// 是否自动通知参加人员,0否;1是 |
|
|
introduce: '',// 活动介绍 |
|
|
introduce: '',// 活动介绍 |
|
|
attachmentList: [], |
|
|
attachmentList: [], |
|
|
|