|
@@ -22,7 +22,6 @@
|
|
|
<el-select
|
|
|
v-model="courseTypeId[item.id]"
|
|
|
placeholder="请选择"
|
|
|
- @change="getTypeName"
|
|
|
>
|
|
|
<el-option label="全部" value="1">全部</el-option>
|
|
|
<el-option
|
|
@@ -256,9 +255,6 @@ export default {
|
|
|
.then((res) => {
|
|
|
this.CourseType = res.data;
|
|
|
for (var i = 0; i < res.data[0].length; i++) {
|
|
|
- if (!this.cid) {
|
|
|
- this.raceDetail.type[res.data[0][i].id] = "";
|
|
|
- }
|
|
|
for (var j = 0; j < res.data[1].length; j++) {
|
|
|
if (res.data[0][i].id == res.data[1][j].pid) {
|
|
|
if (!this.CourseTypeJson[res.data[0][i].id]) {
|
|
@@ -310,6 +306,7 @@ export default {
|
|
|
created() {
|
|
|
this.getAnliList();
|
|
|
this.getAdmin();
|
|
|
+ this.selectType();
|
|
|
this.getAnliBox();
|
|
|
},
|
|
|
};
|