You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.4 KiB
TypeScript

import { dayjs, getRandomIntBetween } from "./utils";
/** 数据统计 */
const tableData = Array.from({ length: 30 }).map((_, index) => {
return {
id: index + 1,
requiredNumber: getRandomIntBetween(13500, 19999),
questionNumber: getRandomIntBetween(12600, 16999),
resolveNumber: getRandomIntBetween(13500, 17999),
satisfaction: getRandomIntBetween(95, 100),
date: dayjs().subtract(index, "day").format("YYYY-MM-DD")
};
});
const processList = [
{
label: "全量报送",
value: 24,
bgImage: "/src/assets/home/quanliangbaosong@2x.png"
},
{
label: "待审批",
value: 24,
bgImage: "/src/assets/home/daishenpi@2x.png"
},
{
label: "审批通过",
value: 24,
bgImage: "/src/assets/home/shenpitongguo@2x.png"
},
{
label: "驳回",
value: 0,
bgImage: "/src/assets/home/bohui@2x.png"
},
{
label: "失效",
value: 24,
bgImage: "/src/assets/home/shixiao@2x.png"
}
];
const commonList = [
{
label: "报送知识",
bgImage: "/src/assets/home/baosongguanli@2x.png"
},
{
label: "全量知识",
bgImage: "/src/assets/home/quanliangzhishi@2x.png"
},
{
label: "知识审批",
bgImage: "/src/assets/home/minganci@2x.png"
},
{
label: "账号管理",
bgImage: "/src/assets/home/shenpi@2x.png"
}
];
export { tableData, processList, commonList };