瀏覽代碼

Merge branch '黑龙江艺术高中职' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 黑龙江艺术高中职

黑艺新账号
liangkun 1 年之前
父節點
當前提交
7383a9042e
共有 2 個文件被更改,包括 6 次插入3 次删除
  1. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/Form.js
  2. +4
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/FormDay.js

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/Form.js 查看文件

@@ -69,6 +69,8 @@ var bootstrap = function ($, learun) {
} }
initMap() initMap()
}); });
} else {
initMap()
} }
function initMap() { function initMap() {
console.log($('#GPSRange').val()) console.log($('#GPSRange').val())


+ 4
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ADR_Restriction/FormDay.js 查看文件

@@ -34,8 +34,9 @@ var bootstrap = function ($, learun) {
selectedData: [], selectedData: [],
} }
}, },
mouted() {
if ($('#WorkDay')) {
mounted() {
$('.el-button-group .el-button:nth-child(2) span').html('当月')
if ($('#WorkDay').val()) {
this.selectedData = $('#WorkDay').val().split(',') this.selectedData = $('#WorkDay').val().split(',')
} }
}, },
@@ -50,7 +51,7 @@ var bootstrap = function ($, learun) {
} else { } else {
this.selectedData.push(data.day) this.selectedData.push(data.day)
} }
$('#WorkDay').val(this.selectedData.toString())
$('#WorkDay').val(this.selectedData.join(','))
} }
} }
}) })


Loading…
取消
儲存