绘图相关调整_(国际化调整&列车所在方向非必传)
This commit is contained in:
parent
bb10c4c234
commit
72746ba261
@ -558,4 +558,5 @@ export default {
|
||||
chargeStationList:'Managed station list',
|
||||
createModel: 'Create model:',
|
||||
startingPoint: 'Starting point:',
|
||||
endingPoint: 'Ending point:'
|
||||
};
|
||||
|
@ -551,5 +551,6 @@ export default {
|
||||
rightAssociatedSection: '右关联区段:',
|
||||
chargeStationList:'管理车站列表',
|
||||
createModel: '创建方式:',
|
||||
startingPoint: '起点:'
|
||||
startingPoint: '起点:',
|
||||
endingPoint: '终点:'
|
||||
};
|
||||
|
@ -29,7 +29,7 @@
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<div v-if="createModel.type == '01'" class="coordinate">
|
||||
<span class="title" style="width: 120px">起点:</span>
|
||||
<span class="title" style="width: 120px">{{ this.$t('map.startingPoint') }}</span>
|
||||
<div class="listWidth">
|
||||
<el-form-item label="x" prop="startPoint.x" label-width="25px">
|
||||
<el-input-number v-model="createModel.startPoint.x" />
|
||||
@ -42,7 +42,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="createModel.type == '01'" class="coordinate">
|
||||
<span class="title" style="width: 120px">终点:</span>
|
||||
<span class="title" style="width: 120px">{{ this.$t('map.endingPoint') }}</span>
|
||||
<div class="listWidth">
|
||||
<el-form-item label="x" prop="endPoint.x" label-width="25px">
|
||||
<el-input-number v-model="createModel.endPoint.x" />
|
||||
@ -54,7 +54,7 @@
|
||||
</el-form-item>
|
||||
</div>
|
||||
</div>
|
||||
<el-form-item v-if="createModel.type == '02'" label="左关联区段:" prop="leftSectionCode">
|
||||
<el-form-item v-if="createModel.type == '02'" :label="$t('map.leftAssociatedSection')" prop="leftSectionCode">
|
||||
<el-select v-model="createModel.leftSectionCode" filterable>
|
||||
<el-option
|
||||
v-for="item in PhysicalSectionList"
|
||||
@ -69,7 +69,7 @@
|
||||
@click="hover('getSectionStart')"
|
||||
>{{ $t('map.activate') }}</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="createModel.type == '02'" label="右关联区段:" prop="rightSectionCode">
|
||||
<el-form-item v-if="createModel.type == '02'" :label="$t('map.rightAssociatedSection')" prop="rightSectionCode">
|
||||
<el-select v-model="createModel.rightSectionCode" filterable>
|
||||
<el-option
|
||||
v-for="item in PhysicalSectionList"
|
||||
@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<div class="button_box">
|
||||
<el-button-group class="map-draft-group">
|
||||
<el-button type="primary" size="small" @click="create">新建</el-button>
|
||||
<el-button type="primary" size="small" @click="create">{{ this.$t('map.newConstruction') }}</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
@ -518,9 +518,6 @@ export default {
|
||||
relSwitchCode: [
|
||||
{ required: true, message: this.$t('rules.sectionRelSwitchCode'), trigger: 'change' }
|
||||
],
|
||||
trainPosType: [
|
||||
{ required: true, message: this.$t('rules.pleaseSelectTrainDir'), trigger: 'change' }
|
||||
],
|
||||
leftSectionCode: [
|
||||
{ validator: validateLeftSection, trigger: 'change' }
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user