自动化立体仓库 - WMS系统
13
zhang
2 天以前 1c0dbad152362ac704a27ecfc5b5d08247385d87
src/main/java/com/zy/common/model/enums/HtmlNavIconType.java
@@ -12,19 +12,22 @@
    IO_WORK("ioWork", "layui-icon-flag"),
    WORK_FLOW("workFlow", "layui-icon-form"),
    BASE("base", "layui-icon-file"),
    ORDER("erp", "layui-icon-senior"),
    SENSOR("sensor", "layui-icon-engine"),
    ;
    private String code;
    private String icon;
    HtmlNavIconType(String code, String icon){
    HtmlNavIconType(String code, String icon) {
        this.code = code;
        this.icon = icon;
    }
    public static String get(String code) {
        for (HtmlNavIconType type : HtmlNavIconType.values()){
            if (type.code.equals(code)){
        for (HtmlNavIconType type : HtmlNavIconType.values()) {
            if (type.code.equals(code)) {
                return type.icon;
            }
        }