Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
badac3d9
Commit
badac3d9
authored
Mar 13, 2019
by
qiaoyajun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无用的代码
parent
79c2e251
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
tripUtils.js
src/assets/utils/tripUtils.js
+2
-7
No files found.
src/assets/utils/tripUtils.js
View file @
badac3d9
let
locationName
=
window
.
location
.
hostname
;
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
domainUrl
=
"http://reborn.oytour.com"
;
}
else
if
(
locationName
.
indexOf
(
'viitto'
)
!==
-
1
)
{
domainUrl
=
"https://test.viitto.com"
;
}
let
ViittoFileUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://imgfile.oytour.com"
:
'http://192.168.2.214:8130'
var
tripUtils
=
{
TypeKey
:
{
...
...
@@ -541,7 +536,7 @@ var tripUtils = {
childItem
:
''
,
}
},
/*
/*
* 默认取当天上一个交通的结束城市编号,
* 如果当天没有取上一天结束城市编号
* 参数说明:DayList-行程数组,dayNum-天数,numIndex:索引,isCompareIndex:是否比较索引(当前的数据需要验证索引,前一天的数据不需要验证索引)
...
...
@@ -598,7 +593,7 @@ var tripUtils = {
}
return
uuid
.
join
(
''
);
},
/*
/*
* 获取交通城市编号,逗号分隔
* 默认取当天上一个交通的结束城市编号,
* 如果当天没有取上一天结束城市编号
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment