Przeglądaj źródła

fix: 云版管理名称间距的修改+按钮颜色调整

outaozhen 4 lat temu
rodzic
commit
a55e02a717

+ 1 - 5
src/pages/Product/Cloud/components/Detail/TabList.jsx

@@ -92,7 +92,6 @@ const RoadpricingTabList = props => {
         <>
         <>
           <Button
           <Button
             type="primary"
             type="primary"
-            danger
             ghost
             ghost
             size="small"
             size="small"
             className="m-2px"
             className="m-2px"
@@ -114,7 +113,6 @@ const RoadpricingTabList = props => {
             <>
             <>
               <Button
               <Button
                 type="primary"
                 type="primary"
-                danger
                 ghost
                 ghost
                 size="small"
                 size="small"
                 className="m-2px"
                 className="m-2px"
@@ -138,7 +136,6 @@ const RoadpricingTabList = props => {
             <>
             <>
               <Button
               <Button
                 type="primary"
                 type="primary"
-                danger
                 ghost
                 ghost
                 size="small"
                 size="small"
                 className="m-2px"
                 className="m-2px"
@@ -159,6 +156,7 @@ const RoadpricingTabList = props => {
               <Button
               <Button
                 type="primary"
                 type="primary"
                 ghost
                 ghost
+                danger
                 size="small"
                 size="small"
                 onClick={() =>
                 onClick={() =>
                   setRoadPricingUpgrade({
                   setRoadPricingUpgrade({
@@ -181,7 +179,6 @@ const RoadpricingTabList = props => {
             <>
             <>
               <Button
               <Button
                 type="primary"
                 type="primary"
-                danger
                 ghost
                 ghost
                 size="small"
                 size="small"
                 className="m-2px"
                 className="m-2px"
@@ -201,7 +198,6 @@ const RoadpricingTabList = props => {
               </Button>
               </Button>
               <Button
               <Button
                 type="primary"
                 type="primary"
-                danger
                 ghost
                 ghost
                 size="small"
                 size="small"
                 className="m-2px"
                 className="m-2px"

+ 12 - 14
src/pages/Product/Cloud/index.jsx

@@ -79,8 +79,7 @@ const Cloud = () => {
       render: (text, record) => (
       render: (text, record) => (
         <span
         <span
           onClick={() => showDrawerRoadpricing(record.ssoId)}
           onClick={() => showDrawerRoadpricing(record.ssoId)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]"
-        >
+          className="text-primary cursor-pointer hover:text-[#967bbd]">
           {text}
           {text}
         </span>
         </span>
       )
       )
@@ -116,11 +115,19 @@ const Cloud = () => {
       width: 100
       width: 100
     },
     },
     {
     {
-      title: '公司',
+      title: 'CLD客户',
+      dataIndex: 'cld',
+      key: 'cld',
+      ellipsis: true,
+      width: 100,
+      renderText: cld => cld.clientName
+    },
+    {
+      title: 'CLD单位',
       dataIndex: 'customerName',
       dataIndex: 'customerName',
       key: 'customerName',
       key: 'customerName',
       ellipsis: true,
       ellipsis: true,
-      width: 50,
+      width: 100,
       renderText: (_, record) => record.cld?.customerName
       renderText: (_, record) => record.cld?.customerName
     },
     },
     {
     {
@@ -153,8 +160,7 @@ const Cloud = () => {
                       )
                       )
                   )}
                   )}
                 </div>
                 </div>
-              }
-            >
+              }>
               {record.all_online_times}
               {record.all_online_times}
             </Tooltip>
             </Tooltip>
           )
           )
@@ -163,14 +169,6 @@ const Cloud = () => {
       }
       }
     },
     },
     {
     {
-      title: 'CLD客户',
-      dataIndex: 'cld',
-      key: 'cld',
-      ellipsis: true,
-      width: 50,
-      renderText: cld => cld.clientName
-    },
-    {
       title: '最近使用',
       title: '最近使用',
       dataIndex: 'latestUsed',
       dataIndex: 'latestUsed',
       key: 'latestUsed',
       key: 'latestUsed',