|
@@ -22,7 +22,7 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="蓝图分布" name="blue">
|
|
|
<div>
|
|
|
- <el-form v-if="curType === 'blue'">
|
|
|
+ <!-- <el-form v-if="curType === 'blue'">
|
|
|
<el-form-item label="可选属性">
|
|
|
<el-select v-model="curProperty" @change="propertyChange">
|
|
|
<el-option
|
|
@@ -33,7 +33,7 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- </el-form>
|
|
|
+ </el-form> -->
|
|
|
<el-table
|
|
|
v-if="curType === 'blue'"
|
|
|
key="blue"
|
|
@@ -111,15 +111,21 @@ export default {
|
|
|
this.courseId = this.$route.query.courseId;
|
|
|
this.courseName = this.$route.query.courseName;
|
|
|
this.filter.courseId = this.$route.query.courseId;
|
|
|
+ this.getData();
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ curType() {
|
|
|
+ this.getData();
|
|
|
+ },
|
|
|
},
|
|
|
methods: {
|
|
|
goBack() {
|
|
|
this.$router.back();
|
|
|
},
|
|
|
- toSwitch(item) {
|
|
|
- this.curType = item.code;
|
|
|
- this.getData();
|
|
|
- },
|
|
|
+ // toSwitch(item) {
|
|
|
+ // this.curType = item.code;
|
|
|
+ // this.getData();
|
|
|
+ // },
|
|
|
spanMethod({ row, columnIndex }) {
|
|
|
if (columnIndex === 0) {
|
|
|
return {
|