Browse Source

1111

feature
是小王呀\24601 1 year ago
parent
commit
2495c44e34
  1. 2
      src/views/modules/communityParty/activity/eventDetails.vue
  2. 19
      src/views/modules/shequzhili/eventOld/eventList.vue

2
src/views/modules/communityParty/activity/eventDetails.vue

@ -92,7 +92,7 @@
</div>
</div>
<!-- 报名名单 -->
<div v-if="formData.status!==0 && formData.online == 1" style="margin-top: 20px;">
<div v-if="formData.status!==0||formData.online == 1" style="margin-top: 20px;">
<div style="font-size: 15px; color: black; margin-left: -30px;margin-bottom: 10px;">
报名名单
</div>

19
src/views/modules/shequzhili/eventOld/eventList.vue

@ -220,9 +220,7 @@
" @click="handleWatch(scope.row)" type="text" size="small" class="">去评价</el-button>
<el-button v-else @click="handleWatch(scope.row)" type="text" size="small">查看</el-button>
<el-button @click="handleDel(scope.row)" type="text" size="small" class="">删除</el-button>
<el-button @click="handleVote(scope.row)" type="text" size="small" class="">{{scope.row.openFlag === 0 ? '开启表决' : '关闭表决'}}</el-button>
<el-button @click="handleVote(scope.row)" type="text" size="small" class="">开启表决</el-button>
</template>
</el-table-column>
@ -643,23 +641,16 @@ export default {
this.getTableData();
},
async handleVote(row){
const url = "/governance/icEventOld/updateSpecialColumn";
const url = "/governance/icEventOld/reply";
let params = {
conten:row.eventContent,
icEventId:row.icEventId,
openFlag:row.openFlag==1?0:1,
operationType:"operationType"
}
const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
this.$message.success("操作成功!");
this.getTableData();
} else {
this.$message.error("操作失败!");
}
console.log(data);
},
async handleDel(rowData) {
let message = "确认删除?";

Loading…
Cancel
Save