修改身份证字段
This commit is contained in:
parent
98fbcb4444
commit
114e886533
@ -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
|
||||
|
||||
@ -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
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user