Admin
2022-11-28 6de39d0cc846f2e827a6536ce1e4493de14f7b33
src/views/specialCheck/components/checkEnterprises.vue
@@ -50,24 +50,27 @@
        <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,
@@ -116,6 +119,7 @@
                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
            }