|
@@ -60,9 +60,10 @@ const Dashboard = ({ dispatch, departments = [] }) => {
|
|
|
dispatchModal('M_REMINDER_LIST', { dataType, reminderCyclical })
|
|
dispatchModal('M_REMINDER_LIST', { dataType, reminderCyclical })
|
|
|
}
|
|
}
|
|
|
// 展示卡片详情
|
|
// 展示卡片详情
|
|
|
- const handleRatioCard = dataType => {
|
|
|
|
|
|
|
+ const handleRatioCard = (dataType, bodyStyleName) => {
|
|
|
dispatchModal('M_RATIO_PANELS', {
|
|
dispatchModal('M_RATIO_PANELS', {
|
|
|
dataType,
|
|
dataType,
|
|
|
|
|
+ bodyStyle: bodyStyleName,
|
|
|
staffIds: state.params.staffIds,
|
|
staffIds: state.params.staffIds,
|
|
|
retioCyclical: state.params.cyclical,
|
|
retioCyclical: state.params.cyclical,
|
|
|
dataPermission: state.params.dataPermission
|
|
dataPermission: state.params.dataPermission
|
|
@@ -519,7 +520,9 @@ const Dashboard = ({ dispatch, departments = [] }) => {
|
|
|
{state.loading ? (
|
|
{state.loading ? (
|
|
|
<Skeleton active avatar />
|
|
<Skeleton active avatar />
|
|
|
) : (
|
|
) : (
|
|
|
- <Row onClick={() => handleRatioCard(CardTypeMap.SERVICE)} className="cursor-pointer">
|
|
|
|
|
|
|
+ <Row
|
|
|
|
|
+ onClick={() => handleRatioCard(CardTypeMap.SERVICE, { paddingTop: 0 })}
|
|
|
|
|
+ className="cursor-pointer">
|
|
|
<Col span={16}>
|
|
<Col span={16}>
|
|
|
<div className="flex items-center">
|
|
<div className="flex items-center">
|
|
|
<div className="w-12 h-12 rounded-1/2 bg-hex-0c7cd5 flex items-center justify-center">
|
|
<div className="w-12 h-12 rounded-1/2 bg-hex-0c7cd5 flex items-center justify-center">
|