修改身份证字段

This commit is contained in:
Euni4U 2025-03-14 14:50:54 +08:00
parent 98fbcb4444
commit 114e886533
2 changed files with 1 additions and 43 deletions

View File

@ -1060,7 +1060,7 @@ const handleSync = async () => {
return null
}),
//
PatientApi.GetApiYbjcInfo(medicalSn, '15262719621023461x')//
PatientApi.GetApiYbjcInfo(medicalSn, selectedPatient.value?.cardId)//
.catch(error => {
console.warn('获取一般检查报告失败:', error)
return null

View File

@ -139,53 +139,11 @@ const handleQuery = () => {
queryParams.pageNo = 1
getList()
}
/** 重置按钮操作 */
const resetQuery = () => {
queryFormRef.value.resetFields()
handleQuery()
}
/** 添加/修改操作 */
const formRef = ref()
const openForm = (type: string, username: string, id?: number) => {
formRef.value.open(type, username, id)
}
/** 删除按钮操作 */
const handleDelete = async (id: number) => {
try {
//
await message.delConfirm()
//
await DepartmentApi.deleteDepartment(id)
message.success(t('common.delSuccess'))
//
await getList()
} catch {}
}
/** 导出按钮操作 */
const handleExport = async () => {
try {
//
await message.exportConfirm()
//
exportLoading.value = true
const data = await DepartmentApi.exportDepartment(queryParams)
download.excel(data, '科室管理.xls')
} catch {
} finally {
exportLoading.value = false
}
}
//
const getlogininfo = async () => {
Profilevo.value = await getUserProfile()
}
/** 初始化 **/
onMounted(() => {
getlogininfo()
getList() // getList
})