desc: 修改宁波一号线运行图导入数据修改
This commit is contained in:
parent
e46915e686
commit
a31e358b41
@ -73,7 +73,11 @@ export default {
|
||||
var stationName = title.replace(/\s/, '');
|
||||
if (this.ExcelConfig.columns.indexOf(stationName) == -1 && reg3.test(value)) {
|
||||
let need = false;
|
||||
// var flag = false;
|
||||
if (value.split(':')[0] == '24') { // 24:XX:XX 类似这种数据 变24为00
|
||||
const arr = value.split(':');
|
||||
arr[0] = '00';
|
||||
value = arr.join(':');
|
||||
}
|
||||
if (count == 1) {
|
||||
count = 0;
|
||||
param.endTime = value;
|
||||
|
@ -176,6 +176,7 @@ export default {
|
||||
points: points,
|
||||
curve: false,
|
||||
lengthFact: 0,
|
||||
trainWindowCode: '',
|
||||
kmRangeRight: model.kmRangeRight,
|
||||
kmRangeLeft: model.kmRangeLeft,
|
||||
region: model.region,
|
||||
|
Loading…
Reference in New Issue
Block a user