| | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="dialogVisible = false">确认</el-button> |
| | | </span> |
| | | <check-details ref="report"></check-details> |
| | | <!-- <check-details ref="report"></check-details>--> |
| | | <supervision-details ref="report"></supervision-details> |
| | | </el-dialog> |
| | | </template> |
| | | |
| | | <script> |
| | | import {computePageCount} from "@/utils"; |
| | | import { getSpotCheckRecord } from "@/api/specialCheck"; |
| | | import checkDetails from "../../selfCheck/components/checkDetails" |
| | | // import checkDetails from "../../selfCheck/components/checkDetails" |
| | | import supervisionDetails from "../../selfCheck/components/supervisionDetails" |
| | | |
| | | export default { |
| | | name: "checkEnterprises", |
| | | components: { |
| | | checkDetails |
| | | supervisionDetails |
| | | }, |
| | | data(){ |
| | | return{ |
| | | taskId: null, |
| | | enterpriseType: null, |
| | | checkUnitType: null, |
| | | enterpriseCity: '', |
| | | enterpriseArea: '', |
| | | listLoading: false, |
| | |
| | | const t = this |
| | | t.$refs.report.id = id |
| | | t.$refs.report.enterpriseType = t.enterpriseType |
| | | t.$refs.report.checkUnitType = t.checkUnitType |
| | | t.$refs.report.getEnterpriseInfo() |
| | | t.$refs.report.dialogVisible = true |
| | | } |