|
|
|
@ -71,7 +71,7 @@ |
|
|
|
|
|
|
|
<el-table-column prop="holdTime" |
|
|
|
align="center" |
|
|
|
width="150" |
|
|
|
width="160" |
|
|
|
label="活动时间" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
|
|
|
|
@ -89,29 +89,41 @@ |
|
|
|
label="活动主题" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="publishPartyOrgName" |
|
|
|
align="center" |
|
|
|
min-width="200" |
|
|
|
label="发布活动党支部" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="joinOrgsShow" |
|
|
|
align="center" |
|
|
|
min-width="200" |
|
|
|
label="参加活动党支部" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="joinTypeValue" |
|
|
|
<el-table-column prop="joinUserTypeName" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
label="参加人员" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="autoPublicTime" |
|
|
|
<el-table-column prop="autoPublicTypeDesc" |
|
|
|
align="center" |
|
|
|
width="120" |
|
|
|
label="自动发布时间" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="isAutoInformValue" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
label="自动通知" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.isAutoInform == '1'">是</span> |
|
|
|
<span v-if="scope.row.isAutoInform == '0'">否</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column fixed="right" |
|
|
|
@ -355,8 +367,8 @@ export default { |
|
|
|
|
|
|
|
async cancelActivity () { |
|
|
|
|
|
|
|
// const url = '/resi/partymember/icPartyAct/del'; |
|
|
|
const url = 'http://yapi.elinkservice.cn/mock/245/resi/partymember/icPartyAct/del'; |
|
|
|
const url = '/resi/partymember/icPartyAct/del'; |
|
|
|
// const url = 'http://yapi.elinkservice.cn/mock/245/resi/partymember/icPartyAct/del'; |
|
|
|
let params = [this.activityId] |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, params); |
|
|
|
@ -371,8 +383,8 @@ export default { |
|
|
|
|
|
|
|
async getTableData () { |
|
|
|
this.tableLoading = true |
|
|
|
// const url = "/icPartyAct/yearSearch"; |
|
|
|
const url = "http://yapi.elinkservice.cn/mock/245/icPartyAct/yearSearch"; |
|
|
|
const url = "/resi/partymember/icPartyAct/yearSearch"; |
|
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/icPartyAct/yearSearch"; |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, this.formData); |
|
|
|
|
|
|
|
@ -387,7 +399,18 @@ export default { |
|
|
|
item.activityList.forEach(actItem => { |
|
|
|
actItem.actType = item.type |
|
|
|
actItem.frequency = item.frequency |
|
|
|
actItem.joinOrgsShow = actItem.joinOrgs.join(',') |
|
|
|
|
|
|
|
if (actItem.joinOrgList && actItem.joinOrgList.length > 0) { |
|
|
|
|
|
|
|
let arr = [] |
|
|
|
actItem.joinOrgList.forEach(element => { |
|
|
|
arr.push(element.joinOrgName) |
|
|
|
}); |
|
|
|
actItem.joinOrgsShow = arr.join(',') |
|
|
|
} else { |
|
|
|
actItem.joinOrgsShow = '' |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
tempArray.push(actItem) |
|
|
|
}); |
|
|
|
|