From aa102c7ba6977ff40f3e02eba32a00a168fb3564 Mon Sep 17 00:00:00 2001
From: yaozc <unbelievers@yeah.net>
Date: Tue, 31 Jan 2023 00:52:00 +0000
Subject: [PATCH] Merge branch 'master' of http://192.168.1.110:5678/r/pms-upgrade into yaozc
---
eladmin-web-master/src/views/attendance/attendanceCardReplacement/index.vue | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/eladmin-web-master/src/views/attendance/attendanceCardReplacement/index.vue b/eladmin-web-master/src/views/attendance/attendanceCardReplacement/index.vue
index 56f7fcb..dd46391 100644
--- a/eladmin-web-master/src/views/attendance/attendanceCardReplacement/index.vue
+++ b/eladmin-web-master/src/views/attendance/attendanceCardReplacement/index.vue
@@ -144,33 +144,33 @@
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="selection" width="55" />
- <el-table-column prop="userName" label="申请人" width="100" show-overflow-tooltip fixed="left">
+ <el-table-column prop="userName" label="申请人" min-width="100" show-overflow-tooltip fixed="left">
<template slot-scope="scope">
<el-tag>{{ scope.row.userName }}</el-tag>
</template>
</el-table-column>
- <el-table-column prop="appUserName" label="审批者" width="100" show-overflow-tooltip fixed="left">
+ <el-table-column prop="appUserName" label="审批者" min-width="100" show-overflow-tooltip fixed="left">
<template slot-scope="scope">
<el-tag>{{ scope.row.appUserName }}</el-tag>
</template>
</el-table-column>
- <el-table-column prop="cardReplacementTime" label="补卡时间" width="140" show-overflow-tooltip />
- <el-table-column prop="cardReplacementReason" label="补卡原因" width="140" show-overflow-tooltip />
- <el-table-column prop="approvalStatus" label="审批状态" width="80" show-overflow-tooltip>
+ <el-table-column prop="cardReplacementTime" label="补卡时间" min-width="140" show-overflow-tooltip />
+ <el-table-column prop="cardReplacementReason" label="补卡原因" min-width="140" show-overflow-tooltip />
+ <el-table-column prop="approvalStatus" label="审批状态" min-width="80" show-overflow-tooltip>
<template slot-scope="scope">
<el-tag v-if="scope.row.approvalStatus === dictCardApproveStatusReviewed" type="warning">{{ dict.label[dictCardApproveStatus][scope.row.approvalStatus] }}</el-tag>
<el-tag v-if="scope.row.approvalStatus === dictCardApproveStatusAgree" type="success">{{ dict.label[dictCardApproveStatus][scope.row.approvalStatus] }}</el-tag>
<el-tag v-if="scope.row.approvalStatus === dictCardApproveStatusRefuse" type="danger">{{ dict.label[dictCardApproveStatus][scope.row.approvalStatus] }}</el-tag>
</template>
</el-table-column>
- <el-table-column prop="approvalDescription" label="审批说明" width="140" show-overflow-tooltip />
- <el-table-column prop="cardReplacementDistinguish" label="补卡区分" width="80" show-overflow-tooltip>
+ <el-table-column prop="approvalDescription" label="审批说明" min-width="140" show-overflow-tooltip />
+ <el-table-column prop="cardReplacementDistinguish" label="补卡区分" min-width="80" show-overflow-tooltip>
<template slot-scope="scope">
<el-tag>{{ dict.label[dictCardReplacement][scope.row.cardReplacementDistinguish] }}</el-tag>
</template>
</el-table-column>
- <el-table-column prop="remarks" label="备注" width="140" show-overflow-tooltip />
- <el-table-column prop="createTime" label="创建时间" width="140" show-overflow-tooltip />
+ <el-table-column prop="remarks" label="备注" min-width="140" show-overflow-tooltip />
+ <el-table-column prop="createTime" label="创建时间" min-width="140" show-overflow-tooltip />
<el-table-column v-if="checkPer(['admin','attendanceCardreplacement:approve'])" label="审核操作" width="180px" align="center" fixed="right">
<template slot-scope="scope">
<el-button
@@ -240,7 +240,7 @@
// 数据字典
dicts: [constant.CARD_REPLACEMENT_DIFFERENTIATION, constant.CARD_APPROVE_STATUS],
cruds() {
- return CRUD({ title: '补卡记录', url: 'api/attendanceCardreplacement', idField: 'id', sort: 'id,desc', crudMethod: { ...crudAttendanceCardreplacement }})
+ return CRUD({ title: '补卡记录', url: 'api/attendanceCardreplacement', idField: 'id', sort: 'cardReplacementTime,desc', crudMethod: { ...crudAttendanceCardreplacement }})
},
data() {
return {
--
Gitblit v1.9.3