wuzhen update
This commit is contained in:
1 parent
be3d48b6e3
commit
d7e900a64f
5 files changed
+225
-198
No files matched your search
@@ -749,6 +749,10 @@ const rules = reactive({
|
||||
{ pattern: /^1[3-9]\d{9}$/, message: '手机号码格式不正确', trigger: 'blur' }
|
||||
],
|
||||
email: [{ type: 'email', message: '邮箱格式不正确', trigger: 'blur' }],
|
||||
postalCode: [
|
||||
{ max: 10, message: '邮政编码长度不能超过10个字符', trigger: 'blur' },
|
||||
{ pattern: /^\d{6}$/, message: '邮政编码格式不正确,应为6位数字', trigger: 'blur' }
|
||||
],
|
||||
employmentStatus: [{ required: true, message: '就业状态不能为空', trigger: 'change' }]
|
||||
});
|
||||
|
||||
|
||||
@@ -297,13 +297,13 @@
|
||||
<el-tooltip content="查看详情" placement="top">
|
||||
<el-button link type="info" icon="View" @click="handleDetail(scope.row)" v-hasPermi="['zsjy:graduate:query']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="编辑" placement="top" v-if="scope.row.auditStatus !== '1'">
|
||||
<el-tooltip content="编辑" placement="top">
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['zsjy:graduate:edit']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="审核" placement="top" v-if="scope.row.auditStatus === '0'">
|
||||
<el-button link type="success" icon="Check" @click="handleAudit(scope.row)" v-hasPermi="['zsjy:graduate:audit']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top" v-if="scope.row.auditStatus !== '1'">
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button link type="danger" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['zsjy:graduate:remove']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
|
||||
@@ -168,23 +168,6 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="签退时间" min-width="120" align="center">
|
||||
<template #default="scope">
|
||||
<div v-if="scope.row.checkOutTime">
|
||||
<div>{{ parseTime(scope.row.checkDate, '{y}-{m}-{d}') }}</div>
|
||||
<div class="time-detail">{{ scope.row.checkOutTime }}</div>
|
||||
</div>
|
||||
<span v-else class="text-muted">未签退</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="工作时长" min-width="100" align="center">
|
||||
<template #default="scope">
|
||||
<span v-if="scope.row.workDuration">{{ scope.row.workDuration }}小时</span>
|
||||
<span v-else>-</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="签到状态" min-width="100" align="center">
|
||||
<template #default="scope">
|
||||
<dict-tag :options="attendanceStatusOptions" :value="scope.row.status" />
|
||||
@@ -193,8 +176,6 @@
|
||||
|
||||
<el-table-column label="签到地点" prop="checkInLocation" min-width="150" align="left" show-overflow-tooltip />
|
||||
|
||||
<el-table-column label="工作内容" prop="workContent" min-width="200" align="left" show-overflow-tooltip />
|
||||
|
||||
<el-table-column label="操作" width="120" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<div class="action-buttons">
|
||||
|
||||
Reference in new issue
Block a user