Browse Source

1111

feature
是小王呀\24601 1 year ago
parent
commit
d53ed07536
  1. 5
      src/views/modules/communityParty/activity/eventDetails.vue
  2. 8
      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. 15
      src/views/modules/workSys/promotionTab/index.vue
  6. 3
      src/views/modules/workSys/promotionTab/viewPromotionalTags.vue

5
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>
@ -115,7 +115,7 @@
</el-table-column>
<el-table-column prop="signFlag" header-align="center" align="center" label="签到" width="80">
</el-table-column>
<el-table-column prop="contactMobile" header-align="center" align="center" label="签到地点"
<el-table-column prop="address" header-align="center" align="center" label="签到地点"
width="120">
</el-table-column>
</el-table>
@ -244,6 +244,7 @@ export default {
this.activityId=this.formData.id
console.log( this.activityId,"this.activ");
this.initLoading = true;
// console.log('this.formData,',this.formData);
let { latitude, longitude } = this.$store.state.user;

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

@ -100,7 +100,7 @@ export default {
//////
top:false,
fileList: [],//
fileList: {},//
activityImgs:[],//
formType: 'add', // addedit,records
// records:false,
@ -175,8 +175,11 @@ export default {
this.startLoading();
if(row!=null){
this.formData = JSON.parse(JSON.stringify(row));
console.log(this.formData.coverPic);
}
this.formType=typeid
console.log(this.formData,"5164");
this.endLoading();
this.setDefaultReleaseTime()
@ -264,7 +267,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)
@ -280,7 +283,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>

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

@ -10,15 +10,6 @@
</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>
@ -40,12 +31,6 @@
<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="标签名称" width="380">
</el-table-column>
<el-table-column prop="enabled" header-align="center" align="center" label="首页显示" width="380">
<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="创建时间" width="380">
</el-table-column>

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