Browse Source

首页弹窗修改

yanym 1 year ago
parent
commit
a4a186dbae

+ 11 - 1
suishenbang-admin/src/main/resources/templates/system/alertConfiguration/edit.html

@@ -93,7 +93,7 @@
     <th:block th:include="include :: bootstrap-select-js" />
     <script type="text/javascript">
         var prefix = ctx + "system/configuration";
-        //var getCompanyListPrefix = "http://localhost:10001/wxportal-api/sysuser/searchOrg";
+        // var getCompanyListPrefix = "http://localhost:10001/wxportal-api/sysuser/searchOrg";
         var getCompanyListPrefix = "http://suishenbangtest.nipponpaint.com.cn/wxportal-api/sysuser/searchOrg";
 
         $(document).ready(function () {
@@ -123,6 +123,11 @@
                             parValue: ''
                         }
                         getCompanyList(objList,result.levelInfo.company_code);
+                        var objList1 = {
+                            parType: 'company_level',
+                            parValue: result.levelInfo.company_code
+                        }
+                        getCompanyList(objList1,"");
                     }
                 }
                 $.ajax(confighuixian1)
@@ -151,6 +156,11 @@
                             parValue: result.levelInfo.company_code
                         }
                         getCompanyList(objList1,result.levelInfo.office_code);
+                        var objList2 = {
+                            parType: 'office_level',
+                            parValue: result.levelInfo.office_code
+                        }
+                        getCompanyList(objList2,"");
                     }
                 }
                 $.ajax(confighuixian1)