-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+ {{ scope.row.totalIncome ? scope.row.totalIncome : 0 }}元
+
@@ -34,7 +37,10 @@
-
+
+
+ {{ scope.row.count ? scope.row.count : 0 }}次
+
@@ -54,12 +60,11 @@ const chargeMan = ref
('');
const chargeManOptions = ref([]);
const getSalePersonCharge = () => {
- post(API.Statistics.Base.SalePerson).then((res:any)=>{
-
+ post(API.Statistics.Base.SalePerson).then((res: any) => {
tableData.value = res
})
}
-onMounted(()=>{
+onMounted(() => {
getSalePersonCharge()
})
diff --git a/src/components/statistics/over/Revenue.vue b/src/components/statistics/over/Revenue.vue
index 929c15b..e260a4c 100644
--- a/src/components/statistics/over/Revenue.vue
+++ b/src/components/statistics/over/Revenue.vue
@@ -399,7 +399,6 @@ const initIncomeChart = () => {
date.start = selectIncomeDate.value[0]
date.end = selectIncomeDate.value[1]
}
-
post(API.Statistics.Base.GetPayOverview, {beginTime: date.start, endTime: date.end}).then((res: any) => {
incomeDateList.value = res.dateList
incomeCommonData.value = res.commonPrice
@@ -446,7 +445,6 @@ const changeSelectIncomeDate = (date: any) => {
}
-
const curCountDate = ref(weekAndMonth[0]);
const selectCountDate = ref();
const changeCountDate = (dateItem: any) => {
@@ -466,7 +464,7 @@ const countDateList = ref([
'2024-03-06',
'2024-03-02',
])
-const countDataList = ref([5, 20, 36, 10, 10, 20])
+const countDataList = ref([5, 20, 36, 10, 10, 20])
const changeSelectCountDate = (date: any) => {
curCountDate.value = null
selectCountDate.value = date
@@ -496,8 +494,7 @@ const initCountChart = () => {
data: countDateList.value
},
- yAxis: {
- },
+ yAxis: {},
series: [
{
name: '销量',
@@ -529,7 +526,7 @@ const initCountChart = () => {
&:hover {
color: #fff;
- background: rgba(#4D6DE4,0.5);
+ background: rgba(#4D6DE4, 0.5);
}
}