|
|
@@ -202,6 +202,16 @@
|
|
|
<el-option v-for="(item, key) in mpSendStatusMap" :key="key" :label="item" :value="key" />
|
|
|
</el-select>
|
|
|
</el-form-item> -->
|
|
|
+ <el-form-item label="出具月份" prop="ratifyMonth">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="searchInfo.ratifyMonth"
|
|
|
+ type="month"
|
|
|
+ value-format="YYYY-MM"
|
|
|
+ placeholder="选择月份"
|
|
|
+ clearable
|
|
|
+ class="!w-200px"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button @click="search(1)"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
|
|
<el-button @click="search(2)"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
|
|
@@ -568,6 +578,11 @@
|
|
|
{{ row.handleDate }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="审批通过日期" align="center" prop="ratifyTime" min-width="120px">
|
|
|
+ <template #default="{ row }">
|
|
|
+ {{ formatDate(row.ratifyTime, "YYYY-MM-DD") }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<!-- 主检人 -->
|
|
|
<el-table-column label="主检人" align="center" prop="mainCheckerUser" min-width="200">
|
|
|
<template #default="scope">
|
|
|
@@ -899,6 +914,14 @@ const getList = async () => {
|
|
|
pageSize: pagination.value.pageSize,
|
|
|
isFinish: mainTaskStatusEnd.value === '1' ? false : true
|
|
|
})
|
|
|
+ // 出具月份转换
|
|
|
+ if (params.ratifyMonth) {
|
|
|
+ const [y, m] = params.ratifyMonth.split('-')
|
|
|
+ params.ratifyTimeStart = `${y}-${m}-01 00:00:00`
|
|
|
+ const lastDay = new Date(Number(y), Number(m), 0).getDate()
|
|
|
+ params.ratifyTimeEnd = `${y}-${m}-${String(lastDay).padStart(2, '0')} 23:59:59`
|
|
|
+ delete params.ratifyMonth
|
|
|
+ }
|
|
|
if (params.taskStatus === 'all') delete params.taskStatus
|
|
|
if (params.isReported === 'all') delete params.isReported
|
|
|
if (params.isCloseReported === 'all') delete params.isCloseReported
|