diff --git a/pages.json b/pages.json
index 5ef9784..604cf58 100644
--- a/pages.json
+++ b/pages.json
@@ -618,6 +618,14 @@
"navigationBarBackgroundColor": "#292929",
"navigationBarTextStyle": "white"
}
+ },
+ {
+ "path": "pages/market/data/statistics",
+ "style": {
+ "navigationBarTitleText": "市场数据统计",
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
+ }
}
diff --git a/pages/market/data/index.vue b/pages/market/data/index.vue
index 0d79bbd..35a5299 100644
--- a/pages/market/data/index.vue
+++ b/pages/market/data/index.vue
@@ -4,6 +4,9 @@
数据
+
+ 统计表格
+
@@ -334,6 +337,13 @@ export default {
this.init()
},
methods: {
+ // 跳转到统计页面
+ goToStatistics() {
+ uni.navigateTo({
+ url: '/pages/market/data/statistics'
+ });
+ },
+
async init(){
await this.getUserInfo()
await this.getPerformance()
@@ -604,6 +614,7 @@ export default {
justify-content: center;
align-items: center;
background: #292929;
+ position: relative;
.title{
padding: 40rpx 0rpx;
@@ -615,6 +626,16 @@ export default {
font-size: 30rpx;
color: #fff;
}
+
+ .statistics-btn {
+ position: absolute;
+ right: 20rpx;
+ background-color: #29D3B4;
+ padding: 10rpx 20rpx;
+ border-radius: 30rpx;
+ font-size: 24rpx;
+ color: #fff;
+ }
}
diff --git a/pages/market/data/statistics.vue b/pages/market/data/statistics.vue
new file mode 100644
index 0000000..b37b0e9
--- /dev/null
+++ b/pages/market/data/statistics.vue
@@ -0,0 +1,340 @@
+
+
+
+
+
+ 市场数据统计
+
+
+
+
+
+ 统计时间:
+
+ {{currentDate}}
+
+
+
+
+
+
+ 市场人员资源量统计
+
+
+
+
+ {{item.name}}
+ {{item.weekCount}}
+ {{item.monthCount}}
+ {{item.yearCount}}
+
+
+
+
+
+
+
+ {{currentMonth}}月 - 年度校区人员资源渠道量
+
+
+
+
+ {{channel.name}}
+
+ {{channel.schools[school.id] || 0}}
+
+ {{channel.total}}
+
+
+
+
+
+
+
+ {{currentMonth}}月 - 年度市场人员资源渠道统计
+
+
+
+
+ {{channel.name}}
+
+ {{channel.staffs[staff.id] || 0}}
+
+ {{channel.total}}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/market/reimbursement/detail.vue b/pages/market/reimbursement/detail.vue
index dcd28b7..62f14af 100644
--- a/pages/market/reimbursement/detail.vue
+++ b/pages/market/reimbursement/detail.vue
@@ -22,7 +22,7 @@
状态
- {{ statusMap[detail.status] || detail.status }}
+ {{ statusMap[detail.status] || detail.status }}
创建时间
diff --git a/pages/market/reimbursement/list.vue b/pages/market/reimbursement/list.vue
index bec241c..bfc9628 100644
--- a/pages/market/reimbursement/list.vue
+++ b/pages/market/reimbursement/list.vue
@@ -32,7 +32,7 @@
状态:
- {{ statusMap[item.status] || item.status }}
+ {{ statusMap[item.status] || item.status }}
创建时间: