Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
jz_Travel
Commits
4844b6dc
Commit
4844b6dc
authored
Nov 07, 2023
by
18224442217
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线路查询修复bug, 欧洲下载行程调整
parent
b9472d44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
jz_Line.vue
pages/jiuzhai/jz_Line.vue
+1
-1
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+10
-2
No files found.
pages/jiuzhai/jz_Line.vue
View file @
4844b6dc
...
@@ -895,7 +895,7 @@
...
@@ -895,7 +895,7 @@
//跳转至详情
//跳转至详情
goJzDetail
(
item
)
{
goJzDetail
(
item
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
tcid
+
'&configId='
+
item
.
configId
+
'&cityId='
+
(
item
.
startCityId
?
item
.
startCityId
:
this
.
CityId
)
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
item
.
tcid
+
'&configId='
+
item
.
configId
+
'&cityId='
+
(
item
.
startCityId
?
item
.
startCityId
:
this
.
CityId
)
+
'&lineId='
+
this
.
msg
.
lineId
});
});
},
},
//获取第一张图
//获取第一张图
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
4844b6dc
...
@@ -1463,6 +1463,9 @@ export default {
...
@@ -1463,6 +1463,9 @@ export default {
created
()
{
}
,
created
()
{
}
,
onLoad
(
option
)
{
onLoad
(
option
)
{
if
(
!
option
.
scene
){
if
(
!
option
.
scene
){
if
(
option
.
lineId
){
this
.
delMsg
.
lineId
=
option
.
lineId
;
}
if
(
option
.
tcid
)
{
if
(
option
.
tcid
)
{
this
.
delMsg
.
tcid
=
option
.
tcid
;
this
.
delMsg
.
tcid
=
option
.
tcid
;
}
}
...
@@ -1520,7 +1523,12 @@ export default {
...
@@ -1520,7 +1523,12 @@ export default {
// url = `
https
:
//ocr.oytour.com/Home/DownloadFileForPdf?url=$
{
encodeURIComponent
(
url
)
}
`
// url = `
https
:
//ocr.oytour.com/Home/DownloadFileForPdf?url=$
{
encodeURIComponent
(
url
)
}
`
let url = `
https
:
//im.oytour.com/TripDownLoad/$
{
this
.
delMsg
.
configId
}
_$
{
this
.
delMsg
.
tcid
}
/
$
{
this
.
delMsg
.
configId
}
_$
{
this
.
delMsg
.
tcid
}
.
pdf
`
let url = `
https
:
//im.oytour.com/TripDownLoad/$
{
this
.
delMsg
.
configId
}
_$
{
this
.
delMsg
.
tcid
}
/
$
{
this
.
delMsg
.
configId
}
_$
{
this
.
delMsg
.
tcid
}
.
pdf
`
const filePath= wx.env.USER_DATA_PATH + `
/
$
{
this
.
dataList
.
currentPriceInfo
?.
startDate
+
'_'
}
$
{
this
.
dataList
.
ltName
.
replace
(
/
\s
+/g
,
""
).
replaceAll
(
"/"
,
""
)
}
.
pdf
`
let fileName = `
$
{
this
.
dataList
.
currentPriceInfo
?.
startDate
+
'_'
}
$
{
this
.
dataList
.
ltName
.
replace
(
/
\s
+/g
,
""
).
replaceAll
(
"/"
,
""
)
}
`
if(this.delMsg.lineId&&(this.delMsg.lineId==168||this.delMsg.lineId==119)){
fileName = `
$
{
this
.
dataList
.
currentPriceInfo
?.
startDate
+
'_'
}
$
{
this
.
dataList
.
title
}
`
}
const filePath= wx.env.USER_DATA_PATH + `
/
$
{
fileName
}
.
pdf
`
uni.downloadFile({
uni.downloadFile({
url: url,
url: url,
filePath,
filePath,
...
...
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