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
79c2e251
Commit
79c2e251
authored
6 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
hk
parents
848789b1
6e12bbdb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
tripUtils.js
src/assets/utils/tripUtils.js
+9
-1
ShoppingReimbursement.vue
src/components/ShoppingStore/ShoppingReimbursement.vue
+3
-5
No files found.
src/assets/utils/tripUtils.js
View file @
79c2e251
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
:
{
traffic
:
"1"
,
...
...
@@ -329,6 +336,7 @@ var tripUtils = {
//行程-【交通对象】
trafficObj
:
function
()
{
console
.
log
(
ViittoFileUrl
)
return
{
ID
:
0
,
ConfigId
:
0
,
...
...
@@ -346,7 +354,7 @@ var tripUtils = {
//行程介绍
trafficIntroduce
:
{
IntroduceTitle
:
""
,
//行程介绍标题
IntroduceImage
:
this
.
domainManager
().
ViittoFileUrl
+
"/Upload/DefalutImage/DMC/defaultairline.png"
,
//行程介绍图片
IntroduceImage
:
ViittoFileUrl
+
"/Upload/DefalutImage/DMC/defaultairline.png"
,
//行程介绍图片
IntroduceDetail
:
""
,
//行程介绍详细信息
}
};
...
...
This diff is collapsed.
Click to expand it.
src/components/ShoppingStore/ShoppingReimbursement.vue
View file @
79c2e251
...
...
@@ -210,11 +210,9 @@
methods
:
{
downLoadPZ
:
function
(
src
)
{
var
a
=
document
.
createElement
(
'a'
)
var
event
=
new
MouseEvent
(
'click'
)
a
.
download
=
'下载图片名称'
a
.
href
=
src
;
a
.
dispatchEvent
(
event
)
let
dom
=
document
.
querySelector
(
"#blankLink"
)
dom
.
href
=
src
dom
.
click
()
},
stringToArr
(
str
)
{
return
str
.
split
(
','
)
...
...
This diff is collapsed.
Click to expand it.
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