update 添加银川大屏

This commit is contained in:
zk
2024-05-16 15:51:02 +08:00
parent 1c908b0615
commit adca7ae65e
8 changed files with 620 additions and 8 deletions
+43
View File
@@ -0,0 +1,43 @@
const xian = {
dataType: '',
};
export enum DataType {
xian = '1',
yinChuan = '2',
}
export enum SexType {
male = '2', //男
female = '1', //女
all = '0', //全部
}
export const sexTypeList = [
{
label: '男',
value: SexType.male,
},
{
label: '女',
value: SexType.female,
},
{
label: '全部',
value: SexType.all,
},
];
interface Settings {
dataType: string;
orgCode?: string;
}
export function getSettings(type: string) {
if (type == DataType.xian) {
return { dataType: '1', orgCode: '' } as Settings;
}
if (type == DataType.yinChuan) {
return { dataType: '2', orgCode: 'A01A59' } as Settings;
}
}