Commit 635931cd authored by lixy's avatar lixy

app展示

parent 8728a815
...@@ -68,6 +68,11 @@ ...@@ -68,6 +68,11 @@
<el-form-item label="旅游客服电话" prop="tourServicePhone"> <el-form-item label="旅游客服电话" prop="tourServicePhone">
<el-input v-model="form.tourServicePhone" placeholder="请输入旅游客服电话"></el-input> <el-input v-model="form.tourServicePhone" placeholder="请输入旅游客服电话"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="app展示">
<el-radio class="radio" v-model="form.isShow" label="1"></el-radio>
<el-radio class="radio" v-model="form.isShow" label="2"></el-radio>
</el-form-item>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="公司信息" name="second"> <el-tab-pane label="公司信息" name="second">
<el-form-item label="图片" :style="{display:'block'}"> <el-form-item label="图片" :style="{display:'block'}">
...@@ -180,6 +185,7 @@ ...@@ -180,6 +185,7 @@
vehiceServicePhone: undefined, vehiceServicePhone: undefined,
tourServicePhone: undefined, tourServicePhone: undefined,
content: "",//详细介绍 content: "",//详细介绍
isShow: "2",//1:是, 2:否
}, },
rules: { rules: {
// latitude: [ // latitude: [
...@@ -428,6 +434,7 @@ ...@@ -428,6 +434,7 @@
t.form.vehiceServicePhone = info.vehiceServicePhone;//租车客服电话 t.form.vehiceServicePhone = info.vehiceServicePhone;//租车客服电话
t.form.tourServicePhone = info.tourServicePhone;//旅游客服电话 t.form.tourServicePhone = info.tourServicePhone;//旅游客服电话
t.form.images = info.images; t.form.images = info.images;
t.form.isShow = info.isShow?info.isShow+"": "2";//app展示
let arr = info.images.split(",");//图片 let arr = info.images.split(",");//图片
let temp = []; let temp = [];
for(let i = 0; i < arr.length; i++){ for(let i = 0; i < arr.length; i++){
...@@ -531,6 +538,7 @@ ...@@ -531,6 +538,7 @@
params.longitude = this.form.longitude;//经度 params.longitude = this.form.longitude;//经度
params.vehiceServicePhone = this.form.vehiceServicePhone;//租车客服电话 params.vehiceServicePhone = this.form.vehiceServicePhone;//租车客服电话
params.tourServicePhone = this.form.tourServicePhone;//旅游客服电话 params.tourServicePhone = this.form.tourServicePhone;//旅游客服电话
params.isShow = this.form.isShow;//app展示
console.log(params); console.log(params);
updCompany(params) updCompany(params)
.then(res => { .then(res => {
...@@ -594,6 +602,7 @@ ...@@ -594,6 +602,7 @@
params.longitude = this.form.longitude;//经度 params.longitude = this.form.longitude;//经度
params.vehiceServicePhone = this.form.vehiceServicePhone;//租车客服电话 params.vehiceServicePhone = this.form.vehiceServicePhone;//租车客服电话
params.tourServicePhone = this.form.tourServicePhone;//旅游客服电话 params.tourServicePhone = this.form.tourServicePhone;//旅游客服电话
params.isShow = this.form.isShow;//app展示
console.log(params); console.log(params);
updCompany(params) updCompany(params)
.then(res => { .then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment