| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- 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',
- }
- });
- }
|