This commit is contained in:
sjl
2025-01-13 21:38:52 +08:00
parent edea30a406
commit b584142f5e

View File

@@ -43,7 +43,7 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="报告状态" v-if="form.activeTabs != 0"> <el-form-item label="报告状态" >
<el-select v-model="form.checkReportStatus" clearable> <el-select v-model="form.checkReportStatus" clearable>
<el-option <el-option
v-for="(item, index) in checkReportStatus" v-for="(item, index) in checkReportStatus"
@@ -1015,7 +1015,7 @@ const handleTest = async (val:string) => {
// 打开 drawer(新增、查看、编辑) // 打开 drawer(新增、查看、编辑)
const openDrawer = (title: string, row: any) => { const openDrawer = async (title: string, row: any) => {
if (title === '查看') if (title === '查看')
{ {
const link = document.createElement('a'); const link = document.createElement('a');
@@ -1028,9 +1028,9 @@ const openDrawer = (title: string, row: any) => {
if(title === '生成') if(title === '生成')
{ {
//reportDialogVisible.value = true;
await useDownload(downloadDevData,'调试报告'+formatDate(new Date()), {planId:checkStore.planId,devId:row.id}, false,'.docx')
emit('batchGenerateClicked'); // 触发事件 emit('batchGenerateClicked'); // 触发事件
useDownload(downloadDevData,'调试报告'+formatDate(new Date()), {planId:checkStore.planId,devId:row.id}, false,'.docx')
} }
if(title === '检测数据查询') if(title === '检测数据查询')
@@ -1045,8 +1045,9 @@ const openDrawer = (title: string, row: any) => {
if (title === '归档') if (title === '归档')
{ {
await documentedPqDev([row.id])
emit('batchGenerateClicked'); // 触发事件 emit('batchGenerateClicked'); // 触发事件
documentedPqDev([row.id])
// const loading = ElLoading.service({ // const loading = ElLoading.service({
// lock: true, // lock: true,
// text: '归档中...', // text: '归档中...',