Commit 57290a35 authored by xiejb's avatar xiejb

二维码扫描下载页面

parent 51b72ef7
......@@ -5,17 +5,18 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
// 测试
HOST_URL: '"http://222.66.127.246"',
PORT: '":8020"',
BASE_URL: '""',
appRealDb: '"app_test_shaphar"',
// HOST_URL: '"http://222.66.127.246"',
// PORT: '":8020"',
// BASE_URL: '""',
// appRealDb: '"app_test_shaphar"',
// 正式
// HOST_URL: '"http://mobileportal.shaphar.com"',
// PORT: '":8028"',
// BASE_URL: '"/basservice"',
// appRealDb: '"app_real_shaphar"',
//NEW 正式
// HOST_URL: '"https://mobileportal.shaphar.com"',
// PORT: '":8443"',
// BASE_URL: '"/basservicenew"'
HOST_URL: '"https://mobileportal.shaphar.com"',
PORT: '":8443"',
BASE_URL: '"/basservicenew"',
appRealDb: '"app_real_shaphar"'
})
......@@ -2,13 +2,13 @@
module.exports = {
NODE_ENV: '"production"',
// 正式版
// HOST_URL: '"https://mobileportal.shaphar.com:8443/basservicenew"',
// appRealDb: '"app_real_shaphar"',
HOST_URL: '"https://mobileportal.shaphar.com:8443/basservicenew"',
appRealDb: '"app_real_shaphar"',
// 体验版
// HOST_URL: '"http://mobileportal.shaphar.com:8028/basservicenew"',
// 测试版
HOST_URL: '"http://222.66.127.246:8020"',
appRealDb: '"app_test_shaphar"',
// HOST_URL: '"http://222.66.127.246:8020"',
// appRealDb: '"app_test_shaphar"',
// HOST_URL: '"http://192.168.1.139:8020"'
PORT: '""',
BASE_URL: '""',
......
......@@ -234,12 +234,19 @@ export default {
/* GPS 定位信息 */
getGpsPoint() {
this.gpsLoading = true
// let data = {
// 'orderType': this.orderInfo.orderType, // 'SALE',
// 'shippingNo': this.shippingInfo.shippingNo, // '3S1255202103190010',
// 'sourceDb': this.orderInfo.sourceDb, // 'SHYY',
// 'gisTime': this.shippingInfo.actualArrivalTime,
// 'orderNo': this.orderInfo.orderNo // '879202103190016'
// }
let data = {
'orderType': this.orderInfo.orderType, // 'SALE',
'shippingNo': this.shippingInfo.shippingNo, // '3S1255202103190010',
'sourceDb': this.orderInfo.sourceDb, // 'SHYY',
'gisTime': this.shippingInfo.actualArrivalTime,
'orderNo': this.orderInfo.orderNo // '879202103190016'
'orderType': 'SALE', // 'SALE',
'shippingNo': '543533082508945661', // '3S1255202103190010',
'sourceDb': 'SHYY', // 'SHYY',
'gisTime': '',
'orderNo': '543533035211583431' // '879202103190016'
}
getGpsMapPoint(data).then(res => {
if (res.code === 200 && res.data.code === '00000' &&
......
<template>
<div id="scanQRCode">
<!-- <h1>{{activeTab}}</h1> -->
<van-notice-bar v-if="isShowNoticeBar" :scrollable="false" text="请使用默认浏览器打开本页面!"/>
<van-notice-bar v-if="isShowNoticeBar" :scrollable="false" text="请点击左上角按钮,使用默认浏览器打开本页面!">
<div slot="right-icon">
SSSS
</div>
</van-notice-bar>
<van-empty class="customEmpty" :description="activeTab" :image="sphImage">
<div slot="description" class="description">
<div class="subTitle">上药移动APP</div>
......@@ -114,8 +118,13 @@ export default {
}
}
if (browser.versions.android) {
this.activeTab = this.activeTab + '/android'
this.versionUpdateHttpAction('40')
if (browser.versions.weixin) {
this.activeTab = this.activeTab + '/weixin'
this.isShowNoticeBar = true
} else {
this.activeTab = this.activeTab + '/android'
this.versionUpdateHttpAction('40')
}
}
}
} else if (browser.versions.weixin){
......@@ -138,8 +147,8 @@ export default {
}
activityQueryDocList(dict).then(rt => {
if (rt) {
// window.location.href = rt.list[0].comments
_this.$toast(rt.list[0].comments)
window.location.href = rt.list[0].comments
// _this.$toast(rt.list[0].comments)
} else {
_this.$toast(rt.message)
}
......
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