完成审计报告生成功能页面
This commit is contained in:
@@ -99,11 +99,11 @@
|
||||
<div>
|
||||
<a-space>
|
||||
<a class="action-btn bg-blue-500" @click="openReport(record)"
|
||||
>1生成审计方案</a
|
||||
>1 生成审计方案</a
|
||||
>
|
||||
<a class="action-btn bg-green-600" @click="openReportContent(record)">2审计内容</a>
|
||||
<a class="action-btn bg-red-600" @click="openAuditCheck(record)"
|
||||
>3审计核查</a
|
||||
<a class="action-btn bg-green-600" @click="openReportContent(record)">2 审计内容</a>
|
||||
<a class="action-btn bg-red-600" @click="openReportView(record)"
|
||||
>3 审计报告</a
|
||||
>
|
||||
</a-space>
|
||||
</div>
|
||||
@@ -128,6 +128,8 @@
|
||||
<!-- 生成报告 -->
|
||||
<Report v-model:visible="showReport" :data="current" @done="reload" />
|
||||
<ReportContent v-model:visible="showReportContent" :data="current" @done="reload" />
|
||||
<!-- 审计报告查看 -->
|
||||
<ReportView v-model:visible="showReportView" :data="current" @done="reload" />
|
||||
<!-- 审计核查弹窗 -->
|
||||
<AuditCheck
|
||||
v-model:visible="showAuditCheck"
|
||||
@@ -202,6 +204,8 @@
|
||||
import Edit from './components/pwlProjectEdit.vue';
|
||||
import Report from './components/report.vue';
|
||||
import ReportContent from './components/reportContent.vue';
|
||||
import ReportView from './components/reportView.vue';
|
||||
import AuditCheck from './components/auditCheck.vue';
|
||||
import {
|
||||
pagePwlProject,
|
||||
removePwlProject,
|
||||
@@ -215,7 +219,6 @@
|
||||
getKnowledgeBaseDocuments,
|
||||
deleteKnowledgeBaseDocument
|
||||
} from '@/api/ai/knowledgeBase';
|
||||
import AuditCheck from './components/auditCheck.vue';
|
||||
|
||||
// 表格实例
|
||||
const tableRef = ref<InstanceType<typeof EleProTable> | null>(null);
|
||||
@@ -228,6 +231,10 @@
|
||||
const showEdit = ref(false);
|
||||
// 是否显示报告弹窗
|
||||
const showReport = ref(false);
|
||||
// 是否显示审计内容弹窗
|
||||
const showReportContent = ref(false);
|
||||
// 是否显示审计报告查看弹窗
|
||||
const showReportView = ref(false);
|
||||
// 是否显示审计核查弹窗
|
||||
const showAuditCheck = ref(false);
|
||||
// 是否显示批量移动弹窗
|
||||
@@ -273,6 +280,12 @@
|
||||
}
|
||||
]);
|
||||
|
||||
// 打开审计报告查看弹窗
|
||||
const openReportView = (record: PwlProject) => {
|
||||
current.value = record;
|
||||
showReportView.value = true;
|
||||
};
|
||||
|
||||
// 打开审计核查弹窗
|
||||
const openAuditCheck = (record: PwlProject) => {
|
||||
current.value = record;
|
||||
@@ -610,7 +623,6 @@
|
||||
showReport.value = true;
|
||||
};
|
||||
|
||||
const showReportContent = ref(false)
|
||||
const openReportContent = (row?: PwlProject) => {
|
||||
current.value = row ?? null;
|
||||
showReportContent.value = true;
|
||||
|
||||
Reference in New Issue
Block a user