调整国赛系统样式名称

This commit is contained in:
zyy 2020-11-27 09:22:25 +08:00
parent 1f7c3f3bf7
commit 032c3036b8
45 changed files with 159 additions and 267 deletions

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-dialogDrag :z-index="2000" class="ningbo-01__systerm alxe-effective" :title="title" :visible.sync="show" width="420px" :before-close="doClose" :modal="false" :close-on-click-modal="false">
<el-dialog v-dialogDrag :z-index="2000" class="race-01__systerm alxe-effective" :title="title" :visible.sync="show" width="420px" :before-close="doClose" :modal="false" :close-on-click-modal="false">
<div style="padding: 10px 20px;border: 1px solid lightgray;">
<span class="base-label">准备</span>
<div style="margin-top: -10px">
@ -85,7 +85,7 @@
<el-button :id="domIdCancel" @click="cancel">关闭</el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm confirm-control"
class="race-01__systerm confirm-control"
:title="title"
:visible.sync="show"
width="360px"
@ -24,7 +24,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm route-unlock-confirm"
class="race-01__systerm route-unlock-confirm"
:title="title"
:visible.sync="show"
width="500px"

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm confirm-control-speed"
class="race-01__systerm confirm-control-speed"
:title="title"
:visible.sync="show"
width="340px"
@ -67,7 +67,7 @@ export default {
padding-bottom: 40px !important;
border: 1px solid lightgray;
}
.ningbo-01__systerm .el-dialog .el-button{
.race-01__systerm .el-dialog .el-button{
display: block;
margin: 0 auto;
}

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="350px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-dialog v-dialogDrag class="race-01__systerm route-setting" :title="title" :visible.sync="show" width="350px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row class="header">
<el-col :span="11"><span>集中站</span></el-col>
<el-col :span="11" :offset="2"><span>始端信号机</span></el-col>
@ -29,7 +29,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -2,7 +2,7 @@
<div>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm route-lock"
class="race-01__systerm route-lock"
:title="title"
:visible.sync="show"
width="340px"
@ -22,7 +22,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</div>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm section-control"
class="race-01__systerm section-control"
:title="title"
:visible.sync="show"
width="300px"
@ -32,7 +32,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-dialogDrag class="ningbo-01__systerm stand-detain-train" :title="'批量设置' + title" :visible.sync="show" width="480px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-dialog v-dialogDrag class="race-01__systerm stand-detain-train" :title="'批量设置' + title" :visible.sync="show" width="480px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row :id="chooseId" style="margin-top: -13px; padding: 20px 0px 5px 0;">
<el-col :span="11">
<span>上行线路设置{{ title }}</span>
@ -30,7 +30,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm stand-run-level"
class="race-01__systerm stand-run-level"
:title="title"
:visible.sync="show"
width="320px"
@ -42,7 +42,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="540px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-dialog v-dialogDrag class="race-01__systerm route-setting" :title="title" :visible.sync="show" width="540px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row style="margin-bottom: 10px;">
<el-col :span="17">
<el-table ref="table" :data="stationLists" border style="width: 100%;" size="mini" height="260" highlight-current-row @row-click="clickEvent">
@ -37,7 +37,7 @@
<el-button :id="domIdCancel" style="margin-left: 0; width: 100%;" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm train-define"
class="race-01__systerm train-define"
:title="title"
:visible.sync="show"
width="360px"
@ -38,7 +38,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>
@ -171,7 +171,7 @@ export default {
margin: 10px
}
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm stand-stop-time"
class="race-01__systerm stand-stop-time"
:title="title"
:visible.sync="show"
width="320px"
@ -24,7 +24,7 @@
</el-col>
</el-row>
<confirm-control ref="confirmControl" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm train-move"
class="race-01__systerm train-move"
:title="title"
:visible.sync="show"
width="360px"
@ -38,7 +38,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>
@ -171,7 +171,7 @@ export default {
margin: 10px
}
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, 0.3);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm train-set-head"
class="race-01__systerm train-set-head"
:title="title"
:visible.sync="show"
width="360px"
@ -40,7 +40,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>
@ -176,7 +176,7 @@ export default {
margin: 10px
}
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
// background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm train-set-plan"
class="race-01__systerm train-set-plan"
:title="title"
:visible.sync="show"
width="360px"
@ -40,7 +40,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>
@ -197,7 +197,7 @@ export default {
margin: 10px
}
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
// background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm train-set-work"
class="race-01__systerm train-set-work"
:title="title"
:visible.sync="show"
width="320px"
@ -24,7 +24,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>
@ -133,7 +133,7 @@ export default {
margin: 10px
}
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
// background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm train-set-work"
class="race-01__systerm train-set-work"
:title="title"
:visible.sync="show"
width="320px"
@ -34,7 +34,7 @@
<el-button :id="domIdCancel" @click="cancel"> </el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>
@ -166,7 +166,7 @@ export default {
margin: 10px
}
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
// background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm signal-control"
class="race-01__systerm signal-control"
:title="title"
:visible.sync="show"
width="300px"
@ -39,7 +39,7 @@
</el-col>
</el-row>
<confirm-control ref="confirmControl" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -14,7 +14,7 @@
<menu-limit ref="menuLimit" :selected="selected" />
<menu-power ref="menuPower" :selected="selected" />
<!--<passive-alarm ref="passiveAlarm" />-->
<passive-contorl ref="passiveControl" pop-class="ningbo-01__systerm" />
<passive-contorl ref="passiveControl" pop-class="race-01__systerm" />
<!--<passive-Timeout ref="passiveTimeout" />-->
</div>
</template>
@ -103,11 +103,11 @@ export default {
color: #B4B3B8;
}
.ningbo-01__systerm {
.race-01__systerm {
overflow: hidden !important;
}
.ningbo-01__systerm .el-dialog {
.race-01__systerm .el-dialog {
background: rgba(100, 100, 100, 0.3);
border: 2px solid rgba(144, 144, 144, 0.8);
border-radius: 6px;
@ -115,17 +115,17 @@ export default {
font-size: 14px;
}
.ningbo-01__systerm .el-dialog .el-dialog__header {
.race-01__systerm .el-dialog .el-dialog__header {
padding: 10px;
height: 26px;
}
.ningbo-01__systerm .el-dialog .el-dialog__footer {
.race-01__systerm .el-dialog .el-dialog__footer {
background: #F0F0F0;
opacity: 1;
}
.ningbo-01__systerm .el-dialog .el-dialog__body {
.race-01__systerm .el-dialog .el-dialog__body {
padding: 10px;
margin: 5px;
border: 2px solid rgba(120, 121, 123, 0.5);
@ -134,7 +134,7 @@ export default {
opacity: 1;
}
.ningbo-01__systerm .el-dialog .el-dialog__title {
.race-01__systerm .el-dialog .el-dialog__title {
position: absolute;
top: 6px;
color: #000;
@ -144,7 +144,7 @@ export default {
line-height: 20px
}
.ningbo-01__systerm .el-dialog .el-dialog__title::before {
.race-01__systerm .el-dialog .el-dialog__title::before {
content: '';
position: absolute;
top: 0;
@ -156,7 +156,7 @@ export default {
z-index: -1;
}
.ningbo-01__systerm .el-dialog .el-dialog__headerbtn {
.race-01__systerm .el-dialog .el-dialog__headerbtn {
background: linear-gradient(#CD98A0, #C27D6E, #B63022, #C68770);
border: 1px solid #fff;
border-radius: 4px;
@ -165,15 +165,15 @@ export default {
line-height: 18px;
}
.ningbo-01__systerm .el-dialog .el-dialog__headerbtn .el-icon-close:before {
.race-01__systerm .el-dialog .el-dialog__headerbtn .el-icon-close:before {
font-size: 16px;
}
.ningbo-01__systerm .el-dialog .el-dialog__headerbtn .el-dialog__close {
.race-01__systerm .el-dialog .el-dialog__headerbtn .el-dialog__close {
color: #fff;
}
.ningbo-01__systerm .el-dialog .el-button {
.race-01__systerm .el-dialog .el-button {
height: 32px;
line-height: 32px;
padding: 0px;
@ -184,31 +184,31 @@ export default {
background: #F0F0F0;
}
.ningbo-01__systerm .el-dialog .expand {
.race-01__systerm .el-dialog .expand {
width: 120px;
}
.ningbo-01__systerm .el-dialog .el-button:focus span {
.race-01__systerm .el-dialog .el-button:focus span {
border: 1px dashed gray;
}
.ningbo-01__systerm .el-dialog .el-button:active {
.race-01__systerm .el-dialog .el-button:active {
border: 2px inset #E2E2E2;
}
.ningbo-01__systerm .el-dialog .el-button:disabled {
.race-01__systerm .el-dialog .el-button:disabled {
border: 2px inset #E2E2E2;
}
.ningbo-01__systerm .el-dialog .el-button:disabled span {
.race-01__systerm .el-dialog .el-button:disabled span {
border: 0px;
}
.ningbo-01__systerm .el-dialog .el-input {
.race-01__systerm .el-dialog .el-input {
border: 2px inset #E9E9E9;
}
.ningbo-01__systerm .el-dialog .el-input .el-input__inner {
.race-01__systerm .el-dialog .el-input .el-input__inner {
color: #000;
background: #fff !important;
border: 0px;
@ -216,16 +216,16 @@ export default {
box-sizing: border-box;
}
.ningbo-01__systerm .el-dialog .el-input.is-disabled .el-input__inner {
.race-01__systerm .el-dialog .el-input.is-disabled .el-input__inner {
background: #F0F0F0 !important;
}
.ningbo-01__systerm .el-dialog .el-textarea {
.race-01__systerm .el-dialog .el-textarea {
border: 2px inset #E9E9E9;
border-radius: 0px;
}
.ningbo-01__systerm .el-dialog .el-textarea .el-textarea__inner {
.race-01__systerm .el-dialog .el-textarea .el-textarea__inner {
color: #000;
background: #fff !important;
border: 0px;
@ -233,24 +233,24 @@ export default {
box-sizing: border-box;
}
.ningbo-01__systerm .el-dialog .el-textarea.is-disabled .el-textarea__inner {
.race-01__systerm .el-dialog .el-textarea.is-disabled .el-textarea__inner {
background: #F0F0F0 !important;
}
.ningbo-01__systerm .el-dialog .el-table--border th.gutter {
.race-01__systerm .el-dialog .el-table--border th.gutter {
background: #EBEADB !important;
}
.ningbo-01__systerm .el-dialog .el-table {
.race-01__systerm .el-dialog .el-table {
border: 2px inset #E9E9E9;
color: #000 !important;
}
.ningbo-01__systerm .el-dialog .el-table .cell {
.race-01__systerm .el-dialog .el-table .cell {
line-height: unset !important;
}
.ningbo-01__systerm .el-dialog .el-table th.is-leaf {
.race-01__systerm .el-dialog .el-table th.is-leaf {
background: #F0F0F0 !important;
border-right: 1px solid #BDBDBD !important;
border-bottom: 1px solid #BDBDBD !important;
@ -259,7 +259,7 @@ export default {
padding: 0px;
}
.ningbo-01__systerm.stand-detain-train .el-dialog .el-table th.is-leaf {
.race-01__systerm.stand-detain-train .el-dialog .el-table th.is-leaf {
background: #fff !important;
border-right: 1px solid #fff !important;
border-bottom: 1px solid #EBEEF5 !important;
@ -267,49 +267,49 @@ export default {
height: 20px !important;
padding: 0px;
}
.ningbo-01__systerm.stand-detain-train .el-dialog .el-table th.el-table-column--selection{
.race-01__systerm.stand-detain-train .el-dialog .el-table th.el-table-column--selection{
border-right: 1px solid #e2e2e2 !important;
}
.ningbo-01__systerm.stand-detain-train .el-dialog .el-table .el-table__body-wrapper .el-table__row .el-table-column--selection {
.race-01__systerm.stand-detain-train .el-dialog .el-table .el-table__body-wrapper .el-table__row .el-table-column--selection {
border-right: 1px solid #e2e2e2 !important;
}
.ningbo-01__systerm .el-dialog .el-table tr td {
.race-01__systerm .el-dialog .el-table tr td {
height: 20px !important;
padding: 0px;
}
.ningbo-01__systerm .el-dialog .el-table .el-table__empty-text {
.race-01__systerm .el-dialog .el-table .el-table__empty-text {
top: 15px !important;
}
.ningbo-01__systerm .el-dialog .current-row>td {
.race-01__systerm .el-dialog .current-row>td {
background: #3399FF !important;
color: #fff !important;
}
.ningbo-01__systerm .el-dialog .el-checkbox__inner {
.race-01__systerm .el-dialog .el-checkbox__inner {
border: 1px inset #dcdfe6 !important;
}
.ningbo-01__systerm .el-dialog .el-checkbox__label {
.race-01__systerm .el-dialog .el-checkbox__label {
color: #000 !important;
}
.ningbo-01__systerm .el-dialog .el-checkbox.is-disabled .el-checkbox__inner {
.race-01__systerm .el-dialog .el-checkbox.is-disabled .el-checkbox__inner {
background: #E6E6E6 !important;
}
.ningbo-01__systerm .el-dialog .el-checkbox.is-disabled .el-checkbox__label {
.race-01__systerm .el-dialog .el-checkbox.is-disabled .el-checkbox__label {
color: #C5C9CC !important;
}
.ningbo-01__systerm .el-dialog .el-checkbox__input.is-checked .el-checkbox__inner {
.race-01__systerm .el-dialog .el-checkbox__input.is-checked .el-checkbox__inner {
background: #fff !important;
border: 1px inset #dcdfe6 !important;
}
.ningbo-01__systerm .el-dialog .el-checkbox__input.is-checked .el-checkbox__inner::after {
.race-01__systerm .el-dialog .el-checkbox__input.is-checked .el-checkbox__inner::after {
position: absolute;
-webkit-box-sizing: content-box;
box-sizing: content-box;
@ -322,20 +322,20 @@ export default {
top: 1px;
}
.ningbo-01__systerm .el-dialog .el-radio__inner {
.race-01__systerm .el-dialog .el-radio__inner {
border: 1px inset #dcdfe6 !important;
}
.ningbo-01__systerm .el-dialog .el-radio__label {
.race-01__systerm .el-dialog .el-radio__label {
color: #000 !important;
}
.ningbo-01__systerm .el-dialog .el-radio__input.is-checked .el-radio__inner {
.race-01__systerm .el-dialog .el-radio__input.is-checked .el-radio__inner {
background: #fff !important;
border: 1px inset #dcdfe6 !important;
}
.ningbo-01__systerm .el-dialog .el-radio__input.is-checked .el-radio__inner::after {
.race-01__systerm .el-dialog .el-radio__input.is-checked .el-radio__inner::after {
width: 4px;
height: 4px;
border-radius: 100%;
@ -345,15 +345,15 @@ export default {
top: 50%;
}
.ningbo-01__systerm .el-dialog .el-radio.is-disabled .el-radio__inner {
.race-01__systerm .el-dialog .el-radio.is-disabled .el-radio__inner {
background: #E6E6E6 !important;
}
.ningbo-01__systerm .el-dialog .el-radio.is-disabled .el-radio__label {
.race-01__systerm .el-dialog .el-radio.is-disabled .el-radio__label {
color: #C5C9CC !important;
}
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: #F0F0F0;
padding: 0 5px;
position: relative;
@ -361,27 +361,27 @@ export default {
top: -18px;
}
.ningbo-01__systerm .el-dialog .el-form-item label {
.race-01__systerm .el-dialog .el-form-item label {
font-weight: normal !important;
color: #000 !important;
}
.ningbo-01__systerm .el-dialog .context {
.race-01__systerm .el-dialog .context {
height: 100px;
border: 2px inset #E2E2E2;
overflow-y: scroll;
}
.ningbo-01__systerm .el-dialog .table {
.race-01__systerm .el-dialog .table {
margin-top: 10px;
}
.ningbo-01__systerm .el-dialog .notice {
.race-01__systerm .el-dialog .notice {
margin-left: 62px;
line-height: 30px;
}
.ningbo-01__systerm .el-dialog .button-group {
.race-01__systerm .el-dialog .button-group {
margin-top: 10px;
}
</style>

View File

@ -89,7 +89,7 @@
<station-control ref="stationControl" />
<detain-train-contorl ref="detainTrainContorl" />
<detain-train-contorl-up-down ref="detainTrainContorlUpDown" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
<train-add ref="trainAdd" />
<train-transtalet ref="trainTranstalet" />
<train-delete ref="trainDelete" />

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm two-confirmation"
class="race-01__systerm two-confirmation"
title="二次确认"
:visible.sync="show"
width="360px"
@ -25,7 +25,7 @@
<el-button :id="domIdCancel" @click="cancel">关闭</el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm user-add"
class="race-01__systerm user-add"
:title="title"
:visible.sync="show"
width="420px"
@ -161,7 +161,7 @@ export default {
};
</script>
<style scoped>
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm user-delete"
class="race-01__systerm user-delete"
:title="title"
:visible.sync="show"
width="260px"
@ -133,7 +133,7 @@ export default {
};
</script>
<style scoped>
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm user-edit"
class="race-01__systerm user-edit"
:title="title"
:visible.sync="show"
width="420px"
@ -178,7 +178,7 @@ export default {
};
</script>
<style scoped>
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm station-control"
class="race-01__systerm station-control"
:title="title"
:visible.sync="show"
width="400px"
@ -21,7 +21,7 @@
<el-button :id="domIdCancel" :disabled="disabledClose" style="margin-left: 200px" @click="cancel">退出
</el-button>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm station-control"
class="race-01__systerm station-control"
:title="title"
:visible.sync="show"
width="400px"
@ -21,7 +21,7 @@
<el-button :id="domIdCancel" :disabled="disabledClose" style="margin-left: 200px" @click="cancel">退出
</el-button>
</el-row>
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm manage-user"
class="race-01__systerm manage-user"
:title="title"
:visible.sync="show"
width="600px"
@ -130,7 +130,7 @@ export default {
};
</script>
<style scoped>
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm manage-user"
class="race-01__systerm manage-user"
:title="title"
:visible.sync="show"
width="420px"
@ -297,7 +297,7 @@ export default {
};
</script>
<style scoped>
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm station-control"
class="race-01__systerm station-control"
title="控制模式转换"
:visible.sync="show"
width="400px"

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm stand-stop-time"
class="race-01__systerm stand-stop-time"
:title="title"
:visible.sync="show"
width="320px"
@ -161,7 +161,7 @@ export default {
};
</script>
<style scoped>
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm stand-stop-time"
class="race-01__systerm stand-stop-time"
:title="title"
:visible.sync="show"
width="320px"
@ -144,7 +144,7 @@ export default {
};
</script>
<style scoped>
.ningbo-01__systerm .el-dialog .base-label {
.race-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
position: relative;
left: -5px;

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm stand-stop-time"
class="race-01__systerm stand-stop-time"
:title="title"
:visible.sync="show"
width="320px"

View File

@ -31,7 +31,7 @@ export default {
data() {
return {
menu: [],
systemName:'ningbo-01__systerm',
systemName:'race-01__systerm',
menuNormal: {
Local: [
{

View File

@ -1,7 +1,7 @@
<template>
<div>
<pop-menu ref="popMenu" :menu="menu" />
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
<set-fault ref="setFault" pop-class="race-01__systerm" />
</div>
</template>
<script>

View File

@ -1,14 +1,14 @@
<template>
<div>
<pop-menu ref="popMenu" :menu="menu" />
<section-control ref="sectionControl" pop-class="ningbo-01__systerm" />
<section-un-lock ref="sectionUnLock" pop-class="ningbo-01__systerm" />
<speed-limit-control ref="speedLimitControl" pop-class="ningbo-01__systerm" />
<section-control ref="sectionControl" pop-class="race-01__systerm" />
<section-un-lock ref="sectionUnLock" pop-class="race-01__systerm" />
<speed-limit-control ref="speedLimitControl" pop-class="race-01__systerm" />
<alxe-effective ref="alxeEffective" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
<train-add-plan ref="trainAddPlan" pop-class="ningbo-01__systerm" />
<load-spare-train ref="loadSpareTrain" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
<set-fault ref="setFault" pop-class="race-01__systerm" />
<train-add-plan ref="trainAddPlan" pop-class="race-01__systerm" />
<load-spare-train ref="loadSpareTrain" pop-class="race-01__systerm" />
</div>
</template>

View File

@ -2,13 +2,13 @@
<div>
<pop-menu ref="popMenu" :menu="menu" />
<route-selection ref="routeSelection" />
<route-un-lock ref="routeUnLock" pop-class="ningbo-01__systerm" />
<route-control ref="routeControl" pop-class="ningbo-01__systerm" />
<route-hand-control ref="routeHandControl" system-name="ningbo-01__systerm" />
<route-detail ref="routeDetail" system-name="ningbo-01__systerm" />
<route-un-lock ref="routeUnLock" pop-class="race-01__systerm" />
<route-control ref="routeControl" pop-class="race-01__systerm" />
<route-hand-control ref="routeHandControl" system-name="race-01__systerm" />
<route-detail ref="routeDetail" system-name="race-01__systerm" />
<router-command ref="routerCommand" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
<set-fault ref="setFault" pop-class="race-01__systerm" />
</div>
</template>

View File

@ -1,11 +1,11 @@
<template>
<div>
<pop-menu ref="popMenu" :menu="menu" />
<station-cmd-control ref="stationCmdControl" pop-class="ningbo-01__systerm" />
<station-human-control-all ref="stationHumanControlAll" pop-class="ningbo-01__systerm" />
<station-set-route-control-all ref="stationSetRouteControlAll" pop-class="ningbo-01__systerm" />
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<station-cmd-control ref="stationCmdControl" pop-class="race-01__systerm" />
<station-human-control-all ref="stationHumanControlAll" pop-class="race-01__systerm" />
<station-set-route-control-all ref="stationSetRouteControlAll" pop-class="race-01__systerm" />
<set-fault ref="setFault" pop-class="race-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
</div>
</template>

View File

@ -1,14 +1,14 @@
<template>
<div>
<pop-menu ref="popMenu" :menu="menu" />
<stand-control ref="standControl" system-name="ningbo-01__systerm" />
<stand-jump-stop-control ref="standJumpStopControl" system-name="ningbo-01__systerm" />
<stand-detail ref="standDetail" pop-class="ningbo-01__systerm" />
<stand-run-level ref="standRunLevel" system-name="ningbo-01__systerm" />
<stand-stop-time ref="standStopTime" system-name="ningbo-01__systerm" />
<stand-control ref="standControl" system-name="race-01__systerm" />
<stand-jump-stop-control ref="standJumpStopControl" system-name="race-01__systerm" />
<stand-detail ref="standDetail" pop-class="race-01__systerm" />
<stand-run-level ref="standRunLevel" system-name="race-01__systerm" />
<stand-stop-time ref="standStopTime" system-name="race-01__systerm" />
<StandBulkBuckleTrain ref="standBulkBuckleTrain" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
<set-fault ref="setFault" pop-class="race-01__systerm" />
</div>
</template>

View File

@ -1,13 +1,13 @@
<template>
<div>
<pop-menu ref="popMenu" :menu="menu" />
<switch-control ref="switchControl" pop-class="ningbo-01__systerm" />
<section-un-lock ref="sectionUnLock" pop-class="ningbo-01__systerm" />
<speed-limit-control ref="speedLimitControl" pop-class="ningbo-01__systerm" />
<switch-control ref="switchControl" pop-class="race-01__systerm" />
<section-un-lock ref="sectionUnLock" pop-class="race-01__systerm" />
<speed-limit-control ref="speedLimitControl" pop-class="race-01__systerm" />
<alxe-effective ref="alxeEffective" />
<switch-hook-lock ref="switchHookLock" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
<switch-hook-lock ref="switchHookLock" pop-class="race-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
<set-fault ref="setFault" pop-class="race-01__systerm" />
</div>
</template>

View File

@ -1,7 +1,7 @@
<template>
<div>
<pop-menu ref="popMenu" :menu="menu" />
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
<notice-info ref="noticeInfo" pop-class="race-01__systerm" />
<train-delete ref="trainDelete" />
<train-define ref="trainDefine" />
<train-move ref="trainMove" />
@ -9,9 +9,9 @@
<train-set-head ref="trainSetHead" />
<train-set-work ref="trainSetWork" />
<trainSetWorkATP ref="trainSetWorkATP" />
<SpeedLimit ref="speedLimit" pop-class="ningbo-01__systerm" />
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
<set-train-operation ref="setTrainOperation" pop-class="ningbo-01__systerm" />
<SpeedLimit ref="speedLimit" pop-class="race-01__systerm" />
<set-fault ref="setFault" pop-class="race-01__systerm" />
<set-train-operation ref="setTrainOperation" pop-class="race-01__systerm" />
</div>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm alarm-detail"
class="race-01__systerm alarm-detail"
:title="level+'级告警详细信息'"
:visible.sync="show"
width="760px"

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-dialogDrag
class="ningbo-01__systerm cmd-notice"
class="race-01__systerm cmd-notice"
title="操作命令提示"
:visible.sync="show"
width="400px"

View File

@ -2,49 +2,6 @@
require('script-loader!file-saver');
require('@/utils/Blob');
import XLSX from 'xlsx';
// import { translate } from '@/scripts/translate';
// function generateArray(table) {
// var out = [];
// var rows = table.querySelectorAll('tr');
// var ranges = [];
// for (var R = 0; R < rows.length; ++R) {
// var outRow = [];
// var row = rows[R];
// var columns = row.querySelectorAll('td');
// for (var C = 0; C < columns.length; ++C) {
// var cell = columns[C];
// var colspan = cell.getAttribute('colspan');
// var rowspan = cell.getAttribute('rowspan');
// var cellValue = cell.innerText;
// if (cellValue !== "" && cellValue == +cellValue) cellValue = +cellValue;
// //Skip ranges
// ranges.forEach(function (range) {
// if (R >= range.s.r && R <= range.e.r && outRow.length >= range.s.c && outRow.length <= range.e.c) {
// for (var i = 0; i <= range.e.c - range.s.c; ++i) outRow.push(null);
// }
// });
// //Handle Row Span
// if (rowspan || colspan) {
// rowspan = rowspan || 1;
// colspan = colspan || 1;
// ranges.push({ s: { r: R, c: outRow.length }, e: { r: R + rowspan - 1, c: outRow.length + colspan - 1 } });
// }
// ;
// //Handle Value
// outRow.push(cellValue !== "" ? cellValue : null);
// //Handle Colspan
// if (colspan) for (var k = 0; k < colspan - 1; ++k) outRow.push(null);
// }
// out.push(outRow);
// }
// return [out, ranges];
// };
function datenum(v, date1904) {
if (date1904) v += 1462;
@ -77,7 +34,6 @@ function sheet_from_array_of_arrays(data, opts) {
cell.z = XLSX.SSF._table[14];
cell.v = datenum(cell.v);
}
// else cell.t = 's';
ws[cell_ref] = cell;
}
@ -227,29 +183,6 @@ function s2ab(s) {
return buf;
}
// export function export_table_to_excel(id) {
// var theTable = document.getElementById(id);
// var oo = generateArray(theTable);
// var ranges = oo[1];
// var data = oo[0];
// var ws_name = "SheetJS";
// var wb = new Workbook(), ws = sheet_from_array_of_arrays(data);
// ws['!merges'] = ranges;
// wb.SheetNames.push(ws_name);
// wb.Sheets[ws_name] = ws;
// var wbout = XLSX.write(wb, { bookType: 'xlsx', bookSST: false, type: 'binary' });
// saveAs(new Blob([s2ab(wbout)], { type: "application/octet-stream" }), "test.xlsx")
// }
// function formatJson(filterVal, jsonData) {
// return jsonData.map(v => filterVal.map(j => v[j]))
// }
export function export_json_to_excel(th, jsonData, defaultTitle) {
var data = jsonData;
data.unshift(th);
@ -264,44 +197,3 @@ export function export_json_to_excel(th, jsonData, defaultTitle) {
var title = defaultTitle || '列表'
saveAs(new Blob([s2ab(wbout)], { type: "application/octet-stream" }), title + ".xlsx")
}
// // 转换数据格式
// function handelData(translate, key) {
// let tHeader = [];
// let tHeaderF = [];
// if (translate[key]) {
// translate[key].columns.forEach(item => {
// tHeader.push(item.tHeader);
// tHeaderF.push(item.key);
// });
// }
// let filterVal = {
// tHeader: tHeader,
// tHeaderF: tHeaderF,
// };
// return filterVal;
// }
// export function export_json_excel(jsonData, defaultTitle) {
// let data = jsonData;
// let wb = new Workbook();
// for (let index in data) {
// let filterVal = handelData(translate, index);
// if (filterVal.tHeader.length) {
// let dataDetail = formatJson(filterVal.tHeaderF, data[index]);
// dataDetail.unshift(filterVal.tHeader); // 设置表头的
// let ws = sheet_from_array_of_arrays(dataDetail);
// /* add worksheet to workbook */
// let title = translate[index].sheetName || index;
// wb.SheetNames.push(title);
// wb.Sheets[`${title}`] = ws;
// }
// }
// let wbout = XLSX.write(wb, { bookType: 'xlsx', bookSST: false, type: 'binary' });
// var title = defaultTitle || '列表'
// saveAs(new Blob([s2ab(wbout)], { type: "application/octet-stream" }), title + ".xlsx")
// }

View File

@ -16,8 +16,8 @@ export function now() {
return year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second;
}
export function timeFormat(usedTime=0) {
let hour = 0; let minute = 0; let second = 0; let sumTime = usedTime;
export function timeFormat(usedTime = 0) {
let hour = 0; let minute = 0; let second = 0; let sumTime = usedTime;
if (sumTime) {
if (sumTime >= 3600) {
hour = Math.floor(sumTime / 3600) % 24;
@ -37,8 +37,8 @@ export function timeFormat(usedTime=0) {
// 时分秒转为时间戳
export function toTimeStamp(time='') {
let s = 0;
export function toTimeStamp(time = '') {
let s = 0;
const hour = time.split(':')[0];
const min = time.split(':')[1];
const sec = time.split(':')[2];

View File

@ -165,7 +165,7 @@ export function deepAssign(obj, item) {
// for (const keys in item) {
// if (item.hasOwnProperty(keys) && keys != 'instance') { // instance 对面不拷贝
// if (item[keys] && item[keys].constructor == Array) {
// yield * colneData(item[keys]);
// yield * colneData(item[keys]); // 这块也得循环处理 不然卡主了
// } else {
// yield { key: keys, value: item[keys] };
// }