Admin
2022-12-05 f88488f015dcf63eeb18a1e285d87250c433b6a1
src/views/selfCheck/index.vue
@@ -69,6 +69,7 @@
    import repair from "./components/repair"
    import checkDetails from "./components/checkDetails"
    import { getUnDoneCheckTask } from '@/api/selfCheck'
    import { getCheckUnitType } from "@/api/specialCheck"
    export default {
        name: "selfCheck",
@@ -90,6 +91,7 @@
        },
        created() {
            const t = this
            // t.getCheckUnitType()
            t.getUncheckList()
        },
        mounted() {
@@ -112,6 +114,18 @@
                this.getUncheckList()
            },
            // async getCheckUnitType(){
            //     const t = this
            //     console.log(t.unitType,5555555)
            //     let res = await getCheckUnitType()
            //     if(res.data.code === "200"){
            //         t.unitType = res.data.result.checkUnitType
            //     }else{
            //         t.unitType = -1
            //     }
            //     console.log(t.unitType,66666666)
            // },
            toReport(row){
                const t = this
                t.$refs.report.dialogVisible = true