Commit 5bc78069 authored by zhengke's avatar zhengke

1

parent 65142fce
......@@ -19,7 +19,7 @@
full-mask
mask="###########"
label="客户电话"
@input="checkStuTel(1)"
@blur="checkStuTel(1)"
></q-input>
</div>
<div class="q-mt-xs row q-col-gutter-md">
......@@ -31,7 +31,7 @@
full-mask
mask="###########"
label="客户QQ"
@input="checkStuTel(2)"
@blur="checkStuTel(2)"
></q-input>
<q-input
class="col-6"
......@@ -39,9 +39,8 @@
v-model="customObj.WeChatNo"
dense
full-mask
mask="###########"
label="客户微信号"
@input="checkStuTel(3)"
@blur="checkStuTel(3)"
></q-input>
</div>
<div class="q-mt-xs row q-col-gutter-md">
......@@ -117,6 +116,21 @@
class="col-6"
/>
</div>
<div class="q-mt-xs row q-col-gutter-md">
<q-select
filled
v-model="customObj.StuType"
dense
:options="customTypeList"
option-label="Name"
option-value="Id"
emit-value
map-options
label="客户类型"
behavior="menu"
class="col-6"
/>
</div>
<div class="q-mt-xs row q-col-gutter-md">
<q-input
filled
......@@ -249,7 +263,8 @@
import {
getStudentInfo, //获取学员客户信息
queryStuStageList, //获取客户阶段列表
saveStudent //保存学员信息
saveStudent, //保存学员信息
GetStudentTypeList
} from "../../../api/school/index";
import {
getGuestBasicsEnumList,
......@@ -302,7 +317,8 @@ export default {
customFromList: [],
StuChannelList: [], //收客渠道
AssistDropList: [], //协助人员
customList:[]
customList:[],
customTypeList:[] //客户类型
};
},
created() {
......@@ -314,6 +330,7 @@ export default {
this.GetStuChannelList();
this.getCustomFrom();
this.GetCustomerList();
this.getCustomTypeList();
if (this.saveObj && this.saveObj.StuId > 0) {
this.customMsg.StuId = this.saveObj.StuId;
this.queryStuInfo();
......@@ -466,6 +483,14 @@ export default {
}
})
},
//获取客户类型
getCustomTypeList(){
GetStudentTypeList().then(res => {
if (res.Code == 1) {
this.customTypeList = res.Data;
}
})
},
queryStuInfo() {
getStudentInfo({
StuId: this.customMsg.StuId
......
......@@ -151,6 +151,18 @@
field: "StuTel",
align: "left"
},
{
name: "QQ",
label: "QQ",
field: "QQ",
align: "left"
},
{
name: "WeChatNo",
label: "微信",
field: "WeChatNo",
align: "left"
},
{
name: "StuStageName",
label: "客户阶段",
......
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