Commit 095b2ace authored by 邢磊's avatar 邢磊

*)增加标题

parent 9819f9a2
......@@ -1284,6 +1284,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
datas.put("datas", records);
datas.put("title", "处置记录");
datas.put("renderType", "timeline");
keyinfoData.put("title", objectMap.get("useUnitName"));
keyinfoData.put("keyParams", jsonData);
keyinfoData.put("infoRecords", datas);
keyinfoData.put("qrcode", qrcode);
......
......@@ -36,7 +36,7 @@
},
{
"key": "useUnitName",
"label": "单位名称",
"label": "使用单位",
"type": "text"
},
{
......
......@@ -648,6 +648,7 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
map.put("datas", collect);
map.put("title", "使用登记证流水");
map.put("renderType", "timeline");
result.put("title", objectMap.get("useUnitName"));
result.put("keyParams", jsonData);
result.put("infoRecords", map);
return result;
......
......@@ -630,6 +630,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
datas.put("datas", records);
datas.put("title", "审批进度");
datas.put("renderType", "timeline");
resultMap.put("title", map.get("applicationUnitName"));
resultMap.put("infoRecords", datas);
resultMap.put("keyParams", jsonData);
return resultMap;
......
......@@ -39,6 +39,9 @@ public class DPSubController {
public ResponseModel<JSONObject> commonQuery(@PathVariable String template, @RequestBody Map<String, Object> param) {
if (template.equals("company")) { // 企业
Assert.notNull(param.get("useUnitCode"), "企业统一信用代码不能为空");
if (ValidationUtil.isEmpty(param.get("useUnit"))){
param.put("useUnit", param.get("unitName"));
}
} else if (template.equals("reportEqu")) { // 监督检验
Assert.notNull(param.get("sequenceNbr"), "sequenceNbr不能为空");
} else if (template.equals("equip")) { //设备
......
......@@ -511,7 +511,13 @@ public class DPSubServiceImpl {
}
String problemTime = result.getString("problemTime");
String problemStatus = result.getString("problemStatus");
if (ValidationUtil.isEmpty(problemTime)){
try {
problemTime = DateUtil.formatDate(new Date(), DateUtil.Y_M_D_HMS);
} catch (Exception e) {
e.printStackTrace();
}
}
String color = null;
if (!ValidationUtil.isEmpty(problemTime)) {
try {
......
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