|
@@ -41,6 +41,9 @@
|
|
|
>
|
|
|
<Icon icon="ep:upload" /> 导入
|
|
|
</el-button>
|
|
|
+ <!-- <el-button v-if="porps.deptsName == '公司'" plain @click="dialogVisible = true">
|
|
|
+ 免考勤人员设置
|
|
|
+ </el-button> -->
|
|
|
<el-button type="success" style="background-color: #05ce9e" v-if="false">
|
|
|
<img src="@/assets/imgs/OA/kq/kqqrIcon.png" class="mr-8px" alt="" />
|
|
|
考勤确认</el-button
|
|
@@ -48,6 +51,17 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <!-- 免考勤人员设置 -->
|
|
|
+ <el-dialog v-model="dialogVisible" title="免考勤人员设置" width="500" align-center>
|
|
|
+ <UserOrgTree v-model="notAttendanceList" :multiple="true" placeholder="请选择免考勤人员" />
|
|
|
+ <template #footer>
|
|
|
+ <div class="dialog-footer">
|
|
|
+ <el-button @click="dialogVisible = false">关闭</el-button>
|
|
|
+ <el-button type="primary" @click="noAttendanceSet"> 确定 </el-button>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
<el-popover :width="50">
|
|
|
<template #reference>
|
|
|
<div class="depStateBox">
|
|
@@ -164,6 +178,7 @@ import ExportToExcel from '@/components/ExportToExcel/index.vue'
|
|
|
import { getUserInfo } from '@/utils/tool'
|
|
|
import AttendanceSheetImportForm from './components/attendanceSheetImportForm.vue'
|
|
|
import DeptTree from '@/views/OaSystem/components/DeptTree/index.vue'
|
|
|
+import UserOrgTree from '@/views/OaSystem/components/UserOrgTree/index.vue'
|
|
|
|
|
|
const userInfo = getUserInfo()
|
|
|
|
|
@@ -389,6 +404,14 @@ const init = () => {
|
|
|
onMounted(() => {
|
|
|
init()
|
|
|
})
|
|
|
+
|
|
|
+/** 免考勤人员设置 */
|
|
|
+const dialogVisible = ref(false)
|
|
|
+const notAttendanceList = ref([])
|
|
|
+const noAttendanceSet = () => {
|
|
|
+ dialogVisible.value = false
|
|
|
+ // console.log('notAttendanceList', notAttendanceList.value)
|
|
|
+}
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
.attendanceCenterDep {
|