diff --git a/pages/index/index.vue b/pages/index/index.vue
index 4ab285d..813d624 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -70,15 +70,15 @@
待处理
-
+
{{operation.receptionCount || 0}}
接待即将结束
-
+
{{operation.accountCount || 0}}
未标顾问
-
+
{{operation.forbiddenCount || 0}}
违禁提醒
@@ -103,10 +103,10 @@
{{equipmentobj.activeNum || 0}}
活跃
-
+
@@ -401,6 +401,9 @@
};
},
components: {},
+ onLoad() {
+ this.sendLog()
+ },
onShow() {
this.getMenu()
@@ -436,9 +439,26 @@
}
this.initworkThisWeek()
this.initrealTimeStatistics()
- this.sendLog()
+ // this.sendLog()
},
methods: {
+ indexStatus(i){
+ if (this.permissions.commonly5 == true) {
+ if(i==0){
+ uni.switchTab({
+ url:"/pages/index/customer"
+ })
+ }else if(i==1){
+ uni.navigateTo({
+ url: '/pages/center/records/index?refresh=refresh&markAdvisor=0'
+ });
+ }else if(i==3){
+ uni.navigateTo({
+ url: '/pages/center/prohibited/index?refresh=refresh'
+ });
+ }
+ }
+ },
sendLog(){
uni.request({
url: config.service.addLog,
diff --git a/utils/domain.js b/utils/domain.js
index e78e51b..2f8fb4a 100644
--- a/utils/domain.js
+++ b/utils/domain.js
@@ -1,8 +1,8 @@
// const base = 'http://39.97.167.65' ;// 测试站
// const base = 'http://8kdmng.natappfree.cc' ;// 佳豪
// const base = 'http://192.168.31.134:9999' ;// 佳豪
-const base = 'http://192.168.31.167:9999' // 长龙
-// const base = 'https://zanyong.hfju.com';// 正式
+// const base = 'http://192.168.31.167:9999' // 长龙
+const base = 'https://zanyong.hfju.com';// 正式
// http.js使用
const baseUrl = `${base}/autoSR/api`;