Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
c9e3920461
@ -241,7 +241,12 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '列车报警确认',
|
label: '列车报警确认',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
label: '完整性报警确认',
|
||||||
handler: this.undeveloped
|
handler: this.undeveloped
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '更新列车计划',
|
label: '更新列车计划',
|
||||||
|
@ -410,7 +410,7 @@ export default {
|
|||||||
setShowMode(showMode) {
|
setShowMode(showMode) {
|
||||||
if (this.showMode !== showMode) {
|
if (this.showMode !== showMode) {
|
||||||
this.setShowStation('');
|
this.setShowStation('');
|
||||||
this.$refs.switchStation.inintShowStation();
|
this.localStationShow && this.$refs.switchStation.inintShowStation();
|
||||||
}
|
}
|
||||||
this.showMode = showMode;
|
this.showMode = showMode;
|
||||||
const nameList = Object.keys(this.$store.state.map.map || {});
|
const nameList = Object.keys(this.$store.state.map.map || {});
|
||||||
|
@ -118,8 +118,8 @@
|
|||||||
<el-form-item label="侧防列表:">
|
<el-form-item label="侧防列表:">
|
||||||
<el-select v-model="addModel.flankProtectionList" clearable multiple filterable :placeholder="$t('map.pleaseSelect')">
|
<el-select v-model="addModel.flankProtectionList" clearable multiple filterable :placeholder="$t('map.pleaseSelect')">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in flankProtectList"
|
v-for="(item,index) in flankProtectList"
|
||||||
:key="item.code"
|
:key="index"
|
||||||
:label="`${item.number}-${item.name}`"
|
:label="`${item.number}-${item.name}`"
|
||||||
:value="item.code"
|
:value="item.code"
|
||||||
/>
|
/>
|
||||||
|
@ -502,6 +502,8 @@ export default {
|
|||||||
}
|
}
|
||||||
.back_box{
|
.back_box{
|
||||||
left: 150px;
|
left: 150px;
|
||||||
|
display: inline-block;
|
||||||
|
width: 57px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.map-draft{
|
.map-draft{
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-show="dialogVisible">
|
<div v-show="dialogVisible">
|
||||||
<el-dialog v-dialogDrag title="配置项" :visible.sync="dialogVisible" width="550px" :before-close="handleClose" center :close-on-click-modal="false" :z-index="2000">
|
<el-dialog v-dialogDrag title="配置项" :visible.sync="dialogVisible" fullscreen :before-close="handleClose" center :close-on-click-modal="false" :z-index="2000">
|
||||||
|
<div style="overflow-y: scroll;" :style="{height: height+ 'px'}">
|
||||||
<el-card>
|
<el-card>
|
||||||
<div slot="header" style="font-weight: bold;text-align: center;">
|
<div slot="header" style="font-weight: bold;text-align: center;">
|
||||||
<span>通用配置项</span>
|
<span>通用配置项</span>
|
||||||
</div>
|
</div>
|
||||||
<el-table :data="generalData" style="width: 100%;" height="200">
|
<el-table :data="generalData" style="width: 100%;">
|
||||||
<el-table-column prop="configKey" label="key" width="300px" />
|
<el-table-column prop="configKey" label="key" />
|
||||||
<el-table-column prop="configValue" label="value">
|
<el-table-column prop="configValue" label="value">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.type === 'input'">
|
<div v-if="scope.row.type === 'input'">
|
||||||
@ -32,14 +33,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column prop="remark" label="描述" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card style="margin-top: 10px">
|
<el-card style="margin-top: 10px">
|
||||||
<div slot="header" style="font-weight: bold;text-align: center;">
|
<div slot="header" style="font-weight: bold;text-align: center;">
|
||||||
<span>联锁配置项</span>
|
<span>联锁配置项</span>
|
||||||
</div>
|
</div>
|
||||||
<el-table :data="roadData" style="width: 100%;" height="200">
|
<el-table :data="roadData" style="width: 100%;">
|
||||||
<el-table-column prop="configKey" label="key" width="300px" />
|
<el-table-column prop="configKey" label="key" />
|
||||||
<el-table-column prop="configValue" label="value">
|
<el-table-column prop="configValue" label="value">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.type === 'input'">
|
<div v-if="scope.row.type === 'input'">
|
||||||
@ -65,8 +67,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column prop="remark" label="描述" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
</div>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="save">{{ $t('global.confirm') }}</el-button>
|
<el-button type="primary" @click="save">{{ $t('global.confirm') }}</el-button>
|
||||||
<el-button @click="dialogVisible = false">{{ $t('global.cancel') }}</el-button>
|
<el-button @click="dialogVisible = false">{{ $t('global.cancel') }}</el-button>
|
||||||
@ -97,6 +101,7 @@ export default {
|
|||||||
index: 0,
|
index: 0,
|
||||||
id: '',
|
id: '',
|
||||||
generalData: [],
|
generalData: [],
|
||||||
|
height: 800,
|
||||||
roadData: [],
|
roadData: [],
|
||||||
focus: false,
|
focus: false,
|
||||||
booleanList: ['lockFirst', 'switchSingleHandle', 'signalApproachOnlyOne', 'signalApproachOnlyNpSwitch',
|
booleanList: ['lockFirst', 'switchSingleHandle', 'signalApproachOnlyOne', 'signalApproachOnlyNpSwitch',
|
||||||
@ -107,15 +112,33 @@ export default {
|
|||||||
numberList: ['overlapReleaseTime', 'routeReleaseTime'],
|
numberList: ['overlapReleaseTime', 'routeReleaseTime'],
|
||||||
optionsMap: {
|
optionsMap: {
|
||||||
upDirection: [{label: 'right', value: 'right'}, {label: 'left', value: 'left'}]
|
upDirection: [{label: 'right', value: 'right'}, {label: 'left', value: 'left'}]
|
||||||
|
},
|
||||||
|
remarkMap: {
|
||||||
|
lockFirst: '是否先锁闭——办理过程直接先锁闭区段',
|
||||||
|
upDirection: '上行方向',
|
||||||
|
switchSingleHandle: '道岔区段状态改变按单个道岔处理',
|
||||||
|
signalApproachOnlyOne: '信号机接近区段是否只取最近的一个',
|
||||||
|
signalApproachOnlyNpSwitch: ' 信号机接近区段是否仅考虑定位道岔',
|
||||||
|
routeNameUseEndOppositeSignalName: '进路名称是否使用终端信号机同区段反向信号机名称命名,否则使用终端信号机命名',
|
||||||
|
generateTbRoute: '是否生成折返进路',
|
||||||
|
tbRouteNameUseEndOppositeSignalName: '折返进路名称是否使用终端信号机反向信号机名称',
|
||||||
|
routeSignalAlwaysGreen: '进路始端防护信号机是否总是绿灯,否则根据进路中有无反位道岔生成绿灯或黄灯',
|
||||||
|
routeApartByOverlap: '多个延续保护路径生成多条进路,否则生成一条进路',
|
||||||
|
overlapOnlySwitch:'延续保护是否只构建道岔',
|
||||||
|
overlapOnlyOneSwitch: '延续保护构建是否只考虑一个道岔计轴',
|
||||||
|
overlapSwitchNpOnly: '延续保护道岔是否只构建定位道岔',
|
||||||
|
overlapSignalOppositeSwitchNpOnly: '延续保护道岔在防护信号机与所属区段方向相反时,是否只构建定位道岔',
|
||||||
|
overlapReleaseTime: '默认延续保护解锁时间',
|
||||||
|
routeReleaseTime: '默认进路解锁时间'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async show(row) {
|
async show(row) {
|
||||||
this.dialogVisible = true;
|
this.dialogVisible = true;
|
||||||
|
this.height = document.documentElement.clientHeight - 180;
|
||||||
if (row && row.id) {
|
if (row && row.id) {
|
||||||
this.id = row.id;
|
this.id = row.id;
|
||||||
this.getList();
|
this.getList();
|
||||||
@ -153,7 +176,8 @@ export default {
|
|||||||
configKey: key,
|
configKey: key,
|
||||||
configValue: res.data[key],
|
configValue: res.data[key],
|
||||||
type: type,
|
type: type,
|
||||||
options: options
|
options: options,
|
||||||
|
remark: this.remarkMap[key]
|
||||||
};
|
};
|
||||||
if (this.generalConfig.includes(key)) {
|
if (this.generalConfig.includes(key)) {
|
||||||
this.generalData.push(param);
|
this.generalData.push(param);
|
||||||
|
Loading…
Reference in New Issue
Block a user