Commit a2743b83 authored by 黄奎's avatar 黄奎

页面修改

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