是小王呀\24601 1 year ago
parent
commit
ce768c1a83
  1. 2
      src/views/modules/communityParty/activity/eventDetails.vue
  2. 7
      src/views/modules/shequzhili/eventOld/cpts/event-info.vue
  3. 4
      src/views/modules/shequzhili/eventOld/cpts/process-form.vue
  4. 19
      src/views/modules/shequzhili/eventOld/eventList.vue

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

@ -92,7 +92,7 @@
</div> </div>
</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 style="font-size: 15px; color: black; margin-left: -30px;margin-bottom: 10px;">
报名名单 报名名单
</div> </div>

7
src/views/modules/shequzhili/eventOld/cpts/event-info.vue

@ -529,11 +529,7 @@ export default {
}, },
async handelDispose() { async handelDispose() {
console.log(this.formData.operationType); this.$refs.ref_processinfo_dispose.getProcessInfo();
console.log(this.formData.openFlag);
this.$refs.ref_processinfo_dispose.getProcessInfo();
console.log(this.$refs.ref_processinfo_add.formData.openFlag);
this.openFlag=this.$refs.ref_processinfo_add.formData.openFlag;
if (this.$refs.ref_processinfo_dispose.okflag) { if (this.$refs.ref_processinfo_dispose.okflag) {
this.formData.operationType = this.$refs.ref_processinfo_dispose.operationType; this.formData.operationType = this.$refs.ref_processinfo_dispose.operationType;
if (this.formData.operationType === "0" || this.formData.operationType === '5' if (this.formData.operationType === "0" || this.formData.operationType === '5'
@ -591,7 +587,6 @@ export default {
} }
}, },
async submitDispose(url, params) { async submitDispose(url, params) {
params.openFlag=this.openFlag=this.$refs.ref_processinfo_add.formData.openFlag;
console.log(params); console.log(params);
const { data, code, msg } = await requestPost(url, { const { data, code, msg } = await requestPost(url, {
...params, ...params,

4
src/views/modules/shequzhili/eventOld/cpts/process-form.vue

@ -13,10 +13,6 @@
<el-radio label="2">转服务</el-radio> <el-radio label="2">转服务</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="公开表决" label-width="150px"
prop="openFlag">
<el-switch v-model="formData.openFlag" ></el-switch>
</el-form-item>
</el-form> </el-form>
<div v-if="operationType === '0'"> <div v-if="operationType === '0'">
<process-form-replay ref="ref_process_form_replay" :source="source" :eventDetailData="eventDetailData" <process-form-replay ref="ref_process_form_replay" :source="source" :eventDetailData="eventDetailData"

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

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

Loading…
Cancel
Save