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

新增留学客户资料列表

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