设置进路记忆最后一个关联站台,及解锁时间

This commit is contained in:
zyy 2019-12-24 13:53:37 +08:00
parent c1f41b4299
commit a39078990f
3 changed files with 4 additions and 2 deletions

View File

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

View File

@ -457,6 +457,8 @@ export default {
this.addModel.code = ''; this.addModel.code = '';
this.isSave = true; this.isSave = true;
this.$refs.protect.clear(); 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() { selectedConflictingRouteList() {

View File

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