12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <template>
- <button @click="dialog = true">传染病上报</button>
- <xc-dialog-v2 v-model="dialog" title="传染病上报" maximize show-button destroy-on-close
- @confirm="confirm">
- <dialog-diseases :pat-no="props.patNo"
- :times="props.times"
- :ward="props.ward"
- ref="dialogRef"/>
- </xc-dialog-v2>
- </template>
- <script setup name='ReportOfInfectiousDiseases'>
- import DialogDiseases from "./DialogDiseases.vue";
- import {isDev} from "@/utils/public";
- import XcDialogV2 from "@/components/xiao-chan/dialog/XcDialogV2.vue";
- const props = defineProps({
- patNo: {
- type: String,
- default: '0406942'
- },
- times: {
- type: Number,
- default: 1
- },
- ward: {
- type: String,
- default: '8000001'
- }
- })
- let dialog = $ref(false)
- const dialogRef = ref(null)
- const confirm = () => {
- dialogRef.value.confirm()
- }
- </script>
- <style scoped lang="scss">
- </style>
|