|
@@ -340,6 +340,7 @@
|
|
|
:med-type="patient.medType"
|
|
|
:target="searchParams.target"
|
|
|
:title="searchParams.title"
|
|
|
+ :show-emp-dept="searchParams.target === 'physician'"
|
|
|
@close="searchParams.showSearch = false"
|
|
|
@click-item="handleClickSearchItem"
|
|
|
/>
|
|
@@ -360,7 +361,6 @@ import {nullPatient} from '@/utils/validate'
|
|
|
import {ElMessage, ElMessageBox} from 'element-plus'
|
|
|
import {admissRegister, revokeAdmission} from '@/api/medical-insurance/si-inpatient'
|
|
|
import {formatDatetime, getDatetime} from '@/utils/date'
|
|
|
-import {getGreatestRole} from '@/utils/permission'
|
|
|
import {clone} from '@/utils/clone'
|
|
|
import {getMatnTypes, getMedTypesByFlag, getPsnCertTypes} from '@/api/medical-insurance/si-dict'
|
|
|
import {checkRegisterDate, obtainBasicPersonInfo} from '@/api/medical-insurance/si-query'
|
|
@@ -374,8 +374,6 @@ import ReadCard from '@/components/medical-insurance/readcard/Index.vue'
|
|
|
import GenerateMedicineReturnOrder
|
|
|
from "@/components/medical-insurance/medicine-return-order/GenerateMedicineReturnOrder.vue";
|
|
|
|
|
|
-
|
|
|
-const greatestRole = getGreatestRole()
|
|
|
const patient = computed(() => {
|
|
|
const patientInfo = baseinfo()
|
|
|
const pContent = patientInfo.expContent ? JSON.parse(patientInfo.expContent) : {}
|
|
@@ -681,20 +679,17 @@ const confirmAdmissApply = () => {
|
|
|
type: 'warning',
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- submitAdmissApply(admissApply.value).then((res) => {
|
|
|
- ElMessage({
|
|
|
- message: res,
|
|
|
- type: 'success',
|
|
|
- duration: 2500,
|
|
|
- showClose: true,
|
|
|
- })
|
|
|
- showAdmissApplyForm.value = false
|
|
|
- })
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
+ }).then(() => {
|
|
|
+ submitAdmissApply(admissApply.value).then((res) => {
|
|
|
+ ElMessage({
|
|
|
+ message: res,
|
|
|
+ type: 'success',
|
|
|
+ duration: 2500,
|
|
|
+ showClose: true,
|
|
|
})
|
|
|
+ showAdmissApplyForm.value = false
|
|
|
+ })
|
|
|
+ }).catch(() => {})
|
|
|
}
|
|
|
|
|
|
const psnBaseinfo = ref({})
|