|
@@ -145,12 +145,20 @@ export default {
|
|
name: '24小时内',
|
|
name: '24小时内',
|
|
value: 24
|
|
value: 24
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ name: '3天内',
|
|
|
|
+ value: 72
|
|
|
|
+ },
|
|
{
|
|
{
|
|
name: '7天内',
|
|
name: '7天内',
|
|
value: 168
|
|
value: 168
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '30天内',
|
|
|
|
|
|
+ name: '半个月内',
|
|
|
|
+ value: 360
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '一个月内',
|
|
value: 720
|
|
value: 720
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -174,15 +182,15 @@ export default {
|
|
value: 999
|
|
value: 999
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '有效',
|
|
|
|
|
|
+ name: '有效(暂无)',
|
|
value: 1
|
|
value: 1
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '审核中',
|
|
|
|
|
|
+ name: '审核中(暂无)',
|
|
value: 2
|
|
value: 2
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '无效',
|
|
|
|
|
|
+ name: '无效(暂无)',
|
|
value: 3
|
|
value: 3
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -196,23 +204,23 @@ export default {
|
|
value: 999
|
|
value: 999
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '未到访',
|
|
|
|
|
|
+ name: '未到访(暂无)',
|
|
value: 1
|
|
value: 1
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '已到访',
|
|
|
|
|
|
+ name: '已到访(暂无)',
|
|
value: 2
|
|
value: 2
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '已认购',
|
|
|
|
|
|
+ name: '已认购(暂无)',
|
|
value: 3
|
|
value: 3
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '已签约',
|
|
|
|
|
|
+ name: '已签约(暂无)',
|
|
value: 4
|
|
value: 4
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '已结佣',
|
|
|
|
|
|
+ name: '已结佣(暂无)',
|
|
value: 5
|
|
value: 5
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -298,6 +306,41 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
|
|
+ uni.api.estate.apireportgroupcount({page_size: 100}).then(res => {
|
|
|
|
+ let report_state_count = res.report_state_count || []
|
|
|
|
+ let report_step_count = res.report_step_count || []
|
|
|
|
+ let filterData = [...this.filterData]
|
|
|
|
+ report_state_count.forEach((rsc, i) => {
|
|
|
|
+ if (rsc.report_state == 1) {
|
|
|
|
+ filterData[2].submenu[1].name = `有效(${report_state_count[i].total})`
|
|
|
|
+ }
|
|
|
|
+ if (rsc.report_state == 2) {
|
|
|
|
+ filterData[2].submenu[2].name = `审核中(${report_state_count[i].total})`
|
|
|
|
+ }
|
|
|
|
+ if (rsc.report_state == 3) {
|
|
|
|
+ filterData[2].submenu[3].name = `无效(${report_state_count[i].total})`
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ report_step_count.forEach((rsc, i) => {
|
|
|
|
+ if (rsc.report_step == 1) {
|
|
|
|
+ filterData[3].submenu[1].name = `未到访(${report_step_count[i].total})`
|
|
|
|
+ }
|
|
|
|
+ if (rsc.report_step == 2) {
|
|
|
|
+ filterData[3].submenu[2].name = `已到访(${report_step_count[i].total})`
|
|
|
|
+ }
|
|
|
|
+ if (rsc.report_step == 3) {
|
|
|
|
+ filterData[3].submenu[3].name = `已认购(${report_step_count[i].total})`
|
|
|
|
+ }
|
|
|
|
+ if (rsc.report_step == 4) {
|
|
|
|
+ filterData[3].submenu[4].name = `已签约(${report_step_count[i].total})`
|
|
|
|
+ }
|
|
|
|
+ if (rsc.report_step == 5) {
|
|
|
|
+ filterData[3].submenu[5].name = `已结佣(${report_step_count[i].total})`
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ this.filterData = [...filterData]
|
|
|
|
+ })
|
|
|
|
+
|
|
this.getDataList()
|
|
this.getDataList()
|
|
|
|
|
|
this.userInfo2 = uni.getStorageSync('MD_userInfo2')
|
|
this.userInfo2 = uni.getStorageSync('MD_userInfo2')
|