Commit b752ce2f authored by youjie's avatar youjie

no message

parent dec36790
...@@ -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,6 +161,7 @@ ...@@ -159,6 +161,7 @@
} 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: {
...@@ -167,7 +170,8 @@ ...@@ -167,7 +170,8 @@
components: { components: {
reserveclassForm, reserveclassForm,
reserveclasskaikeform, reserveclasskaikeform,
UeEditor UeEditor,
audition
}, },
props: { props: {
saveObj: { saveObj: {
...@@ -258,6 +262,10 @@ return timeStr; ...@@ -258,6 +262,10 @@ 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