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

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

@ -100,7 +100,7 @@ export default {
////// //////
top:false, top:false,
fileList: [],// fileList: {},//
activityImgs:[],// activityImgs:[],//
formType: 'add', // addedit,records formType: 'add', // addedit,records
// records:false, // records:false,
@ -175,8 +175,11 @@ export default {
this.startLoading(); this.startLoading();
if(row!=null){ if(row!=null){
this.formData = JSON.parse(JSON.stringify(row)); this.formData = JSON.parse(JSON.stringify(row));
console.log(this.formData.coverPic);
} }
this.formType=typeid this.formType=typeid
console.log(this.formData,"5164"); console.log(this.formData,"5164");
this.endLoading(); this.endLoading();
this.setDefaultReleaseTime() this.setDefaultReleaseTime()
@ -264,7 +267,7 @@ export default {
this.$refs['ref_form'].validate((valid, messageObj) => { this.$refs['ref_form'].validate((valid, messageObj) => {
this.formData.agencyName= this.agencyName this.formData.agencyName= this.agencyName
this.formData.agencyId= this.agencyId this.formData.agencyId= this.agencyId
this.formData.status= 0 this.formData.status= 1
console.log("this.formData看看里面村的什么",this.formData) console.log("this.formData看看里面村的什么",this.formData)
if (!valid) { if (!valid) {
app.util.validateRule(messageObj) app.util.validateRule(messageObj)
@ -280,7 +283,6 @@ export default {
let url = '/actual/base/communityPublicity/update' let url = '/actual/base/communityPublicity/update'
this.formData.sendMsg= this.formData.sendMsg? 1:0 this.formData.sendMsg= this.formData.sendMsg? 1:0
this.formData.top= this.formData.top? 1:0 this.formData.top= this.formData.top? 1:0
console.log(this.formData.top);
console.log(this.formData,"formData"); console.log(this.formData,"formData");
const { data, code, msg } = await requestPost(url, this.formData) const { data, code, msg } = await requestPost(url, this.formData)
if (code === 0) { 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> " @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="">开启表决</el-button> <el-button @click="handleVote(scope.row)" type="text" size="small" class="">{{scope.row.openFlag === 0 ? '开启表决' : '关闭表决'}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -641,16 +643,23 @@ export default {
this.getTableData(); this.getTableData();
}, },
async handleVote(row){ async handleVote(row){
const url = "/governance/icEventOld/reply"; const url = "/governance/icEventOld/updateSpecialColumn";
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 = "确认删除?";

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

@ -11,10 +11,6 @@
</el-input> </el-input>
</div> </div>
</el-form-item> </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> </el-form>
</div> </div>

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

@ -10,15 +10,6 @@
</el-input> </el-input>
</el-form-item> </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;"> <div style="display: flex; justify-content: flex-end;">
<el-button style="margin-left:10px" class="diy-button--blue" size="small" <el-button style="margin-left:10px" class="diy-button--blue" size="small"
@click="handleSearch">查询</el-button> @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 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 prop="tagName" header-align="center" align="center" label="标签名称" width="380">
</el-table-column> </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 prop="createdTime" header-align="center" align="center" label="创建时间" width="380">
</el-table-column> </el-table-column>

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

@ -8,9 +8,6 @@
<span>{{ tagName }}</span> <span>{{ tagName }}</span>
</div> </div>
</el-form-item> </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> </el-form>
</div> </div>

Loading…
Cancel
Save