Sfoglia il codice sorgente

fix: 侧栏UI调整+仪表盘服务提醒客户增加单位详情

outaozhen 4 anni fa
parent
commit
20108f980d

BIN
public/sideBg-current.png


BIN
public/sideBg.png


+ 16 - 6
src/pages/Workbench/Dashboard/components/ReminderList.jsx

@@ -75,13 +75,25 @@ const ReminderList = props => {
       render: (clientName, record) => (
         <span
           onClick={() => showDrawer(record.id)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]"
-        >
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
           {clientName}
         </span>
       )
     },
     {
+      title: '单位名称',
+      dataIndex: 'companyName',
+      width: '15%',
+      ellipsis: true,
+      render: (companyName, record) => (
+        <span
+          onClick={() => showDrawerComapny(record.companyId)}
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
+          {companyName}
+        </span>
+      )
+    },
+    {
       title: '地区',
       dataIndex: 'districtName',
       ellipsis: true,
@@ -128,8 +140,7 @@ const ReminderList = props => {
       render: (companyName, record) => (
         <span
           onClick={() => showDrawerComapny(record.id)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]"
-        >
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
           {companyName}
         </span>
       )
@@ -181,8 +192,7 @@ const ReminderList = props => {
       render: (text, record) => (
         <span
           onClick={() => showDrawerBusiness(record.id)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]"
-        >
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
           {text}
         </span>
       )