From bdced1d6c6798882e540023dfa80b00db12a0a20 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 04 十月 2020 13:18:15 +0800
Subject: [PATCH] 加入信息大类
---
java110-generator/src/main/resources/web/template_1.json | 93 ++++++++++++++++++++++++++--------------------
1 files changed, 53 insertions(+), 40 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index 6b8bdac..fbcba99 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,69 +1,82 @@
{
- "templateName": "鍚堝悓绫诲瀷",
- "directories": "admin",
- "templateCode": "contractType",
- "templateKey": "contractTypeId",
- "templateKeyName": "绫诲瀷ID",
- "searchCode": "contractTypeId",
- "searchName": "绫诲瀷ID",
+ "templateName": "淇℃伅澶х被",
+ "directories": "property",
+ "templateCode": "activitiesType",
+ "templateKey": "typeCd",
+ "templateKeyName": "澶х被缂栫爜",
+ "searchCode": "typeCd",
+ "searchName": "澶х被缂栫爜",
"conditions": [
{
- "name": "绫诲瀷鍚嶇О",
+ "name": "澶х被缂栫爜",
+ "inputType": "input",
+ "code": "typeCd",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "澶х被鍚嶇О",
"inputType": "input",
"code": "typeName",
"whereCondition": "equal"
},
{
- "name": "瀹℃牳",
+ "name": "鏄惁鏄剧ず",
"inputType": "select",
- "selectValue": "1001,2002,3003,4004",
- "selectValueName": "鐗╀笟瀹℃牳,涓嶅鏍�,杩愯惀瀹℃牳,浠g悊鍟嗗鏍�",
- "code": "audit",
- "whereCondition": "equal"
- },
- {
- "name": "绫诲瀷缂栫爜",
- "inputType": "input",
- "code": "contractTypeId",
+ "selectValue":"Y,N",
+ "selectValueName":"鏄�,鍚�",
+ "code": "defalutShow",
"whereCondition": "equal"
}
],
"columns": [
{
"code": "typeName",
- "cnCode": "绫诲瀷鍚嶇О",
- "desc": "蹇呭~锛岃濉啓鍚堝悓绫诲瀷鍚嶇О",
+ "cnCode": "澶х被鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓澶х被鍚嶇О",
"required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
- "limitParam": "200",
- "limitErrInfo": "绫诲瀷鍚嶇О涓嶈兘瓒呰繃64浣�",
+ "limitParam": "100",
+ "limitErrInfo": "澶х被鍚嶇О瓒呰繃100浣�",
"show": true
},
{
- "code": "audit",
- "cnCode": "鏄惁瀹℃牳",
- "desc": "蹇呴』锛岃閫夋嫨鏄惁瀹℃牳",
- "required": true,
- "hasDefaultValue": false,
- "selectValue": "1001,2002,3003,4004",
- "selectValueName": "鐗╀笟瀹℃牳,涓嶅鏍�,杩愯惀瀹℃牳,浠g悊鍟嗗鏍�",
- "limit": "num",
- "limitParam": "",
- "limitErrInfo": "鏄惁瀹℃牳鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "remark",
- "cnCode": "鎻忚堪",
- "desc": "閫夊~锛岃濉啓鎻忚堪",
+ "code": "typeDesc",
+ "cnCode": "澶х被鎻忚堪",
+ "desc": "鍙~锛岃濉啓绫诲瀷鎻忚堪",
"required": false,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
- "limitParam": "200",
- "limitErrInfo": "鎻忚堪瓒呰繃200浣�",
+ "limitParam": "500",
+ "limitErrInfo": "鎻忚堪瓒呰繃500浣�",
+ "show": true
+ },
+ {
+ "code": "seq",
+ "cnCode": "鏄剧ず搴忓彿",
+ "desc": "蹇呭~锛岃濉啓鏄剧ず搴忓彿",
+ "required": true,
+ "hasDefaultValue": false,
+ "inputType": "input",
+ "limit": "num",
+ "limitParam": "",
+ "limitErrInfo": "鏄剧ず搴忓彿涓嶆槸鏈夋晥鏁板瓧",
+ "show": true
+ },
+ {
+ "code": "defalutShow",
+ "cnCode": "鏄惁鏄剧ず",
+ "desc": "蹇呭~锛岃濉啓鏄惁鏄剧ず",
+ "required": true,
+ "hasDefaultValue": false,
+ "inputType": "select",
+ "selectValue": "Y,N",
+ "selectValueName": "鏄�,鍚�",
+ "limit": "maxLength",
+ "limitParam": "2",
+ "limitErrInfo": "鏄惁鏄剧ず鏍煎紡閿欒",
"show": true
}
]
--
Gitblit v1.8.0