import request from "@utils/request"; /**登录*/ export function checkToken(params) { return request({ url: `/api/yonghong/checkToken?token=${params}`, method: "GEt", }); } /**碳排放 */ export function dataengineCenterOneservice(params) { return request({ url: "/dataengine-center-oneservice/list/1356250396177503367", method: "POST", data: { "apiId": "1356250396177503367", "appKey": "200000134", "env": "PROD", "reqProtocol": 1, "returnFields": [ "byear", "missionsIntensity", "missionsTotal", "biz_id" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '19c3cdb58b80e44f2490b8eba3b7f938', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1356250396177503367', appKey: '200000134', execType: '3', env: 'PROD', } }); } /**库存金额 */ export function momeyService(params) { return request({ url: "/dataengine-center-oneservice/list/1356776817075459329", method: "POST", data: { "apiId": "1356776817075459329", "appKey": "200000134", "env": "PROD", "reqProtocol": 1, "returnFields": [ "indexName", "prodCatgory", "indexValue" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: 'd58de970856e583f126d186662251024', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1356776817075459329', appKey: '200000134', execType: '3', env: 'PROD', } }); } /** 产量计划完成率*/ export function timeService(params) { return request({ url: "/dataengine-center-oneservice/list/1435868883211217227", method: "POST", data: { "apiId": "1435868883211217227", "appKey": "200000138", "env": "PROD", "reqProtocol": 1, "returnFields": [ "indexName", "factoryName", "indexValue" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '897e941a533a75ae9bf82305f2d6df34', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1435868883211217227', appKey: '200000138', execType: '3', env: 'PROD', } }); } /**产值+发货量+产量+库存*/ export function numberService(params) { return request({ url: "/dataengine-center-oneservice/list/1435869479216572764", method: "POST", data: { "apiId": "1435869479216572764", "appKey": "200000138", "env": "PROD", "reqProtocol": 1, "returnFields": [ "indexName", "indexValue" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: 'e764fa1aae81091bde971cd28a709dfa', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1435869479216572764', appKey: '200000138', execType: '3', env: 'PROD', } }); } /**近30天产量*/ export function mondService(params) { return request({ url: "/dataengine-center-oneservice/list/1435868691592341823", method: "POST", data: { "apiId": "1435868691592341823", "appKey": "200000138", "env": "PROD", "reqProtocol": 1, "returnFields": [ "indexName", "indexDate", "indexValue", "factoryProdcution" ], "pageNum": 1, "pageSize": 30, "useResultCache": false }, headers: { sign: '419a4e9f3c7ed4b18c42b211e4d209fc', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1435868691592341823', appKey: '200000138', execType: '3', env: 'PROD', } }); } /**月度产量/发货量+一次合格率*/ export function twoService(params) { return request({ url: "/dataengine-center-oneservice/list/1435869411763775830", method: "POST", data: { "apiId": "1435869411763775830", "appKey": "200000138", "env": "PROD", "reqProtocol": 1, "returnFields": [ "bMonth", "proQty", "deliveryQty", "qcRate", "targeRate", "budgetProdQty", "budgetSalesQty" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: 'c1a4f54cc466dbc636391987832361f3', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1435869411763775830', appKey: '200000138', execType: '3', env: 'PROD', } }); } /**干基产率*/ export function dryBaseData(params) { return request({ url: "/dataengine-center-oneservice/list/1435869551190829407", method: "POST", data: { "apiId": "1435869551190829407", "appKey": "200000138", "env": "PROD", "reqProtocol": 1, "returnFields": [ "bMonth", "factoryName", "indexValue", ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: 'd220845f9b15022fe9cd97aab13935f9', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1435869551190829407', appKey: '200000138', execType: '3', env: 'PROD', } }); } /**更新日期*/ export function updateTimeService(params) { return request({ url: "/dataengine-center-oneservice/list/1435869869019457910", method: "POST", data: { "apiId": "1435869869019457910", "appKey": "200000138", "env": "PROD", "reqProtocol": 1, "returnFields": [ "etlTime" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '5646c212a5cc864e43c14c2e7e4414b8', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1435869869019457910', appKey: '200000138', execType: '3', env: 'PROD', } }); }