Jelajahi Sumber

feat: 数据列,软件锁 统计列 增加排序

outaozhen 4 tahun lalu
induk
melakukan
b9bbe5f763

+ 1 - 0
src/components/RightContent/Book/components/UserList/index.less

@@ -143,6 +143,7 @@
   width: 15px;
   height: 95px;
   background: url('/sideBg.png') no-repeat -14px 0;
+  cursor: pointer;
 }
 .show-short .side-bg {
   background: url('/sideBg.png') no-repeat 0 0;

+ 1 - 0
src/pages/Customer/Company/index.jsx

@@ -329,6 +329,7 @@ const Company = props => {
       title: '软件锁',
       dataIndex: 'longleTotal',
       search: false,
+      sorter: true,
       width: 50
     }
   ]

+ 4 - 8
src/pages/Product/Lock/LockStore/index.jsx

@@ -196,8 +196,7 @@ const LockStore = ({ prodList = [], dispatch, shouldUpdate }) => {
       render: (keyNum, record) => (
         <span
           onClick={() => showDrawer(record.id)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]"
-        >
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
           {keyNum}
         </span>
       )
@@ -289,8 +288,7 @@ const LockStore = ({ prodList = [], dispatch, shouldUpdate }) => {
       render: (text, record) => (
         <span
           onClick={() => showDrawerClient(record.clientId)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]"
-        >
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
           {text}
         </span>
       )
@@ -304,8 +302,7 @@ const LockStore = ({ prodList = [], dispatch, shouldUpdate }) => {
       render: (text, record) => (
         <span
           onClick={() => showCompanyDrawer(record.customerId)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]"
-        >
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
           {text}
         </span>
       )
@@ -317,8 +314,7 @@ const LockStore = ({ prodList = [], dispatch, shouldUpdate }) => {
       render: (text, record) => (
         <span
           onClick={() => showDrawerResponsible(record.responsibleId)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]"
-        >
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
           {text}
         </span>
       )