Browse Source

社区宣传编辑回填

feature
mk 1 year ago
parent
commit
0953d707a5
  1. 17
      src/views/modules/communityParty/comPromotion/add.vue

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

@ -37,17 +37,12 @@
</el-form-item>
<el-form-item label="首页置顶" style="display: block" prop="top" label-width="150px">
<el-switch v-model="formData.top" @change="handleOnlineRegistration"></el-switch>
<el-switch v-model="formData.top" :active-value="1" :inactive-value="0" @change="handleOnlineRegistration"></el-switch>
</el-form-item>
<el-form-item label="消息推送" label-width="140px" prop="sendMsg">
<el-checkbox v-model="formData.sendMsg" @change="checkbox1" label="是否通过公众号推送给社区居民"></el-checkbox>
</el-form-item>
</el-form>
</div>
@ -95,12 +90,9 @@ export default {
// }
return {
adverTagList:[],
//////
top:false,
fileList: {},//
fileList: [],//
activityImgs:[],//
formType: 'add', // addedit,records
// records:false,
@ -123,7 +115,7 @@ export default {
coverPic: "",//
releaseTime: "",//
sendMsg: false,//
top: false,//
top: 1,//
status: 0 //
},
serviceList: [],
@ -175,7 +167,8 @@ export default {
this.startLoading();
if(row!=null){
this.formData = JSON.parse(JSON.stringify(row));
console.log(this.formData.coverPic);
this.fileList.push({fileUrl:this.formData.coverPic})
console.log(this.formData.coverPic,'see');
}
this.formType=typeid

Loading…
Cancel
Save