Browse Source

1111

feature
是小王呀\24601 1 year ago
parent
commit
5263f3ea45
  1. 2
      src/views/modules/communityParty/activity/eventDetails.vue
  2. 9
      src/views/modules/communityParty/comPromotion/add.vue
  3. 19
      src/views/modules/shequzhili/eventOld/eventList.vue
  4. 4
      src/views/modules/workSys/promotionTab/AddpromotionTab.vue
  5. 14
      src/views/modules/workSys/promotionTab/index.vue
  6. 3
      src/views/modules/workSys/promotionTab/viewPromotionalTags.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>

9
src/views/modules/communityParty/comPromotion/add.vue

@ -92,7 +92,7 @@ export default {
adverTagList:[],
//////
top:false,
fileList: [],//
fileList: {},//
activityImgs:[],//
formType: 'add', // addedit,records
// records:false,
@ -167,11 +167,11 @@ export default {
this.startLoading();
if(row!=null){
this.formData = JSON.parse(JSON.stringify(row));
this.fileList.push({fileUrl:this.formData.coverPic})
console.log(this.formData.coverPic,'see');
console.log(this.formData.coverPic);
}
this.formType=typeid
console.log(this.formData,"5164");
this.endLoading();
this.setDefaultReleaseTime()
@ -259,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)
@ -275,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) {

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

@ -220,7 +220,9 @@
" @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="">开启表决</el-button>
<el-button @click="handleVote(scope.row)" type="text" size="small" class="">{{scope.row.openFlag === 0 ? '开启表决' : '关闭表决'}}</el-button>
</template>
</el-table-column>
@ -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 = "确认删除?";

4
src/views/modules/workSys/promotionTab/AddpromotionTab.vue

@ -11,10 +11,6 @@
</el-input>
</div>
</el-form-item>
<!-- <el-form-item label="首页显示" style="display: block" prop="peopleCount" label-width="150px">
<el-switch v-model="online" @change="handleOnlineRegistration"></el-switch>
</el-form-item> -->
</el-form>
</div>

14
src/views/modules/workSys/promotionTab/index.vue

@ -7,12 +7,7 @@
<el-input v-model.trim="tagName" size="small" class="item_width_1" clearable placeholder="请输入">
</el-input>
</el-form-item>
<el-form-item label="首页显示">
<el-select class="item_width_1" v-model.trim="status" size="small" placeholder="请选择" clearable>
<el-option v-for="item in statuslist" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
<div style="display: flex; justify-content: flex-end;">
<el-button style="margin-left:10px" class="diy-button--blue" size="small"
@click="handleSearch">查询</el-button>
@ -34,12 +29,7 @@
<el-table-column label="序号" header-align="center" align="center" type="index" width="80"></el-table-column>
<el-table-column prop="tagName" header-align="center" align="center" label="标签名称" >
</el-table-column>
<el-table-column prop="enabled" header-align="center" align="center" label="首页显示" >
<template slot-scope="scope">
<span>{{ scope.row.status === 1 ? '显示' : '关闭' }}</span>
</template>
</el-table-column>
<el-table-column prop="createdTime" header-align="center" align="center" label="创建时间" >
<el-table-column prop="createdTime" header-align="center" align="center" label="创建时间" width="380">
</el-table-column>
<el-table-column label="操作" fixed="right" width="250" header-align="center" align="center" class="operate">

3
src/views/modules/workSys/promotionTab/viewPromotionalTags.vue

@ -8,9 +8,6 @@
<span>{{ tagName }}</span>
</div>
</el-form-item>
<el-form-item label="首页显示" style="display: block" prop="peopleCount" label-width="150px">
<el-switch v-model="online" disabled></el-switch>
</el-form-item>
</el-form>
</div>

Loading…
Cancel
Save