1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 15:01:23 +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-date-picker v-model="form.attTime" type="datetime" disabled style="width: 200px" />
</el-form-item> </el-form-item>
</el-form> </el-form>
<div> <div style="text-align: center">
<span class="dialog-footer"> <span class="dialog-footer">
<el-button type="primary" @click="submitForm()">确认</el-button> <el-button type="primary" @click="submitForm()">确认</el-button>
<el-button @click="cancel">取消</el-button> <el-button @click="cancel">取消</el-button>
@@ -17,8 +17,10 @@ import { ElMessage } from 'element-plus'
import _ from 'lodash' import _ from 'lodash'
import request from '@/services' import request from '@/services'
import { DATABASE_SAVE_OK } from '@/constants/Common.constants' import { DATABASE_SAVE_OK } from '@/constants/Common.constants'
export default { export default {
name: 'EditOneAttendance', name: 'EditOneAttendance',
emits: ['setDialogVisible'],
data() { data() {
return { return {
formLabelWidth: '80px', formLabelWidth: '80px',
@@ -62,8 +64,8 @@ export default {
}) })
.catch((reportError) => { .catch((reportError) => {
ElMessage({ ElMessage({
message: '签到成功', message: '签到失败',
type: 'success' type: 'warning'
}) })
}) })
} }

View File

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

View File

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