|
@@ -25,7 +25,7 @@
|
|
|
</span>
|
|
|
<span>
|
|
|
<el-tooltip content="点击更改默认期" effect="dark" placement="bottom">
|
|
|
- <el-select v-model="options.termid" placeholder="未设置默认期" size="mini">
|
|
|
+ <el-select v-model="options.termid" placeholder="未设置默认期" size="mini" @change="setVuexOpt()">
|
|
|
<el-option v-for="(i, index) in termList" :key="index" :label="`第${i.term}期`" :value="i._id"></el-option>
|
|
|
</el-select>
|
|
|
</el-tooltip>
|
|
@@ -99,6 +99,7 @@ export default {
|
|
|
let term = _.get(r, 'termnum', []);
|
|
|
this.$set(this, `termList`, term);
|
|
|
}
|
|
|
+ this.setVuexOpt();
|
|
|
},
|
|
|
setVuexOpt() {
|
|
|
this.changeOpt(this.options);
|