|
|
|
|
@ -253,7 +253,7 @@
|
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="mailLabels" label="信件标签" width="160" align="center" /> |
|
|
|
|
<el-table-column label="操作" width="164" fixed="right"> |
|
|
|
|
<el-table-column label="操作" width="200" fixed="right"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-button type="primary" link @click="handleMail(row.id)" size="small">详情</el-button> |
|
|
|
|
<el-button type="primary" link @click="handleMailLabel(row.id)" size="small" |
|
|
|
|
@ -262,6 +262,7 @@
|
|
|
|
|
v-show="handleMailCategory(row)" size="small">转为待办</el-button> |
|
|
|
|
<el-button type="danger" link @click="handleDelete(row.id)" v-show="IsdeleteMail(row)" |
|
|
|
|
size="small">删除</el-button> |
|
|
|
|
<el-button type="primary" link @click="handChangeExtensionDays(row.id)" size="small">特殊延期</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
@ -290,6 +291,7 @@
|
|
|
|
|
|
|
|
|
|
<LodingMessage :show="exportLoading" message="信件导出中..." /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script lang="ts" setup> |
|
|
|
|
@ -305,6 +307,7 @@ import { useDictOptions } from '@/hooks/useDictOptions'
|
|
|
|
|
import { deptLists } from '@/api/org/department' |
|
|
|
|
import { labelLists } from '@/api/org/label' |
|
|
|
|
import { getFlowNodes } from '@/api/org/flowNode' |
|
|
|
|
import { updateExtensionDays } from '@/api/mail' |
|
|
|
|
import { getToken } from '@/utils/auth' |
|
|
|
|
import axios from 'axios' |
|
|
|
|
import { useRouterParamsStore } from "@/stores/modules/routerParams"; |
|
|
|
|
@ -588,4 +591,18 @@ const handleMailCategory = (row: any) => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const collapse = ref(true) |
|
|
|
|
|
|
|
|
|
async function handChangeExtensionDays(id) { |
|
|
|
|
const result = await feedback.prompt(`延期天数`, `特殊延期`, { |
|
|
|
|
inputType: 'number', |
|
|
|
|
inputPlaceholder: '请输入', |
|
|
|
|
inputErrorMessage: '请输入合法的延期天数', |
|
|
|
|
inputValidator: (val) => { |
|
|
|
|
return val > 0; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
await updateExtensionDays(id, result.value); |
|
|
|
|
feedback.msgSuccess("操作成功"); |
|
|
|
|
getList(); |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
|