import request from "@utils/request"; /**登录*/ export function checkToken(params) { return request({ url: `/api/yonghong/checkToken?token=${params}`, method: "GEt", }); } /**各基地库存明细 */ export function smallMaterialService(params) { return request({ url: "/dataengine-center-oneservice/list/1358057393917040084", method: "POST", data: { "apiId": "1358057393917040084", "appKey": "200000135", "env": "PROD", "reqProtocol": 1, "returnFields": [ "factoryCode", "factoryName", "prodCatgoryCode", "prodCatgory", "indexValue", ], "pageNum": 1, "pageSize": 50, "useResultCache": false }, headers: { sign: 'fdb551d8c6a01d87c58970d519752d81', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1358057393917040084', appKey: '200000135', execType: '3', env: 'PROD', } }); } /**各基地日,月累计,年累计产量 */ export function smallDayService(params) { return request({ url: "/dataengine-center-oneservice/list/1358059456248976873", method: "POST", data: { "apiId": "1358059456248976873", "appKey": "200000135", "env": "PROD", "reqProtocol": 1, "returnFields": [ "factoryCode", "factoryNameCode", "dateType", "indexValue" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '5f270b133af668b3631fbe7dbff9ebe4', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1358059456248976873', appKey: '200000135', execType: '3', env: 'PROD', } }); } /**左侧数据*/ export function leftService(params) { return request({ url: "/dataengine-center-oneservice/list/1357592107129541992", method: "POST", data: { "apiId": "1357592107129541992", "appKey": "200000135", "env": "PROD", "reqProtocol": 1, "returnFields": [ "prodCode", "production", "inventory" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '2d35f0b798fe2cc8443f95aed6da466a', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1357592107129541992', appKey: '200000135', execType: '3', env: 'PROD', } }); } /**累计销量客户*/ export function rollService(params) { return request({ url: "/dataengine-center-oneservice/list/1357509594900108615", method: "POST", data: { "apiId": "1357509594900108615", "appKey": "200000135", "env": "PROD", "reqProtocol": 1, "returnFields": [ "customerName", "salesQty" ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: '839f9217d1cf81ec03ff6ccf54c86e37', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1357509594900108615', appKey: '200000135', execType: '3', env: 'PROD', } }); } /**锂辉石库存*/ export function bigShopService(params) { return request({ url: "/dataengine-center-oneservice/list/1357489941160170789", method: "POST", data: { "apiId": "1357489941160170789", "appKey": "200000135", "env": "PROD", "reqProtocol": 1, "returnFields": [ "warehouseNameCode", "indexValue", ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: 'ae4c520da5ae882455307324f75f5277', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1357489941160170789', appKey: '200000135', execType: '3', env: 'PROD', } }); } /**个基地年累计产量,库存*/ export function smallShopService(params) { return request({ url: "/dataengine-center-oneservice/list/1357592780709598582", method: "POST", data: { "apiId": "1357592780709598582", "appKey": "200000135", "env": "PROD", "reqProtocol": 1, "returnFields": [ "factoryCode", "production", "inventory", ], "pageNum": 1, "pageSize": 10, "useResultCache": false }, headers: { sign: 'a842b5c5c462d7cacd2baad402ea94a7', account: 'yunxi_fuxue', 'Cache-Control': 'no-cache', apiId: '1357592780709598582', appKey: '200000135', 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', } }); }