-
+ {saveContent(e,'content')}" :value="form['content']" clearable placeholder="请填写适用人群" style="width: 100%;" />
-
+ {saveContent(e,'flow_content')}" :value="form['flow_content']" clearable placeholder="请填写服务流程" style="width: 100%;" />
-
-
+
+ {saveContent(e,'price_content')}" :value="form['price_content']" clearable placeholder="请填写注意事项" style="width: 100%;" />
-
-
+
+ {saveContent(e,'appoint_content')}" :value="form['appoint_content']" clearable placeholder="请填写预约须知" style="width: 100%;" />
@@ -125,6 +125,10 @@
coverList:[],
imageList:[],
accompany_product_site:[],
+ showContent:false,
+ // showflowContent:false,
+ // showpriceContent:false,
+ // showappointContent:false,
form: {
id:'',
type: 1,
@@ -163,12 +167,19 @@
this.imageList = []
this.accompany_product_site = []
}
+ this.showContent = true
+ // this.showflowContent = true
+ // this.showpriceContent = true
+ // this.showappointContent = true
},
visible(newVal) {
this.$emit('update:isShow', newVal)
}
},
methods: {
+ saveContent(e,type){
+ this.form[type] = e
+ },
setType(e){
console.log("type",e)
this.form.type=e?e:1
@@ -271,6 +282,14 @@
}
this.accompany_product_site = detail['accompany_product_site'] || [];
this.form.site_id = this.form.site_id?this.form.site_id.split(",") : [];
+ this.form.content = detail.content? detail.content:''
+ this.form.appoint_content = detail.appoint_content? detail.appoint_content:''
+ this.form.price_content = detail.price_content? detail.price_content:''
+
+ this.showContent = true
+ // this.showflowContent = true
+ // this.showpriceContent = true
+ // this.showappointContent = true
} catch (err) {
console.error(err);
}