Commit edfd0390 by owen

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

parent 2bfc9c3b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment