Commit 152be146 authored by 黄奎's avatar 黄奎

文件名称修改

parent 6bc971a7
......@@ -1064,15 +1064,15 @@
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+'_'} `
if (this.dataList.title.length > 50) {
fileName += this.dataList.title.substring(0, 50);
} else {
fileName += this.dataList.title;
}
}
console.log(fileName,"fileName");
// if (this.delMsg.lineId && (this.delMsg.lineId == 168 || this.delMsg.lineId == 119)) {
// fileName = `${this.dataList.currentPriceInfo?.startDate+'_'} `
// if (this.dataList.title.length > 50) {
// fileName += this.dataList.title.substring(0, 50);
// } else {
// fileName += this.dataList.title;
// }
// }
console.log(fileName, "fileName");
const filePath = wx.env.USER_DATA_PATH + `/${fileName}.pdf`
uni.downloadFile({
url: url,
......
......@@ -3,8 +3,8 @@ export default {
install(Vue, options) {
Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
// Vue.prototype.host2 = "http://192.168.10.160:8020"
// Vue.prototype.host3 = "http://192.168.10.68"
//Vue.prototype.host2 = "http://192.168.10.160:8020"
//Vue.prototype.host3 = "http://192.168.10.68"
Vue.prototype.host2 = "https://erpmallapi.oytour.com"
Vue.prototype.host3 = "https://reborn.oytour.com"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment