|
@@ -62,7 +62,40 @@
|
|
<span v-else>{{!commonJS.isEmpty(scope.row.rosterBaseDTO.name)?scope.row.rosterBaseDTO.name:'--'}}</span>
|
|
<span v-else>{{!commonJS.isEmpty(scope.row.rosterBaseDTO.name)?scope.row.rosterBaseDTO.name:'--'}}</span>
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
- <vxe-column width="120" title="离职审批" field="vettingStatus">
|
|
|
|
|
|
+
|
|
|
|
+ <vxe-column width="200" title="工号" field="rosterBaseDTO.jobNo"></vxe-column>
|
|
|
|
+ <vxe-column width="200" title="部门" field="soName"></vxe-column>
|
|
|
|
+ <vxe-column width="200" title="职位" field="jpName"></vxe-column>
|
|
|
|
+ <vxe-column width="200" title="手机号" field="rosterBaseDTO.mobile"></vxe-column>
|
|
|
|
+ <vxe-column width="200" title="入职日期" field="rosterBaseDTO.onboardingDate">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{moment(scope.row.rosterBaseDTO.onboardingDate).format('YYYY-MM-DD')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column width="200" title="最后工作日" field="lastWorkDate">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{moment(scope.row.lastWorkDate).format('YYYY-MM-DD')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column width="200" title="离职日期" field="dimissionDate">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{moment(scope.row.dimissionDate).format('YYYY-MM-DD')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column width="200" title="离职原因" field="changesDimissionReaDTOList">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{getDimissionReaList(scope.row.changesDimissionReaDTOList)}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column width="200" title="原因说明" field="reasonDesc"></vxe-column>
|
|
|
|
+ <vxe-column width="200" title="离职类型" field="type">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{$dictUtils.getDictLabel('dimission_type', scope.row.type, '-')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column width="200" title="备注" field="remarks"></vxe-column>
|
|
|
|
+
|
|
|
|
+ <vxe-column width="120" title="离职审批" fixed="right" align="center" field="vettingStatus">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button v-if="scope.row.vettingStatus === '4'" type="primary" @click="auditDetail(scope.row)" size="mini">
|
|
<el-button v-if="scope.row.vettingStatus === '4'" type="primary" @click="auditDetail(scope.row)" size="mini">
|
|
{{$dictUtils.getDictLabel("vetting_status", scope.row.vettingStatus, '-')}}
|
|
{{$dictUtils.getDictLabel("vetting_status", scope.row.vettingStatus, '-')}}
|
|
@@ -87,7 +120,7 @@
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
- <vxe-column width="120" title="离职交接" field="handoverStatus">
|
|
|
|
|
|
+ <vxe-column width="120" title="离职交接" fixed="right" align="center" field="handoverStatus">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button v-if="scope.row.handoverStatus === '3'" type="primary" @click="handoverDetail(scope.row)" size="mini">
|
|
<el-button v-if="scope.row.handoverStatus === '3'" type="primary" @click="handoverDetail(scope.row)" size="mini">
|
|
{{$dictUtils.getDictLabel('handover_status', scope.row.handoverStatus, '-')}}
|
|
{{$dictUtils.getDictLabel('handover_status', scope.row.handoverStatus, '-')}}
|
|
@@ -110,7 +143,7 @@
|
|
|
|
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
- <vxe-column width="120" title="离职状态" field="status">
|
|
|
|
|
|
+ <vxe-column width="120" title="离职状态" fixed="right" align="center" field="status">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button v-if="scope.row.status === '2'" type="success" size="mini">
|
|
<el-button v-if="scope.row.status === '2'" type="success" size="mini">
|
|
{{$dictUtils.getDictLabel('dimission_status', scope.row.status, '-')}}
|
|
{{$dictUtils.getDictLabel('dimission_status', scope.row.status, '-')}}
|
|
@@ -120,39 +153,6 @@
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
- <vxe-column width="200" title="工号" field="rosterBaseDTO.jobNo"></vxe-column>
|
|
|
|
- <vxe-column width="200" title="部门" field="soName"></vxe-column>
|
|
|
|
- <vxe-column width="200" title="职位" field="jpName"></vxe-column>
|
|
|
|
- <vxe-column width="200" title="手机号" field="rosterBaseDTO.mobile"></vxe-column>
|
|
|
|
- <vxe-column width="200" title="入职日期" field="rosterBaseDTO.onboardingDate">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- {{moment(scope.row.rosterBaseDTO.onboardingDate).format('YYYY-MM-DD')}}
|
|
|
|
- </template>
|
|
|
|
- </vxe-column>
|
|
|
|
- <vxe-column width="200" title="最后工作日" field="lastWorkDate">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- {{moment(scope.row.lastWorkDate).format('YYYY-MM-DD')}}
|
|
|
|
- </template>
|
|
|
|
- </vxe-column>
|
|
|
|
- <vxe-column width="200" title="离职日期" field="dimissionDate">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- {{moment(scope.row.dimissionDate).format('YYYY-MM-DD')}}
|
|
|
|
- </template>
|
|
|
|
- </vxe-column>
|
|
|
|
- <vxe-column width="200" title="离职原因" field="changesDimissionReaDTOList">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- {{getDimissionReaList(scope.row.changesDimissionReaDTOList)}}
|
|
|
|
- </template>
|
|
|
|
- </vxe-column>
|
|
|
|
- <vxe-column width="200" title="原因说明" field="reasonDesc"></vxe-column>
|
|
|
|
- <vxe-column width="200" title="离职类型" field="type">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- {{$dictUtils.getDictLabel('dimission_type', scope.row.type, '-')}}
|
|
|
|
- </template>
|
|
|
|
- </vxe-column>
|
|
|
|
- <vxe-column width="200" title="备注" field="remarks"></vxe-column>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
<vxe-column title="操作" width="50px" fixed="right" align="center">
|
|
<vxe-column title="操作" width="50px" fixed="right" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-dropdown size="small" @command="handleCommand">
|
|
<el-dropdown size="small" @command="handleCommand">
|