Commit 31c83ae6 authored by 吴春's avatar 吴春

新增留学客户资料列表

parent bdf46615
......@@ -277,6 +277,17 @@
</div>
</div>
</div>
<div class="customer_info_component">
<div class="customer_info_Stage">
<div class="stage_label">
<span class="student_require">*</span>留学类型
</div>
<div class="stage_value">
<q-select filled v-model="customObj.StudentType" style="width:185px" dense :options="StudentTypeList"
:disable="noEdit" option-label="Name" option-value="Id" emit-value map-options label="留学类型" />
</div>
</div>
</div>
<!--2024-08-22 HK 注释-->
<!-- <div class="customer_info_component">
<div class="customer_info_Stage">
......@@ -358,7 +369,7 @@
<div class="info_item">
<div class="item_label">学习目的</div>
<div class="item_value">
<q-select filled v-model="customObj.StuPurpose" dense :options="goalsList" option-label="Name"
<q-select filled multiple v-model="customObj.StuPurposeList" dense :options="goalsList" option-label="Name"
:disable="noEdit" option-value="Id" emit-value map-options />
</div>
</div>
......@@ -417,6 +428,10 @@
type: Number,
default: null
},
StudentType: {
type: Number,
default: 1
},
//1-当前登录人自己创建,3-不是当前登录人创建
BelongType: {
type: Number,
......@@ -447,6 +462,7 @@
StuProfession: "", //职业
StuEducation: "", //学历
StuPurpose: "", //学习目的
StuPurposeList:[],
CreateBy: "", //创建人
CustomerId: 0, //关联同行
QQ: "", //qq
......@@ -456,6 +472,7 @@
StuTel: "", //显示使用
FileVoucher: "",
TelType: 4, //电话关联人员
StudentType:this.StudentType,
},
//日语基础列表
basicList: [],
......@@ -475,6 +492,13 @@
allCustomList: [], //所有同行列表
TransListData: [], //转介人数据
MyTransListData: [],
StudentTypeList:[{
Id:1,
Name:"普通",
},{
Id:2,
Name:"留学",
}],
checkMsg: {
StuId: 0,
StuRealMobile: "",
......@@ -670,6 +694,12 @@
});
return;
}
if(this.customObj.StuPurposeList&&this.customObj.StuPurposeList.length>0){
this.customObj.StuPurpose=this.customObj.StuPurposeList.toString()
}
else{
this.customObj.StuPurpose="";
}
if (this.customObj.StuRealMobile != "") {
var myreg = /^[1][3-9][\d]{9}/;
if (!myreg.test(this.customObj.StuRealMobile)) {
......@@ -840,6 +870,12 @@
this.customObj.StuProfession = tempDate.StuProfession;
this.customObj.StuEducation = tempDate.StuEducation;
this.customObj.StuPurpose = tempDate.StuPurpose;
this.customObj.StudentType = tempDate.StudentType;
if(tempDate.StuPurpose&&tempDate.StuPurpose.length>0&&tempDate.StuPurpose!="0"){
this.customObj.StuPurposeList=tempDate.StuPurpose.split(",").map(Number);
}
console.log("StuPurposeList", this.customObj.StuPurposeList);
this.customObj.CreateBy = tempDate.CreateBy;
this.customObj.CustomerId = tempDate.CustomerId;
this.customObj.StuType = tempDate.StuType;
......
......@@ -4,7 +4,7 @@
<div class="MycustomMain">
<div class="myCustomBottom">
<div class="myDetail-info">
<student-left :save-obj="saveObj" :AddType="1" @success="refreshStudentPage" @close="closeCutomer">
<student-left :save-obj="saveObj" :AddType="1" :StudentType="StudentType" @success="refreshStudentPage" @close="closeCutomer">
</student-left>
</div>
</div>
......@@ -27,6 +27,10 @@
saveObj: {
type: Object,
default: null
},
StudentType: {
type: Number,
default: 1
}
},
data() {
......
......@@ -73,9 +73,9 @@
@click="pushMode = true" />
<q-btn color="accent" outline class="q-mr-md" size="sm" icon="swap_horiz" label="推送课程顾问"
v-if="userInfo.IsCourseConsultant == 0" @click="pushMode = true" />
<q-btn color="accent" class="q-mr-md" size="sm" icon="swap_horiz" label="转订单"
<q-btn color="accent" v-if="StudentType !=2" class="q-mr-md" size="sm" icon="swap_horiz" label="转订单"
:disable="selection.length === 0" @click="transferOrder" />
<q-btn color="accent" class="q-mr-md" size="sm" icon="swap_horiz" label="转留学"
<q-btn color="accent" v-if="StudentType==2" class="q-mr-md" size="sm" icon="swap_horiz" label="转留学"
:disable="selection.length === 0" @click="transferAbroad" />
<q-btn color="accent" class="q-mr-md" size="sm" icon="add" label="新增学员" @click="EditStudent(null)" />
<q-btn v-if="authObj && authObj.isShowDownload&&IsDownLoadStu()" color="accent" class="q-mr-md" size="sm"
......@@ -265,7 +265,7 @@
:checkType="checkType" :save-obj="stuOption" @close="closeStuForm" @success="refreshStuList"
@reload="referDataHandler">
</studentRight-form>
<studentAdd-form v-if="isShowAdd" :save-obj="stuOption" @close="closeStuForm" @success="refreshStuList">
<studentAdd-form v-if="isShowAdd" :StudentType="StudentType" :save-obj="stuOption" @close="closeStuForm" @success="refreshStuList">
</studentAdd-form>
<transfer-order v-if="isShowTransfer" :select="selection" @close="closeStuForm" @success="refreshStuList">
</transfer-order>
......@@ -309,6 +309,10 @@
type: Array,
default: null
},
StudentType: {
type: Number,
default: 1
},
//是否显示转交按钮
isJudgeTrans: {
type: Number,
......
......@@ -42,11 +42,11 @@
</tr>
</table>
</div>
<div class="text-caption q-mb-lg q-mt-lg text-grey-6">
<div class="text-caption q-mb-lg q-mt-lg text-grey-6" v-if="false">
<span class="course_Line"></span>
优惠
</div>
<table style="border-collapse: collapse;width:100%;" class="coursePrice_table">
<table style="border-collapse: collapse;width:100%;" class="coursePrice_table" v-if="false">
<tr style="height:40px;">
<th>
优惠
......@@ -111,7 +111,7 @@
返佣设置
</th>
</tr>
<tr>
<tr v-if="false">
<td style="width:70px;">
同行返佣
</td>
......@@ -152,7 +152,7 @@
</div>
</td>
</tr>
<tr>
<tr v-if="false">
<td>
校代返佣
</td>
......@@ -279,7 +279,7 @@
</div>
</td>
</tr>
<tr>
<tr v-if="false">
<td>
直客返佣
</td>
......
......@@ -18,7 +18,7 @@
@keyup.native="checkPrice(priceObj.studyAbroadObj, 'SellPrice')" :rules="[val => !!val || '请填写实际卖价']" />
</div>
</div>
<div class="q-pt-none scroll" style="max-height:60hv">
<div class="q-pt-none scroll" style="max-height:60hv" >
<table>
<thead>
<tr style="height:60px;">
......
......@@ -81,7 +81,7 @@
</div>
</div>
<div class="page-content">
<stulist :dataList="data" @success="refreshPage" :loading="loading" ref="stuList" :authObj="AuthObj"
<stulist :dataList="data" @success="refreshPage" :StudentType="1" :loading="loading" ref="stuList" :authObj="AuthObj"
:queryMsg="msg" :Count="AuthObj.Count">
</stulist>
<div class="row" style="justify-content: flex-end;padding: 5px 20px">
......@@ -153,6 +153,7 @@
CategoryId: "", //同行编号
IsSureConsultTime: 0, // 0不限 1有效到访 2无效到访
QOrderBy: 0, //排序
StudentType:0,
},
dateArray: [], //日期数组
pageCount: 0,
......
This diff is collapsed.
......@@ -58,6 +58,11 @@ const routes = [{
component: () =>
import("pages/school/student.vue")
},
{
path: "/school/studentstudy", //留学学员管理
component: () =>
import("pages/school/studentstudy.vue")
},
{
path: "/school/studentCourse", //学员上课记录管理
component: () =>
......@@ -1910,7 +1915,8 @@ const routes = [{
path: "/stuMan/stuList", //学管 学员名单
component: () =>
import("pages/stuMan/stuList")
}, {
}
, {
path: "/stuMan/visitorRecord", //学管 访问管理
component: () =>
import("pages/stuMan/visitorRecord")
......
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