Commit 0f1d7d23 authored by 黄奎's avatar 黄奎

页面修改

parent 0a16cca8
...@@ -280,11 +280,11 @@ ...@@ -280,11 +280,11 @@
<div class="customer_info_component"> <div class="customer_info_component">
<div class="customer_info_Stage"> <div class="customer_info_Stage">
<div class="stage_label"> <div class="stage_label">
<span class="student_require">*</span>留学类型 <span class="student_require">*</span>学员类型
</div> </div>
<div class="stage_value"> <div class="stage_value">
<q-select filled v-model="customObj.StudentType" style="width:185px" dense :options="StudentTypeList" <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="留学类型" /> :disable="noEdit" option-label="Name" option-value="Id" emit-value map-options label="学员类型" />
</div> </div>
</div> </div>
</div> </div>
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
</div> </div>
</div> </div>
</div> --> </div> -->
<div class="customer_info_component"> <div class="customer_info_component" style="display:none;">
<div class="customer_info_Stage"> <div class="customer_info_Stage">
<div class="stage_label"> <div class="stage_label">
到访表 到访表
...@@ -471,7 +471,7 @@ ...@@ -471,7 +471,7 @@
StuNeeds: 0, //客户需求 StuNeeds: 0, //客户需求
StuTel: "", //显示使用 StuTel: "", //显示使用
FileVoucher: "", FileVoucher: "",
TelType: 4, //电话关联人员 TelType: 3, //电话关联人员
StudentType:this.StudentType, StudentType:this.StudentType,
}, },
//日语基础列表 //日语基础列表
...@@ -494,10 +494,10 @@ ...@@ -494,10 +494,10 @@
MyTransListData: [], MyTransListData: [],
StudentTypeList:[{ StudentTypeList:[{
Id:1, Id:1,
Name:"普通", Name:"普通客户",
},{ },{
Id:2, Id:2,
Name:"留学", Name:"留学客户",
}], }],
checkMsg: { checkMsg: {
StuId: 0, StuId: 0,
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
</div> </div>
<div class="col-3"> <div class="col-3">
<div class="col-3 Sysuser_Date"> <div class="col-3 Sysuser_Date">
<q-field filled> <q-field filled>
 <template v-slot:control> <template v-slot:control>
<el-date-picker v-model="msg.StartDate" type="date" placeholder="开始日期" value-format="yyyy-MM-dd" <el-date-picker v-model="msg.StartDate" type="date" placeholder="开始日期" value-format="yyyy-MM-dd"
size="small" style="width:47%;" @change="refreshPage" clear-icon="iconfont icon-guanbi"> size="small" style="width:47%;" @change="refreshPage" clear-icon="iconfont icon-guanbi">
</el-date-picker> </el-date-picker>
......
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="getClassList" standout="bg-primary text-white" v-model="msg.CourseSubject" <q-select @input="getClassList" standout="bg-primary text-white" v-model="msg.CourseSubject"
:options="CourseSubjectList" option-label="SubjectName" option-value="Id" emit-value map-options label="所属科目" :options="CourseSubjectList" option-label="SubjectName" option-value="Id" emit-value map-options
clearable /> label="所属科目" clearable />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="getClassList" standout="bg-primary text-white" option-value="Id" option-label="Name" <q-select @input="getClassList" standout="bg-primary text-white" option-value="Id" option-label="Name"
...@@ -67,6 +67,18 @@ ...@@ -67,6 +67,18 @@
<q-input @change="getClassList" clearable standout="bg-primary text-white" v-model="msg.CourseName" <q-input @change="getClassList" clearable standout="bg-primary text-white" v-model="msg.CourseName"
label="学习课程" @clear="getClassList" maxlength="20" /> label="学习课程" @clear="getClassList" maxlength="20" />
</div> </div>
<div class="col-3">
<q-input v-model="msg.StartTime" mask="date" label="开班时间" standout="bg-primary text-white" @update:model-value="()=>getClassList">
<template v-slot:append>
<q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qCStartTime" transition-show="scale" transition-hide="scale">
<q-date v-model="msg.StartTime" mask="YYYY-MM-DD" @input="() =>changeDate()"
@update:model-value="()=>getClassList" />
</q-popup-proxy>
</q-icon>
</template>
</q-input>
</div>
<div class="col-3"> <div class="col-3">
<q-select @input="getClassList" standout="bg-primary text-white" option-value="SId" option-label="SName" <q-select @input="getClassList" standout="bg-primary text-white" option-value="SId" option-label="SName"
v-model="msg.School_Id" :options="schoolList" emit-value map-options label="关联校区" /> v-model="msg.School_Id" :options="schoolList" emit-value map-options label="关联校区" />
...@@ -116,6 +128,8 @@ ...@@ -116,6 +128,8 @@
School_Id: -1, //关联校区 School_Id: -1, //关联校区
ClassNo: '', //班号 ClassNo: '', //班号
CourseSubject: "", //所属科目 CourseSubject: "", //所属科目
StartTime: "", //开班开始时间
EndTime: "", //开班结束时间
}, },
classStatusList: [], //班级状态列表 classStatusList: [], //班级状态列表
schoolList: [], //校区列表 schoolList: [], //校区列表
...@@ -147,6 +161,11 @@ ...@@ -147,6 +161,11 @@
this.getClassList(); this.getClassList();
}, },
methods: { methods: {
changeDate()
{
this.$refs.qCStartTime.hide();
this.getClassList();
},
queryCourseSubject() { queryCourseSubject() {
getCourseSubject({}).then(res => { getCourseSubject({}).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
......
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