报名名单
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 ? '显示' : '关闭' }}
-
-
-
+
From 53d7f4cb9711d54b10ad2d44b681e5703f22d4d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?=
<819653817@qq.com>
Date: Fri, 12 Jul 2024 11:00:05 +0800
Subject: [PATCH 3/6] =?UTF-8?q?=E5=AE=A3=E4=BC=A0bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/communityParty/comPromotion/add.vue | 15 ++++++++++-----
.../workSys/promotionTab/AddpromotionTab.vue | 3 +++
src/views/modules/workSys/promotionTab/index.vue | 12 +++++++++++-
.../workSys/promotionTab/viewPromotionalTags.vue | 3 +++
4 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/src/views/modules/communityParty/comPromotion/add.vue b/src/views/modules/communityParty/comPromotion/add.vue
index f174a2f67..266fe891f 100644
--- a/src/views/modules/communityParty/comPromotion/add.vue
+++ b/src/views/modules/communityParty/comPromotion/add.vue
@@ -115,8 +115,8 @@ export default {
coverPic: "",//封面图
releaseTime: "",//发布时间
sendMsg: false,//是否推送
- top: false,//是否置顶
- status: 0 //状态
+ top: 0,//是否置顶
+ status: 1 //状态
},
serviceList: [],
// gridList: [],
@@ -171,10 +171,13 @@ export default {
}
this.formType=typeid
-
- console.log(this.formData,"5164");
+ console.log(typeid);
+ console.log(this.formType,"5164");
this.endLoading();
- this.setDefaultReleaseTime()
+ if(typeid=="add"){
+ this.setDefaultReleaseTime()
+ }
+
},
async advertisingTag () {
const url = "/actual/base/advertisingTag/page"
@@ -275,6 +278,7 @@ export default {
let url = '/actual/base/communityPublicity/update'
this.formData.sendMsg= this.formData.sendMsg? 1:0
this.formData.top= this.formData.top? 1:0
+ this.formData.status=0
console.log(this.formData,"formData");
const { data, code, msg } = await requestPost(url, this.formData)
if (code === 0) {
@@ -295,6 +299,7 @@ export default {
console.log(this.formData,"formData");
this.formData.sendMsg= this.formData.sendMsg? 1:0
this.formData.top= this.formData.top? 1:0
+
const { data, code, msg } = await requestPost(url, this.formData)
if (code === 0) {
this.$message({
diff --git a/src/views/modules/workSys/promotionTab/AddpromotionTab.vue b/src/views/modules/workSys/promotionTab/AddpromotionTab.vue
index 1d04b7d2f..22f03e2da 100644
--- a/src/views/modules/workSys/promotionTab/AddpromotionTab.vue
+++ b/src/views/modules/workSys/promotionTab/AddpromotionTab.vue
@@ -11,6 +11,9 @@