统计:会员终端统计,处理未知终端情况
parent
2bfc9c3b13
commit
edfd03903f
|
@ -282,6 +282,7 @@ const getMemberSexStatisticsList = async () => {
|
|||
const getMemberTerminalStatisticsList = async () => {
|
||||
const list = await MemberStatisticsApi.getMemberTerminalStatisticsList()
|
||||
const dictDataList = getIntDictOptions(DICT_TYPE.TERMINAL)
|
||||
dictDataList.push({ label: '未知', value: null } as any)
|
||||
terminalChartOptions.series![0].data = dictDataList.map((dictData: DictDataType) => {
|
||||
const userCount = list.find(
|
||||
(item: MemberTerminalStatisticsRespVO) => item.terminal === dictData.value
|
||||
|
|
Loading…
Reference in New Issue