Commit 0af544bc by 王志慧

fixed

1 parent 22f925e9
......@@ -6,7 +6,7 @@
</div>
<div class="task-ct">
<div class="ct-title">跟进内容</div>
<div>您有{{params.noticeContent}}位客户已进入可报价3天,请及时进行报价跟进。</div>
<div>{{ params.noticeContent }}</div>
</div>
<div class="task-target">
<h3>营销对象</h3>
......@@ -41,6 +41,7 @@
</template>
<script>
import { sopApi } from '@/api'
import { Toast } from 'vant'
export default {
data() {
return {
......@@ -55,13 +56,15 @@ export default {
this.params = this.getParams()
this.getNoticeCustomerList()
},
mounted() {
// this.initWx()
},
methods: {
initWx() {
window.$wx = wxConfig
window.$wx.init(['setClipboardData']).then(() => {})
copy(text) {
let input = document.createElement('input')
input.value = text
document.body.appendChild(input)
input.select()
input.setSelectionRange(0, input.value.length), document.execCommand('Copy')
document.body.removeChild(input)
Toast('复制成功')
},
getNoticeCustomerList() {
let { notebatchNo, batchNo, nodeId, userId } = this.params,
......@@ -75,10 +78,6 @@ export default {
this.targetList = res
})
},
//文案拷贝
copy(val) {
this.setClipboardData(val) //复制
},
makePhone(phoneNumber) {
this.makePhoneCall(phoneNumber)
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!