From 949b57a5b86e4c9076ea409f0a51de899fdb6290 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 15 十月 2019 20:53:31 +0800
Subject: [PATCH] 优化员工功能

---
 java110-code-generator/src/main/resources/relationship/template_1.json |  106 ++++++++++++++++++++++++++--------------------------
 1 files changed, 53 insertions(+), 53 deletions(-)

diff --git a/java110-code-generator/src/main/resources/relationship/template_1.json b/java110-code-generator/src/main/resources/relationship/template_1.json
index d87c16b..094beed 100644
--- a/java110-code-generator/src/main/resources/relationship/template_1.json
+++ b/java110-code-generator/src/main/resources/relationship/template_1.json
@@ -1,65 +1,65 @@
 {
-  "templateName":"娣诲姞涓氫富",
-  "templateCode":"addOwner",
-  "templateKey":"ownerId",
-  "templateKeyName":"涓氫富ID",
-  "package": "ownerPackage",
-  "successUrl": "/flow/ownerFlow",
+  "templateName":"娣诲姞鍛樺伐",
+  "templateCode":"addStaffStep",
+  "templateKey":"userId",
+  "templateKeyName":"鍛樺伐ID",
+  "package": "staffPackage",
+  "successUrl": "/flow/staff",
   "needAffirm": false,
   "flows":[
     {
       "index": 0,
-      "code":"floor",
-      "flowKey": "floorId",
-      "cnCode":"閫夋嫨妤兼爧",
-      "vcName":"viewFloorInfo",
-      "businessName": "businessFloor",
-      "businessType": "BUSINESS_TYPE_SAVE_FLOOR_INFO",
+      "code":"branchOrg",
+      "flowKey": "branchOrgId",
+      "cnCode":"閫夋嫨鍒嗗叕鍙�",
+      "vcName":"viewOrgInfo",
+      "businessName": "businessOrg",
+      "businessType": "BUSINESS_TYPE_SAVE_ORG_INFO",
       "existsComponent": true
     },
     {
       "index": 1,
-      "code":"room",
-      "flowKey": "roomId",
-      "cnCode":"閫夋嫨鎴垮眿",
-      "vcName":"sellRoomSelectRoom",
-      "businessName": "businessRoom",
-      "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO",
+      "code":"departmentOrg",
+      "flowKey": "departmentOrgId",
+      "cnCode":"閫夋嫨閮ㄩ棬",
+      "vcName":"viewOrgInfo",
+      "businessName": "businessOrg",
+      "businessType": "BUSINESS_TYPE_SAVE_ORG_INFO",
       "existsComponent": true
     },
     {
       "index": 2,
-      "code":"owner",
-      "flowKey": "ownerId",
-      "cnCode":"濉啓涓氫富淇℃伅",
-      "vcName":"addOwner",
-      "businessName": "businessOwner",
-      "businessType": "BUSINESS_TYPE_SAVE_OWNER_INFO",
+      "code":"staff",
+      "flowKey": "userId",
+      "cnCode":"濉啓鍛樺伐淇℃伅",
+      "vcName":"addStaff",
+      "businessName": "businessStaff",
+      "businessType": "BUSINESS_TYPE_SAVE_STAFF_INFO",
       "existsComponent": false
     }
   ],
   "components": {
-      "addOwner": {
-        "templateName":"娣诲姞涓氫富",
-        "templateCode":"addOwner",
-        "package": "ownerPackage",
+      "addStaff": {
+        "templateName":"娣诲姞鍛樺伐",
+        "templateCode":"addStaff",
+        "package": "staffPackage",
         "columns":[
           {
-            "code":"name",
-            "cnCode":"鍚嶇О",
-            "desc":"蹇呭~锛屽悕绉颁笉鑳戒负绌�",
+            "code":"username",
+            "cnCode":"鍛樺伐鍚嶇О",
+            "desc":"蹇呭~锛屽憳宸ュ悕绉颁笉鑳戒负绌�",
             "required":true,
             "hasDefaultValue":false,
             "inputType":"input",
             "limit":"maxin",
             "limitParam":"2,10",
-            "limitErrInfo":"鍚嶇О闀垮害蹇呴』鍦�2浣嶈嚦10浣�",
+            "limitErrInfo":"鍛樺伐鍚嶇О闀垮害蹇呴』鍦�2浣嶈嚦10浣�",
             "show": true
           },
           {
             "code":"sex",
-            "cnCode":"鎬у埆",
-            "desc":"蹇呭~锛岃閫夋嫨鎬у埆",
+            "cnCode":"鍛樺伐鎬у埆",
+            "desc":"蹇呭~锛岃閫夋嫨鍛樺伐鎬у埆",
             "required":true,
             "hasDefaultValue":false,
             "inputType":"select",
@@ -67,46 +67,46 @@
             "selectValueName":"鐢�,濂�",
             "limit":"num",
             "limitParam":"",
-            "limitErrInfo":"鎬у埆涓嶈兘涓虹┖",
+            "limitErrInfo":"鍛樺伐鎬у埆涓嶈兘涓虹┖",
             "show": true
           },
           {
-            "code":"age",
-            "cnCode":"骞撮緞",
-            "desc":"蹇呭~锛岃濉啓骞撮緞",
+            "code":"email",
+            "cnCode":"鍛樺伐閭",
+            "desc":"蹇呭~锛岃濉啓鍛樺伐閭",
             "required":true,
             "hasDefaultValue":false,
             "defaultValue":"",
             "inputType":"input",
-            "limit":"num",
+            "limit":"email",
             "limitParam":"",
-            "limitErrInfo":"骞撮緞涓嶆槸鏈夋晥鐨勬暟瀛�",
-            "show": false
+            "limitErrInfo":"鍛樺伐閭涓嶆槸鏈夋晥閭",
+            "show": true
           },
           {
-            "code":"link",
+            "code":"tel",
             "cnCode":"鎵嬫満",
             "desc":"蹇呭~锛岃濉啓鑱旂郴鏂瑰紡",
             "required":false,
             "hasDefaultValue":false,
             "defaultValue":"",
-            "inputType":"textarea",
-            "limit":"maxLength",
-            "limitParam":"2000",
-            "limitErrInfo":"杈撳嚭妯℃澘涓嶈兘瓒呰繃2000",
-            "show": false
+            "inputType":"input",
+            "limit":"photo",
+            "limitParam":"",
+            "limitErrInfo":"鑱旂郴鏂瑰紡涓嶆槸鏈夋晥鎵嬫満",
+            "show": true
           },
           {
-            "code":"remark",
-            "cnCode":"澶囨敞",
-            "desc":"鍙~锛岃濉啓澶囨敞",
-            "required":false,
+            "code":"address",
+            "cnCode":"瀹跺涵浣忓潃",
+            "desc":"蹇呭~锛屽啓瀹跺涵浣忓潃",
+            "required":true,
             "hasDefaultValue":false,
             "defaultValue":"",
-            "inputType":"textarea",
+            "inputType":"input",
             "limit":"maxLength",
             "limitParam":"200",
-            "limitErrInfo":"澶囨敞闀垮害涓嶈兘瓒呰繃200浣�",
+            "limitErrInfo":"瀹跺涵浣忓潃涓嶈兘瓒呰繃200浣�",
             "show": false
           }
         ]

--
Gitblit v1.8.0