|
@@ -1681,6 +1681,7 @@
|
|
<el-input
|
|
<el-input
|
|
v-model="AttText.title"
|
|
v-model="AttText.title"
|
|
auto-complete="off"
|
|
auto-complete="off"
|
|
|
|
+ @input="change2"
|
|
placeholder="请输入文本标题..."
|
|
placeholder="请输入文本标题..."
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -1769,11 +1770,12 @@
|
|
<div class="people_nav">选择班级</div>
|
|
<div class="people_nav">选择班级</div>
|
|
</div>
|
|
</div>
|
|
<el-checkbox-group v-model="checkboxList2" class="people_name">
|
|
<el-checkbox-group v-model="checkboxList2" class="people_name">
|
|
- <div v-for="(item,index) in grade" :key="item.id" >
|
|
|
|
|
|
+ <div v-for="(item, index) in grade" :key="item.id">
|
|
<el-checkbox :label="item.id">{{
|
|
<el-checkbox :label="item.id">{{
|
|
- item.name ? item.name : "暂无班级可选"}}</el-checkbox>
|
|
|
|
|
|
+ item.name ? item.name : "暂无班级可选"
|
|
|
|
+ }}</el-checkbox>
|
|
<div>
|
|
<div>
|
|
- <span>{{index}}</span>
|
|
|
|
|
|
+ <span>{{ index }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-checkbox-group>
|
|
</el-checkbox-group>
|
|
@@ -2367,7 +2369,7 @@ export default {
|
|
let params = [
|
|
let params = [
|
|
{
|
|
{
|
|
cid: this.cid,
|
|
cid: this.cid,
|
|
- chapters: JSON.stringify(this.unitJson).replaceAll(/%/g, "%25"),
|
|
|
|
|
|
+ chapters: JSON.stringify(this.unitJson),
|
|
uid: this.userid,
|
|
uid: this.userid,
|
|
unitIndex: _unitIndex,
|
|
unitIndex: _unitIndex,
|
|
},
|
|
},
|
|
@@ -2406,6 +2408,10 @@ export default {
|
|
change(val) {
|
|
change(val) {
|
|
console.log(val);
|
|
console.log(val);
|
|
},
|
|
},
|
|
|
|
+ change2(val) {
|
|
|
|
+ console.log(val);
|
|
|
|
+ this.$forceUpdate();
|
|
|
|
+ },
|
|
handleClose(done) {
|
|
handleClose(done) {
|
|
done();
|
|
done();
|
|
},
|
|
},
|
|
@@ -3255,7 +3261,7 @@ export default {
|
|
let params = [
|
|
let params = [
|
|
{
|
|
{
|
|
cid: this.cid,
|
|
cid: this.cid,
|
|
- chapters: JSON.stringify(this.unitJson).replaceAll(/%/g, "%25"),
|
|
|
|
|
|
+ chapters: JSON.stringify(this.unitJson),
|
|
uid: this.userid,
|
|
uid: this.userid,
|
|
unitIndex: _unitIndex,
|
|
unitIndex: _unitIndex,
|
|
},
|
|
},
|
|
@@ -3441,6 +3447,9 @@ export default {
|
|
.then(() => {
|
|
.then(() => {
|
|
_this.unitJson = JSON.parse(res.chapters);
|
|
_this.unitJson = JSON.parse(res.chapters);
|
|
_this.steps++;
|
|
_this.steps++;
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.checkEva();
|
|
|
|
+ }, 1000);
|
|
})
|
|
})
|
|
.catch(() => {
|
|
.catch(() => {
|
|
return;
|
|
return;
|