wangxiaohua 3 anni fa
parent
commit
25122c6d77
7 ha cambiato i file con 11 aggiunte e 5 eliminazioni
  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 Vedi 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.128:8080/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'; // 数智正式




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

@@ -57,6 +57,8 @@
},
onShow() {
this.buildingID = uni.getStorageSync('buildingID').id;
this.nextPage=1;
this.recordList=[];
},
onReachBottom() {
if(this.totalRecord==this.nextPage){


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

@@ -186,6 +186,7 @@
},
onShow() {
this.buildingID = uni.getStorageSync('buildingID').id;
this.nextPage=1;
this.recordList=[]
this.getMyCustom()
this.getFreeList()


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

@@ -174,6 +174,7 @@
onShow() {
this.buildingID = uni.getStorageSync('buildingID').id;
this.recordList=[];
this.nextPage=1;
this.getMyCustom()
this.getFreeList();
},


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

@@ -48,6 +48,8 @@
},
onShow() {
this.buildingID = uni.getStorageSync('buildingID').id;
this.nextPage=1;
this.recordList=[];
},
onReachBottom() {
if(this.totalRecord==this.nextPage){


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

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


+ 3
- 2
utils/http.js Vedi 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.128:8080/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 install = (Vue, vm) => {
Vue.prototype.$u.http.setConfig({
baseUrl,


Caricamento…
Annulla
Salva