Commit 317a9151 by test

添加客户页面唤起

1 parent 6ed7bda4
......@@ -53,6 +53,7 @@
<script>
import ClipboardJS from 'clipboard'
import { getTypeList } from '@/api/seas.js'
export default {
name: 'highSeas-index',
data () {
......@@ -113,10 +114,10 @@
const clipboard = new ClipboardJS(e.target, { text: () => text })
clipboard.on('success', e => {
this.$toast({ type: 'success', message: '复制成功' })
// wx.invoke('navigateToAddCustomer',
// {},
// function (res) {
// });
wx.invoke('navigateToAddCustomer',
{},
function (res) {
})
// 释放内存
clipboard.off('error')
clipboard.off('success')
......@@ -134,23 +135,6 @@
}
},
mounted () {
// wx.agentConfig({
// corpid: '', // 必填,企业微信的corpid,必须与当前登录的企业一致
// agentid: '', // 必填,企业微信的应用id (e.g. 1000247)
// timestamp: '', // 必填,生成签名的时间戳
// nonceStr: '', // 必填,生成签名的随机串
// signature: '',// 必填,签名,见附录-JS-SDK使用权限签名算法
// jsApiList: ['selectExternalContact'], //必填,传入需要使用的接口名称
// success: function (res) {
// // 回调
// },
// fail: function (res) {
// if (res.errMsg.indexOf('function not exist') > -1) {
// alert('版本过低请升级')
// }
// }
// });
},
created () {
this.userId = this.$route.query.userId
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!