dev01 2 years ago
parent
commit
5acfbf5d1c

+ 10 - 2
js/component/manageCenter/customer/operationalData/interviewStatistics/detailedList.jsx

@@ -183,8 +183,16 @@ class DetailedList extends Component{
                     dataIndex: "status",
                     key: "status",
                     width: 40,
-                    render: (text) => (
-                        <Tag color={getClockState(text).color}>{getClockState(text).title}</Tag>
+                    render: (text,record) => (
+                        <div style={{ display: "flex", flexDirection: "row" }}>
+                        <Tag color={getClockState(text).color}>
+                          {getClockState(text).title}
+                        </Tag>
+                        {record.updateStatus === 1 && (
+                          <Tag color="#1E90FF">改</Tag>
+                        )}
+                      </div>
+                        // <Tag color={getClockState(text).color}>{getClockState(text).title}</Tag>
                     )
                 },
                 {

+ 9 - 4
js/component/manageCenter/customer/publicStatistics/detailedList.jsx

@@ -169,10 +169,15 @@ class DetailedList extends Component {
           dataIndex: "status",
           key: "status",
           width: 40,
-          render: (text) => (
-            <Tag color={getClockState(text).color}>
-              {getClockState(text).title}
-            </Tag>
+          render: (text,record) => (
+            <div style={{ display: "flex", flexDirection: "row" }}>
+              <Tag color={getClockState(text).color}>
+                {getClockState(text).title}
+              </Tag>
+              {record.updateStatus == 1 && (
+                <Tag color="#1E90FF">改</Tag>
+              )}
+            </div>
           ),
         },
         {

+ 10 - 4
js/component/manageCenter/customer/publicSummary/index.jsx

@@ -161,10 +161,16 @@ class PublicSummary extends Component {
           dataIndex: "status",
           key: "status",
           width: 40,
-          render: (text) => (
-            <Tag color={getClockState(text).color}>
-              {getClockState(text).title}
-            </Tag>
+          render: (text, record) => (
+            <div style={{ display: "flex", flexDirection: "row" }}>
+              <Tag color={getClockState(text).color}>
+                {getClockState(text).title}
+              </Tag>
+              {record.updateStatus == 1 && <Tag color="#1E90FF">改</Tag>}
+            </div>
+            // <Tag color={getClockState(text).color}>
+            //   {getClockState(text).title}
+            // </Tag>
           ),
         },
         {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "afanti",
-  "version": "1.2.08",
+  "version": "1.2.09",
   "description": "",
   "main": "index.js",
   "scripts": {