Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
64c5e743e5
@ -67,6 +67,10 @@
|
|||||||
<el-form-item label="是否向右:" prop="right">
|
<el-form-item label="是否向右:" prop="right">
|
||||||
<el-checkbox v-model="addModel.right" />
|
<el-checkbox v-model="addModel.right" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="站间距离:" prop="distance">
|
||||||
|
<el-input-number v-model="addModel.distance" :min="0" />
|
||||||
|
<span>m</span>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button-group>
|
<el-button-group>
|
||||||
<el-button type="primary" size="small" style="margin-top: 10px" @click="generateLevel">生成等级</el-button>
|
<el-button type="primary" size="small" style="margin-top: 10px" @click="generateLevel">生成等级</el-button>
|
||||||
@ -209,6 +213,7 @@ export default {
|
|||||||
startSectionCode: '', // 起始区段code
|
startSectionCode: '', // 起始区段code
|
||||||
startStationCode: '', // 起始车站code
|
startStationCode: '', // 起始车站code
|
||||||
right: false, // 方向 是否向右
|
right: false, // 方向 是否向右
|
||||||
|
distance: 0, // 站间距离, 单位m
|
||||||
l1: 0, // 等级一时间,单位秒(s)
|
l1: 0, // 等级一时间,单位秒(s)
|
||||||
l2: 0, // 等级二时间,单位秒(s)
|
l2: 0, // 等级二时间,单位秒(s)
|
||||||
l3: 0, // 等级三时间,单位秒(s)
|
l3: 0, // 等级三时间,单位秒(s)
|
||||||
@ -227,6 +232,9 @@ export default {
|
|||||||
],
|
],
|
||||||
endSectionCode: [
|
endSectionCode: [
|
||||||
{ required: true, message: '请选择末端区段', trigger: 'change' }
|
{ required: true, message: '请选择末端区段', trigger: 'change' }
|
||||||
|
],
|
||||||
|
distance: [
|
||||||
|
{ required: true, message: '请输入站间距离', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -318,6 +326,7 @@ export default {
|
|||||||
startSectionCode: '',
|
startSectionCode: '',
|
||||||
startStationCode: '',
|
startStationCode: '',
|
||||||
right: false,
|
right: false,
|
||||||
|
distance: '',
|
||||||
l1: 0,
|
l1: 0,
|
||||||
l2: 0,
|
l2: 0,
|
||||||
l3: 0,
|
l3: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user