This commit is contained in:
fan 2019-12-24 14:28:29 +08:00
commit 6d82f466a6
3 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"author": "Pan <panfree23@gmail.com>",
"license": "MIT",
"scripts": {
"dev": "vue-cli-service serve",
"dev": "vue-cli-service serve --open",
"build": "vue-cli-service build",
"test": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview",

View File

@ -473,6 +473,8 @@ export default {
this.addModel.code = '';
this.isSave = true;
this.$refs.protect.clear();
this.addModel.stationCode = this.routeList[this.routeList.length - 1].stationCode;
this.addModel.delayReleaseTime = this.routeList[this.routeList.length - 1].delayReleaseTime;
}
},
selectedConflictingRouteList() {

View File

@ -15,7 +15,7 @@
<el-button type="primary" @click="selectedRoute('basicRoute')">选择</el-button>
</el-form-item>
<el-form-item label="折返区段:" prop="reentryTrackCode">
<el-select v-model="addModel.reentryTrackCode">
<el-select v-model="addModel.reentryTrackCode" filterable>
<el-option
v-for="item in sectionList"
:key="item.code"