@@ -1,7 +1,7 @@ | |||||
<template> | <template> | ||||
<view class="registerCode"> | <view class="registerCode"> | ||||
<view class="registerImg"> | <view class="registerImg"> | ||||
<image :src="qrCodeUrl+'/customer/getQrCode?page=pages/mine/registerForm&scene='+projectId" mode=""></image> | |||||
<image :src="qrCodeUrl+'/customer/getQrCode?appid=wx8f883dca5ecc5510&page=pages/mine/registerForm&scene='+projectId" mode=""></image> | |||||
</view> | </view> | ||||
<view class="registerBtn" @click="down"> | <view class="registerBtn" @click="down"> | ||||
保存图片到手机 | 保存图片到手机 | ||||
@@ -23,7 +23,7 @@ | |||||
}, | }, | ||||
methods: { | methods: { | ||||
down() { | down() { | ||||
let url = this.qrCodeUrl+'/customer/getQrCode?page=pages/mine/registerForm&scene='+this.projectId | |||||
let url = this.qrCodeUrl+'/customer/getQrCode?appid=wx8f883dca5ecc5510&page=pages/mine/registerForm&scene='+this.projectId | |||||
console.log(url) | console.log(url) | ||||
uni.getImageInfo({ | uni.getImageInfo({ | ||||
src:url, | src:url, | ||||
@@ -106,7 +106,7 @@ | |||||
onLoad(options){ | onLoad(options){ | ||||
const sceneStr = decodeURIComponent(options.scene); | const sceneStr = decodeURIComponent(options.scene); | ||||
console.log(options) | console.log(options) | ||||
this.projectId = sceneStr | |||||
this.parames.projectId = sceneStr | |||||
}, | }, | ||||
watch:{ | watch:{ | ||||
parames:{ | parames:{ | ||||
@@ -169,6 +169,7 @@ | |||||
} | } | ||||
} | } | ||||
}) | }) | ||||
} | } | ||||
} | } | ||||
@@ -2,11 +2,11 @@ | |||||
// const baseUrl = 'http://192.168.31.57:8080/autoSR/api';// 本地 | // const baseUrl = 'http://192.168.31.57:8080/autoSR/api';// 本地 | ||||
// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | // const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | ||||
// const baseUrl = 'http://192.168.31.92:8080/api';// sh | // const baseUrl = 'http://192.168.31.92:8080/api';// sh | ||||
const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// sh | |||||
// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// sh | |||||
// const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 | // const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 | ||||
// const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | // const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | ||||
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | ||||
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
// const baseUrl = 'https://hfju.com/api'; // 数智正式 | // const baseUrl = 'https://hfju.com/api'; // 数智正式 | ||||