@@ -2,11 +2,11 @@ | |||||
* 小程序配置文件 | * 小程序配置文件 | ||||
*/ | */ | ||||
// 此处主机域名修改成腾讯云解决方案分配的域名 | // 此处主机域名修改成腾讯云解决方案分配的域名 | ||||
var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||||
// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||||
// var host = 'http://192.168.31.163:8080/autoSR/api'; // 长龙 | // var host = 'http://192.168.31.163:8080/autoSR/api'; // 长龙 | ||||
// var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 | // var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 | ||||
// var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | // var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | ||||
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
// var host = 'https://hfju.com/api'; // 数智正式 | // var host = 'https://hfju.com/api'; // 数智正式 | ||||
@@ -57,6 +57,8 @@ | |||||
}, | }, | ||||
onShow() { | onShow() { | ||||
this.buildingID = uni.getStorageSync('buildingID').id; | this.buildingID = uni.getStorageSync('buildingID').id; | ||||
this.nextPage=1; | |||||
this.recordList=[]; | |||||
}, | }, | ||||
onReachBottom() { | onReachBottom() { | ||||
if(this.totalRecord==this.nextPage){ | if(this.totalRecord==this.nextPage){ | ||||
@@ -186,6 +186,7 @@ | |||||
}, | }, | ||||
onShow() { | onShow() { | ||||
this.buildingID = uni.getStorageSync('buildingID').id; | this.buildingID = uni.getStorageSync('buildingID').id; | ||||
this.nextPage=1; | |||||
this.recordList=[] | this.recordList=[] | ||||
this.getMyCustom() | this.getMyCustom() | ||||
this.getFreeList() | this.getFreeList() | ||||
@@ -174,6 +174,7 @@ | |||||
onShow() { | onShow() { | ||||
this.buildingID = uni.getStorageSync('buildingID').id; | this.buildingID = uni.getStorageSync('buildingID').id; | ||||
this.recordList=[]; | this.recordList=[]; | ||||
this.nextPage=1; | |||||
this.getMyCustom() | this.getMyCustom() | ||||
this.getFreeList(); | this.getFreeList(); | ||||
}, | }, | ||||
@@ -48,6 +48,8 @@ | |||||
}, | }, | ||||
onShow() { | onShow() { | ||||
this.buildingID = uni.getStorageSync('buildingID').id; | this.buildingID = uni.getStorageSync('buildingID').id; | ||||
this.nextPage=1; | |||||
this.recordList=[]; | |||||
}, | }, | ||||
onReachBottom() { | onReachBottom() { | ||||
if(this.totalRecord==this.nextPage){ | if(this.totalRecord==this.nextPage){ | ||||
@@ -131,7 +131,6 @@ | |||||
} | } | ||||
}) | }) | ||||
}, | }, | ||||
}, | }, | ||||
} | } | ||||
</script> | </script> | ||||
@@ -1,11 +1,12 @@ | |||||
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.161:8080/autoSR/api'; // 长龙 | // const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 | ||||
// const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 | // const baseUrl = 'http://192.168.31.128: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'; // 数智正式 | ||||
const install = (Vue, vm) => { | const install = (Vue, vm) => { | ||||
Vue.prototype.$u.http.setConfig({ | Vue.prototype.$u.http.setConfig({ | ||||
baseUrl, | baseUrl, | ||||