Commit 85435c92 authored by guoyou's avatar guoyou

Merge branch 'base-modify' of http://113.105.137.151:22280/youjj/cloud-platform-ui into base-modify

parents 83085384 e47121c3
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
:value="val.id"></el-option> :value="val.id"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- <el-form-item label="注册时间" prop="bookDateRange">--> <!-- <el-form-item label="注册时间" prop="bookDateRange">-->
<!-- <el-date-picker--> <!-- <el-date-picker-->
<!-- v-model="listQuery.registrationDate "--> <!-- v-model="listQuery.registrationDate "-->
...@@ -90,7 +92,7 @@ ...@@ -90,7 +92,7 @@
<span>{{scope.row.channel}}</span> <span>{{scope.row.channel}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column width="110" align="center" label="来源"> <el-table-column width="90" align="center" label="来源">
<template scope="scope"> <template scope="scope">
<span>{{scope.row.source}}</span> <span>{{scope.row.source}}</span>
</template> </template>
...@@ -110,6 +112,11 @@ ...@@ -110,6 +112,11 @@
<span>{{scope.row.positionName}}</span> <span>{{scope.row.positionName}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column width="130" align="center" label="上级/电话">
<template scope="scope">
<span>{{getSuperiorInformation(scope.row.nameOfSuperior,scope.row.superiorMobileNumber,1)}}</span>
</template>
</el-table-column>
<el-table-column width="200" align="center" label="加入时间"> <el-table-column width="200" align="center" label="加入时间">
<template scope="scope"> <template scope="scope">
<span>{{scope.row.timeOfMembership}}</span> <span>{{scope.row.timeOfMembership}}</span>
...@@ -302,6 +309,11 @@ ...@@ -302,6 +309,11 @@
<span>{{userDetails.cityName}}</span> <span>{{userDetails.cityName}}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item label="上级:">
<span>{{getSuperiorInformation(userDetails.nameOfSuperior,userDetails.superiorMobileNumber,2)}}</span>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
...@@ -1461,6 +1473,19 @@ ...@@ -1461,6 +1473,19 @@
trigger: 'blur' trigger: 'blur'
}; };
}, },
/**
* 根据拼接上级信息
*/
getSuperiorInformation(name,mobile,type){
if (type==1&&name && mobile) {
return name+'/'+mobile;
}
if (type==2&&name && mobile) {
return name+' '+mobile;
}
return '无';
},
templateModel(){ templateModel(){
this.costDetail= { this.costDetail= {
key: undefined, key: undefined,
......
...@@ -338,6 +338,7 @@ ...@@ -338,6 +338,7 @@
imgTitle: undefined, imgTitle: undefined,
imgKeyword: undefined, imgKeyword: undefined,
imgDesc: undefined, imgDesc: undefined,
coverPic:'',
pPrice: 0,//普通会员 pPrice: 0,//普通会员
hPrice: 0,//黄金会员 hPrice: 0,//黄金会员
zPrice: 0,//钻石会员 zPrice: 0,//钻石会员
...@@ -354,7 +355,8 @@ ...@@ -354,7 +355,8 @@
rentDiscountStatus: "0",//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值 rentDiscountStatus: "0",//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
rentDiscountPrice: 0,//租车优惠价格 固定优化价格 rentDiscountPrice: 0,//租车优惠价格 固定优化价格
buyPrice: 0,//购买价格 buyPrice: 0,//购买价格
intro: '' intro: '',
posterBackground: '',//海报背景
}, },
showDestinationVisible: false,//编辑目的地 showDestinationVisible: false,//编辑目的地
showPathWayVisible: false,//编辑途径地 showPathWayVisible: false,//编辑途径地
...@@ -928,24 +930,31 @@ ...@@ -928,24 +930,31 @@
cleanForm() { cleanForm() {
this.activeName2 = ""; this.activeName2 = "";
this.form = { this.form = {
name: undefined,//房车名称 number: undefined,//乘卧数量
config: "",//房车配置 brand: undefined,//房车品牌
keyword: "",//房车关键标签 name: '',//房车名称
modelsDetails: "",//房车详情 config:'',//房车配置
modelParam: [],//房车参数 keyword: '',//房车关键标签
picture: "",//轮播图 modelsDetails: '',//房车详情
price: 0,//租车价格 modelParam: '',//房车参数
picture: '',//轮播图
coverPic: '',//封面图
posterBackground: '',//海报背景
price: undefined,//租车价格
deposit: 20000,//总押金 deposit: 20000,//总押金
vioDeposit: 0,//违章押金 vioDeposit: '',
rentDiscountStatus: 0,//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
buyPrice: undefined,//购买价格
alt: '',//seo 标签优化
intro: '',
imgTitle: '',
imgKeyword: '',
imgDesc: '',
pPrice: 0,//普通会员
hPrice: 0,//黄金会员
zPrice: 0,//钻石会员
hotSign: "2",//热门车型 1、热门 2、非热门 hotSign: "2",//热门车型 1、热门 2、非热门
rentDiscountStatus: "0",//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值 rentDiscountPrice: 0,//租车优惠价格 固定优化价格
rentDiscountPrice: "",//租车优惠价格 固定优化价格
buyPrice: 0,//购买价格
posterBackground: '',//海报背景
alt: '',
imgTitle: undefined,
imgKeyword: undefined,
imgDesc: undefined,
} }
} }
} }
......
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