转岗管理接口联调

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="departFun(scope.row)">离职</el-button>
<el-button type="text" @click="individualTakeFun(scope.row)">个人信息</el-button> <el-button type="text" @click="individualTakeFun(scope.row)">个人信息</el-button>
</template> </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> </avue-crud>
<!-- 培训计划 --> <!-- 培训计划 -->

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

@ -25,7 +25,13 @@
<el-button type="primary" @click="handleMaintain">设备维护</el-button> <el-button type="primary" @click="handleMaintain">设备维护</el-button>
</template> </template>
<template #menu-right> <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> </template>
</avue-crud> </avue-crud>
<!-- 设备维护 --> <!-- 设备维护 -->

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

Loading…
Cancel
Save