|
@@ -195,14 +195,14 @@
|
|
style="justify-content: center; min-width: 175px"></el-switch> -->
|
|
style="justify-content: center; min-width: 175px"></el-switch> -->
|
|
<span>生成模式:</span>
|
|
<span>生成模式:</span>
|
|
<el-radio-group v-model="isuseT" style="display: flex; align-items: center" @change="changeIsuseT">
|
|
<el-radio-group v-model="isuseT" style="display: flex; align-items: center" @change="changeIsuseT">
|
|
- <div class="all_choose info_radio">
|
|
|
|
- <el-radio :label="1">对话模式生成</el-radio>
|
|
|
|
|
|
+ <div class="all_choose info_radio" style="margin-left: 10px">
|
|
|
|
+ <el-radio :label="false">从零开始生成</el-radio>
|
|
</div>
|
|
</div>
|
|
<div class="all_choose info_radio" style="margin-left: 10px">
|
|
<div class="all_choose info_radio" style="margin-left: 10px">
|
|
<el-radio :label="true">从已有教案生成</el-radio>
|
|
<el-radio :label="true">从已有教案生成</el-radio>
|
|
</div>
|
|
</div>
|
|
- <div class="all_choose info_radio" style="margin-left: 10px">
|
|
|
|
- <el-radio :label="false">从零开始生成</el-radio>
|
|
|
|
|
|
+ <div class="all_choose info_radio">
|
|
|
|
+ <el-radio :label="1">对话模式生成</el-radio>
|
|
</div>
|
|
</div>
|
|
<div class="all_choose info_radio" style="margin-left: 10px">
|
|
<div class="all_choose info_radio" style="margin-left: 10px">
|
|
<el-radio :label="2">头脑风暴模式生成</el-radio>
|
|
<el-radio :label="2">头脑风暴模式生成</el-radio>
|
|
@@ -1249,7 +1249,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="whiteBg" style="background: #fff; margin: 0 0 10px;padding: 0 0 15px;" v-loading="textLoading" element-loading-text="小可正在努力生成中,请稍等..." v-show="(isuseT === 2)">
|
|
|
|
|
|
+ <div class="whiteBg" style="background: #fff; margin: 0 0 10px;padding: 0 0 15px;" v-show="(isuseT === 2)">
|
|
<div class="whiteBg" style="border-radius: 0; margin-top: 15px">
|
|
<div class="whiteBg" style="border-radius: 0; margin-top: 15px">
|
|
<div class="c_info_title" style="margin: 0 20px 0 20px;position:relative;">
|
|
<div class="c_info_title" style="margin: 0 20px 0 20px;position:relative;">
|
|
课程概况<span class="inter_setting" @click="openInterPanSetting2" v-if="istemplate == 1"></span>
|
|
课程概况<span class="inter_setting" @click="openInterPanSetting2" v-if="istemplate == 1"></span>
|
|
@@ -24772,6 +24772,17 @@ ${msg}
|
|
next();
|
|
next();
|
|
},
|
|
},
|
|
mounted(){
|
|
mounted(){
|
|
|
|
+ let _this = this
|
|
|
|
+ // 监听浏览器后退或者刷新等离开页面的操作
|
|
|
|
+ window.onbeforeunload = function(event) {
|
|
|
|
+ // 检查是否有未保存的更改
|
|
|
|
+ const message = "你有未保存的更改,确定要离开吗?";
|
|
|
|
+ // 现代浏览器通常会显示一个默认的提示信息,不能完全自定义提示内容
|
|
|
|
+ event.returnValue = message; // 兼容大部分浏览器
|
|
|
|
+ console.log(message)
|
|
|
|
+ return message; // 兼容部分浏览器
|
|
|
|
+ };
|
|
|
|
+
|
|
const resizable = this.$el.querySelector('.resizable');
|
|
const resizable = this.$el.querySelector('.resizable');
|
|
const resizer = this.$el.querySelector('.resizer');
|
|
const resizer = this.$el.querySelector('.resizer');
|
|
const maxWidth = document.body.offsetWidth / 2;
|
|
const maxWidth = document.body.offsetWidth / 2;
|