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('点击饿了');