diff --git a/components/foot-tab.vue b/components/foot-tab.vue
index 4c53f22..da5b0b4 100644
--- a/components/foot-tab.vue
+++ b/components/foot-tab.vue
@@ -14,7 +14,7 @@
-
+
@@ -24,7 +24,7 @@
{{itemt}}
+ v-for="(itemt,index) in titleList" :key="index">{{itemt}}
@@ -129,14 +129,13 @@
}
break;
case 3:
- if(!this.jieDuan){
- let isAuth = this.$toolAll.tools.returnAuth()
- if(!isAuth){
- // uni.reLaunch({url:'/pages/tabbar/shop/shop'})
- this.isShowT = true
- } else this.jieDuan = true
- }
- // uni.navigateTo({url:'/pages/tabbar/shop/shop'})
+ // if(!this.jieDuan){
+ // let isAuth = this.$toolAll.tools.returnAuth()
+ // if(!isAuth){
+ // // uni.reLaunch({url:'/pages/tabbar/shop/shop'})
+ // this.isShowT = true
+ // } else this.jieDuan = true
+ // }
break;
case 4:
if(!this.jieDuan){
diff --git a/jsFile/requst.js b/jsFile/requst.js
index 695af5f..bfab135 100644
--- a/jsFile/requst.js
+++ b/jsFile/requst.js
@@ -124,7 +124,7 @@ const uploadFile = (url, options) => {
},
success: res => {
if (res.statusCode == 200) {
- let temp = JSON.parse(res.data)
+ let temp = JSON.parse(res.data);
if (temp.code == 0) {
resolve(temp)
} else {
diff --git a/jsFile/tools.js b/jsFile/tools.js
index 29cf20f..f23c4bf 100644
--- a/jsFile/tools.js
+++ b/jsFile/tools.js
@@ -281,7 +281,7 @@ const tools = {
language:obj.language
}
uni.request({
- url: `https://hengmei1.scdxtc.cn/api/user/login`,
+ url: `https://hm.hmzfyy.cn/api/user/login`,
method: 'post',
data: params,
header: {
diff --git a/pages/tabbar/my/my.vue b/pages/tabbar/my/my.vue
index 65d6cff..97b01a2 100644
--- a/pages/tabbar/my/my.vue
+++ b/pages/tabbar/my/my.vue
@@ -279,6 +279,10 @@
this.is_doctor = res.data.is_doctor//是否为医生,0否,1是
this.is_servicer = res.data.is_servicer//是否为客服,0否,1是
this.is_staff = res.data.is_staff//是否为普通员工,0否,1是
+ let num = res.data.rules.indexOf('customer-allot');
+ if(num!=-1){
+ uni.setStorageSync('customer-allot',true);
+ } else uni.setStorageSync('customer-allot','');
if(res.data.is_staff==1){
if(this.toolsList.length!=8){
this.toolsList.push({src:'/static/public/aboutus.png',title:'客服二维码',num:''})
diff --git a/pagesB/customerList/customerList.vue b/pagesB/customerList/customerList.vue
index f0158e6..689923b 100644
--- a/pagesB/customerList/customerList.vue
+++ b/pagesB/customerList/customerList.vue
@@ -35,7 +35,9 @@
{{item.qudao}}
- 分配客服
+
+ 分配客服
+
详细来源:{{item.source_detail}}
@@ -73,7 +75,8 @@
size:10,
total:'',
isZanw:true,
- ntype:''
+ ntype:'',
+ isAllot:uni.getStorageSync('customer-allot')
}
},
onPageScroll(e) {
@@ -153,7 +156,7 @@
name:item.nickname,
come:item.channel_text,
phone:item.mobile,
- customer:item.service[0],
+ customer:item.service_name,
time:item.created_at,
qudao:item.tag[0],
service:item.service,