From bf48fcfc978717adef75b75e702c32e304ec2417 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 24 七月 2024 11:42:05 +0800
Subject: [PATCH] ''
---
wechat_staff/pages/kefu/select.js | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/wechat_staff/pages/kefu/select.js b/wechat_staff/pages/kefu/select.js
index ece970c..8c8cfdf 100644
--- a/wechat_staff/pages/kefu/select.js
+++ b/wechat_staff/pages/kefu/select.js
@@ -1,4 +1,6 @@
-import { getCustomerList } from '../../api/index'
+import { getCustomerList, getCrmAuthUrl } from '../../api/index'
+const { HYEventBus } = require('hy-event-store')
+const eventBus = new HYEventBus()
Page({
/**
@@ -62,11 +64,14 @@
}
})
},
- jumpClient() {
-
- wx.switchTab({
- url: '/pages/client/index',
- })
+ jumpClient() {
+ getCrmAuthUrl({type:1}).then(res => {
+ console.log(res.data)
+ this.setData({ url: res.data })
+ wx.navigateTo({
+ url: '/pages/webView/index?link=' + res.data,
+ })
+ })
},
handleSub() {
console.log('鐐瑰嚮楗夸簡');
--
Gitblit v1.9.3