[update] 企标稽查和企标复审计划联调分页查询

This commit is contained in:
lideqin
2023-09-12 14:00:59 +08:00
parent 9cca3a2726
commit be61531ee1
4 changed files with 61 additions and 79 deletions
@@ -81,7 +81,7 @@
</template>
<!-- 复审日期: 大于当前日期时标红?? -->
<template slot="reviewDate" slot-scope="text">
<template slot="reviewDate" slot-scope="{text}">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
<div class="table-text">{{ text || text === 0 ? text : global.emptyLine }}</div>
@@ -116,94 +116,53 @@ export default {
}
},
{
title: this.$t('enterpriseStandardLibrary.check.basedStandardNo'),
title: this.$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'standardNo',
scopedSlots: { customRender: 'toDetail' }
},
{
title: this.$t('enterpriseStandardLibrary.check.basedStandardName'),
title: this.$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'standardName',
scopedSlots: { customRender: 'toDetail' }
},
{
title: this.$t('enterpriseStandardLibrary.check.planCheckTarget'),
title: this.$t('enterpriseStandardLibrary.reviewPlan.publishDate'),
align: 'center',
width: 180,
dataIndex: 'planCheckTarget',
dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.workGroup'),
title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewDate'),
align: 'center',
width: 180,
dataIndex: 'workGroup',
dataIndex: 'recheckDate',
scopedSlots: { customRender: 'reviewDate' }
},
{
title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewResult'),
align: 'center',
width: 180,
dataIndex: 'recheckResult',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.department'),
title: this.$t('enterpriseStandardLibrary.reviewPlan.principalDrafter'),
align: 'center',
width: 180,
dataIndex: 'department',
dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.scheduledCheckDate'),
title: this.$t('enterpriseStandardLibrary.reviewPlan.mainDraftingUnit'),
align: 'center',
width: 180,
dataIndex: 'scheduledCheckDate',
scopedSlots: { customRender: 'scheduledCheckDate' }
},
{
title: this.$t('enterpriseStandardLibrary.check.headOfCheck'),
align: 'center',
width: 180,
dataIndex: 'headOfCheck',
dataIndex: 'mainDraftingUnit',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.contactPerson'),
align: 'center',
width: 180,
dataIndex: 'contactPerson',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.checkFinishDate'),
align: 'center',
width: 180,
dataIndex: 'checkFinishDate',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.actualChecker'),
align: 'center',
width: 180,
dataIndex: 'actualChecker',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.status'),
align: 'center',
width: 180,
dataIndex: 'status',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.createDate'),
align: 'center',
width: 180,
dataIndex: 'createDate',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('operation'),
scopedSlots: { customRender: 'action' },
align: 'center',
width: 200
}
],
url: {
@@ -218,7 +177,7 @@ export default {
this.queryParam.releaseEndDate = val[1]
},
// 复审日期改变
reviewDataChange (val) {
reviewDateChange (val) {
this.queryParam.recheckStartDate = val[0]
this.queryParam.recheckEndDate = val[1]
},