Commit 516819e2 by cwq0219

客户列表

1 parent ef4ca397
......@@ -42,7 +42,7 @@
</div>
<div class="d2-container-content">
<d2-table-header>
<span slot="left">客户列表记录{{count.orderCount}}条,其中已升级客户记录{{count.upgradeCount}}条。</span>
<span slot="left">客户列表记录{{count.orderCount}}条。</span>
<auth-button category="Button"></auth-button>
</d2-table-header>
<el-table :data="tableData">
......@@ -168,15 +168,15 @@
<script>
import { getList, exportFile, orderCount } from '@api/customerList'
import { getServiceStore, getParkStore, getGoods } from '@api/editCustomer'
import { getServiceStore, getParkStore } from '@api/editCustomer'
export default {
name: 'index',
data() {
return {
userInfo: this.$store.state.d2admin.user.info,
count: {
orderCount: 0,
upgradeCount: 0
orderCount: 0
// upgradeCount: 0
},
showFormData: [{
label: '客户状态',
......@@ -377,7 +377,7 @@ export default {
},
getOrderCount() {
orderCount({}).then(res => {
this.count = res
this.count.orderCount = res.customerCount
})
},
keyDowmGetList() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!