Commit da800d07 authored by 刘凡's avatar 刘凡

*)修改模板

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