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

页面修改

parent ce913a28
......@@ -335,8 +335,6 @@
this.objOption.StepPriceList = this.ladderPriceList;
this.objOption.Teacher_Ids = Teacher_Ids;
this.objOption.Saleplat = salePlat;
saveCourseInfo(this.objOption)
.then(res => {
this.saveCourseLoading = false;
......
......@@ -22,8 +22,8 @@
separator="none" :data="dataList" :columns="columns">
<template v-slot:body-cell-Id="props">
<q-td auto-width :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="删除"
@click="deleteClassCourse(props.row,props.row.index)" />
<q-btn flat size="xs" icon="delete" color="negative" style="font-weight:400" label="删除"
@click="deleteClassCourse(props.row,props.rowIndex)" />
</q-td>
</template>
<template v-slot:bottom>
......
......@@ -66,6 +66,26 @@
<div class="di-c" style="margin-top: 25px;align-items:baseline">
<img src="../../assets/images/administration/kezname.png" alt=""
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 class="di-c" style="align-items:baseline"><img src="../../assets/images/administration/period.png"
alt=""
......@@ -138,9 +158,11 @@
</el-calendar>
</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>
<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%">
<template v-if="item.ClassStyle==1">
每周
......@@ -160,7 +182,8 @@
</th>
</tr>
</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">
<tr>
<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