浏览代码

app 考勤打卡

黑艺新账号
yxq 1年前
父节点
当前提交
bbc6799ad8
共有 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()
});
} else {
initMap()
}
function initMap() {
console.log($('#GPSRange').val())


+ 4
- 3
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(','))
}
}
})


正在加载...
取消
保存