Commit b752ce2f authored by youjie's avatar youjie

no message

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