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/1356250124518724729", method: "POST", data: { "apiId": "1356250124518724729", "appKey": "200000134", "env": "PROD", "reqProtocol": 1, "returnFields": [ "indexName", "factoryName", "indexValue" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '46847fe90889330f13cdc3318d848d45', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1356250124518724729', appKey: '200000134', execType: '3', env: 'PROD', } }); } /**产值+发货量+产量+库存*/ export function numberService(params) { return request({ url: "/dataengine-center-oneservice/list/1356243326548087867", method: "POST", data: { "apiId": "1356243326548087867", "appKey": "200000134", "env": "PROD", "reqProtocol": 1, "returnFields": [ "indexName", "indexValue" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '2f079b53e1e63b753bb6f9807f6c6818', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1356243326548087867', appKey: '200000134', execType: '3', env: 'PROD', } }); } /**近30天产量*/ export function mondService(params) { return request({ url: "/dataengine-center-oneservice/list/1356244872119751767", method: "POST", data: { "apiId": "1356244872119751767", "appKey": "200000134", "env": "PROD", "reqProtocol": 1, "returnFields": [ "indexName", "indexDate", "indexValue", "factoryProdcution" ], "pageNum": 1, "pageSize": 30, "useResultCache": false }, headers: { sign: 'ef3ecc442896d925cc02d36f1107d9e3', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1356244872119751767', appKey: '200000134', execType: '3', env: 'PROD', } }); } /**月度产量/发货量+一次合格率*/ export function twoService(params) { return request({ url: "/dataengine-center-oneservice/list/1356411403496625359", method: "POST", data: { "apiId": "1356411403496625359", "appKey": "200000134", "env": "PROD", "reqProtocol": 1, "returnFields": [ "bMonth", "proQty", "deliveryQty", "qcRate", "targeRate", ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '9c472223a9acbdb9f16bebb7002e0c40', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1356411403496625359', appKey: '200000134', execType: '3', env: 'PROD', } }); } /**更新日期*/ export function updateTimeService(params) { return request({ url: "/dataengine-center-oneservice/list/1356778817327502618", method: "POST", data: { "apiId": "1356778817327502618", "appKey": "200000134", "env": "PROD", "reqProtocol": 1, "returnFields": [ "etlTime" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '4365b6564b25c852fcf0228188f48114', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1356778817327502618', appKey: '200000134', execType: '3', env: 'PROD', } }); }