转岗管理接口联调

dev-scheduling
zhangdi 3 months ago
parent 691b9258b0
commit b842cc558b
  1. 12
      src/views/basicData/jobTransferManagement.vue
  2. 3
      src/views/changeJobManagement/trainingRecordManagement.vue
  3. 8
      src/views/workLicense/personnelEquipment.vue
  4. 42
      src/views/workLicense/workLicense.vue

@ -46,6 +46,18 @@
<el-button type="text" @click="departFun(scope.row)">离职</el-button>
<el-button type="text" @click="individualTakeFun(scope.row)">个人信息</el-button>
</template>
<template #dataBirth="scope">
{{ scope.row.dataBirth ?scope.row.dataBirth.substring(0, 10) : ''}}
</template>
<template #contractDuration="scope">
{{ scope.row.contractDuration ?scope.row.contractDuration.substring(0, 10) : ''}}
</template>
<template #joinJobDate="scope">
{{ scope.row.joinJobDate ?scope.row.joinJobDate.substring(0, 10) : ''}}
</template>
<template #inJobDate="scope">
{{ scope.row.inJobDate ?scope.row.inJobDate.substring(0, 10) : ''}}
</template>
</avue-crud>
<!-- 培训计划 -->

@ -48,6 +48,9 @@
@click="handleFinish('one', scope.row)"
>完成</el-button
>
</template>
<template #distributeTime="scope">
{{ scope.row.distributeTime ? scope.row.distributeTime.substring(0, 10) : '' }}
</template>
</avue-crud>

@ -25,7 +25,13 @@
<el-button type="primary" @click="handleMaintain">设备维护</el-button>
</template>
<template #menu-right>
<!-- <el-button type="primary" @click="handleImport"> </el-button> -->
<el-button type="primary" @click="handleImport"> </el-button>
</template>
<template #equipmentDate="scope">
{{ scope.row.equipmentDate ?scope.row.equipmentDate.substring(0, 10) : ''}}
</template>
<template #deviceDueDate="scope">
{{ scope.row.deviceDueDate ?scope.row.deviceDueDate.substring(0, 10) : ''}}
</template>
</avue-crud>
<!-- 设备维护 -->

@ -15,22 +15,41 @@
@size-change="sizeChange"
@refresh-change="refreshChange"
@on-load="onLoad"
:row-class-name="rowClassName"
>
<!-- :span-method="spanMethod" -->
<!-- :span-method="spanMethod" -->
<template #menu-left>
<el-button type="danger" @click="handleDeletes">批量删除</el-button>
<el-button type="primary" @click="handleMaintain">证书维护</el-button>
</template>
<template #menu-right>
<!-- <el-button type="primary" @click="handleImport"> </el-button> -->
<el-button type="primary" @click="handleImport"> </el-button>
</template>
<template #menu="{ row }">
<template #menu="{ row }">
<!-- <el-button type="text" @click="handleDeletes(row)">删除</el-button> -->
</template>
<template #heatTreat="scope"> </template>
<template #dataBirth="scope">
{{ scope.row.dataBirth ? scope.row.dataBirth.substring(0, 10) : '' }}
</template>
<template #certificateDate="scope">
{{ scope.row.certificateDate ? scope.row.certificateDate.substring(0, 10) : '' }}
</template>
<template #airworthinessDate="scope">
{{ scope.row.airworthinessDate ? scope.row.airworthinessDate.substring(0, 10) : '' }}
</template>
<template #airworthinessDateExpire="scope">
{{ scope.row.airworthinessDateExpire ? scope.row.airworthinessDateExpire.substring(0, 10) : '' }}
</template>
<template #astronautDate="scope">
{{ scope.row.astronautDate ? scope.row.astronautDate.substring(0, 10) : '' }}
</template>
<template #astronautDateExpire="scope">
{{ scope.row.astronautDateExpire ? scope.row.astronautDateExpire.substring(0, 10) : '' }}
</template>
</avue-crud>
<!-- 证书维护 -->
<maintain-dialog
@ -39,7 +58,7 @@
@closeDialog="closeDialog"
:maintain-list="maintainList"
></maintain-dialog>
<!-- 导入 -->
<!-- 导入 -->
<basic-import
v-if="isShowImport"
title="导入"
@ -61,7 +80,7 @@ import basicImport from '@/components/basic-import/main.vue';
export default {
components: {
maintainDialog,
basicImport
basicImport,
},
data() {
return {
@ -126,8 +145,8 @@ export default {
labelWidth: 140,
overflow: true,
search: true,
fixed:'left',
searchLabelWidth:50,
fixed: 'left',
searchLabelWidth: 50,
rules: [
{
required: true,
@ -388,7 +407,7 @@ export default {
};
},
methods: {
//
//
handleImport() {
this.isShowImport = true;
},
@ -495,7 +514,6 @@ export default {
// const currentName = row.name;
// let rowspan = 1;
// let isTopRow = true;
// // name
// for (let i = rowIndex - 1; i >= 0; i--) {
// if (rows[i].name === currentName) {
@ -505,7 +523,6 @@ export default {
// break;
// }
// }
// // rowspan=0
// if (!isTopRow) {
// return {
@ -521,7 +538,6 @@ export default {
// break;
// }
// }
// return {
// rowspan: rowspan,
// colspan: 1,

Loading…
Cancel
Save