1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

Split the punch card assembly again

This commit is contained in:
gzw
2023-06-08 01:07:57 +08:00
parent faef3336cc
commit a0379809b7
3 changed files with 8 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
<el-date-picker v-model="form.attTime" type="datetime" disabled style="width: 200px" />
</el-form-item>
</el-form>
<div>
<div style="text-align: center">
<span class="dialog-footer">
<el-button type="primary" @click="submitForm()">确认</el-button>
<el-button @click="cancel">取消</el-button>
@@ -17,8 +17,10 @@ import { ElMessage } from 'element-plus'
import _ from 'lodash'
import request from '@/services'
import { DATABASE_SAVE_OK } from '@/constants/Common.constants'
export default {
name: 'EditOneAttendance',
emits: ['setDialogVisible'],
data() {
return {
formLabelWidth: '80px',
@@ -62,8 +64,8 @@ export default {
})
.catch((reportError) => {
ElMessage({
message: '签到成功',
type: 'success'
message: '签到失败',
type: 'warning'
})
})
}

View File

@@ -126,7 +126,7 @@
<el-dialog
v-model="addDialogFormVisible"
title="考勤信息"
title="添加考勤信息"
width="25% "
:close-on-click-modal="false"
:show-close="false"
@@ -141,7 +141,7 @@
</el-dialog>
<el-dialog
v-model="editDialogFormVisible"
title="考勤信息"
title="更新考勤信息"
width="25% "
:close-on-click-modal="false"
:show-close="false"

View File

@@ -76,7 +76,7 @@
<el-dialog
v-model="dialogFormVisible"
title="考勤信息"
title="打卡"
width="25%"
:close-on-click-modal="false"
:show-close="false"