wangxiaohua 3 years ago
parent
commit
c382e5b208
4 changed files with 8 additions and 9 deletions
  1. +2
    -2
      config.js
  2. +2
    -4
      pages/index/guide.vue
  3. +2
    -1
      pages/index/index.vue
  4. +2
    -2
      utils/http.js

+ 2
- 2
config.js View File

@@ -6,8 +6,8 @@
// var host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 // var host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙
// var host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 // var host = 'http://192.168.31.134: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://hfju.com/api'; // 数智正式
var host = 'https://zkgj.quhouse.com/api'; // 质控正式
// var host = 'https://hfju.com/api'; // 数智正式




var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式


+ 2
- 4
pages/index/guide.vue View File

@@ -53,10 +53,8 @@
}; };
}, },
onLoad(opts) { onLoad(opts) {
// this.name=opts.loginName ||'';
// let stat=opts.path||'';
this.name="18655732363";
let stat=1;
this.name=opts.loginName ||'';
let stat=opts.path||'';
if(stat==1){ if(stat==1){
this.path=this.pathur3; this.path=this.pathur3;
}else if(stat==2){ }else if(stat==2){


+ 2
- 1
pages/index/index.vue View File

@@ -322,8 +322,8 @@
this.zhixingcenterindex=7; this.zhixingcenterindex=7;
this.initworkThisWeek() this.initworkThisWeek()
}, },
//时间选择
tabtimeclick(i){ tabtimeclick(i){
if(i==7){ if(i==7){
this.totalTimeShow = true; this.totalTimeShow = true;
}else{ }else{
@@ -331,6 +331,7 @@
this.initworkThisWeek() this.initworkThisWeek()
} }
}, },
//获取概览数据
initworkThisWeek() { initworkThisWeek() {
uni.request({ uni.request({
url: config.service.workThisWeek, url: config.service.workThisWeek,


+ 2
- 2
utils/http.js View File

@@ -3,8 +3,8 @@
// const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.169: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://hfju.com/api'; // 数智正式
const baseUrl = 'https://zkgj.quhouse.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({


Loading…
Cancel
Save