统计:会员终端统计,处理未知终端情况

pull/273/head
owen 2023-10-16 14:26:04 +08:00
parent 2bfc9c3b13
commit edfd03903f
1 changed files with 1 additions and 0 deletions

View File

@ -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