Commit 4732b3ea authored by 罗超's avatar 罗超

添加合同样本背景

parent 7572c31f
...@@ -133,8 +133,8 @@ ...@@ -133,8 +133,8 @@
</div> </div>
<div class="stage_value"> <div class="stage_value">
<q-select filled v-model="customObj.CreateType" @change="clearStuMsg()" style="width:185px;" <q-select filled v-model="customObj.CreateType" @change="clearStuMsg()" style="width:185px;"
@input="resetStuSource()" dense :options="customFromList" option-label="Name" option-value="Id" emit-value :disable="customObj.StuId>0" @input="resetStuSource()" dense :options="customFromList" option-label="Name"
map-options label="客户来源" /> option-value="Id" emit-value map-options label="客户来源" />
</div> </div>
</div> </div>
</div> </div>
...@@ -145,8 +145,8 @@ ...@@ -145,8 +145,8 @@
</div> </div>
<div class="stage_value"> <div class="stage_value">
<q-select filled v-model="customObj.StuSourceId" style="width:185px;" dense @filter="filterEmployee" <q-select filled v-model="customObj.StuSourceId" style="width:185px;" dense @filter="filterEmployee"
use-input :options="myEmployeeList" option-label="EmployeeName" option-value="Id" emit-value :disable="customObj.StuId>0" use-input :options="myEmployeeList" option-label="EmployeeName"
map-options /> option-value="Id" emit-value map-options />
</div> </div>
</div> </div>
</div> </div>
...@@ -157,7 +157,8 @@ ...@@ -157,7 +157,8 @@
</div> </div>
<div class="stage_value"> <div class="stage_value">
<q-select filled v-model="customObj.StuSourceId" style="width:185px;" use-input @filter="filterStudent" <q-select filled v-model="customObj.StuSourceId" style="width:185px;" use-input @filter="filterStudent"
dense :options="MyTransListData" option-label="StuName" option-value="StuId" emit-value map-options /> :disable="customObj.StuId>0" dense :options="MyTransListData" option-label="StuName" option-value="StuId"
emit-value map-options />
</div> </div>
</div> </div>
</div> </div>
...@@ -168,7 +169,8 @@ ...@@ -168,7 +169,8 @@
</div> </div>
<div class="stage_value"> <div class="stage_value">
<q-select filled v-model="customObj.StuChannel" style="width:185px;" dense :options="StuChannelList" <q-select filled v-model="customObj.StuChannel" style="width:185px;" dense :options="StuChannelList"
option-label="Name" option-value="Id" emit-value map-options use-input @filter="filterStuChannel"> :disable="customObj.StuId>0" option-label="Name" option-value="Id" emit-value map-options use-input
@filter="filterStuChannel">
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey"> <q-item-section class="text-grey">
...@@ -187,7 +189,8 @@ ...@@ -187,7 +189,8 @@
</div> </div>
<div class="stage_value"> <div class="stage_value">
<q-select filled v-model="customObj.CustomerId" style="width:185px" dense :options="customList" use-input <q-select filled v-model="customObj.CustomerId" style="width:185px" dense :options="customList" use-input
@filter="filterFn" option-label="CustomerName" option-value="CustomerId" emit-value map-options> :disable="customObj.StuId>0" @filter="filterFn" option-label="CustomerName" option-value="CustomerId"
emit-value map-options>
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey"> <q-item-section class="text-grey">
...@@ -328,7 +331,7 @@ ...@@ -328,7 +331,7 @@
}, },
props: { props: {
stuData:{ stuData: {
type: Object, type: Object,
default: null default: null
}, },
...@@ -369,7 +372,7 @@ ...@@ -369,7 +372,7 @@
QQ: '', //qq QQ: '', //qq
WeChatNo: '', //微信号 WeChatNo: '', //微信号
StuType: '', //客户类型 StuType: '', //客户类型
StuNeeds:0 //客户需求 StuNeeds: 0 //客户需求
}, },
//日语基础列表 //日语基础列表
basicList: [], basicList: [],
...@@ -381,7 +384,7 @@ ...@@ -381,7 +384,7 @@
employeeList: [], employeeList: [],
myEmployeeList: [], myEmployeeList: [],
StuChannelList: [], //收客渠道 StuChannelList: [], //收客渠道
allStuChannelList:[],//所有收客渠道 allStuChannelList: [], //所有收客渠道
AssistDropList: [], //协助人员 AssistDropList: [], //协助人员
customFromList: [], //客户来源 customFromList: [], //客户来源
customTypeList: [], //客户类型 customTypeList: [], //客户类型
...@@ -395,7 +398,7 @@ ...@@ -395,7 +398,7 @@
QQ: '', QQ: '',
WeChatNo: '' WeChatNo: ''
}, },
NeedData:[] NeedData: []
} }
}, },
created() { created() {
...@@ -410,23 +413,23 @@ ...@@ -410,23 +413,23 @@
this.getCustomTypeList(); this.getCustomTypeList();
this.getStudentDorpDown(); this.getStudentDorpDown();
this.getGetNeedsList(); this.getGetNeedsList();
if (this.saveObj && this.saveObj.StuId > 0) { if (this.saveObj && this.saveObj.StuId > 0) {
this.customMsg.StuId = this.saveObj.StuId; this.customMsg.StuId = this.saveObj.StuId;
this.checkMsg.StuId = this.saveObj.StuId; this.checkMsg.StuId = this.saveObj.StuId;
} }
}, },
watch:{ watch: {
stuData(){ stuData() {
this.init(); this.init();
} }
}, },
methods: { methods: {
//获取客户需求 //获取客户需求
getGetNeedsList(){ getGetNeedsList() {
GetNeedsList().then(res => { GetNeedsList().then(res => {
if(res.Code==1){ if (res.Code == 1) {
this.NeedData = res.Data; this.NeedData = res.Data;
} }
}) })
...@@ -457,7 +460,7 @@ ...@@ -457,7 +460,7 @@
}) })
return return
} }
if (this.customObj.CreateType == 1&&!this.customObj.StuChannel) { if (this.customObj.CreateType == 1 && !this.customObj.StuChannel) {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
position: "top", position: "top",
...@@ -465,7 +468,7 @@ ...@@ -465,7 +468,7 @@
}) })
return return
} }
if (this.customObj.CreateType == 2&&!this.customObj.CustomerId) { if (this.customObj.CreateType == 2 && !this.customObj.CustomerId) {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
position: "top", position: "top",
...@@ -473,7 +476,7 @@ ...@@ -473,7 +476,7 @@
}) })
return return
} }
if (this.customObj.CreateType == 3&&!this.customObj.StuSourceId) { if (this.customObj.CreateType == 3 && !this.customObj.StuSourceId) {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
position: "top", position: "top",
...@@ -481,7 +484,7 @@ ...@@ -481,7 +484,7 @@
}) })
return return
} }
if (this.customObj.CreateType == 4&&!this.customObj.StuSourceId) { if (this.customObj.CreateType == 4 && !this.customObj.StuSourceId) {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
position: "top", position: "top",
...@@ -553,8 +556,8 @@ ...@@ -553,8 +556,8 @@
}) })
}, },
//筛选渠道 //筛选渠道
filterStuChannel(val, update,){ filterStuChannel(val, update, ) {
update(() => { update(() => {
if (val === "") { if (val === "") {
this.StuChannelList = JSON.parse(JSON.stringify(this.allStuChannelList)); this.StuChannelList = JSON.parse(JSON.stringify(this.allStuChannelList));
} else { } else {
...@@ -608,7 +611,7 @@ ...@@ -608,7 +611,7 @@
//获取客户下拉数据 //获取客户下拉数据
GetCustomerList() { GetCustomerList() {
let msg = { let msg = {
QCreateBy:1 QCreateBy: 1
} }
GetCustomerList(msg).then(res => { GetCustomerList(msg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
...@@ -684,28 +687,28 @@ ...@@ -684,28 +687,28 @@
// } // }
// }); // });
// }, // },
init(){ init() {
const tempDate = this.stuData; const tempDate = this.stuData;
this.customObj.StuId = tempDate.StuId; this.customObj.StuId = tempDate.StuId;
this.customObj.StuName = tempDate.StuName; this.customObj.StuName = tempDate.StuName;
this.customObj.StuTel = tempDate.StuTel; this.customObj.StuTel = tempDate.StuTel;
this.customObj.CreateType = tempDate.CreateType; this.customObj.CreateType = tempDate.CreateType;
this.customObj.StuSourceId = tempDate.StuSourceId; this.customObj.StuSourceId = tempDate.StuSourceId;
this.customObj.StuChannel = tempDate.StuChannel; this.customObj.StuChannel = tempDate.StuChannel;
this.customObj.PlatformName = tempDate.PlatformName; this.customObj.PlatformName = tempDate.PlatformName;
this.customObj.StuSex = tempDate.StuSex; this.customObj.StuSex = tempDate.StuSex;
this.customObj.StuBirth = tempDate.StuBirth; this.customObj.StuBirth = tempDate.StuBirth;
this.customObj.StuStage = tempDate.StuStage; this.customObj.StuStage = tempDate.StuStage;
this.customObj.JapanBaseInfo = tempDate.JapanBaseInfo; this.customObj.JapanBaseInfo = tempDate.JapanBaseInfo;
this.customObj.StuProfession = tempDate.StuProfession; this.customObj.StuProfession = tempDate.StuProfession;
this.customObj.StuEducation = tempDate.StuEducation; this.customObj.StuEducation = tempDate.StuEducation;
this.customObj.StuPurpose = tempDate.StuPurpose; this.customObj.StuPurpose = tempDate.StuPurpose;
this.customObj.CreateBy = tempDate.CreateBy; this.customObj.CreateBy = tempDate.CreateBy;
this.customObj.CustomerId = tempDate.CustomerId; this.customObj.CustomerId = tempDate.CustomerId;
this.customObj.StuType = tempDate.StuType; this.customObj.StuType = tempDate.StuType;
this.customObj.QQ = tempDate.QQ; this.customObj.QQ = tempDate.QQ;
this.customObj.WeChatNo = tempDate.WeChatNo; this.customObj.WeChatNo = tempDate.WeChatNo;
this.customObj.StuNeeds = tempDate.StuNeeds; this.customObj.StuNeeds = tempDate.StuNeeds;
}, },
//新增协助人员 //新增协助人员
addAssist() { addAssist() {
......
...@@ -188,6 +188,10 @@ ...@@ -188,6 +188,10 @@
padding: 0!important; padding: 0!important;
height:20px; height:20px;
} }
.yangben_bg{
background-image: url(../assets/images/yangben.png);
background-size:100%;
}
</style> </style>
<template> <template>
<div class="TcConfirmMain"> <div class="TcConfirmMain">
...@@ -216,7 +220,7 @@ ...@@ -216,7 +220,7 @@
</div> </div>
</div> </div>
<div class="ContractMain"> <div class="ContractMain">
<div style="padding:100px 15px 80px 15px;" v-if="ActiveTab==1"> <div style="padding:100px 15px 80px 15px;" v-if="ActiveTab==1" :class="{'yangben_bg':gmsg.ContractId==7}">
<div class="contractTitle">一、声明</div> <div class="contractTitle">一、声明</div>
<p>当您签署此协议之前,请确保已清楚了解以下事宜:</p> <p>当您签署此协议之前,请确保已清楚了解以下事宜:</p>
<p>1、温馨提示:日语学习的过程中,学员的上课到勤率越高,教学成果会更好,学员达成课程学习目标的概率将会较高。</p> <p>1、温馨提示:日语学习的过程中,学员的上课到勤率越高,教学成果会更好,学员达成课程学习目标的概率将会较高。</p>
...@@ -794,6 +798,9 @@ ...@@ -794,6 +798,9 @@
if (this.$route.query.ContractId) { if (this.$route.query.ContractId) {
this.gmsg.ContractId = this.$route.query.ContractId; this.gmsg.ContractId = this.$route.query.ContractId;
this.getList(); this.getList();
}else{
this.gmsg.ContractId = 7;
this.getList();
} }
}, },
methods: { methods: {
......
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