调整哈尔滨综合演练按钮位置,调整角色设置样式
This commit is contained in:
parent
cb4e2bec19
commit
dfc478b8d4
@ -6,7 +6,7 @@ export function getBaseUrl() {
|
|||||||
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
||||||
BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||||
BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
||||||
// BASE_API = 'http://b29z135112.zicp.vip';
|
// BASE_API = 'http://b29z135112.zicp.vip';
|
||||||
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
|
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
|
||||||
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
|
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
<menu-demon-joint
|
<menu-demon-joint
|
||||||
ref="demonMenu"
|
ref="demonMenu"
|
||||||
:group="group"
|
:group="group"
|
||||||
|
:offset-bottom="offsetBottom"
|
||||||
:data-error="dataError"
|
:data-error="dataError"
|
||||||
:user-role="userRole"
|
:user-role="userRole"
|
||||||
:is-admin="isAdmin"
|
:is-admin="isAdmin"
|
||||||
@ -44,8 +45,8 @@
|
|||||||
<join-run-plan-view ref="runPlanView" :group="group" />
|
<join-run-plan-view ref="runPlanView" :group="group" />
|
||||||
<menu-system-time ref="menuSystemTime" :offset="offset" :group="group" :right="right" />
|
<menu-system-time ref="menuSystemTime" :offset="offset" :group="group" :right="right" />
|
||||||
<menu-train-list v-if="prdType=='02'" @setCenter="setCenter" />
|
<menu-train-list v-if="prdType=='02'" @setCenter="setCenter" />
|
||||||
<js-question v-if="project==='jsxt'" :offset="offset" :question-list="questionList" />
|
<js-question v-if="project == 'jsxt'" :offset="offset" :question-list="questionList" />
|
||||||
<members-manage ref="membersManage" :is-admin="isAdmin" @addSimulationMember="addSimulationMember" />
|
<members-manage ref="membersManage" :is-admin="isAdmin" @addSimulationMember="addSimulationMember" /> <!-- 成员管理 -->
|
||||||
<add-member ref="addMember" />
|
<add-member ref="addMember" />
|
||||||
<Jl3d-Device
|
<Jl3d-Device
|
||||||
v-if="deviceShow"
|
v-if="deviceShow"
|
||||||
@ -112,6 +113,7 @@ export default {
|
|||||||
checkLine: null,
|
checkLine: null,
|
||||||
timeDemonNum: 0,
|
timeDemonNum: 0,
|
||||||
offset: 10,
|
offset: 10,
|
||||||
|
offsetBottom: 15,
|
||||||
mouseNum: 1,
|
mouseNum: 1,
|
||||||
ierval: null,
|
ierval: null,
|
||||||
mouseNumTime: 0,
|
mouseNumTime: 0,
|
||||||
@ -319,20 +321,28 @@ export default {
|
|||||||
setPosition() {
|
setPosition() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
let offset = 10;
|
let offset = 10;
|
||||||
|
let offsetBottom = 15;
|
||||||
const menuBar = document.getElementById('menuBar');
|
const menuBar = document.getElementById('menuBar');
|
||||||
const menuTool = document.getElementById('menuTool');
|
const menuTool = document.getElementById('menuTool');
|
||||||
|
const menuBottom = document.getElementById('menuButton');
|
||||||
if (menuBar) {
|
if (menuBar) {
|
||||||
offset += (menuBar.offsetHeight || 0);
|
offset += (menuBar.offsetHeight || 0);
|
||||||
}
|
}
|
||||||
if (menuTool) {
|
if (menuTool) {
|
||||||
offset += (menuTool.offsetHeight || 0);
|
offset += (menuTool.offsetHeight || 0);
|
||||||
}
|
}
|
||||||
|
if (menuBottom) {
|
||||||
|
offsetBottom += (menuBottom.offsetHeight || 0);
|
||||||
|
}
|
||||||
if (this.$store.state.training.prdType === '07') {
|
if (this.$store.state.training.prdType === '07') {
|
||||||
offset = 10;
|
offset = 10;
|
||||||
}
|
}
|
||||||
if (this.offset != offset) {
|
if (this.offset != offset) {
|
||||||
this.offset = offset;
|
this.offset = offset;
|
||||||
}
|
}
|
||||||
|
if (this.offsetBottom != offsetBottom) {
|
||||||
|
this.offsetBottom = offsetBottom;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 结束加载状态
|
// 结束加载状态
|
||||||
|
@ -140,7 +140,7 @@ export default {
|
|||||||
height: 520px;
|
height: 520px;
|
||||||
&--list {
|
&--list {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
height: 490px;
|
height: calc(100% - 39px);
|
||||||
border-bottom: 1px #ccc solid;
|
border-bottom: 1px #ccc solid;
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
@ -149,4 +149,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/deep/ {
|
||||||
|
.member__container{
|
||||||
|
height: calc(100% - 40px);
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,18 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog
|
<el-drawer
|
||||||
v-dialogDrag
|
|
||||||
title="仿真成员管理"
|
title="仿真成员管理"
|
||||||
:visible.sync="show"
|
:visible.sync="show"
|
||||||
width="75%"
|
:direction="direction"
|
||||||
:before-close="doClose"
|
:before-close="doClose"
|
||||||
:z-index="2000"
|
:wrapper-closable="false"
|
||||||
:modal="false"
|
custom-class="drawer_box"
|
||||||
:close-on-click-modal="false"
|
size="43%"
|
||||||
center
|
|
||||||
>
|
>
|
||||||
<div class="room">
|
<div class="room">
|
||||||
<div class="room__container">
|
<div class="room__container">
|
||||||
<div style="width: 70%;">
|
<div style="width: 70%;height: 100%;">
|
||||||
<div style="margin-left: 10px;margin-right: 10px;">
|
<div style="margin-left: 10px;margin-right: 10px;">
|
||||||
<el-input v-model="queryMember" placeholder="请输入搜索人员">
|
<el-input v-model="queryMember" placeholder="请输入搜索人员">
|
||||||
<el-button slot="append" icon="el-icon-search" />
|
<el-button slot="append" icon="el-icon-search" />
|
||||||
@ -24,7 +22,7 @@
|
|||||||
:data="treeData"
|
:data="treeData"
|
||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
style="margin: 10px;margin-bottom: 0;border: 1px solid #ccc;overflow-y: auto;height: 520px;"
|
style="margin: 10px;margin-bottom: 0;border: 1px solid #ccc;overflow-y: auto;height: calc(100% - 50px);"
|
||||||
:filter-node-method="filterNode"
|
:filter-node-method="filterNode"
|
||||||
@node-click="handleNodeClick"
|
@node-click="handleNodeClick"
|
||||||
>
|
>
|
||||||
@ -48,13 +46,13 @@
|
|||||||
:room="room"
|
:room="room"
|
||||||
:members="simulationUserList"
|
:members="simulationUserList"
|
||||||
:is-admin="isAdmin"
|
:is-admin="isAdmin"
|
||||||
style="height:570px"
|
style="height: 100%"
|
||||||
@message="messageInfo"
|
@message="messageInfo"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="room__footer" />
|
<div class="room__footer" />
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-drawer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -76,6 +74,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
show: false,
|
show: false,
|
||||||
|
direction: 'ltr',
|
||||||
queryMember: '',
|
queryMember: '',
|
||||||
room: {
|
room: {
|
||||||
totalNum: 0,
|
totalNum: 0,
|
||||||
@ -278,6 +277,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
.drawer_box{
|
||||||
|
width: 800px;
|
||||||
|
}
|
||||||
.custom-tree-node {
|
.custom-tree-node {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -289,13 +291,14 @@ export default {
|
|||||||
}
|
}
|
||||||
.room {
|
.room {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 600px;
|
height: 100%;
|
||||||
display: flex;
|
// display: flex;
|
||||||
flex-direction: column;
|
// flex-direction: column;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
|
|
||||||
&__container {
|
&__container {
|
||||||
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -329,6 +332,9 @@ export default {
|
|||||||
.el-dialog__body {
|
.el-dialog__body {
|
||||||
padding: 6px 20px;
|
padding: 6px 20px;
|
||||||
}
|
}
|
||||||
|
.el-drawer__body{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<chat-box :group="group" :user-role="userRole" />
|
<chat-box :group="group" :user-role="userRole" />
|
||||||
<div class="display-draft" :class="{'display-type-hb': $route.query.lineCode == '07' && $store.state.training.prdType=='01'}">
|
<div class="display-draft" :class="{'display-type-hb': $route.query.lineCode == '07' && $store.state.training.prdType=='01'}" :style="{bottom: offsetBottom + 'px'}">
|
||||||
<el-button-group>
|
<el-button-group>
|
||||||
<el-button v-if="isAdmin && adminMode" @click="handleEquipment">设备管理</el-button>
|
<el-button v-if="isAdmin && adminMode" @click="handleEquipment">设备管理</el-button>
|
||||||
<el-button v-if="isAdmin && adminMode" @click="memberManage">成员管理</el-button>
|
<el-button v-if="isAdmin && adminMode" @click="memberManage">成员管理</el-button>
|
||||||
@ -89,6 +89,10 @@ export default {
|
|||||||
default() {
|
default() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
offsetBottom: {
|
||||||
|
type: String || Number,
|
||||||
|
default: 15
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
@ -7,11 +7,7 @@
|
|||||||
<i class="el-icon-more" style="font-size: 20px;margin-top: 9px;transform-origin: 50% 50%;transform: rotate(90deg);" />
|
<i class="el-icon-more" style="font-size: 20px;margin-top: 9px;transform-origin: 50% 50%;transform: rotate(90deg);" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div v-show="drawer" :show-close="false" style="height: 100%;">
|
||||||
v-show="drawer"
|
|
||||||
:show-close="false"
|
|
||||||
style="height: 100%;"
|
|
||||||
>
|
|
||||||
<div v-if="lineCode=='10'||lineCode=='11'" class="menuTrainList">
|
<div v-if="lineCode=='10'||lineCode=='11'" class="menuTrainList">
|
||||||
<div class="bottomTrainListInfo">下行列车详细信息</div>
|
<div class="bottomTrainListInfo">下行列车详细信息</div>
|
||||||
<el-table :data="bottomTrainList" height="45%" :highlight-current-row="true" @row-click="selectTrain">
|
<el-table :data="bottomTrainList" height="45%" :highlight-current-row="true" @row-click="selectTrain">
|
||||||
@ -24,7 +20,6 @@
|
|||||||
<div>{{ covert(scope.row.dt) }}</div>
|
<div>{{ covert(scope.row.dt) }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column property="right" label="是否上行" width="90" /> -->
|
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="topTrainListInfo">上行列车详细信息</div>
|
<div class="topTrainListInfo">上行列车详细信息</div>
|
||||||
<el-table :data="topTrainList" height="45%" :highlight-current-row="true" style="border-radius:0px 0px 0px 5px;" @row-click="selectTrain">
|
<el-table :data="topTrainList" height="45%" :highlight-current-row="true" style="border-radius:0px 0px 0px 5px;" @row-click="selectTrain">
|
||||||
@ -37,7 +32,6 @@
|
|||||||
<div>{{ covert(scope.row.dt) }}</div>
|
<div>{{ covert(scope.row.dt) }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column property="right" label="是否上行" width="90" /> -->
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="menuTrainList">
|
<div v-else class="menuTrainList">
|
||||||
@ -45,7 +39,6 @@
|
|||||||
<el-table-column property="groupNumber" label="车组号" width="130" />
|
<el-table-column property="groupNumber" label="车组号" width="130" />
|
||||||
<el-table-column property="tripNumber" label="车次号" width="130" />
|
<el-table-column property="tripNumber" label="车次号" width="130" />
|
||||||
<el-table-column property="serviceNumber" label="表号" width="130" />
|
<el-table-column property="serviceNumber" label="表号" width="130" />
|
||||||
<!-- <el-table-column property="right" label="是否上行" width="90" /> -->
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user