Browse Source

社区宣传编辑回填

feature
mk 1 year ago
committed by 是小王呀\24601
parent
commit
e239d2b01e
  1. 9
      src/views/modules/communityParty/comPromotion/add.vue

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

@ -37,7 +37,7 @@
</el-form-item> </el-form-item>
<el-form-item label="首页置顶" style="display: block" prop="top" label-width="150px"> <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>
<el-form-item label="消息推送" label-width="140px" prop="sendMsg"> <el-form-item label="消息推送" label-width="140px" prop="sendMsg">
@ -92,7 +92,7 @@ export default {
adverTagList:[], adverTagList:[],
////// //////
top:false, top:false,
fileList: {},// fileList: [],//
activityImgs:[],// activityImgs:[],//
formType: 'add', // addedit,records formType: 'add', // addedit,records
// records:false, // records:false,
@ -115,7 +115,7 @@ export default {
coverPic: "",// coverPic: "",//
releaseTime: "",// releaseTime: "",//
sendMsg: false,// sendMsg: false,//
top: false,// top: 1,//
status: 0 // status: 0 //
}, },
serviceList: [], serviceList: [],
@ -167,7 +167,8 @@ 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.fileList.push({fileUrl:this.formData.coverPic})
console.log(this.formData.coverPic,'see');
} }
this.formType=typeid this.formType=typeid

Loading…
Cancel
Save