|
@@ -85,7 +85,9 @@
|
|
|
class="dialog_diy"
|
|
|
>
|
|
|
<div v-if="!isLoading1">
|
|
|
+ <div v-if="mbCourse.length == 0">暂无数据</div>
|
|
|
<div
|
|
|
+ v-else
|
|
|
class="evaBox"
|
|
|
v-for="(item, index) in mbCourse"
|
|
|
:key="index"
|
|
@@ -124,7 +126,7 @@
|
|
|
|
|
|
<script>
|
|
|
export default {
|
|
|
- props: ["ooid", "ccid","checkid"],
|
|
|
+ props: ["ooid", "ccid", "checkid"],
|
|
|
data() {
|
|
|
return {
|
|
|
sName: "",
|
|
@@ -146,8 +148,8 @@ export default {
|
|
|
immediate: true,
|
|
|
deep: true,
|
|
|
handler(newValue, oldValue) {
|
|
|
- if(this.checkid){
|
|
|
- this.classChoose = this.checkid
|
|
|
+ if (this.checkid) {
|
|
|
+ this.classChoose = this.checkid;
|
|
|
}
|
|
|
this.getClass();
|
|
|
this.getSData();
|
|
@@ -262,8 +264,8 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
created() {
|
|
|
- if(this.checkid){
|
|
|
- this.classChoose = this.checkid
|
|
|
+ if (this.checkid) {
|
|
|
+ this.classChoose = this.checkid;
|
|
|
}
|
|
|
this.getClass();
|
|
|
this.getSData();
|