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
152be146
Commit
152be146
authored
Nov 23, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件名称修改
parent
6bc971a7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+9
-9
api.js
plugin/api.js
+2
-2
No files found.
pages/jiuzhai/jz_LineDetail.vue
View file @
152be146
...
@@ -1064,15 +1064,15 @@
...
@@ -1064,15 +1064,15 @@
let
fileName
=
let
fileName
=
`${this.dataList.currentPriceInfo?.startDate+'_'
}
${this.dataList.ltName.replace(/\s+/g,"").replaceAll("/","")
}
`
`${this.dataList.currentPriceInfo?.startDate+'_'
}
${this.dataList.ltName.replace(/\s+/g,"").replaceAll("/","")
}
`
if
(
this
.
delMsg
.
lineId
&&
(
this
.
delMsg
.
lineId
==
168
||
this
.
delMsg
.
lineId
==
119
))
{
//
if (this.delMsg.lineId && (this.delMsg.lineId == 168 || this.delMsg.lineId == 119))
{
fileName
=
`${this.dataList.currentPriceInfo?.startDate+'_'
}
`
//
fileName = `$
{
this
.
dataList
.
currentPriceInfo
?.
startDate
+
'_'
}
`
if
(
this
.
dataList
.
title
.
length
>
50
)
{
//
if (this.dataList.title.length > 50) {
fileName
+=
this
.
dataList
.
title
.
substring
(
0
,
50
);
//
fileName += this.dataList.title.substring(0, 50);
}
else
{
//
}
else {
fileName
+=
this
.
dataList
.
title
;
//
fileName += this.dataList.title;
}
//
}
}
//
}
console
.
log
(
fileName
,
"fileName"
);
console.log(fileName,
"fileName");
const filePath = wx.env.USER_DATA_PATH + `
/
$
{
fileName
}
.
pdf
`
const filePath = wx.env.USER_DATA_PATH + `
/
$
{
fileName
}
.
pdf
`
uni.downloadFile({
uni.downloadFile({
url: url,
url: url,
...
...
plugin/api.js
View file @
152be146
...
@@ -3,8 +3,8 @@ export default {
...
@@ -3,8 +3,8 @@ export default {
install
(
Vue
,
options
)
{
install
(
Vue
,
options
)
{
Vue
.
prototype
.
host
=
"https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
Vue
.
prototype
.
host
=
"https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
//
Vue.prototype.host2 = "http://192.168.10.160:8020"
//Vue.prototype.host2 = "http://192.168.10.160:8020"
//
Vue.prototype.host3 = "http://192.168.10.68"
//
Vue.prototype.host3 = "http://192.168.10.68"
Vue
.
prototype
.
host2
=
"https://erpmallapi.oytour.com"
Vue
.
prototype
.
host2
=
"https://erpmallapi.oytour.com"
Vue
.
prototype
.
host3
=
"https://reborn.oytour.com"
Vue
.
prototype
.
host3
=
"https://reborn.oytour.com"
...
...
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