Commit 43929d75 authored by 麻笑宇's avatar 麻笑宇

refactor(statistics): 优化设备和人员高级搜索枚举类- 修改 EquipAdvanceSearchEnum 中 DATA_QUALITY_SCORE 的中文名称为"数据完整性"

- 修正 PersonAdvanceSearchEnum 中的拼写错误: - 将 dataKe 改为 dataKey - 更新 getAll 方法中 JSON 对象的 dataKey 字段
parent a663e89f
......@@ -23,7 +23,7 @@ public enum EquipAdvanceSearchEnum {
NEXT_INSPECT_DATE("检验有效期", "nextInspectDate", TechnicalParameter.ParamType.DATE,"",null,null),
EQU_STATE("设备状态", "EQU_STATE", null,"/statistics/comprehensiveStatisticalAnalysis/select/queryEquState",null,null),
IS_SUPERVISORY_CODE("赋码状态", "IS_SUPERVISORY_CODE", null,"/statistics/comprehensiveStatisticalAnalysis/select/queryIsSupervisoryCode",null,null),
DATA_QUALITY_SCORE("设备等级", "DATA_QUALITY_SCORE", null,"/statistics/comprehensiveStatisticalAnalysis/select/queryDataQualityScore",null,null),
DATA_QUALITY_SCORE("数据完整性", "DATA_QUALITY_SCORE", null,"/statistics/comprehensiveStatisticalAnalysis/select/queryDataQualityScore",null,null),
USC_DATE("使用年限", "USC_DATE", null,"/statistics/comprehensiveStatisticalAnalysis/select/queryUscDate",null,null),
UNIT_TYPE("所属单位类型", "unitType", null,"/statistics/comprehensiveStatisticalAnalysis/select/queryUnitType",null,null),
USC_UNIT_NAME("所属单位名称", "USC_UNIT_NAME", TechnicalParameter.ParamType.STRING,"",null,null),
......
......@@ -34,7 +34,7 @@ public enum PersonAdvanceSearchEnum {
private String code;
private TechnicalParameter.ParamType paramType;
private String url;
private String dataKe;
private String dataKey;
private String argKey;
public static JSONArray getAll(){
......@@ -44,7 +44,7 @@ public enum PersonAdvanceSearchEnum {
jsonObject.put("label", item.name);
jsonObject.put("value", item.code);
jsonObject.put("key", item.code);
jsonObject.put("dataKey", item.code);
jsonObject.put("dataKey", item.dataKey);
jsonObject.put("argKey", item.argKey);
jsonObject.put("paramType", item.paramType);
jsonObject.put("isMulti", false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment