|
@@ -74,13 +74,13 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="来单量" align="center" prop="orderVolume">
|
|
<el-table-column label="来单量" align="center" prop="orderVolume">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
- <el-link v-if="row.orderVolume > 0">{{ row.orderVolume }}</el-link>
|
|
|
|
|
|
+ <el-link v-if="row.orderVolume > 0" @click="openOrderDialog(row.id)">{{ row.orderVolume }}</el-link>
|
|
<span v-else>{{ row.orderVolume }}</span>
|
|
<span v-else>{{ row.orderVolume }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="评估收入" align="center" prop="estimatedRevenue">
|
|
<el-table-column label="评估收入" align="center" prop="estimatedRevenue">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
- <el-link v-if="row.estimatedRevenue > 0">{{ row.estimatedRevenue }}</el-link>
|
|
|
|
|
|
+ <el-link v-if="row.estimatedRevenue > 0" @click="openIncomeDialog(row.id)">{{ row.estimatedRevenue }}</el-link>
|
|
<span v-else>{{ row.estimatedRevenue }}</span>
|
|
<span v-else>{{ row.estimatedRevenue }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -688,7 +688,7 @@ export default {
|
|
this.orderListQuery.createdStartTime = this.selectDateOrder[0] + ' 00:00:00';
|
|
this.orderListQuery.createdStartTime = this.selectDateOrder[0] + ' 00:00:00';
|
|
this.orderListQuery.createdEndTime = this.selectDateOrder[1] + ' 23:59:59';
|
|
this.orderListQuery.createdEndTime = this.selectDateOrder[1] + ' 23:59:59';
|
|
}
|
|
}
|
|
- this.$api.customerLinkman.getCustomerPersonalOrderPage(this.orderListQuery).then((res) => {
|
|
|
|
|
|
+ this.$api.customerLinkman.getCustomerLinkmanOrderPage(this.orderListQuery).then((res) => {
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
this.orderData = res.data;
|
|
this.orderData = res.data;
|
|
}
|
|
}
|
|
@@ -736,7 +736,7 @@ export default {
|
|
this.incomeListQuery.collectionStartTime = this.selectDateIncome[0] + ' 00:00:00';
|
|
this.incomeListQuery.collectionStartTime = this.selectDateIncome[0] + ' 00:00:00';
|
|
this.incomeListQuery.collectionEndTime = this.selectDateIncome[1] + ' 23:59:59';
|
|
this.incomeListQuery.collectionEndTime = this.selectDateIncome[1] + ' 23:59:59';
|
|
}
|
|
}
|
|
- this.$api.customerLinkman.getCustomerPersonalIncomePage(this.incomeListQuery).then((res) => {
|
|
|
|
|
|
+ this.$api.customerLinkman.getCustomerLinkmanIncomePage(this.incomeListQuery).then((res) => {
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
this.incomeData = res.data;
|
|
this.incomeData = res.data;
|
|
}
|
|
}
|