9.28 1、异常告警优化 2、大屏,评审中项目,供应商名称加密 3、评委会设置,评标室预约优化

This commit is contained in:
jl-zhoujl2
2022-09-28 14:51:23 +08:00
parent 2f1be12fa5
commit 8e23c61ea2
12 changed files with 1312 additions and 952 deletions

View File

@ -37,13 +37,13 @@ export const disabledDateTime = () => ({
disabledHours: () => [...range(0, 7), ...range(19, 24)],
});
//不可选小时(额外不可选)
export const otherDisabledDateTime = (current: any, disabledMap: any) => {
export const otherDisabledDateTime = (current: any, disabledMap: any, type: string) => {
let otherHour: any[] = range(0, 24);
if (current) {
otherHour = [];
if (Object.keys(disabledMap).length != 0) {
const time = moment(current).format("yyyy-MM-DD");
disabledMap[time] && (otherHour = [...disabledMap[time]]);
disabledMap[time] && (otherHour = [...disabledMap[time][type]]);
}
}
return ({