路票暂提

This commit is contained in:
fan 2022-06-27 13:09:22 +08:00
parent 717a629ea2
commit 83702c4c22
3 changed files with 78 additions and 1 deletions

1
src/icons/svg/arrow.svg Normal file
View File

@ -0,0 +1 @@
<svg t="1656297945836" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2766" width="48" height="48"><path d="M47.104 453.632q0-43.008 20.992-57.856t66.048-14.848q20.48 0 64.512 0.512t93.696 0.512 96.768 0.512 74.752 0.512q38.912 1.024 61.44-6.656t22.528-35.328q0-20.48 1.536-48.64t1.536-48.64q1.024-35.84 20.48-45.568t49.152 14.848q30.72 24.576 71.68 58.368t84.992 69.12 86.016 69.632 74.752 59.904q29.696 24.576 30.208 46.592t-28.16 45.568q-29.696 24.576-70.144 56.32t-83.968 65.536-85.504 67.072-74.752 58.88q-35.84 28.672-58.88 21.504t-22.016-44.032l0-24.576 0-29.696q0-15.36-0.512-30.208t-0.512-27.136q0-25.6-15.36-32.256t-41.984-6.656q-29.696 0-77.824-0.512t-100.352-0.512-101.376-0.512-79.872-0.512q-13.312 0-27.648-2.56t-26.112-9.728-18.944-20.992-7.168-37.376q0-27.648-0.512-53.248t0.512-57.344z" p-id="2767" data-spm-anchor-id="a313x.7781069.0.i0"></path></svg>

After

Width:  |  Height:  |  Size: 915 B

View File

@ -0,0 +1,72 @@
<template>
<el-dialog
title="路票"
:visible="trainTicketShow"
width="640px"
:before-close="doClose"
:z-index="2000"
:modal="false"
:close-on-click-modal="false"
>
<div>
<el-select v-model="attachmentType" placeholder="请选择">
<el-option
v-for="item in typeList"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
<div v-if="attachmentType === 'trainTicket'" style="border: 1px solid #000000;">
<div>路票</div>
<div style="display: flex;justify-content: center;">
<div>电话记录 </div>
<el-input v-model="phoneRecords" size="small" />
<div></div>
</div>
<div style="display: flex; justify-content: center">
<div>延安</div>
<svg-icon icon-class="arrow" />
<div>延安北</div>
</div>
<div></div>
</div>
</div>
</el-dialog>
</template>
<script>
export default {
name: 'TrainTicket',
data() {
return {
trainTicketShow: false,
attachmentType: 'trainTicket',
phoneRecords: '',
typeList: [
{label: '附件1路票', value: 'trainTicket'},
{label: '附件2绿色许可证', value: 'greenLicense'},
{label: '附件3红色许可证', value: 'redLicense'},
{label: '附件4调度命令', value: 'dispatchingCommand'},
{label: '附件5出站/跟踪调车通知书', value: 'shuntNotice'},
{label: '附近6轻型车辆使用书', value: 'lightVehicleManual'},
{label: '附件7调度命令登记簿', value: 'commandRegister'},
{label: '附件8书面通知', value: 'writtenNotice'},
{label: '附件9半自动闭塞发车进路通知书', value: 'departureNotice'}
]
};
},
methods: {
doClose() {
this.trainTicketShow = false;
},
doShow() {
this.trainTicketShow = true;
}
}
};
</script>
<style scoped>
</style>

View File

@ -14,6 +14,7 @@
</el-select>
<el-button-group>
<el-button v-if="isCtc" size="small" @click="showLineBoard">占线板</el-button>
<!-- <el-button size="small" @click="showTrainTicket">路票</el-button>-->
<el-button v-if="userRole=== 'STATION_SUPERVISOR' && !$route.query.projectDevice && $route.query.lineCode!='08'" size="small" @click="goIbp">IBP盘</el-button>
<el-button v-if="userRole=== 'DISPATCHER' && !$route.query.projectDevice && hasBigScreen" size="small" @click="goBigScreen">大屏</el-button>
<el-button v-if="(userRole==='DISPATCHER' || userRole=== 'STATION_SUPERVISOR') && !$route.query.projectDevice && iscsShow" size="small" @click="goIscs">ISCS</el-button>
@ -24,7 +25,7 @@
</template>
</el-button-group>
<el-button v-if="(isAdmin || $route.query.type === 'ILW') && !dataError && !isScreen" size="small" :type="faultMode ? '' : 'primary' " @click="changeOperateMode()">{{ faultMode?' 切换到普通模式[Tab]':'切换到故障模式[Tab]' }}</el-button>
<!-- isCenter && !dataError && !isAdmin 此判断用于以后(目前 暂时不用)786 -->
<!-- isCenter && !dataError && !isAdmin 此判断用于以后(目前 暂时不用) -->
<el-button v-if="isShowDirective" size="small" :type="directiveMode ? 'primary' : ''" @click="changeDirectiveMode()">{{ directiveMode? '切换到普通模式[Tab]':'切换到指令模式[Tab]' }}</el-button>
</div>
<!-- running && -->
@ -315,6 +316,9 @@ export default {
},
showLineBoard() {
this.$refs.lineBoard.doShow();
},
showTrainTicket() {
},
// ibp
goIbp() {