Explorar o código

添加员工时优化 组织显示

wuxw %!s(int64=6) %!d(string=hai) anos
pai
achega
5a3b851da6

+ 1 - 1
Api/src/main/java/com/java110/api/listener/store/SaveStoreServiceListener.java

@@ -273,7 +273,7 @@ public class SaveStoreServiceListener extends AbstractServiceApiDataFlowListener
         String orgId = GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_orgId);
         String orgId = GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_orgId);
         JSONObject business = JSONObject.parseObject("{\"datas\":{}}");
         JSONObject business = JSONObject.parseObject("{\"datas\":{}}");
         business.put(CommonConstant.HTTP_BUSINESS_TYPE_CD, BusinessTypeConstant.BUSINESS_TYPE_SAVE_ORG);
         business.put(CommonConstant.HTTP_BUSINESS_TYPE_CD, BusinessTypeConstant.BUSINESS_TYPE_SAVE_ORG);
-        business.put(CommonConstant.HTTP_SEQ, DEFAULT_SEQ);
+        business.put(CommonConstant.HTTP_SEQ, DEFAULT_SEQ+3);
         business.put(CommonConstant.HTTP_INVOKE_MODEL, CommonConstant.HTTP_INVOKE_MODEL_S);
         business.put(CommonConstant.HTTP_INVOKE_MODEL, CommonConstant.HTTP_INVOKE_MODEL_S);
         JSONObject businessOrg = new JSONObject();
         JSONObject businessOrg = new JSONObject();
         businessOrg.put("orgName",paramInJson.getJSONObject("businessStore").getString("name"));
         businessOrg.put("orgName",paramInJson.getJSONObject("businessStore").getString("name"));

+ 2 - 2
WebService/src/main/resources/components/orgPackage/view-org-info/viewOrgInfo.html

@@ -21,13 +21,13 @@
                     <div class="col-sm-4">
                     <div class="col-sm-4">
                         <div class="form-group">
                         <div class="form-group">
                             <label class="col-form-label">组织级别:</label>
                             <label class="col-form-label">组织级别:</label>
-                            <label class="">{{viewOrgInfo.orgLevel}}</label>
+                            <label class="">{{viewOrgInfo.orgLevelName}}</label>
                         </div>
                         </div>
                     </div>
                     </div>
                     <div class="col-sm-4">
                     <div class="col-sm-4">
                         <div class="form-group">
                         <div class="form-group">
                             <label class="col-form-label">上级组织:</label>
                             <label class="col-form-label">上级组织:</label>
-                            <label class="">{{viewOrgInfo.parentOrgId}}</label>
+                            <label class="">{{viewOrgInfo.parentOrgName}}</label>
                         </div>
                         </div>
                     </div>
                     </div>
                 </div>
                 </div>

+ 2 - 0
WebService/src/main/resources/components/orgPackage/view-org-info/viewOrgInfo.js

@@ -17,7 +17,9 @@
                 orgId:'',
                 orgId:'',
                 orgName:'',
                 orgName:'',
                 orgLevel:'',
                 orgLevel:'',
+                orgLevelName:'',
                 parentOrgId:'',
                 parentOrgId:'',
+                parentOrgName:'',
                 description:'',
                 description:'',
                 branchOrgId:'',
                 branchOrgId:'',
             }
             }