车辆段联锁工作站 增加初始化
This commit is contained in:
parent
dc2ca8df5a
commit
8aa97948b6
@ -33,7 +33,7 @@
|
||||
<el-button v-if="!isDepoltSim" type="success" :disabled="isDisable" size="small" @click="selectBeginTime">{{ $t('display.demon.drivingByPlan') }}</el-button>
|
||||
<!-- isDisable&& -->
|
||||
<el-button v-if="isAdmin&&!isDepoltSim" v-loading="pauseLoading" :type="simulationPaused?'warning':'primary'" size="small" @click="startOrPause">{{ simulationPaused?'开始':'暂停' }}</el-button>
|
||||
<el-button v-if="!isDepoltSim" type="danger" size="small" @click="end">{{ $t('display.demon.initialize') }}</el-button>
|
||||
<el-button type="danger" size="small" @click="end">{{ $t('display.demon.initialize') }}</el-button>
|
||||
</template>
|
||||
</template>
|
||||
<el-button v-if="project !='bjd'" type="primary" size="small" @click="back">{{ projectDevice?'退出':$t('display.demon.back') }}</el-button>
|
||||
|
@ -228,7 +228,7 @@ export default {
|
||||
},
|
||||
save() {
|
||||
if (this.amendPointsList.find(elem => !elem.code)) {
|
||||
this.$messageBox('修正区段未选择!');
|
||||
this.$messageBox('修正设备未选择!');
|
||||
return;
|
||||
}
|
||||
const map = this.$store.state.map.map;
|
||||
|
@ -55,7 +55,7 @@
|
||||
<div style="padding: 10px;font-size: 14px;">
|
||||
<div class="content-box-list" style="margin-top: 10px">
|
||||
<div style="height: 30px;line-height: 30px;margin-bottom: 10px;">
|
||||
<span class="title-box">修正区段列表</span>
|
||||
<span class="title-box">修正设备列表</span>
|
||||
<el-button icon="el-icon-plus" size="mini" style="float:right;" circle @click="addAmendPoints" />
|
||||
</div>
|
||||
<template v-for="(elem, i) in amendPointsList">
|
||||
@ -65,7 +65,7 @@
|
||||
</el-row>
|
||||
<el-row style="height: 28px;line-height: 28px">
|
||||
<el-col :span="5">
|
||||
<span>修正区段:</span>
|
||||
<span>修正设备:</span>
|
||||
</el-col>
|
||||
<el-col :span="19">
|
||||
<el-select v-model="elem.code" filterable size="mini" placeholder="请选择">
|
||||
@ -263,7 +263,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
if (this.amendPointsList.find(elem => !elem.code)) {
|
||||
this.$messageBox('修正区段未选择!');
|
||||
this.$messageBox('修正设备未选择!');
|
||||
return;
|
||||
}
|
||||
this.addModel.amendPointsList = [...this.amendPointsList];
|
||||
|
@ -66,7 +66,7 @@
|
||||
<div style="padding: 10px;font-size: 14px;">
|
||||
<div class="content-box-list" style="margin-top: 10px">
|
||||
<div style="height: 30px;line-height: 30px;margin-bottom: 10px;">
|
||||
<span class="title-box">修正区段列表</span>
|
||||
<span class="title-box">修正设备列表</span>
|
||||
<el-button icon="el-icon-plus" size="mini" style="float:right;" circle @click="addAmendPoints" />
|
||||
</div>
|
||||
<template v-for="(elem, i) in amendPointsList">
|
||||
@ -76,7 +76,7 @@
|
||||
</el-row>
|
||||
<el-row style="height: 28px;line-height: 28px">
|
||||
<el-col :span="5">
|
||||
<span>修正区段:</span>
|
||||
<span>修正设备:</span>
|
||||
</el-col>
|
||||
<el-col :span="19">
|
||||
<el-select v-model="elem.code" filterable size="mini" placeholder="请选择">
|
||||
@ -288,7 +288,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
if (this.amendPointsList.find(elem => !elem.code)) {
|
||||
this.$messageBox('修正区段未选择!');
|
||||
this.$messageBox('修正设备未选择!');
|
||||
return;
|
||||
}
|
||||
this.addModel.amendPointsList = [...this.amendPointsList];
|
||||
|
Loading…
Reference in New Issue
Block a user