Commit b752ce2f authored by youjie's avatar youjie

no message

parent dec36790
......@@ -34,7 +34,7 @@
跟班
</q-chip>
<div v-if="tItem.ReservationDate&&tItem.ReservationDate.length>0&&tItem.ReservationDate!='0001-01-01T00:00:00'">
试听日期:{{ timeFormatSeconds(tItem.ReservationDate) }}
试听日期:{{ timeFormatSeconds(tItem.ReservationDate) }}
</div>
<div v-if="tItem.Demand&&tItem.Demand.length>0">
<span style="float:left;"> 试听需求:</span><div v-html="tItem.Demand" class="divP"></div>
......@@ -60,7 +60,7 @@
</div>
<div style="margin-top:10px;width:150px;"
class="visit_delete text-negative">
<span @click="DeleteVisitorReserve(tItem.Id)" style="margin-right:10px;" >删除</span>
<span @click="DeleteVisitorReserve(tItem.Id)" style="margin-right:10px;" >删除</span>
<span v-if="tItem.ReserveClassId>0" style="margin-right:10px;" @click="fabkuiMsg.IsShow=true,fabkuiMsg.Id=tItem.Id,fabkuiMsg.Feedback=tItem.Feedback">反馈</span>
<span v-if="tItem.ReserveClassId==0" @click="ShitingKaiKe(tItem)">试听课开课</span>
</div>
......@@ -90,8 +90,8 @@
</div>
</el-dialog>
<el-dialog title="试听开课" :visible.sync="VisitorReserveClassMsg.IsShow" width="30%">
<div class="row wrap">
<el-dialog title="试听开课" :visible.sync="VisitorReserveClassMsg.IsShow" width="30%" @close="closeShitingKaiKe">
<!-- <div class="row wrap">
<div style="width:100%;margin-bottom:15px;">试听时间:<span style="color:red;">{{timeFormatSeconds(VisitorReserveClassMsg.ReservationDate)}}</span></div>
<div style="width:100%;margin-bottom:15px;">试听需求:<span style="color:red;">{{VisitorReserveClassMsg.Demand}}</span></div>
</div>
......@@ -139,7 +139,9 @@
<div slot="footer" class="dialog-footer">
<el-button @click="closeShitingKaiKe()">取 消</el-button>
<el-button type="primary" @click="SetVisitorReserveClass()">确 定</el-button>
</div>
</div> -->
<audition :VisitorReserveClassMsg="VisitorReserveClassMsg"
@close="closeShitingKaiKe" @success="SetVisitorReserveClass()"></audition>
</el-dialog>
</div>
</template>
......@@ -159,7 +161,8 @@
} from "../../../api/school/index";
import reserveclassForm from "./reserveclass-form";
import reserveclasskaikeform from "./reserveclasskaikeform";
import audition from "../../../pages/h5page/audition";
export default {
meta: {
title: ""
......@@ -167,7 +170,8 @@
components: {
reserveclassForm,
reserveclasskaikeform,
UeEditor
UeEditor,
audition
},
props: {
saveObj: {
......@@ -252,12 +256,16 @@
if (seconds < 10) seconds = '0' + seconds;
timeStr+= ' ' + hours + ':' + min + ':' + seconds;
}
timeStr=year + '-' + month + '-' + day +timeStr;
return timeStr;
},
//保存
SetVisitorReserveClass() {
this.closeShitingKaiKe();
this.getList();
this.$forceUpdate()
return
if (this.VisitorReserveClassMsg.ClassDate == "") {
this.$q.notify({
type: "negative",
......@@ -324,6 +332,7 @@ return timeStr;
this.VisitorReserveClassMsg.ClassPlanId=0;
this.VisitorReserveClassMsg.Demand="";
this.VisitorReserveClassMsg.IsShow=false;
this.$forceUpdate()
},
//试听课开课
ShitingKaiKe(item){
......
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