From 46060db3735760e6ed22cfa03ac1811965a93753 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Tue, 16 Dec 2025 21:43:57 +0800 Subject: [PATCH] seo --- .../doctorCheck/PatientRegisterBase.vue | 28 ++++++++++++++-- src/views/fee-settings/cardRegister.vue | 32 +++++++++---------- 2 files changed, 41 insertions(+), 19 deletions(-) diff --git a/src/components/doctorCheck/PatientRegisterBase.vue b/src/components/doctorCheck/PatientRegisterBase.vue index 03d1700..b08dde2 100644 --- a/src/components/doctorCheck/PatientRegisterBase.vue +++ b/src/components/doctorCheck/PatientRegisterBase.vue @@ -23,7 +23,9 @@
- 身份证 + + 读身份证 +
@@ -110,7 +112,7 @@ import moment from "moment"; import { mapState, mapMutations } from "vuex"; import { getapi, postapi, putapi, deletapi } from "@/api/api"; -import { dddw, deepCopy, objCopy, opjCopy } from '../../utlis/proFunc' +import { dddw, deepCopy, objCopy, opjCopy,parsIcCardtoLocal } from '../../utlis/proFunc' import PatientRegisterForChoose from "../../components/patientRegister/PatientRegisterForChoose.vue"; export default { @@ -208,6 +210,28 @@ export default { this.patientRegister.photo = rd.photo || '' }, + //读身份证 + readIdCard() { + if (!this.$peisAPI) { + this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }) + return + } + this.$peisAPI.peopleIcCard().then(res => { + console.log('peopleIcCard', res) + let lres = JSON.parse(res) + if (lres.code > -1) { + let idNos = parsIcCardtoLocal(lres.data, this.dict.sex, this.dict.nation) + this.prBase.idNo = idNos.IDCode + this.onQueryByOnlyNo('idNo') + } else { + this.$message.error({ showClose: true, message: lres.message }) + } + }) + .catch(err => { + this.$message.error({ showClose: true, message: `读取身份证失败,原因:${err}` }) + }) + }, + // 根据pacs条码查询 onQueryByPacsNo(checkRequestNo) { diff --git a/src/views/fee-settings/cardRegister.vue b/src/views/fee-settings/cardRegister.vue index 64b7794..3ccf3a3 100644 --- a/src/views/fee-settings/cardRegister.vue +++ b/src/views/fee-settings/cardRegister.vue @@ -141,7 +141,7 @@ + " row-key="id" highlight-current-row ref="cardBillList" @selection-change="handleSelectionChange">