Compare commits
	
		
			No commits in common. "d73ad11aaa9e58d3d05031029c0d26c0f24d3fb2" and "2c3cad984e617bfc34479f2ead8ad2abf9410ca6" have entirely different histories.
		
	
	
		
			d73ad11aaa
			...
			2c3cad984e
		
	
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -6,7 +6,6 @@ import {
 | 
			
		||||
  extendInclude,
 | 
			
		||||
  getIsPC,
 | 
			
		||||
  openNotificationMobile,
 | 
			
		||||
  getNearMonth
 | 
			
		||||
} from "../../../utils/common";
 | 
			
		||||
import {
 | 
			
		||||
  ChartBarShow_Vertical,
 | 
			
		||||
@ -78,548 +77,12 @@ class BI051BSCompanyYear extends React.Component {
 | 
			
		||||
  loadData = () => {
 | 
			
		||||
    var orgId = this.props.login ? this.props.login.OrgId : "";
 | 
			
		||||
    let json = initFilter(orgId);
 | 
			
		||||
    // this.props.dispatch({
 | 
			
		||||
    //   type: "app/getDataByPost",
 | 
			
		||||
    //   payload: json,
 | 
			
		||||
    //   url: "BI/BISafeYear/BISafeYearShow",
 | 
			
		||||
    //   onComplete: (data) => {
 | 
			
		||||
    //     if (data) {
 | 
			
		||||
    let data = {
 | 
			
		||||
      "listSafeCheckYear": [
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "YEAR": 2025,
 | 
			
		||||
              "LEVEL": 3,
 | 
			
		||||
              "NAME": "公司级",
 | 
			
		||||
              "ROW_NO": 0,
 | 
			
		||||
              "COUNTJANUARY": 1,
 | 
			
		||||
              "COUNTFEBRUARY": 0,
 | 
			
		||||
              "COUNTMARCH": 0,
 | 
			
		||||
              "COUNTAPRIL": 0,
 | 
			
		||||
              "COUNTMAY": 0,
 | 
			
		||||
              "COUNTJUNE": 0,
 | 
			
		||||
              "COUNTJULY": 0,
 | 
			
		||||
              "COUNTAUGUST": 0,
 | 
			
		||||
              "COUNTSEPTEMBER": 0,
 | 
			
		||||
              "COUNTOCTOBER": 0,
 | 
			
		||||
              "COUNTNOVEMBER": 0,
 | 
			
		||||
              "COUNTDECEMBER": 0,
 | 
			
		||||
              "COUNTTOTAL": 1,
 | 
			
		||||
              "ID": "d398bd0b-1cde-4f19-abae-a37dc5f88d93",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2025-01-01 10:23:32",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": null,
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "YEAR": 2025,
 | 
			
		||||
              "LEVEL": 0,
 | 
			
		||||
              "NAME": "部门级",
 | 
			
		||||
              "ROW_NO": 1,
 | 
			
		||||
              "COUNTJANUARY": 8,
 | 
			
		||||
              "COUNTFEBRUARY": 0,
 | 
			
		||||
              "COUNTMARCH": 0,
 | 
			
		||||
              "COUNTAPRIL": 0,
 | 
			
		||||
              "COUNTMAY": 0,
 | 
			
		||||
              "COUNTJUNE": 0,
 | 
			
		||||
              "COUNTJULY": 0,
 | 
			
		||||
              "COUNTAUGUST": 0,
 | 
			
		||||
              "COUNTSEPTEMBER": 0,
 | 
			
		||||
              "COUNTOCTOBER": 0,
 | 
			
		||||
              "COUNTNOVEMBER": 0,
 | 
			
		||||
              "COUNTDECEMBER": 0,
 | 
			
		||||
              "COUNTTOTAL": 8,
 | 
			
		||||
              "ID": "b3deba1f-ff26-4c72-80b1-dbafa3f47312",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2025-01-01 10:23:32",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": null,
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "YEAR": 2025,
 | 
			
		||||
              "LEVEL": 1,
 | 
			
		||||
              "NAME": "车间级",
 | 
			
		||||
              "ROW_NO": 2,
 | 
			
		||||
              "COUNTJANUARY": 19,
 | 
			
		||||
              "COUNTFEBRUARY": 0,
 | 
			
		||||
              "COUNTMARCH": 0,
 | 
			
		||||
              "COUNTAPRIL": 0,
 | 
			
		||||
              "COUNTMAY": 0,
 | 
			
		||||
              "COUNTJUNE": 0,
 | 
			
		||||
              "COUNTJULY": 0,
 | 
			
		||||
              "COUNTAUGUST": 0,
 | 
			
		||||
              "COUNTSEPTEMBER": 0,
 | 
			
		||||
              "COUNTOCTOBER": 0,
 | 
			
		||||
              "COUNTNOVEMBER": 0,
 | 
			
		||||
              "COUNTDECEMBER": 0,
 | 
			
		||||
              "COUNTTOTAL": 19,
 | 
			
		||||
              "ID": "2df0583b-69f1-4a50-bd83-34bfd8434572",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2025-01-01 10:23:32",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": null,
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "YEAR": 2025,
 | 
			
		||||
              "LEVEL": 2,
 | 
			
		||||
              "NAME": "班组级",
 | 
			
		||||
              "ROW_NO": 3,
 | 
			
		||||
              "COUNTJANUARY": 273,
 | 
			
		||||
              "COUNTFEBRUARY": 0,
 | 
			
		||||
              "COUNTMARCH": 0,
 | 
			
		||||
              "COUNTAPRIL": 0,
 | 
			
		||||
              "COUNTMAY": 0,
 | 
			
		||||
              "COUNTJUNE": 0,
 | 
			
		||||
              "COUNTJULY": 0,
 | 
			
		||||
              "COUNTAUGUST": 0,
 | 
			
		||||
              "COUNTSEPTEMBER": 0,
 | 
			
		||||
              "COUNTOCTOBER": 0,
 | 
			
		||||
              "COUNTNOVEMBER": 0,
 | 
			
		||||
              "COUNTDECEMBER": 0,
 | 
			
		||||
              "COUNTTOTAL": 273,
 | 
			
		||||
              "ID": "a0c49594-f380-4ccf-8106-730f3c638c7e",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2025-01-01 10:23:32",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": null,
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "YEAR": 0,
 | 
			
		||||
              "LEVEL": 0,
 | 
			
		||||
              "NAME": "合计",
 | 
			
		||||
              "ROW_NO": 4,
 | 
			
		||||
              "COUNTJANUARY": 301,
 | 
			
		||||
              "COUNTFEBRUARY": 0,
 | 
			
		||||
              "COUNTMARCH": 0,
 | 
			
		||||
              "COUNTAPRIL": 0,
 | 
			
		||||
              "COUNTMAY": 0,
 | 
			
		||||
              "COUNTJUNE": 0,
 | 
			
		||||
              "COUNTJULY": 0,
 | 
			
		||||
              "COUNTAUGUST": 0,
 | 
			
		||||
              "COUNTSEPTEMBER": 0,
 | 
			
		||||
              "COUNTOCTOBER": 0,
 | 
			
		||||
              "COUNTNOVEMBER": 0,
 | 
			
		||||
              "COUNTDECEMBER": 0,
 | 
			
		||||
              "COUNTTOTAL": 301,
 | 
			
		||||
              "ID": "dd258107-a182-4e2a-a8cd-8503818aa7f1",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": null,
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2025-01-08 13:58:07",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 13:58:07",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": null,
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          }
 | 
			
		||||
      ],
 | 
			
		||||
      "listCheckTypeYear": [
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 2,
 | 
			
		||||
              "ALLCOUNT": 25,
 | 
			
		||||
              "INTTIMECOUNT": 8,
 | 
			
		||||
              "OUTTIMECOUNT": 9,
 | 
			
		||||
              "NOTFINISHCOUN": 8,
 | 
			
		||||
              "FINISHPERCENT": 68,
 | 
			
		||||
              "ID": "77108913-f421-4473-b9f6-f6ada933d619",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-02-01 15:54:47",
 | 
			
		||||
              "MODIFY_TIME": "2024-10-11 11:31:54",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 3,
 | 
			
		||||
              "ALLCOUNT": 50,
 | 
			
		||||
              "INTTIMECOUNT": 38,
 | 
			
		||||
              "OUTTIMECOUNT": 6,
 | 
			
		||||
              "NOTFINISHCOUN": 6,
 | 
			
		||||
              "FINISHPERCENT": 88,
 | 
			
		||||
              "ID": "d39408aa-01e8-404c-966f-6a41bd7df357",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-03-01 15:54:50",
 | 
			
		||||
              "MODIFY_TIME": "2024-10-11 11:31:54",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 4,
 | 
			
		||||
              "ALLCOUNT": 115,
 | 
			
		||||
              "INTTIMECOUNT": 84,
 | 
			
		||||
              "OUTTIMECOUNT": 26,
 | 
			
		||||
              "NOTFINISHCOUN": 5,
 | 
			
		||||
              "FINISHPERCENT": 95.65,
 | 
			
		||||
              "ID": "65df4fdd-fc01-42d3-bb64-1c78362b580d",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-04-01 15:54:54",
 | 
			
		||||
              "MODIFY_TIME": "2024-10-11 11:31:54",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 5,
 | 
			
		||||
              "ALLCOUNT": 93,
 | 
			
		||||
              "INTTIMECOUNT": 39,
 | 
			
		||||
              "OUTTIMECOUNT": 23,
 | 
			
		||||
              "NOTFINISHCOUN": 31,
 | 
			
		||||
              "FINISHPERCENT": 66.67,
 | 
			
		||||
              "ID": "d75502b2-5e9d-4bdf-b4fa-a02792d0fe34",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-05-01 15:54:57",
 | 
			
		||||
              "MODIFY_TIME": "2024-10-11 11:31:54",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 6,
 | 
			
		||||
              "ALLCOUNT": 88,
 | 
			
		||||
              "INTTIMECOUNT": 10,
 | 
			
		||||
              "OUTTIMECOUNT": 9,
 | 
			
		||||
              "NOTFINISHCOUN": 69,
 | 
			
		||||
              "FINISHPERCENT": 21.59,
 | 
			
		||||
              "ID": "f6f2b33f-8b67-4d0e-b70c-0585bd814464",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-06-01 15:55:02",
 | 
			
		||||
              "MODIFY_TIME": "2024-10-11 11:31:44",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 7,
 | 
			
		||||
              "ALLCOUNT": 73,
 | 
			
		||||
              "INTTIMECOUNT": 32,
 | 
			
		||||
              "OUTTIMECOUNT": 16,
 | 
			
		||||
              "NOTFINISHCOUN": 25,
 | 
			
		||||
              "FINISHPERCENT": 65.75,
 | 
			
		||||
              "ID": "20168db9-c1fc-47a1-a44d-33cbd0fd1df6",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-07-01 15:55:03",
 | 
			
		||||
              "MODIFY_TIME": "2024-10-31 09:01:15",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 8,
 | 
			
		||||
              "ALLCOUNT": 63,
 | 
			
		||||
              "INTTIMECOUNT": 29,
 | 
			
		||||
              "OUTTIMECOUNT": 23,
 | 
			
		||||
              "NOTFINISHCOUN": 11,
 | 
			
		||||
              "FINISHPERCENT": 82.54,
 | 
			
		||||
              "ID": "080b81a0-30cf-4ae6-bf1d-7e1ae0e22653",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-08-01 15:55:05",
 | 
			
		||||
              "MODIFY_TIME": "2024-11-30 09:01:15",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 9,
 | 
			
		||||
              "ALLCOUNT": 46,
 | 
			
		||||
              "INTTIMECOUNT": 19,
 | 
			
		||||
              "OUTTIMECOUNT": 19,
 | 
			
		||||
              "NOTFINISHCOUN": 8,
 | 
			
		||||
              "FINISHPERCENT": 82.61,
 | 
			
		||||
              "ID": "59c49643-30f0-4fff-bca1-69aa75fe85e4",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-09-01 15:55:06",
 | 
			
		||||
              "MODIFY_TIME": "2024-12-31 10:23:32",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 10,
 | 
			
		||||
              "ALLCOUNT": 38,
 | 
			
		||||
              "INTTIMECOUNT": 9,
 | 
			
		||||
              "OUTTIMECOUNT": 12,
 | 
			
		||||
              "NOTFINISHCOUN": 17,
 | 
			
		||||
              "FINISHPERCENT": 55.26,
 | 
			
		||||
              "ID": "6cc45f0a-a6c9-4e61-b00f-6318ed82c847",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-10-01 15:55:09",
 | 
			
		||||
              "MODIFY_TIME": "2024-12-31 10:23:32",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 11,
 | 
			
		||||
              "ALLCOUNT": 17,
 | 
			
		||||
              "INTTIMECOUNT": 7,
 | 
			
		||||
              "OUTTIMECOUNT": 8,
 | 
			
		||||
              "NOTFINISHCOUN": 2,
 | 
			
		||||
              "FINISHPERCENT": 88.24,
 | 
			
		||||
              "ID": "4f60ecda-2be6-40e8-bf16-d701c57b2543",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-11-01 09:01:13",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": null,
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2024,
 | 
			
		||||
              "MONTH": 12,
 | 
			
		||||
              "ALLCOUNT": 17,
 | 
			
		||||
              "INTTIMECOUNT": 7,
 | 
			
		||||
              "OUTTIMECOUNT": 8,
 | 
			
		||||
              "NOTFINISHCOUN": 2,
 | 
			
		||||
              "FINISHPERCENT": 88.24,
 | 
			
		||||
              "ID": "c08a35a9-3da4-45ab-9985-48e6a08b27ad",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2024-12-01 09:01:15",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": null,
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "DEPARTMENT_ID": null,
 | 
			
		||||
              "YEAR": 2025,
 | 
			
		||||
              "MONTH": 1,
 | 
			
		||||
              "ALLCOUNT": 6,
 | 
			
		||||
              "INTTIMECOUNT": 1,
 | 
			
		||||
              "OUTTIMECOUNT": 4,
 | 
			
		||||
              "NOTFINISHCOUN": 1,
 | 
			
		||||
              "FINISHPERCENT": 83.33,
 | 
			
		||||
              "ID": "ecb2f41c-ff22-4a75-a0f7-d0b8264be6a4",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2025-01-01 10:23:32",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": null,
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          }
 | 
			
		||||
      ],
 | 
			
		||||
      "listSummary": [
 | 
			
		||||
          {
 | 
			
		||||
              "CODE": "BI051_BSCOMPANYYEAR",
 | 
			
		||||
              "PART": 3,
 | 
			
		||||
              "NUM": 1,
 | 
			
		||||
              "TimeType": 0,
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "Parameter1": "隐患数",
 | 
			
		||||
              "Count1": 6,
 | 
			
		||||
              "Parameter2": "超整改数",
 | 
			
		||||
              "Count2": 4,
 | 
			
		||||
              "Parameter3": "按期整改数",
 | 
			
		||||
              "Count3": 1,
 | 
			
		||||
              "Parameter4": "整改率",
 | 
			
		||||
              "Count4": 0,
 | 
			
		||||
              "Count5": 0,
 | 
			
		||||
              "Count6": 0,
 | 
			
		||||
              "Parameter7": "83.33%",
 | 
			
		||||
              "Count7": 0,
 | 
			
		||||
              "Count8": 0,
 | 
			
		||||
              "Count9": 0,
 | 
			
		||||
              "Count10": 0,
 | 
			
		||||
              "ID": "494021ca-236c-4669-b4c5-c6d7006ae1c8",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2023-04-12 09:39:50",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
              "CODE": "BI051_BSCOMPANYYEAR",
 | 
			
		||||
              "PART": 1,
 | 
			
		||||
              "NUM": 1,
 | 
			
		||||
              "TimeType": 0,
 | 
			
		||||
              "MineType": 0,
 | 
			
		||||
              "Parameter1": "计划检查数",
 | 
			
		||||
              "Count1": 301,
 | 
			
		||||
              "Parameter2": "按时已办",
 | 
			
		||||
              "Count2": 250,
 | 
			
		||||
              "Parameter3": "超时已办",
 | 
			
		||||
              "Count3": 0,
 | 
			
		||||
              "Parameter4": "未完成数",
 | 
			
		||||
              "Count4": 51,
 | 
			
		||||
              "Parameter5": "完成率",
 | 
			
		||||
              "Count5": 0,
 | 
			
		||||
              "Parameter6": "及时完成率",
 | 
			
		||||
              "Count6": 0,
 | 
			
		||||
              "Parameter7": "83.06%",
 | 
			
		||||
              "Count7": 0,
 | 
			
		||||
              "Parameter8": "83.06%",
 | 
			
		||||
              "Count8": 0,
 | 
			
		||||
              "Count9": 0,
 | 
			
		||||
              "Count10": 0,
 | 
			
		||||
              "ID": "c107f8c9-d66e-4981-abdd-f1fbb34b8e0a",
 | 
			
		||||
              "IS_DELETED": false,
 | 
			
		||||
              "ORG_ID": "b043b28b-bbc3-c452-6052-4fba1457abfa",
 | 
			
		||||
              "ENTITY_ORG_TPYE": 0,
 | 
			
		||||
              "FORM_ID": null,
 | 
			
		||||
              "FLOW_STATUS": 0,
 | 
			
		||||
              "FLOW_SEND_STATUS": 0,
 | 
			
		||||
              "FLOW_ID": null,
 | 
			
		||||
              "CREATE_TIME": "2023-04-12 09:39:50",
 | 
			
		||||
              "MODIFY_TIME": "2025-01-08 10:07:56",
 | 
			
		||||
              "CREATER_ID": null,
 | 
			
		||||
              "MODIFIER_ID": "8f26c255-fdfd-47ff-b83e-6309815958dd",
 | 
			
		||||
              "TaskID": "00000000-0000-0000-0000-000000000000"
 | 
			
		||||
          }
 | 
			
		||||
      ],
 | 
			
		||||
      "NAME": "宁化行洛坑钨矿有限公司"
 | 
			
		||||
  }
 | 
			
		||||
  let datess = getNearMonth().reverse()
 | 
			
		||||
    this.props.dispatch({
 | 
			
		||||
      type: "app/getDataByPost",
 | 
			
		||||
      payload: json,
 | 
			
		||||
      url: "BI/BISafeYear/BISafeYearShow",
 | 
			
		||||
      onComplete: (data) => {
 | 
			
		||||
        if (data) {
 | 
			
		||||
          var count1 = 0;
 | 
			
		||||
          var count2 = 0;
 | 
			
		||||
          var count3 = 0;
 | 
			
		||||
@ -677,9 +140,8 @@ class BI051BSCompanyYear extends React.Component {
 | 
			
		||||
              year: year,
 | 
			
		||||
              company: companyName,
 | 
			
		||||
            },
 | 
			
		||||
          },()=>{
 | 
			
		||||
 | 
			
		||||
            var divchekData = [];
 | 
			
		||||
          });
 | 
			
		||||
          var divchekData = [];
 | 
			
		||||
          var divchekData1 = [];
 | 
			
		||||
 | 
			
		||||
          data.listSafeCheckYear.forEach((item) => {
 | 
			
		||||
@ -689,6 +151,10 @@ class BI051BSCompanyYear extends React.Component {
 | 
			
		||||
            }
 | 
			
		||||
          });
 | 
			
		||||
          //   COUNTTOTAL
 | 
			
		||||
          console.log(
 | 
			
		||||
            data.listSafeCheckYear[data.listSafeCheckYear.length - 1],
 | 
			
		||||
            "data.listSafeCheckYeardata.listSafeCheckYear"
 | 
			
		||||
          );
 | 
			
		||||
          var colorList = [
 | 
			
		||||
            "#47A2FF ",
 | 
			
		||||
            "#53C8D1",
 | 
			
		||||
@ -848,7 +314,7 @@ class BI051BSCompanyYear extends React.Component {
 | 
			
		||||
              },
 | 
			
		||||
              xAxis: {
 | 
			
		||||
                type: "category",
 | 
			
		||||
                data: datess,
 | 
			
		||||
                data: xAxisData,
 | 
			
		||||
                axisLabel: {
 | 
			
		||||
                  show: true,
 | 
			
		||||
                  color: "rgb(170,170,170)",
 | 
			
		||||
@ -974,7 +440,7 @@ class BI051BSCompanyYear extends React.Component {
 | 
			
		||||
              xAxis: {
 | 
			
		||||
                type: "category",
 | 
			
		||||
                boundaryGap: false, //坐标轴两边留白
 | 
			
		||||
                data: datess,
 | 
			
		||||
                data: dataXAxis,
 | 
			
		||||
                axisLabel: {
 | 
			
		||||
                  //坐标轴刻度标签的相关设置。
 | 
			
		||||
                  interval: 0, //设置为 1,表示『隔一个标签显示一个标签』
 | 
			
		||||
@ -1066,8 +532,17 @@ class BI051BSCompanyYear extends React.Component {
 | 
			
		||||
              ],
 | 
			
		||||
            });
 | 
			
		||||
          }
 | 
			
		||||
          });
 | 
			
		||||
          
 | 
			
		||||
 | 
			
		||||
          //   LineShow(
 | 
			
		||||
          //     echarts,
 | 
			
		||||
          //     "divRiskPercent",
 | 
			
		||||
          //     "安全检查隐患整改率(近12个月)",
 | 
			
		||||
          //     dataXAxis,
 | 
			
		||||
          //     dataSeries
 | 
			
		||||
          //   );
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
    });
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  // 搜索
 | 
			
		||||
@ -1082,7 +557,127 @@ class BI051BSCompanyYear extends React.Component {
 | 
			
		||||
    });
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  // ChartBarShow_Vertical(echarts, divId, data, title) {
 | 
			
		||||
  //   var element = document.getElementById(divId)
 | 
			
		||||
  //   if (element != undefined && data != null && data.length > 0) {
 | 
			
		||||
  //     var myChart = echarts.init(element);
 | 
			
		||||
  //     var series = []
 | 
			
		||||
  //     var xAxisData = []
 | 
			
		||||
  //     var yAxisData1 = []
 | 
			
		||||
  //     var yAxisData2 = []
 | 
			
		||||
  //     var yAxisData3 = []
 | 
			
		||||
 | 
			
		||||
  //     data.forEach((item) => {
 | 
			
		||||
  //       xAxisData.push(item.YEAR + "-" + item.MONTH)
 | 
			
		||||
  //       yAxisData1.push(item.INTTIMECOUNT)
 | 
			
		||||
  //       yAxisData2.push(item.OUTTIMECOUNT)
 | 
			
		||||
  //       yAxisData3.push(item.NOTFINISHCOUN)
 | 
			
		||||
  //     })
 | 
			
		||||
 | 
			
		||||
  //     var option = {
 | 
			
		||||
  //       title: {
 | 
			
		||||
  //         text: title,
 | 
			
		||||
  //         left: 'center'
 | 
			
		||||
  //       },
 | 
			
		||||
  //       tooltip: {
 | 
			
		||||
  //         trigger: 'axis',
 | 
			
		||||
  //         axisPointer: {
 | 
			
		||||
  //           type: 'shadow'
 | 
			
		||||
  //         }
 | 
			
		||||
  //       },
 | 
			
		||||
  //       legend: {
 | 
			
		||||
  //         bottom: '0px'
 | 
			
		||||
  //       },
 | 
			
		||||
  //       grid: {
 | 
			
		||||
  //         left: '3%',
 | 
			
		||||
  //         right: '4%',
 | 
			
		||||
  //         bottom: '10%',
 | 
			
		||||
  //         containLabel: true
 | 
			
		||||
  //       },
 | 
			
		||||
  //       xAxis: {
 | 
			
		||||
  //         type: 'category',
 | 
			
		||||
  //         data: xAxisData
 | 
			
		||||
  //       },
 | 
			
		||||
  //       yAxis: {
 | 
			
		||||
  //         type: 'value'
 | 
			
		||||
  //       },
 | 
			
		||||
  //       series: [
 | 
			
		||||
  //         {
 | 
			
		||||
  //           name: '按期整改',
 | 
			
		||||
  //           type: 'bar',
 | 
			
		||||
  //           stack: 'total',
 | 
			
		||||
  //           label: {
 | 
			
		||||
  //             show: true
 | 
			
		||||
  //           },
 | 
			
		||||
  //           emphasis: {
 | 
			
		||||
  //             focus: 'series'
 | 
			
		||||
  //           },
 | 
			
		||||
  //           data: yAxisData1
 | 
			
		||||
  //         },
 | 
			
		||||
  //         {
 | 
			
		||||
  //           name: '延期整改',
 | 
			
		||||
  //           type: 'bar',
 | 
			
		||||
  //           stack: 'total',
 | 
			
		||||
  //           label: {
 | 
			
		||||
  //             show: true
 | 
			
		||||
  //           },
 | 
			
		||||
  //           emphasis: {
 | 
			
		||||
  //             focus: 'series'
 | 
			
		||||
  //           },
 | 
			
		||||
  //           data: yAxisData2
 | 
			
		||||
  //         },
 | 
			
		||||
  //         {
 | 
			
		||||
  //           name: '未完成',
 | 
			
		||||
  //           type: 'bar',
 | 
			
		||||
  //           stack: 'total',
 | 
			
		||||
  //           label: {
 | 
			
		||||
  //             show: true
 | 
			
		||||
  //           },
 | 
			
		||||
  //           emphasis: {
 | 
			
		||||
  //             focus: 'series'
 | 
			
		||||
  //           },
 | 
			
		||||
  //           data: yAxisData3
 | 
			
		||||
  //         }
 | 
			
		||||
  //       ]
 | 
			
		||||
  //     };
 | 
			
		||||
  //     // 使用刚指定的配置项和数据显示图表。
 | 
			
		||||
  //     myChart.setOption(option);
 | 
			
		||||
  //   }
 | 
			
		||||
  // }
 | 
			
		||||
 | 
			
		||||
  // LineShow(echarts, divId, title, dataXAxis, dataSeries) {
 | 
			
		||||
 | 
			
		||||
  //   var chartDom = document.getElementById(divId);
 | 
			
		||||
  //   if (chartDom != null && chartDom != undefined) {
 | 
			
		||||
  //     var myChart = echarts.init(chartDom);
 | 
			
		||||
  //     var option;
 | 
			
		||||
  //     option = {
 | 
			
		||||
  //       title: {
 | 
			
		||||
  //         text: title,
 | 
			
		||||
  //         left: 'center'
 | 
			
		||||
  //       },
 | 
			
		||||
  //       label: {
 | 
			
		||||
  //         show: true,
 | 
			
		||||
  //         position: 'top'
 | 
			
		||||
  //       },
 | 
			
		||||
  //       xAxis: {
 | 
			
		||||
  //         type: 'category',
 | 
			
		||||
  //         data: dataXAxis
 | 
			
		||||
  //       },
 | 
			
		||||
  //       yAxis: {
 | 
			
		||||
  //         type: 'value'
 | 
			
		||||
  //       },
 | 
			
		||||
  //       series: [
 | 
			
		||||
  //         {
 | 
			
		||||
  //           data: dataSeries,
 | 
			
		||||
  //           type: 'line'
 | 
			
		||||
  //         }
 | 
			
		||||
  //       ]
 | 
			
		||||
  //     };
 | 
			
		||||
 | 
			
		||||
  //     option && myChart.setOption(option);
 | 
			
		||||
  //   }
 | 
			
		||||
  // }
 | 
			
		||||
 | 
			
		||||
  render() {
 | 
			
		||||
    const { data } = this.state;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user