报名名单
diff --git a/src/views/modules/communityParty/comPromotion/add.vue b/src/views/modules/communityParty/comPromotion/add.vue
index 6c7c0a82b..f174a2f67 100644
--- a/src/views/modules/communityParty/comPromotion/add.vue
+++ b/src/views/modules/communityParty/comPromotion/add.vue
@@ -171,6 +171,7 @@ export default {
}
this.formType=typeid
+
console.log(this.formData,"5164");
this.endLoading();
this.setDefaultReleaseTime()
@@ -258,7 +259,7 @@ export default {
this.$refs['ref_form'].validate((valid, messageObj) => {
this.formData.agencyName= this.agencyName
this.formData.agencyId= this.agencyId
- this.formData.status= 0
+ this.formData.status= 1
console.log("this.formData看看里面村的什么",this.formData)
if (!valid) {
app.util.validateRule(messageObj)
@@ -274,7 +275,6 @@ export default {
let url = '/actual/base/communityPublicity/update'
this.formData.sendMsg= this.formData.sendMsg? 1:0
this.formData.top= this.formData.top? 1:0
- console.log(this.formData.top);
console.log(this.formData,"formData");
const { data, code, msg } = await requestPost(url, this.formData)
if (code === 0) {
diff --git a/src/views/modules/shequzhili/eventOld/eventList.vue b/src/views/modules/shequzhili/eventOld/eventList.vue
index ad7e86dad..8789de5ea 100644
--- a/src/views/modules/shequzhili/eventOld/eventList.vue
+++ b/src/views/modules/shequzhili/eventOld/eventList.vue
@@ -220,7 +220,9 @@
" @click="handleWatch(scope.row)" type="text" size="small" class="">去评价
查看
删除
-
开启表决
+
{{scope.row.openFlag === 0 ? '开启表决' : '关闭表决'}}
+
+
@@ -641,16 +643,23 @@ export default {
this.getTableData();
},
async handleVote(row){
- const url = "/governance/icEventOld/reply";
+ const url = "/governance/icEventOld/updateSpecialColumn";
let params = {
- conten:row.eventContent,
+
icEventId:row.icEventId,
openFlag:row.openFlag==1?0:1,
- operationType:"operationType"
+
}
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) {
let message = "确认删除?";
diff --git a/src/views/modules/workSys/promotionTab/index.vue b/src/views/modules/workSys/promotionTab/index.vue
index 0188cdba4..53b534aa2 100644
--- a/src/views/modules/workSys/promotionTab/index.vue
+++ b/src/views/modules/workSys/promotionTab/index.vue
@@ -29,12 +29,7 @@
-
-
- {{ scope.row.status === 1 ? '显示' : '关闭' }}
-
-
-
+