| | |
| | | import repair from "./components/repair" |
| | | import checkDetails from "./components/checkDetails" |
| | | import { getUnDoneCheckTask } from '@/api/selfCheck' |
| | | import { getCheckUnitType } from "@/api/specialCheck" |
| | | |
| | | export default { |
| | | name: "selfCheck", |
| | |
| | | }, |
| | | created() { |
| | | const t = this |
| | | // t.getCheckUnitType() |
| | | t.getUncheckList() |
| | | }, |
| | | mounted() { |
| | |
| | | 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 |