Commit fa347b73 by xinla

新增客户导出功能

1 parent 656a4e8d
......@@ -319,3 +319,12 @@ export function chatList(params) {
params,
})
}
// 客户数据导出
export function exportData(params) {
return request({
url: service + '/export',
params,
responseType: 'blob',
})
}
......@@ -425,6 +425,10 @@ export default {
this.queryTag = []
this.query.tagIds = ''
},
// 导出客户
exportData() {
this.$exportData(api.exportData.bind(null, this.query), '导出客户.xlsx')
},
},
}
</script>
......@@ -505,6 +509,8 @@ export default {
共
<span class="g-color">{{ noRepeatCustomerTotal }}</span>
位客户(去重)
<el-button type="primary" @click="exportData">导出客户</el-button>
</div>
<!-- 共
<span class="g-color">{{ total }}</span> 位客户,实际客户
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!