Commit 22d26c5e authored by 黄奎's avatar 黄奎

页面修改

parent ce913a28
...@@ -335,8 +335,6 @@ ...@@ -335,8 +335,6 @@
this.objOption.StepPriceList = this.ladderPriceList; this.objOption.StepPriceList = this.ladderPriceList;
this.objOption.Teacher_Ids = Teacher_Ids; this.objOption.Teacher_Ids = Teacher_Ids;
this.objOption.Saleplat = salePlat; this.objOption.Saleplat = salePlat;
saveCourseInfo(this.objOption) saveCourseInfo(this.objOption)
.then(res => { .then(res => {
this.saveCourseLoading = false; this.saveCourseLoading = false;
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
separator="none" :data="dataList" :columns="columns"> separator="none" :data="dataList" :columns="columns">
<template v-slot:body-cell-Id="props"> <template v-slot:body-cell-Id="props">
<q-td auto-width :props="props"> <q-td auto-width :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="删除" <q-btn flat size="xs" icon="delete" color="negative" style="font-weight:400" label="删除"
@click="deleteClassCourse(props.row,props.row.index)" /> @click="deleteClassCourse(props.row,props.rowIndex)" />
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
......
...@@ -66,6 +66,26 @@ ...@@ -66,6 +66,26 @@
<div class="di-c" style="margin-top: 25px;align-items:baseline"> <div class="di-c" style="margin-top: 25px;align-items:baseline">
<img src="../../assets/images/administration/kezname.png" alt="" <img src="../../assets/images/administration/kezname.png" alt=""
style="width: 14px;height: 14px;margin-right:5px;position:relative;top:2px;">{{item.CourseName}} style="width: 14px;height: 14px;margin-right:5px;position:relative;top:2px;">{{item.CourseName}}
<template v-if="item.OtherCourseList&&item.OtherCourseList.length>0">
<span style="color:blue;cursor:pointer;">关联课程</span>
<q-popup-proxy>
<q-banner>
<table class="OCourseTable" style="border-collapse:collapse;">
<tr>
<th>课程名称</th>
<th>课时数</th>
<th>价格</th>
</tr>
<tr v-for="(sItem,sIndex) in item.OtherCourseList">
<td>{{sItem.CourseName}}</td>
<td>{{sItem.ClassHours}}</td>
<td>{{sItem.SellPrice}}</td>
</tr>
</table>
</q-banner>
</q-popup-proxy>
</span>
</template>
</div> </div>
<div class="di-c" style="align-items:baseline"><img src="../../assets/images/administration/period.png" <div class="di-c" style="align-items:baseline"><img src="../../assets/images/administration/period.png"
alt="" alt=""
...@@ -138,9 +158,11 @@ ...@@ -138,9 +158,11 @@
</el-calendar> </el-calendar>
</div> </div>
<div style="color:#2D2D2D;font-size: 14px;font-weight: bold;">课程安排</div> <div style="color:#2D2D2D;font-size: 14px;font-weight: bold;">课程安排</div>
<table style="width:100%;border-collapse: separate;border-collapse:collapse;margin-top:20px;text-align:center;"> <table
style="width:100%;border-collapse: separate;border-collapse:collapse;margin-top:20px;text-align:center;">
<thead> <thead>
<tr style="height: 40px;background: #EEEEEF;font-size: 12px;color: #2D2D2D;font-weight: 600;margin-top: 20px;"> <tr
style="height: 40px;background: #EEEEEF;font-size: 12px;color: #2D2D2D;font-weight: 600;margin-top: 20px;">
<th width="40%"> <th width="40%">
<template v-if="item.ClassStyle==1"> <template v-if="item.ClassStyle==1">
每周 每周
...@@ -160,7 +182,8 @@ ...@@ -160,7 +182,8 @@
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody style="border-bottom:1px dashed #d1d1d1;" v-for="(tItem,tIndex) in item.ClassTimeList" :key="tIndex"> <tbody style="border-bottom:1px dashed #d1d1d1;"
v-for="(tItem,tIndex) in item.ClassTimeList" :key="tIndex">
<template v-for="(timeItem,timeIndex) in tItem.TimeList"> <template v-for="(timeItem,timeIndex) in tItem.TimeList">
<tr> <tr>
<td style="width:180px;" :rowspan=" tItem.TimeList.length" v-if="timeIndex==0"> <td style="width:180px;" :rowspan=" tItem.TimeList.length" v-if="timeIndex==0">
......
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