Commit 0af544bc by 王志慧

fixed

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