[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
@@ -18,8 +18,8 @@
<a-form-item :label="$t('enterpriseStandardLibrary.check.status')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
:placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.status')"
dict-code=""
v-model="queryParam.standardName">
dict-code="inspect_status"
v-model="queryParam.inspectStatus">
</j-dict-select-tag>
</a-form-item>
</a-col>
@@ -29,8 +29,8 @@
<a-range-picker
value-format="YYYY-MM-DD"
format="YYYY-MM-DD"
@change="checkDateChange"
v-model="queryParam.checkDate">
@change="scheduledCheckDateChange"
v-model="queryParam.scheduledCheckDate">
</a-range-picker>
</a-form-item>
</a-col>
@@ -48,7 +48,7 @@
<a-form-item :label="$t('enterpriseStandardLibrary.check.department')">
<a-tree-select
tree-node-filter-prop="title"
v-model="queryParam.departId"
v-model="queryParam.inspectDept"
:maxTagCount="1"
:show-search="true"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
@@ -113,7 +113,7 @@
</template>
<!-- 计划稽查日期: 到期前一周标红?? -->
<template slot="scheduledCheckDate" slot-scope="text">
<template slot="scheduledCheckDate" 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>
@@ -172,14 +172,14 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.basedStandardNo'),
align: 'center',
width: 180,
dataIndex: 'standardNo',
dataIndex: 'inspectNo',
scopedSlots: { customRender: 'toDetail' }
},
{
title: this.$t('enterpriseStandardLibrary.check.basedStandardName'),
align: 'center',
width: 180,
dataIndex: 'standardName',
dataIndex: 'inspectName',
scopedSlots: { customRender: 'toDetail' }
},
{
@@ -193,63 +193,63 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.workGroup'),
align: 'center',
width: 180,
dataIndex: 'workGroup',
dataIndex: 'standardizationWorkGroup',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.department'),
align: 'center',
width: 180,
dataIndex: 'department',
dataIndex: 'belongDept',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.scheduledCheckDate'),
align: 'center',
width: 180,
dataIndex: 'scheduledCheckDate',
dataIndex: 'planInspectDate',
scopedSlots: { customRender: 'scheduledCheckDate' }
},
{
title: this.$t('enterpriseStandardLibrary.check.headOfCheck'),
align: 'center',
width: 180,
dataIndex: 'headOfCheck',
dataIndex: 'inspectUser',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.contactPerson'),
align: 'center',
width: 180,
dataIndex: 'contactPerson',
dataIndex: 'standardizationDockingUser',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.checkFinishDate'),
align: 'center',
width: 180,
dataIndex: 'checkFinishDate',
dataIndex: 'completeDate',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.actualChecker'),
align: 'center',
width: 180,
dataIndex: 'actualChecker',
dataIndex: 'actualInspectUser',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.status'),
align: 'center',
width: 180,
dataIndex: 'status',
dataIndex: 'inspectStatus',
scopedSlots: { customRender: 'text' }
},
{
title: this.$t('enterpriseStandardLibrary.check.createDate'),
align: 'center',
width: 180,
dataIndex: 'createDate',
dataIndex: 'createTime',
scopedSlots: { customRender: 'text' }
},
{
@@ -280,6 +280,16 @@ export default {
}
})
},
// 计划稽查日期改变
scheduledCheckDateChange (val) {
this.queryParam.planInspectStartDate = val[0]
this.queryParam.planInspectEndDate = val[1]
},
// 创建日期改变
createDateChange (val) {
this.queryParam.inspectCreateStartDate = val[0]
this.queryParam.inspectCreateEndDate = val[1]
},
// 点击跳转企标详情
handleGoDetail (record) {
this.$openPageNewSheet({