diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/Form.js index e0b53b67c..db7b7b36d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/Form.js @@ -69,6 +69,8 @@ var bootstrap = function ($, learun) { } initMap() }); + } else { + initMap() } function initMap() { console.log($('#GPSRange').val()) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/FormDay.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/FormDay.js index a36dfab5b..81999d854 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/FormDay.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/FormDay.js @@ -41,8 +41,9 @@ var bootstrap = function ($, learun) { selectedData: [], } }, - mouted() { - if ($('#WorkDay')) { + mounted() { + $('.el-button-group .el-button:nth-child(2) span').html('当月') + if ($('#WorkDay').val()) { this.selectedData = $('#WorkDay').val().split(',') } }, @@ -57,7 +58,7 @@ var bootstrap = function ($, learun) { } else { this.selectedData.push(data.day) } - $('#WorkDay').val(this.selectedData.toString()) + $('#WorkDay').val(this.selectedData.join(',')) } } })