wangxiaohua 3 years ago
parent
commit
25122c6d77
7 changed files with 11 additions and 5 deletions
  1. +2
    -2
      config.js
  2. +2
    -0
      pages/center/consumer/consumerSearch.vue
  3. +1
    -0
      pages/center/consumer/index.vue
  4. +1
    -0
      pages/center/records/index.vue
  5. +2
    -0
      pages/center/records/recordSearch.vue
  6. +0
    -1
      pages/learning/Keywordsearch.vue
  7. +3
    -2
      utils/http.js

+ 2
- 2
config.js View File

@@ -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'; // 数智正式






+ 2
- 0
pages/center/consumer/consumerSearch.vue View File

@@ -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){


+ 1
- 0
pages/center/consumer/index.vue View File

@@ -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()


+ 1
- 0
pages/center/records/index.vue View File

@@ -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();
}, },


+ 2
- 0
pages/center/records/recordSearch.vue View File

@@ -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){


+ 0
- 1
pages/learning/Keywordsearch.vue View File

@@ -131,7 +131,6 @@
} }
}) })
}, },
}, },
} }
</script> </script>


+ 3
- 2
utils/http.js View File

@@ -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,


Loading…
Cancel
Save