From beb003f8e8cd5ae31a0ac55d0624ed2b2ad862bb Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 14 八月 2025 11:21:49 +0800
Subject: [PATCH] Merge branch 'devlop' of http://47.97.1.152:5880/r/wms-master into devlop

---
 rsf-admin/src/page/dashboard/NbCard.jsx |  102 ++++++++++++++++++++++++++-------------------------
 1 files changed, 52 insertions(+), 50 deletions(-)

diff --git a/rsf-admin/src/page/dashboard/NbCard.jsx b/rsf-admin/src/page/dashboard/NbCard.jsx
index eb22c20..4701aef 100644
--- a/rsf-admin/src/page/dashboard/NbCard.jsx
+++ b/rsf-admin/src/page/dashboard/NbCard.jsx
@@ -37,21 +37,22 @@
     const newList = list.concat(list);
 
     return (
-        <CardWithIcon
-            icon={CommentIcon}
-            title={translate('pos.dashboard.pending_reviews')}
-            subtitle={total}
-            {...rest}
-        >
-            <List sx={{ display }}>
-                {newList?.map((record) => (
-                    <ListItem key={record.id} disablePadding>
-                        <ListItemButton
-                            alignItems="flex-start"
-                            component={Link}
-                            to={`/task/${record.id}`}
-                        >
-                            {/* <ListItemAvatar>
+        <>
+            <CardWithIcon
+                icon={CommentIcon}
+                title={translate('page.dashboard.pending_reviews')}
+                subtitle={total}
+                {...rest}
+            >
+                <List sx={{ display }}>
+                    {newList?.map((record) => (
+                        <ListItem key={record.id} disablePadding>
+                            <ListItemButton
+                                alignItems="flex-start"
+                                component={Link}
+                                to={`/task/${record.id}`}
+                            >
+                                {/* <ListItemAvatar>
                                 <Avatar
                                     sx={{
                                         // bgcolor: 'primary.main',
@@ -66,41 +67,42 @@
                                 </Avatar>
                             </ListItemAvatar> */}
 
-                            <ListItemText
-                                // primary={
-                                //     <StarRatingField
-                                //         record={record}
-                                //         source="rating"
-                                //     />
-                                // }
-                                primary={record.date + record.date}
-                                secondary={record.total}
-                                sx={{
-                                    overflowY: 'hidden',
-                                    height: '3em',
-                                    display: '-webkit-box',
-                                    WebkitLineClamp: 2,
-                                    WebkitBoxOrient: 'vertical',
-                                    paddingRight: 0,
-                                }}
-                            />
-                        </ListItemButton>
-                    </ListItem>
-                ))}
-            </List>
-            <Box flexGrow={1}>&nbsp;</Box>
-            <Button
-                sx={{ borderRadius: 0 }}
-                component={Link}
-                to="/task"
-                size="small"
-                color="primary"
-            >
-                <Box p={1} sx={{ color: 'primary.main' }}>
-                    {translate('pos.dashboard.all_reviews')}
-                </Box>
-            </Button>
-        </CardWithIcon>
+                                <ListItemText
+                                    // primary={
+                                    //     <StarRatingField
+                                    //         record={record}
+                                    //         source="rating"
+                                    //     />
+                                    // }
+                                    primary={record.date + record.date}
+                                    secondary={record.total}
+                                    sx={{
+                                        overflowY: 'hidden',
+                                        height: '3em',
+                                        display: '-webkit-box',
+                                        WebkitLineClamp: 2,
+                                        WebkitBoxOrient: 'vertical',
+                                        paddingRight: 0,
+                                    }}
+                                />
+                            </ListItemButton>
+                        </ListItem>
+                    ))}
+                </List>
+                <Box flexGrow={1}>&nbsp;</Box>
+                <Button
+                    sx={{ borderRadius: 0 }}
+                    component={Link}
+                    to="/task"
+                    size="small"
+                    color="primary"
+                >
+                    <Box p={1} sx={{ color: 'primary.main' }}>
+                        {translate('pos.dashboard.all_reviews')}
+                    </Box>
+                </Button>
+            </CardWithIcon>
+        </>
     );
 };
 

--
Gitblit v1.9.1