修改 铝内胆设备看板

master
wangh 2 years ago
parent aca7521ccd
commit 5f0fa0407e

@ -183,57 +183,57 @@ public class FoamBoxController {
return JSONArray.toJSONString(mesMaterialStoreStatisticsList); return JSONArray.toJSONString(mesMaterialStoreStatisticsList);
} }
/** // /**
* // * 根据型号统计产量
* // *
* @author WenJY // * @author WenJY
* @date 2022/4/20 10:15 // * @date 2022/4/20 10:15
* @return java.lang.String // * @return java.lang.String
*/ // */
@GetMapping("/getStatisticalOutputByModel") // @GetMapping("/getStatisticalOutputByModel")
@ResponseBody // @ResponseBody
public String getStatisticalOutputByModel() { // public String getStatisticalOutputByModel() {
String info = // String info =
"{\n" // "{\n"
+ "\t\"datas\":[\n" // + "\t\"datas\":[\n"
+ " {\"ranking\": 1,\"station\":\"SC227\",\"value\": 199999},\n" // + " {\"ranking\": 1,\"station\":\"SC227\",\"value\": 199999},\n"
+ " {\"ranking\": 2,\"station\":\"SC228\",\"value\": 104970},\n" // + " {\"ranking\": 2,\"station\":\"SC228\",\"value\": 104970},\n"
+ " {\"ranking\": 3,\"station\":\"SC229\",\"value\": 29034},\n" // + " {\"ranking\": 3,\"station\":\"SC229\",\"value\": 29034},\n"
+ " {\"ranking\": 4,\"station\":\"SC223\",\"value\": 23489},\n" // + " {\"ranking\": 4,\"station\":\"SC223\",\"value\": 23489},\n"
+ " {\"ranking\": 5,\"station\":\"SC224\",\"value\": 18203}\n" // + " {\"ranking\": 5,\"station\":\"SC224\",\"value\": 18203}\n"
+ " ],\n" // + " ],\n"
+ "\t\"plan\":[290000, 290000, 290000, 290000, 290000, 290000]\n" // + "\t\"plan\":[290000, 290000, 290000, 290000, 290000, 290000]\n"
+ "}"; // + "}";
return info; // return info;
} // }
/** // /**
* // * 库存 统计
* // *
* @author WenJY // * @author WenJY
* @date 2022/4/20 10:16 // * @date 2022/4/20 10:16
* @return java.lang.String // * @return java.lang.String
*/ // */
@GetMapping("/getInventoryStatistics") // @GetMapping("/getInventoryStatistics")
@ResponseBody // @ResponseBody
public String getInventoryStatistics() { // public String getInventoryStatistics() {
String info = // String info =
"{\n" // "{\n"
+ "\t\"datas\":[\n" // + "\t\"datas\":[\n"
+ " {\n" // + " {\n"
+ " \"name\": \"SC528\",\n" // + " \"name\": \"SC528\",\n"
+ " \"value\": 175.17\n" // + " \"value\": 175.17\n"
+ " },\n" // + " },\n"
+ " {\n" // + " {\n"
+ " \"name\": \"SC529\",\n" // + " \"name\": \"SC529\",\n"
+ " \"value\": 148.35\n" // + " \"value\": 148.35\n"
+ " },\n" // + " },\n"
+ " {\n" // + " {\n"
+ " \"name\": \"SC327\",\n" // + " \"name\": \"SC327\",\n"
+ " \"value\": 95.36\n" // + " \"value\": 95.36\n"
+ " }\n" // + " }\n"
+ " ]\n" // + " ]\n"
+ "}"; // + "}";
return info; // return info;
} // }
} }

@ -47,7 +47,7 @@ public class StorageController {
return prefix; return prefix;
} }
@GetMapping("/getProductionPlan") /* @GetMapping("/getProductionPlan")
@ResponseBody() @ResponseBody()
public String productionPlan(){ public String productionPlan(){
String info = String info =
@ -99,7 +99,7 @@ public class StorageController {
+ "}"; + "}";
return info; return info;
} }*/
/** /**
* *

@ -364,10 +364,10 @@ const threeDimensionalCylindrical = (res, ids) => {
}, },
axisLabel: { axisLabel: {
show: true, show: true,
rotate:-30,
margin: 25, margin: 25,
align: "center",
textStyle: { textStyle: {
fontSize: 14, fontSize: 10,
color: "#A8A6AB", color: "#A8A6AB",
rich: { rich: {
a: { a: {

@ -364,10 +364,10 @@ const threeDimensionalCylindrical = (res, ids) => {
}, },
axisLabel: { axisLabel: {
show: true, show: true,
rotate:-30,
margin: 25, margin: 25,
// align: "center",
textStyle: { textStyle: {
fontSize: 14, fontSize: 10,
color: "#A8A6AB", color: "#A8A6AB",
rich: { rich: {
a: { a: {
@ -382,7 +382,7 @@ const threeDimensionalCylindrical = (res, ids) => {
}, },
}, },
}, },
interval: 3, interval: 0,
}, },
yAxis: { yAxis: {
splitLine: { splitLine: {

Loading…
Cancel
Save