问题修改

dev-scheduling
zhangdi 1 month ago
parent d99287243c
commit 44a8a68ef4
  1. 2
      src/views/workLicense/components/maintainDialog.vue
  2. 22
      src/views/workLicense/workLicense.vue

@ -284,7 +284,7 @@ export default {
queryItem.certificateDate = item.certificateDate;
queryItem.airworthinessDate = item.airworthinessDate;
queryItem.astronautDate = item.astronautDate;
queryItem.maintenanceStatus = 3;
queryItem.maintenanceStatus = 1;
query.push(queryItem);
});
addBatch(query).then(res => {

@ -28,7 +28,9 @@
<template #menu="{ row }">
<!-- <el-button type="text" @click="handleDeletes(row)">删除</el-button> -->
</template>
<template #validityPeriodExpire="scope">
{{ scope.row.validityPeriodExpire ? scope.row.validityPeriodExpire.substring(0, 10) : '' }}
</template>
<template #dataBirth="scope">
{{ scope.row.dataBirth ? scope.row.dataBirth.substring(0, 10) : '' }}
</template>
@ -54,13 +56,7 @@
<template #astronautDateExpire="scope">
{{ scope.row.astronautDateExpire ? scope.row.astronautDateExpire.substring(0, 10) : '' }}
</template>
<template #astronautValidityPeriod="scope">
{{
scope.row.astronautValidityPeriod
? scope.row.astronautValidityPeriod.substring(0, 10)
: ''
}}
</template>
</avue-crud>
<!-- 证书维护 -->
<maintain-dialog
@ -153,7 +149,7 @@ export default {
label: '姓名',
prop: 'name',
span: 24,
width: 150,
width: 120,
labelWidth: 140,
overflow: true,
search: true,
@ -302,7 +298,7 @@ export default {
},
{
label: '证件到期日期',
prop: 'conExpDate',
prop: 'validityPeriodExpire',
span: 24,
width: 150,
overflow: true,
@ -409,7 +405,7 @@ export default {
{
label: '状态',
prop: 'phStatusName',
prop: 'maintenanceStatusName',
span: 24,
width: 150,
overflow: true,
@ -436,13 +432,13 @@ export default {
{ prop: 'workingYears', span: [] },
{ prop: 'certificateDate', span: [] },
{ prop: 'validityPeriod', span: [] },
{ prop: 'conExpDate', span: [] },
{ prop: 'validityPeriodExpire', span: [] },
{ prop: 'airworthinessDate', span: [] },
{ prop: 'airworthinessValidityPeriod', span: [] },
{ prop: 'airworthinessDateExpire', span: [] },
{ prop: 'astronautDate', span: [] },
{ prop: 'astronautDateExpire', span: [] },
{ prop: 'phStatusName', span: [] },
{ prop: 'maintenanceStatus', span: [] },
],
data: [],

Loading…
Cancel
Save