Commit 64d6e32b by test

客户公海请求调整

1 parent 2e4b1701
......@@ -32,10 +32,10 @@
</van-cell>
</van-cell-group>
</van-tab> -->
<van-tab :title="'已添加(' + total2 + ')'">
<van-tab :title="'已添加(' + total1 + ')'">
<van-cell-group>
<van-cell>
<template v-for="(unit, key) in list2">
<template v-for="(unit, key) in list1">
<div class="content" :key="key">
<div>{{unit.phone}}</div>
<div>
......@@ -110,16 +110,21 @@
this.list3 = res.rows
})
},
setGoto (text) {
setState({ phone: text }).then(res => {
this.getData()
this.getData1()
wx.invoke('navigateToAddCustomer',
{},
function (res) {
});
})
},
copyFn (e, text) {
const clipboard = new ClipboardJS(e.target, { text: () => text })
clipboard.on('success', e => {
this.setGoto(text)
this.$toast({ type: 'success', message: '复制成功' })
setState({ phone: text }).then(res => {
wx.invoke('navigateToAddCustomer',
{},
function (res) {
})
})
// 释放内存
clipboard.off('error')
clipboard.off('success')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!