Commit 165261f2 authored by godwithdh's avatar godwithdh
parents 5e045a21 57de81f9
...@@ -205,6 +205,7 @@ export default { ...@@ -205,6 +205,7 @@ export default {
if(res && res.length > 0) { if(res && res.length > 0) {
this.list = res; this.list = res;
this.copyUrl = `https://weixin.huansi.net/apiproxy/huansi/service/proxy/1227787695263191040/sendmessage/excel/?iCompanyID=${this.list[0].iCompanyId}&t=${Math.random()}` this.copyUrl = `https://weixin.huansi.net/apiproxy/huansi/service/proxy/1227787695263191040/sendmessage/excel/?iCompanyID=${this.list[0].iCompanyId}&t=${Math.random()}`
new ClipboardJS('.copy');
} }
}, },
routerToChart(item){ routerToChart(item){
...@@ -214,7 +215,7 @@ export default { ...@@ -214,7 +215,7 @@ export default {
async exportExcel(){ async exportExcel(){
this.$vux.loading.show(); this.$vux.loading.show();
setTimeout(async ()=>{ setTimeout(async ()=>{
var clipboard = await new ClipboardJS('.copy'); new ClipboardJS('.copy');
this.$vux.loading.hide(); this.$vux.loading.hide();
this.$vux.confirm.show({ this.$vux.confirm.show({
title:"提示", title:"提示",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment