diff --git a/src/main/resources/templates/comprehensivecenter/save-BMap.html b/src/main/resources/templates/comprehensivecenter/save-BMap.html index bcf3191..0842cb7 100644 --- a/src/main/resources/templates/comprehensivecenter/save-BMap.html +++ b/src/main/resources/templates/comprehensivecenter/save-BMap.html @@ -188,9 +188,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#locationName').val(areaName); } - $('#locationCode').val(areaCode); - $('#locationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/comprehensivecenter/update.html b/src/main/resources/templates/comprehensivecenter/update.html index db61a0a..ecf2409 100644 --- a/src/main/resources/templates/comprehensivecenter/update.html +++ b/src/main/resources/templates/comprehensivecenter/update.html @@ -226,9 +226,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#locationName').val(areaName); } - $('#locationCode').val(areaCode); - $('#locationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/comprehensivemsgcenter/save.html b/src/main/resources/templates/comprehensivemsgcenter/save.html index 4b03c69..767224b 100644 --- a/src/main/resources/templates/comprehensivemsgcenter/save.html +++ b/src/main/resources/templates/comprehensivemsgcenter/save.html @@ -251,9 +251,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#locationName').val(areaName); } - $('#locationCode').val(areaCode); - $('#locationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/comprehensivemsgcenter/update.html b/src/main/resources/templates/comprehensivemsgcenter/update.html index 10bd26e..d727d79 100644 --- a/src/main/resources/templates/comprehensivemsgcenter/update.html +++ b/src/main/resources/templates/comprehensivemsgcenter/update.html @@ -257,9 +257,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#locationName').val(areaName); } - $('#locationCode').val(areaCode); - $('#locationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/enterprise/save.html b/src/main/resources/templates/enterprise/save.html index 357e032..e34df99 100644 --- a/src/main/resources/templates/enterprise/save.html +++ b/src/main/resources/templates/enterprise/save.html @@ -1182,9 +1182,9 @@ } areaName += item.areaName; } + $('#areaCode').val(areaCode); + $('#areaName').val(areaName); } - $('#areaCode').val(areaCode); - $('#areaName').val(areaName); initGridCodeSelect(areaCode); } }) diff --git a/src/main/resources/templates/enterprise/update.html b/src/main/resources/templates/enterprise/update.html index 4e84cb2..ac8e550 100644 --- a/src/main/resources/templates/enterprise/update.html +++ b/src/main/resources/templates/enterprise/update.html @@ -646,8 +646,6 @@ parent.layer.close(parent.layer.getFrameIndex(window.name)); } - - // 初始化类型ID下拉选择 function initEnterpriseTypeIdSelect(selectValue) { top.restAjax.get(top.restAjax.path('api/mongo/data/list/parent-id/9041ffbf-6fb6-4a0d-909b-92aff2d0f432', []), {}, null, function(code, data, args) { @@ -1219,9 +1217,9 @@ } areaName += item.areaName; } + $('#areaCode').val(areaCode); + $('#areaName').val(areaName); } - $('#areaCode').val(areaCode); - $('#areaName').val(areaName); } }) }); diff --git a/src/main/resources/templates/homicide/save.html b/src/main/resources/templates/homicide/save.html index 8e3965c..8c4d7c2 100644 --- a/src/main/resources/templates/homicide/save.html +++ b/src/main/resources/templates/homicide/save.html @@ -131,9 +131,9 @@ } areaName += item.areaName; } + $('#happenLocationCode').val(areaCode); + $('#happenLocationName').val(areaName); } - $('#happenLocationCode').val(areaCode); - $('#happenLocationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/homicide/update.html b/src/main/resources/templates/homicide/update.html index ec84e14..fa9edc6 100644 --- a/src/main/resources/templates/homicide/update.html +++ b/src/main/resources/templates/homicide/update.html @@ -133,9 +133,9 @@ } areaName += item.areaName; } + $('#happenLocationCode').val(areaCode); + $('#happenLocationName').val(areaName); } - $('#happenLocationCode').val(areaCode); - $('#happenLocationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/homicidesuspect/save.html b/src/main/resources/templates/homicidesuspect/save.html index 34e1c68..a913a5a 100644 --- a/src/main/resources/templates/homicidesuspect/save.html +++ b/src/main/resources/templates/homicidesuspect/save.html @@ -534,9 +534,9 @@ } areaName += item.areaName; } + $('#currentResidenceCode').val(areaCode); + $('#currentResidenceName').val(areaName); } - $('#currentResidenceCode').val(areaCode); - $('#currentResidenceName').val(areaName); } }) }); diff --git a/src/main/resources/templates/importantevent/save.html b/src/main/resources/templates/importantevent/save.html index a97980a..2bbee28 100644 --- a/src/main/resources/templates/importantevent/save.html +++ b/src/main/resources/templates/importantevent/save.html @@ -200,9 +200,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/importantevent/update.html b/src/main/resources/templates/importantevent/update.html index 49bbc42..6bb97cc 100644 --- a/src/main/resources/templates/importantevent/update.html +++ b/src/main/resources/templates/importantevent/update.html @@ -207,9 +207,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/institution/save.html b/src/main/resources/templates/institution/save.html index 9027a3e..7c7f2ee 100644 --- a/src/main/resources/templates/institution/save.html +++ b/src/main/resources/templates/institution/save.html @@ -120,9 +120,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/institution/update.html b/src/main/resources/templates/institution/update.html index f44ff86..badd5b0 100644 --- a/src/main/resources/templates/institution/update.html +++ b/src/main/resources/templates/institution/update.html @@ -126,9 +126,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/keyareacheckrenovation/save.html b/src/main/resources/templates/keyareacheckrenovation/save.html index 7c9094d..90882fc 100644 --- a/src/main/resources/templates/keyareacheckrenovation/save.html +++ b/src/main/resources/templates/keyareacheckrenovation/save.html @@ -257,9 +257,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/keyareacheckrenovation/update.html b/src/main/resources/templates/keyareacheckrenovation/update.html index e60d607..6411f8c 100644 --- a/src/main/resources/templates/keyareacheckrenovation/update.html +++ b/src/main/resources/templates/keyareacheckrenovation/update.html @@ -264,9 +264,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/keyplace/save.html b/src/main/resources/templates/keyplace/save.html index 67e0667..48366dc 100644 --- a/src/main/resources/templates/keyplace/save.html +++ b/src/main/resources/templates/keyplace/save.html @@ -220,9 +220,9 @@ } areaName += item.areaName; } + $('#areaCode').val(areaCode); + $('#areaName').val(areaName); } - $('#areaCode').val(areaCode); - $('#areaName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/keyplace/update.html b/src/main/resources/templates/keyplace/update.html index 7f3a887..196aca3 100644 --- a/src/main/resources/templates/keyplace/update.html +++ b/src/main/resources/templates/keyplace/update.html @@ -227,9 +227,9 @@ } areaName += item.areaName; } + $('#areaCode').val(areaCode); + $('#areaName').val(areaName); } - $('#areaCode').val(areaCode); - $('#areaName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/line/save.html b/src/main/resources/templates/line/save.html index 3b12228..3e2a1ca 100644 --- a/src/main/resources/templates/line/save.html +++ b/src/main/resources/templates/line/save.html @@ -201,9 +201,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/line/update.html b/src/main/resources/templates/line/update.html index 897f80f..646c157 100644 --- a/src/main/resources/templates/line/update.html +++ b/src/main/resources/templates/line/update.html @@ -203,9 +203,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/linecase/save.html b/src/main/resources/templates/linecase/save.html index 8d7e681..60e2e58 100644 --- a/src/main/resources/templates/linecase/save.html +++ b/src/main/resources/templates/linecase/save.html @@ -227,9 +227,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/linecase/update.html b/src/main/resources/templates/linecase/update.html index d1b1712..bf1df65 100644 --- a/src/main/resources/templates/linecase/update.html +++ b/src/main/resources/templates/linecase/update.html @@ -233,9 +233,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/logisticssafe/save.html b/src/main/resources/templates/logisticssafe/save.html index 958c574..1ac09b0 100644 --- a/src/main/resources/templates/logisticssafe/save.html +++ b/src/main/resources/templates/logisticssafe/save.html @@ -394,9 +394,9 @@ } areaName += item.areaName; } + $('#enterpriseLocationCode').val(areaCode); + $('#enterpriseLocationName').val(areaName); } - $('#enterpriseLocationCode').val(areaCode); - $('#enterpriseLocationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/logisticssafe/update.html b/src/main/resources/templates/logisticssafe/update.html index 9370f6d..44cc2c1 100644 --- a/src/main/resources/templates/logisticssafe/update.html +++ b/src/main/resources/templates/logisticssafe/update.html @@ -401,9 +401,9 @@ } areaName += item.areaName; } + $('#enterpriseLocationCode').val(areaCode); + $('#enterpriseLocationName').val(areaName); } - $('#enterpriseLocationCode').val(areaCode); - $('#enterpriseLocationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/lrs/save.html b/src/main/resources/templates/lrs/save.html index 0089f5e..ae987b5 100644 --- a/src/main/resources/templates/lrs/save.html +++ b/src/main/resources/templates/lrs/save.html @@ -151,9 +151,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/lrs/update.html b/src/main/resources/templates/lrs/update.html index 46b879d..5294c91 100644 --- a/src/main/resources/templates/lrs/update.html +++ b/src/main/resources/templates/lrs/update.html @@ -153,9 +153,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/massprevention/save.html b/src/main/resources/templates/massprevention/save.html index 0a4539d..8828fd5 100644 --- a/src/main/resources/templates/massprevention/save.html +++ b/src/main/resources/templates/massprevention/save.html @@ -147,9 +147,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/massprevention/update.html b/src/main/resources/templates/massprevention/update.html index dfd5193..59bbaef 100644 --- a/src/main/resources/templates/massprevention/update.html +++ b/src/main/resources/templates/massprevention/update.html @@ -149,9 +149,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/organization/update.html b/src/main/resources/templates/organization/update.html index e0c13cc..27c7ef9 100644 --- a/src/main/resources/templates/organization/update.html +++ b/src/main/resources/templates/organization/update.html @@ -585,8 +585,6 @@ parent.layer.close(parent.layer.getFrameIndex(window.name)); } - - // 初始化组织类型ID下拉选择 function initOrganizationTypeIdSelect(selectValue) { top.restAjax.get(top.restAjax.path('api/mongo/data/list/parent-id/9041ffbf-6fb6-4a0d-909b-92aff2d0f432', []), {}, null, function(code, data, args) { diff --git a/src/main/resources/templates/publicvideo/save.html b/src/main/resources/templates/publicvideo/save.html index b8db092..c0c96a8 100644 --- a/src/main/resources/templates/publicvideo/save.html +++ b/src/main/resources/templates/publicvideo/save.html @@ -163,9 +163,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/publicvideo/update.html b/src/main/resources/templates/publicvideo/update.html index cb075e9..54c9671 100644 --- a/src/main/resources/templates/publicvideo/update.html +++ b/src/main/resources/templates/publicvideo/update.html @@ -165,9 +165,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/school/save.html b/src/main/resources/templates/school/save.html index f074648..aeba95d 100644 --- a/src/main/resources/templates/school/save.html +++ b/src/main/resources/templates/school/save.html @@ -251,9 +251,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/school/update.html b/src/main/resources/templates/school/update.html index c062776..be15dd1 100644 --- a/src/main/resources/templates/school/update.html +++ b/src/main/resources/templates/school/update.html @@ -258,9 +258,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/schoolkey/save.html b/src/main/resources/templates/schoolkey/save.html index d15e877..feb5881 100644 --- a/src/main/resources/templates/schoolkey/save.html +++ b/src/main/resources/templates/schoolkey/save.html @@ -262,9 +262,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/schoolkey/update.html b/src/main/resources/templates/schoolkey/update.html index 4a98cf8..3fcb837 100644 --- a/src/main/resources/templates/schoolkey/update.html +++ b/src/main/resources/templates/schoolkey/update.html @@ -272,9 +272,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/stuteasafe/save.html b/src/main/resources/templates/stuteasafe/save.html index f9cbc80..6ae5105 100644 --- a/src/main/resources/templates/stuteasafe/save.html +++ b/src/main/resources/templates/stuteasafe/save.html @@ -337,9 +337,9 @@ } areaName += item.areaName; } + $('#happenLocationCode').val(areaCode); + $('#happenLocationName').val(areaName); } - $('#happenLocationCode').val(areaCode); - $('#happenLocationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/stuteasafe/update.html b/src/main/resources/templates/stuteasafe/update.html index 57aef66..9da52cc 100644 --- a/src/main/resources/templates/stuteasafe/update.html +++ b/src/main/resources/templates/stuteasafe/update.html @@ -350,9 +350,9 @@ } areaName += item.areaName; } + $('#happenLocationCode').val(areaCode); + $('#happenLocationName').val(areaName); } - $('#happenLocationCode').val(areaCode); - $('#happenLocationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/teamuser/save.html b/src/main/resources/templates/teamuser/save.html index c731918..8426238 100644 --- a/src/main/resources/templates/teamuser/save.html +++ b/src/main/resources/templates/teamuser/save.html @@ -185,7 +185,6 @@ var viewerObj = {}; var selectXm; - function closeBox() { parent.layer.close(parent.layer.getFrameIndex(window.name)); } @@ -239,7 +238,6 @@ } } - // 初始化出生日期日期 function initTeamUserBirthdayDate() { laydate.render({ @@ -351,10 +349,6 @@ }); } - - - - function initSelect(data){ var options = { el: '#teamUserSpecialtyIdDiv', @@ -405,11 +399,6 @@ // },100); } - - - - - // 初始化内容 function initData() { initInstitutionIdSelect(); @@ -490,9 +479,6 @@ } } - - - $('.close').on('click', function() { closeBox(); }); @@ -500,10 +486,6 @@ // 校验 form.verify({ }); - - - - }); diff --git a/src/main/resources/templates/teamuser/search.html b/src/main/resources/templates/teamuser/search.html index 50adb29..da9b9cf 100644 --- a/src/main/resources/templates/teamuser/search.html +++ b/src/main/resources/templates/teamuser/search.html @@ -211,8 +211,6 @@ var laydate = layui.laydate; var selectXm; - - function closeBox() { parent.layer.close(parent.layer.getFrameIndex(window.name)); } @@ -226,8 +224,6 @@ }); } - - // 初始化出生日期日期 function initTeamUserBirthdayDate() { laydate.render({ @@ -302,8 +298,6 @@ }); } - - // 初始化级别ID下拉选择 function initTeamUserLevelIdSelect(selectValue) { top.restAjax.get(top.restAjax.path('api/mongo/data/list-all/parent-id/{dataParentId}', ['26e6748f-93c5-4b7b-8521-357c9df9a8d4']), {}, null, function(code, data, args) { @@ -368,10 +362,6 @@ }); } - - - - function initSelect(data,selectValue){ console.log(selectValue) var selectItem = []; @@ -379,7 +369,6 @@ selectItem = selectValue.split(',') } - var options = { el: '#teamUserSpecialtyIdDiv', name: 'teamUserSpecialtyId',//表单的name属性 @@ -407,17 +396,6 @@ selectXm = xmSelect.render(options) } - - - - - - - - - - - // 初始化内容 function initData() { var data = parent.advancedSearchData; @@ -463,9 +441,6 @@ } - - - $('.close').on('click', function() { closeBox(); }); @@ -473,10 +448,6 @@ // 校验 form.verify({ }); - - - - }); diff --git a/src/main/resources/templates/teamuser/update.html b/src/main/resources/templates/teamuser/update.html index 831fa13..1d74f4d 100644 --- a/src/main/resources/templates/teamuser/update.html +++ b/src/main/resources/templates/teamuser/update.html @@ -314,8 +314,6 @@ }); } - - // 初始化级别ID下拉选择 function initTeamUserLevelIdSelect(selectValue) { top.restAjax.get(top.restAjax.path('api/mongo/data/list-all/parent-id/{dataParentId}', ['26e6748f-93c5-4b7b-8521-357c9df9a8d4']), {}, null, function(code, data, args) { @@ -380,10 +378,6 @@ }); } - - - - function initSelect(data,selectValue){ var selectItem = []; selectItem = selectValue.split(',') @@ -424,8 +418,6 @@ selectXm = xmSelect.render(options) } - - // 初始化内容 function initData() { var loadLayerIndex;