Commit da800d07 authored by 刘凡's avatar 刘凡

*)修改模板

parent 7c2b62e1
......@@ -68,6 +68,8 @@ public class DPSubController {
Assert.notNull(param.get("sequenceNbr"), "sequenceNbr不能为空");
} else if(template.equals("registration")) { // 登记证
Assert.notNull(param.get("sequenceNbr"), "sequenceNbr不能为空");
} else if(template.equals("inspection")) { // 报检
Assert.notNull(param.get("sequenceNbr"), "sequenceNbr不能为空");
} else {
throw new RuntimeException("暂无模板");
}
......
{
"name": "问题模板",
"name": "报检模板",
"tabs": [
{
"key": "keyinfo",
......@@ -8,10 +8,7 @@
"dataConfig": {
"api": {
"httpMethod":"GET",
"apiPath":"/jyjc/jyjc-inspection-application/selectOneForBigScreen/{sequenceNbr}",
"params": {
}
"apiPath":"/jyjc/jyjc-inspection-application/selectOneForBigScreen/{sequenceNbr}"
}
}
},
......@@ -23,7 +20,7 @@
"dataConfig": {
"api": {
"httpMethod":"GET",
"apiPath":"/jyjc/jyjc-inspection-application/{sequenceNbr}",
"apiPath":"/jyjc/jyjc-inspection-application/selectOneForBigScreenEqu/{sequenceNbr}",
"params": {
"current": 1,
"size": 10,
......@@ -32,7 +29,7 @@
}
},
"visualParams": {
"rowKey": "record",
"rowKey": "SEQUENCE_NBR",
"columns": [
{"dataRenderingMode": "defaultText","dataIndex": "EQU_CATEGORY","width": 150,"align": "left","title": "设备类别","key": "1"},
{"dataRenderingMode": "defaultText","dataIndex": "EQU_DEFINE","width": 200,"align": "left","title": "设备品种","key": "2"},
......
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