From 575838a4a2a72ef054ee4a488cc1b9440df4250b Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 16 八月 2021 17:14:36 +0800
Subject: [PATCH] 优化代码
---
java110-generator/src/main/resources/web/template_1.json | 102 ++++++++++++---------------------------------------
1 files changed, 24 insertions(+), 78 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index dc6c639..d7201dd 100755
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,116 +1,62 @@
{
- "templateName": "杩旂渷涓婃姤",
- "templateCode": "reportInfoBackCity",
- "templateKey": "backId",
- "templateKeyName": "杩斿洖ID",
- "searchCode": "backId",
- "searchName": "杩斿洖ID",
+ "templateName": "娴佺▼瀹炰緥",
+ "templateCode": "oaWorkflow",
+ "templateKey": "flowId",
+ "templateKeyName": "宸ヤ綔娴両D",
+ "searchCode": "flowId",
+ "searchName": "宸ヤ綔娴両D",
"directories": "property",
"conditions": [
{
- "name": "濮撳悕",
+ "name": "娴佺▼鍚嶇О",
"inputType": "input",
- "code": "name",
+ "code": "flowName",
"whereCondition": "equal"
},
{
- "name": "韬唤璇�",
+ "name": "鎻忚堪",
"inputType": "input",
- "code": "idCard",
+ "code": "describle",
"whereCondition": "equal"
},
{
- "name": "鎵嬫満鍙�",
- "inputType": "input",
- "code": "tel",
- "whereCondition": "equal"
- },
- {
- "name": "鏉ユ簮鍦�",
+ "name": "娴佺▼绫诲瀷",
"inputType": "select",
"selectValue":"1001,2002",
"selectValueName":"鍥藉唴,鍥藉",
- "code": "source",
+ "code": "flowType",
"whereCondition": "equal"
}
],
"columns": [
{
- "code": "name",
- "cnCode": "濮撳悕",
- "desc": "蹇呭~锛岃濉啓濮撳悕",
+ "code": "flowName",
+ "cnCode": "娴佺▼鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓娴佺▼鍚嶇О",
"required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
"limitParam": "64",
- "limitErrInfo": "濮撳悕瓒呰繃64浣�",
+ "limitErrInfo": "娴佺▼鍚嶇О瓒呰繃64浣�",
"show": true
},
{
- "code": "idCard",
- "cnCode": "韬唤璇�",
- "desc": "蹇呭~锛岃濉啓韬唤璇�",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "maxLength",
- "limitParam": "64",
- "limitErrInfo": "韬唤璇佷笉鑳戒负绌�",
- "show": true
- },
- {
- "code": "tel",
- "cnCode": "鎵嬫満鍙�",
- "desc": "蹇呭~锛岃濉啓鎵嬫満鍙�",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "phone",
- "limitParam": "",
- "limitErrInfo": "鎵嬫満鍙锋牸寮忛敊璇�",
- "show": true
- },
- {
- "code": "source",
- "cnCode": "鏉ユ簮鍦�",
- "desc": "蹇呭~锛岃濉啓鏉ユ簮鍦�",
+ "code": "flowType",
+ "cnCode": "娴佺▼绫诲瀷",
+ "desc": "蹇呭~锛岃濉啓娴佺▼绫诲瀷",
"required": true,
"hasDefaultValue": false,
"inputType": "select",
- "selectValue":"1001,2002",
- "selectValueName":"鍥藉唴,鍥藉",
- "limit": "num",
- "limitParam": "",
- "limitErrInfo": "鏉ユ簮鍦版牸寮忛敊璇�",
- "show": true
- },
- {
- "code": "sourceCityName",
- "cnCode": "鍩庡競鍚嶇О",
- "desc": "蹇呭~锛岃濉啓鍩庡競鍚嶇О",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
+ "selectValue":"1001",
+ "selectValueName":"鏅�氭祦绋�",
"limit": "maxLength",
- "limitParam": "64",
- "limitErrInfo": "鍩庡競鍚嶇О鏍煎紡閿欒",
+ "limitParam": "12",
+ "limitErrInfo": "娴佺▼绫诲瀷涓嶈兘涓虹┖",
"show": true
},
{
- "code": "backTime",
- "cnCode": "杩斿洖鏃堕棿",
- "desc": "蹇呭~锛岃濉啓杩斿洖鏃堕棿",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "dateTime",
- "limitParam": "",
- "limitErrInfo": "杩斿洖鏃堕棿鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "remark",
+ "code": "describle",
"cnCode": "澶囨敞",
"desc": "鍙~锛岃濉啓澶囨敞",
"required": false,
--
Gitblit v1.8.0