Commit a2743b83 authored by 黄奎's avatar 黄奎

页面修改

parent 44168af2
......@@ -95,7 +95,8 @@
<div class="row wrap">
<div class="col-6">
<q-select filled stack-label option-value="Id" option-label="Name" v-model="objOption.CourseRate"
ref="CourseRate" :options="courseLevelList" label="课程等级" class="col-6 q-pr-lg q-pb-lg" emit-value map-options />
ref="CourseRate" :options="courseLevelList" label="课程等级" class="col-6 q-pr-lg q-pb-lg" emit-value
map-options />
</div>
<div class="col-6">
</div>
......@@ -183,7 +184,7 @@
IsKCourse: 0, //是否是K12课程(1-是)
ClassHours: 0,
CategoryList: [],
CourseRate:"",//课程等级
CourseRate: "", //课程等级
},
optionTitle: "",
defaultArray: [],
......@@ -234,7 +235,17 @@
getCourseRateList() {
getCourseRate({}).then(res => {
if (res.Code == 1) {
this.courseLevelList = res.Data;
var tempData = res.Data;
if (tempData && tempData.length > 0) {
tempData.forEach(item => {
if ((item.Id >= 2 && item.Id <= 6) || item.Id == 8) {
this.courseLevelList.push({
Id: item.Id,
Name: item.Name.replace(/课程/g,'')
})
}
})
}
}
})
},
......@@ -318,7 +329,7 @@
this.objOption.RenewSlPrice = res.Data.RenewSlPrice;
this.objOption.Saleplat = res.Data.Saleplat;
this.objOption.IsKCourse = res.Data.IsKCourse;
this.objOption.CourseRate=res.Data.CourseRate;
this.objOption.CourseRate = res.Data.CourseRate;
if (res.Data.StepPriceList && res.Data.StepPriceList.length > 0) {
this.ladderPriceList = res.Data.StepPriceList;
}
......@@ -358,7 +369,7 @@
this.objOption.RenewSlPrice = 0;
this.objOption.Saleplat = "";
this.objOption.IsKCourse = 0;
this.objOption.CourseRate="";
this.objOption.CourseRate = "";
this.getCategorytree();
}
},
......
This diff is collapsed.
This diff is collapsed.
......@@ -535,6 +535,18 @@
field: "GuestStateStr",
align: "left",
},
{
name: "GraduationTime",
label: "毕业时间",
field: "GraduationTime",
align: "left",
},
{
name: "CourseRateName",
label: "毕业课程等级",
field: "CourseRateName",
align: "left",
},
{
name: "JoinTypeStr",
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