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 | 240 +++++++++++++----------------------------------------------
1 files changed, 55 insertions(+), 185 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index f247163..fbcba99 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,213 +1,83 @@
{
- "templateName":"鍚堝悓淇℃伅",
- "directories": "admin",
- "templateCode":"contract",
- "templateKey":"contractId",
- "templateKeyName":"鍚堝悓ID",
- "searchCode": "contractId",
- "searchName": "鍚堝悓ID",
+ "templateName": "淇℃伅澶х被",
+ "directories": "property",
+ "templateCode": "activitiesType",
+ "templateKey": "typeCd",
+ "templateKeyName": "澶х被缂栫爜",
+ "searchCode": "typeCd",
+ "searchName": "澶х被缂栫爜",
"conditions": [
{
- "name": "鍚堝悓鍚嶇О",
+ "name": "澶х被缂栫爜",
"inputType": "input",
- "code": "contractName",
+ "code": "typeCd",
"whereCondition": "equal"
},
{
- "name": "鍚堝悓缂栧彿",
+ "name": "澶х被鍚嶇О",
"inputType": "input",
- "code": "contractCode",
+ "code": "typeName",
"whereCondition": "equal"
},
{
- "name": "鍚堝悓绫诲瀷",
- "inputType": "input",
- "code": "contractType",
+ "name": "鏄惁鏄剧ず",
+ "inputType": "select",
+ "selectValue":"Y,N",
+ "selectValueName":"鏄�,鍚�",
+ "code": "defalutShow",
"whereCondition": "equal"
}
],
- "columns":[
+ "columns": [
{
- "code": "contractName",
- "cnCode":"鍚堝悓鍚嶇О",
- "desc":"蹇呭~锛岃濉啓鍚堝悓鍚嶇О",
- "required":true,
- "hasDefaultValue":false,
+ "code": "typeName",
+ "cnCode": "澶х被鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓澶х被鍚嶇О",
+ "required": true,
+ "hasDefaultValue": false,
"inputType": "input",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"鍚堝悓鍚嶇О涓嶈兘瓒呰繃64浣�",
+ "limit": "maxLength",
+ "limitParam": "100",
+ "limitErrInfo": "澶х被鍚嶇О瓒呰繃100浣�",
"show": true
},
{
- "code": "contractCode",
- "cnCode":"鍚堝悓缂栧彿",
- "desc":"閫夊~锛岃濉啓鍚堝悓缂栧彿",
- "required":true,
- "hasDefaultValue":false,
+ "code": "typeDesc",
+ "cnCode": "澶х被鎻忚堪",
+ "desc": "鍙~锛岃濉啓绫诲瀷鎻忚堪",
+ "required": false,
+ "hasDefaultValue": false,
"inputType": "input",
- "limit":"maxLength",
- "limitParam":"30",
- "limitErrInfo":"鍚堝悓缂栧彿閿欒",
+ "limit": "maxLength",
+ "limitParam": "500",
+ "limitErrInfo": "鎻忚堪瓒呰繃500浣�",
"show": true
},
{
- "code": "contractType",
- "cnCode":"鍚堝悓绫诲瀷",
- "desc":"蹇呭~锛岃閫夋嫨鍚堝悓绫诲瀷",
- "required":true,
- "hasDefaultValue":false,
+ "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":"10001,10002",
- "selectValueName":"灏忓尯鏂囧寲,鍏朵粬",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鍚堝悓绫诲瀷鏍煎紡閿欒",
+ "selectValue": "Y,N",
+ "selectValueName": "鏄�,鍚�",
+ "limit": "maxLength",
+ "limitParam": "2",
+ "limitErrInfo": "鏄惁鏄剧ず鏍煎紡閿欒",
"show": true
- },
- {
- "code": "partyA",
- "cnCode":"鐢叉柟",
- "desc":"蹇呭~锛岃濉啓鐢叉柟",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"鐢叉柟鍚嶇О澶暱",
- "show": true
- },
- {
- "code": "partyB",
- "cnCode":"涔欐柟",
- "desc":"蹇呭~锛岃濉啓涔欐柟",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"涔欐柟鍚嶇О澶暱",
- "show": true
- },
- {
- "code": "aContacts",
- "cnCode":"鐢叉柟鑱旂郴浜�",
- "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴浜�",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"64",
- "limitErrInfo":"鐢叉柟鑱旂郴浜洪暱搴﹁秴杩�64浣�",
- "show": false
- },
- {
- "code": "bContacts",
- "cnCode":"涔欐柟鑱旂郴浜�",
- "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴浜�",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"64",
- "limitErrInfo":"鐢叉柟鑱旂郴浜洪暱搴﹁秴杩�64浣�",
- "show": false
- },
- {
- "code": "aLink",
- "cnCode":"鐢叉柟鑱旂郴鐢佃瘽",
- "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴鐢佃瘽",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"phone",
- "limitParam":"",
- "limitErrInfo":"鐢叉柟鑱旂郴鐢佃瘽閿欒",
- "show": false
- },
- {
- "code": "bLink",
- "cnCode":"涔欐柟鑱旂郴鐢佃瘽",
- "desc":"蹇呭~锛岃濉啓涔欐柟鑱旂郴鐢佃瘽",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"phone",
- "limitParam":"",
- "limitErrInfo":"涔欐柟鑱旂郴鐢佃瘽閿欒",
- "show": false
- },
- {
- "code": "operator",
- "cnCode":"缁忓姙浜�",
- "desc":"蹇呭~锛岃濉啓缁忓姙浜�",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"64",
- "limitErrInfo":"缁忓姙浜鸿秴杩�64浣�",
- "show": true
- },
- {
- "code": "operatorLink",
- "cnCode":"鑱旂郴鐢佃瘽",
- "desc":"蹇呭~锛岃濉啓缁忓姙浜鸿仈绯荤數璇�",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"phone",
- "limitParam":"",
- "limitErrInfo":"缁忓姙浜鸿仈绯荤數璇濇牸寮忛敊璇�",
- "show": false
- },
- {
- "code": "amount",
- "cnCode":"鍚堝悓閲戦",
- "desc":"蹇呭~锛岃濉啓鍚堝悓閲戦",
- "required":false,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"money",
- "limitParam":"",
- "limitErrInfo":"鍚堝悓閲戦鏍煎紡閿欒锛屽1.50",
- "show": true
- },
- {
- "code": "startTime",
- "cnCode":"寮�濮嬫椂闂�",
- "desc":"蹇呭~锛岃濉啓鍚堝悓寮�濮嬫椂闂�",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"dateTime",
- "limitParam":"",
- "limitErrInfo":"鍚堝悓寮�濮嬫椂闂存牸寮忛敊璇�",
- "show": true
- },
- {
- "code": "endTime",
- "cnCode":"缁撴潫鏃堕棿",
- "desc":"蹇呭~锛岃濉啓鍚堝悓缁撴潫鏃堕棿",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"dateTime",
- "limitParam":"",
- "limitErrInfo":"鍚堝悓缁撴潫鏃堕棿鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "signingTime",
- "cnCode":"绛捐鏃堕棿",
- "desc":"閫夊~锛岃濉啓鍚堝悓绛捐鏃堕棿",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"dateTime",
- "limitParam":"",
- "limitErrInfo":"鍚堝悓绛捐鏃堕棿鏍煎紡閿欒",
- "show": false
}
]
}
\ No newline at end of file
--
Gitblit v1.8.0