|
|
@ -307,14 +307,14 @@ export default { |
|
|
|
this.selActType = { ...this.actTypeArray[index] } |
|
|
|
|
|
|
|
//首先获取当前年份对应活动类型是否有活动 |
|
|
|
await this.getTableData() |
|
|
|
// await this.getTableData() |
|
|
|
//如果没有活动,根据字典数据,初始化 |
|
|
|
|
|
|
|
if (this.tableData.length === 0) { |
|
|
|
for (let i = 0; i < this.selActType.yearCount; i++) { |
|
|
|
this.handleAdd() |
|
|
|
} |
|
|
|
// if (this.tableData.length === 0) { |
|
|
|
for (let i = 0; i < this.selActType.yearCount; i++) { |
|
|
|
this.handleAdd() |
|
|
|
} |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
@ -454,12 +454,12 @@ export default { |
|
|
|
type: "warning" |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
if (row.icPartyActId) { |
|
|
|
this.icPartyActId = row.icPartyActId |
|
|
|
this.delPlan(tableIndex) |
|
|
|
} else { |
|
|
|
this.tableData.splice(tableIndex, 1); |
|
|
|
} |
|
|
|
// if (row.icPartyActId) { |
|
|
|
// this.icPartyActId = row.icPartyActId |
|
|
|
// this.delPlan(tableIndex) |
|
|
|
// } else { |
|
|
|
this.tableData.splice(tableIndex, 1); |
|
|
|
// } |
|
|
|
|
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
@ -523,6 +523,7 @@ export default { |
|
|
|
joinUserType: '',//参加人员类型,0:全体党员;1:支部委员 |
|
|
|
isAutoInform: '',// 是否自动通知参加人员,0否;1是 |
|
|
|
introduce: '',// 活动介绍 |
|
|
|
attachmentList: [], |
|
|
|
joinOrgList: [], |
|
|
|
|
|
|
|
publichIdArray: this.defaultPublishParty.defaultPartyOrgPath.split(':'), |
|
|
|