|
@@ -190,9 +190,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-table v-loading="loading" :data="tableData" style="width: 100%" height="90%">
|
|
|
- <el-table-column prop="ownerName" label="请假人" width="120" fixed="left"></el-table-column>
|
|
|
- <el-table-column prop="tel" label="电话" width="120"></el-table-column>
|
|
|
- <el-table-column prop="leaveType" label="请假类型" width="120">
|
|
|
+ <el-table-column prop="ownerName" label="请假人" min-width="120" fixed="left"></el-table-column>
|
|
|
+ <el-table-column prop="tel" label="电话" min-width="120"></el-table-column>
|
|
|
+ <el-table-column prop="leaveType" label="请假类型" min-width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<!-- <div v-if="scope.row.leaveType == 0">事假</div>
|
|
|
<div v-if="scope.row.leaveType == 1">病假</div>
|
|
@@ -201,20 +201,20 @@
|
|
|
{{qjType[scope.row.leaveType].name}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="startDate" label="请假开始时间" width="150"></el-table-column>
|
|
|
- <el-table-column prop="endDate" label="请假结束时间" width="150"></el-table-column>
|
|
|
- <el-table-column label="请假天数" width="120">
|
|
|
+ <el-table-column prop="startDate" label="请假开始时间" min-width="150"></el-table-column>
|
|
|
+ <el-table-column prop="endDate" label="请假结束时间" min-width="150"></el-table-column>
|
|
|
+ <el-table-column label="请假天数" min-width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.timeType == '1'">/</div>
|
|
|
<div v-else>{{scope.row.timeDays}}天</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="请假时长" width="120">
|
|
|
+ <el-table-column label="请假时长" min-width="120" v-if="!user.timeType.syncDingding">
|
|
|
<template slot-scope="scope">
|
|
|
<div>{{scope.row.timeHours}}小时</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="status" label="状态" width="100">
|
|
|
+ <el-table-column prop="status" label="状态" min-width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.status == 0 || scope.row.status == 1 || scope.row.status == 2 || scope.row.status == 3 || scope.row.status == 4">
|
|
|
<div v-if="scope.row.status == 0" >审核通过</div>
|
|
@@ -227,7 +227,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="remark" label="备注" width="200">
|
|
|
+ <el-table-column prop="remark" label="备注" min-width="200" header-align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<!-- <div class="apls">{{scope.row.remark}}</div> -->
|
|
|
<el-popover placement="top-start" title="标题" width="200" trigger="hover" :content="scope.row.remark">
|
|
@@ -235,7 +235,7 @@
|
|
|
</el-popover>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="180" fixed="right" v-if="isAuditList && !isDingding">
|
|
|
+ <el-table-column label="操作" min-width="180" fixed="right" v-if="isAuditList && !isDingding">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<el-button icon="el-icon-check" circle size="mini" @click.stop.native="approve(scope.row)"></el-button>
|
|
@@ -243,7 +243,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="180" fixed="right" v-if="!isAuditList && !isDingding">
|
|
|
+ <el-table-column label="操作" min-width="180" fixed="right" v-if="!isAuditList && !isDingding">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="(scope.row.status != 0 && scope.row.ownerId == user.id) || permissions.leaveAll">
|
|
|
<el-button icon="el-icon-delete" circle size="mini" @click.stop.native="deletes(scope.row)" ></el-button>
|