客户端调整
This commit is contained in:
parent
a4525be99e
commit
9e8917ccc1
@ -192,7 +192,6 @@ const training = {
|
|||||||
state.prdType = prdType;
|
state.prdType = prdType;
|
||||||
},
|
},
|
||||||
setRoles: (state, roles) => {
|
setRoles: (state, roles) => {
|
||||||
console.log(roles, '***********');
|
|
||||||
state.roles = roles;
|
state.roles = roles;
|
||||||
},
|
},
|
||||||
setCenterStationCode:(state, centerStationCode) => {
|
setCenterStationCode:(state, centerStationCode) => {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<dispatch-cmd v-else-if="picture === 'dispatchingCommand'" ref="dispatchCmd" />
|
<dispatch-cmd v-else-if="picture === 'dispatchingCommand'" ref="dispatchCmd" />
|
||||||
<dispatcher-loger v-else-if="picture === 'schedulingPlan'" ref="dispatcherLoger" />
|
<dispatcher-loger v-else-if="picture === 'schedulingPlan'" ref="dispatcherLoger" />
|
||||||
<!-- 大客流策略 -->
|
<!-- 大客流策略 -->
|
||||||
<psl-terminal v-else-if="picture === 'psl'" ref="pslTerminal" />
|
<psl-terminal v-else-if="picture === 'psl'" ref="pslTerminal" :now-terminal="nowTerminal" />
|
||||||
<large-passenger-strategy v-else-if="picture === 'largePassengerStrategy'" ref="largePassengerStrategy" />
|
<large-passenger-strategy v-else-if="picture === 'largePassengerStrategy'" ref="largePassengerStrategy" />
|
||||||
<large-passenger-view v-else-if="picture === 'largePassengerView'" ref="largePassengerView" />
|
<large-passenger-view v-else-if="picture === 'largePassengerView'" ref="largePassengerView" />
|
||||||
<dispatcher-manage v-else-if="picture === 'dispatcherManage'" ref="dispatcherManage" @pictureChange="pictureChange" @loadingChange="loadingChange" />
|
<dispatcher-manage v-else-if="picture === 'dispatcherManage'" ref="dispatcherManage" @pictureChange="pictureChange" @loadingChange="loadingChange" />
|
||||||
|
@ -93,6 +93,14 @@ import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
|
|||||||
import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
||||||
export default {
|
export default {
|
||||||
name: 'PSL',
|
name: 'PSL',
|
||||||
|
props: {
|
||||||
|
nowTerminal: {
|
||||||
|
type: Object,
|
||||||
|
default() {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
indicators: {
|
indicators: {
|
||||||
@ -127,7 +135,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
const stationCode = this.$store.state.training.roleDeviceCode;
|
const stationCode = this.nowTerminal.deviceCode || this.$store.state.training.roleDeviceCode;
|
||||||
this.standCode = '';
|
this.standCode = '';
|
||||||
this.standList = [];
|
this.standList = [];
|
||||||
this.stationStandList.forEach(stand => {
|
this.stationStandList.forEach(stand => {
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
<div v-verticalDrag class="terminalList">
|
<div v-verticalDrag class="terminalList">
|
||||||
<div class="drag-line verticalDrag__header" />
|
<div class="drag-line verticalDrag__header" />
|
||||||
<div class="client-button" @click="showClientList">客户端</div>
|
<div class="client-button" @click="showClientList">客户端</div>
|
||||||
<!-- <div v-for="(eachTerminal,index) in terminalList" :key="index" :class="picture==eachTerminal.code?'eachTerminal active':'eachTerminal'" @click="eachTerminal.click(eachTerminal.code)">{{ eachTerminal.name }}</div>-->
|
|
||||||
<div class="drag-line verticalDrag__footer" />
|
<div class="drag-line verticalDrag__footer" />
|
||||||
</div>
|
</div>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
|
Loading…
Reference in New Issue
Block a user