Переглянути джерело

feat: 调整标段列表列显示文案

lanjianrong 4 роки тому
батько
коміт
ca794d91cc

+ 1 - 1
src/pages/Quality/Content/Info/Summary/index.tsx

@@ -64,7 +64,7 @@ const Summary: React.FC<{}> = () => {
         value: state.rectifyTotal
       },
       {
-        type: '已整改',
+        type: '已完成',
         value: state.rectifyedTotal
       }
     ]

+ 2 - 2
src/pages/Quality/List/index.tsx

@@ -69,7 +69,7 @@ const List: React.FC<RouteComponentProps> = () => {
       key: 'qualityTotal'
     },
     {
-      title: '待整改',
+      title: '审批中',
       dataIndex: 'qualityRectification',
       key: 'qualityRectification'
     },
@@ -79,7 +79,7 @@ const List: React.FC<RouteComponentProps> = () => {
       key: 'qualityRectificationIn'
     },
     {
-      title: '已整改',
+      title: '已完成',
       dataIndex: 'qualityRectificationFinish',
       key: 'qualityRectificationFinish'
     }

+ 1 - 1
src/pages/Safe/Content/Info/Summary/index.tsx

@@ -64,7 +64,7 @@ const Summary: React.FC<{}> = () => {
         value: state.rectifyTotal
       },
       {
-        type: '已整改',
+        type: '已完成',
         value: state.rectifyedTotal
       }
     ]

+ 3 - 3
src/pages/Safe/List/index.tsx

@@ -65,10 +65,10 @@ const List: React.FC<RouteComponentProps> = () => {
     {
       title: '总数',
       dataIndex: 'safeTotal',
-      key: 'safeTotal'
+      key: 'safeTotal',
     },
     {
-      title: '待整改',
+      title: '审批中',
       dataIndex: 'safeRectification',
       key: 'safeRectification'
     },
@@ -78,7 +78,7 @@ const List: React.FC<RouteComponentProps> = () => {
       key: 'safeRectificationIn'
     },
     {
-      title: '已整改',
+      title: '已完成',
       dataIndex: 'safeRectificationFinish',
       key: 'safeRectificationFinish'
     }

+ 2 - 2
src/utils/common/constStatus.ts

@@ -29,11 +29,11 @@ const safeStatus = {
   },
   2: {
     className: 'pi-circle-yellow',
-    text: '整改'
+    text: '整改'
   },
   3: {
     className: 'pi-circle-yellow',
-    text: '复查'
+    text: '复查'
   },
   4: {
     className: 'pi-circle-green',