dev01 2 years ago
parent
commit
60b72c0256

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

@@ -169,7 +169,7 @@ class DetailedList extends Component {
           dataIndex: "status",
           key: "status",
           width: 40,
-          render: (text,record) => (
+          render: (text, record) => (
             <div style={{ display: "flex", flexDirection: "row" }}>
               <Tag color={getClockState(text).color}>
                 {getClockState(text).title}
@@ -197,10 +197,10 @@ class DetailedList extends Component {
             text === 2
               ? "行政公出"
               : text === 1
-              ? "技术公出"
-              : text === 0
-              ? "业务公出"
-              : "",
+                ? "技术公出"
+                : text === 0
+                  ? "业务公出"
+                  : "",
         },
         {
           title: "公出目标",
@@ -572,7 +572,7 @@ class DetailedList extends Component {
           message.warning(data.error[0].message);
         }
       }.bind(this),
-    }).always(function () {}.bind(this));
+    }).always(function () { }.bind(this));
   }
   supervisor1(e) {
     $.ajax({
@@ -592,7 +592,7 @@ class DetailedList extends Component {
           message.warning(data.error[0].message);
         }
       }.bind(this),
-    }).always(function () {}.bind(this));
+    }).always(function () { }.bind(this));
   }
 
   httpChange(e) {
@@ -673,7 +673,7 @@ class DetailedList extends Component {
           message.warning(data.error[0].message);
         }
       }.bind(this),
-    }).always(function () {}.bind(this));
+    }).always(function () { }.bind(this));
   }
 
   blurCustomerChange(e) {
@@ -974,7 +974,7 @@ class DetailedList extends Component {
                 <Table
                   bordered
                   size="middle"
-                  scroll={{ x: "130%", y: 0 }}
+                  scroll={{ x: "130%", y: "100%" }}
                   columns={
                     this.state.changeList.length > 0
                       ? this.state.changeList