归档前如果设备没有生成报告则自动生成报告
This commit is contained in:
@@ -161,7 +161,6 @@
|
||||
:icon='Notebook'
|
||||
@click="openDrawer('归档', scope.row)"
|
||||
v-if='form.activeTabs === 4'
|
||||
:disabled='scope.row.reportState != 1'
|
||||
>归档
|
||||
</el-button>
|
||||
|
||||
@@ -281,7 +280,7 @@ import auth from '@/directives/modules/auth'
|
||||
import {useAuthStore} from '@/stores/modules/auth'
|
||||
import {useDownload} from '@/hooks/useDownload'
|
||||
import {downloadDevData} from '@/api/plan/plan.ts'
|
||||
import {documentedPqDev} from '@/api/device/device'
|
||||
import {documentedPqDev} from '@/api/device/report'
|
||||
import {getPqDev} from '@/api/device/device/index.ts'
|
||||
import {ResultEnum} from '@/enums/httpEnum'
|
||||
import SelectTestItemPopup from "@/views/home/components/selectTestItemPopup.vue";
|
||||
|
||||
Reference in New Issue
Block a user