bug103 设置停站时间范围改为15-300S 修改

This commit is contained in:
joylink_cuiweidong 2021-01-20 09:54:01 +08:00
parent 10ed69f5ec
commit 5b5d635f07
4 changed files with 11 additions and 6 deletions

View File

@ -185,7 +185,8 @@
<el-input-number <el-input-number
:id="domIdStopTime" :id="domIdStopTime"
v-model="trainStopTime" v-model="trainStopTime"
:min="0" :min="15"
:max="300"
:step="1" :step="1"
size="mini" size="mini"
:controls="false" :controls="false"
@ -275,7 +276,7 @@ export default {
tripNumber: '', tripNumber: '',
effective: '01', effective: '01',
trainRunlevel: 2, trainRunlevel: 2,
trainStopTime: 0, trainStopTime: 30,
disabledTime: true disabledTime: true
}; };
}, },
@ -429,7 +430,7 @@ export default {
this.dialogShow = false; this.dialogShow = false;
this.$store.dispatch('training/emitTipFresh'); this.$store.dispatch('training/emitTipFresh');
this.operation = ''; this.operation = '';
this.trainStopTime = 0; this.trainStopTime = 30;
}, },
choose(upDown) { // code choose(upDown) { // code
const operate = { const operate = {

View File

@ -38,7 +38,8 @@
v-model="time" v-model="time"
:disabled="disabledInput" :disabled="disabledInput"
controls-position="right" controls-position="right"
:min="0" :min="15"
:max="300"
size="mini" size="mini"
style="width: 130px; padding-left:30px;display: block; float: left; margin-top: 15px;" style="width: 130px; padding-left:30px;display: block; float: left; margin-top: 15px;"
@change="changeInputTime" @change="changeInputTime"

View File

@ -272,6 +272,8 @@ export default {
.foshan-01__systerm .el-dialog .el-table .el-table__empty-text { .foshan-01__systerm .el-dialog .el-table .el-table__empty-text {
top: 15px !important; top: 15px !important;
line-height: normal;
max-width:60%;
} }
.foshan-01__systerm .el-dialog .current-row>td { .foshan-01__systerm .el-dialog .current-row>td {

View File

@ -34,7 +34,8 @@
v-model="time" v-model="time"
:disabled="disabledInput" :disabled="disabledInput"
controls-position="right" controls-position="right"
:min="0" :min="15"
:max="300"
size="mini" size="mini"
style="width: 125px; padding-left:25px" style="width: 125px; padding-left:25px"
@change="inputTime" @change="inputTime"
@ -87,7 +88,7 @@ export default {
return { return {
dialogShow: false, dialogShow: false,
loading: false, loading: false,
time: 0, time: 15,
control: '01', control: '01',
direction: '01', direction: '01',
effective: false, effective: false,