constant.ts
893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-03-07 16:09:51
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2023-05-12 19:06:20
* @FilePath: \achievements-system-front\src\utils\constant.ts
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
interface IItem {
id: number | string;
name: string;
[key: string]: any;
}
// 性别
const Gender: IItem[] = [
{
id: "0",
name: "男",
},
{
id: "1",
name: "女",
},
];
// 类型
const TargetType: IItem[] = [
{
id: 1,
name: "前端员工",
},
{
id: 2,
name: "前端经理",
},
];
// 类型
const TargetTypeFilter: IItem[] = [
{
id: '',
name: "全部",
},
...TargetType
];
export { Gender, TargetType,TargetTypeFilter };