diff --git a/src/components/common/AcceptTemplate.vue b/src/components/common/AcceptTemplate.vue index 309ea78..6625ba1 100644 --- a/src/components/common/AcceptTemplate.vue +++ b/src/components/common/AcceptTemplate.vue @@ -72,7 +72,7 @@ export default { displayName: "", informedConsentTemplateFileContent: "" }, - contentInit: '

CT检查知情同意书

尊敬的客户:

  欢迎您来到长城体检中心进行CT检查,在检查之前,您需要知晓以下事宜:辐射有害健康,请远离电离辐射

  1、人体受到放射线照射后,可能产生潜在的危害,产生有害的躯体效应和遗传效应,其中最敏感的器官或组织为:甲状腺、性腺、及胚胎组织。

  2、孕妇原则上禁止CT检查,如果您是孕妇,在CT检查前,请告知工作人员。

  3、如果您正处在备孕阶段,原则上我们不建议进行CT检查,请您提前告知工作人员。

  4、CT检查时只允许一名受检者进入机房,无关人员不得在机房内停留。

  5、建议受检者佩戴门诊部提供的防护用品,遮盖敏感部位。 家屋到扫描室外等候。









受检人签名:${signMan}


${signDate}

', + contentInit: '

CT检查知情同意书

尊敬的客户:

  欢迎您来到长城体检中心进行CT检查,在检查之前,您需要知晓以下事宜:辐射有害健康,请远离电离辐射

  1、人体受到放射线照射后,可能产生潜在的危害,产生有害的躯体效应和遗传效应,其中最敏感的器官或组织为:甲状腺、性腺、及胚胎组织。

  2、孕妇原则上禁止CT检查,如果您是孕妇,在CT检查前,请告知工作人员。

  3、如果您正处在备孕阶段,原则上我们不建议进行CT检查,请您提前告知工作人员。

  4、CT检查时只允许一名受检者进入机房,无关人员不得在机房内停留。

  5、建议受检者佩戴门诊部提供的防护用品,遮盖敏感部位。 家屋到扫描室外等候。









受检人签名:${signMan}


${signDate}

', // 自定义工具栏配置 customToolbar: [ // 字体大小控制(关键配置) diff --git a/src/components/common/LocalConfig.vue b/src/components/common/LocalConfig.vue index e3ea17a..7a1ec18 100644 --- a/src/components/common/LocalConfig.vue +++ b/src/components/common/LocalConfig.vue @@ -2,7 +2,7 @@
浏览器 /本地设置 -
+
@@ -44,7 +44,7 @@ - + 收费申请 检验申请 检查申请 @@ -89,7 +89,7 @@ - + - - + + - + @@ -125,7 +125,7 @@ - + @@ -146,27 +146,27 @@ - - + + - + - - + + - + - + - - + + - + @@ -176,6 +176,21 @@ false-label="N" /> + + + + + + + + + + + + + + @@ -228,7 +243,7 @@ :value="item.id" /> - + @@ -237,10 +252,9 @@ - - + + @@ -272,14 +286,14 @@ export default { maxResultCount: 100, //分页时单页记录数 PatientRegisterEdit: 'standard', //standard/qztl 人员登记组件版本 PatientRegisterEditHeight: 0, // 相较与标准版,选组合项目组件,减少高度 - displayTab:false // 是否显示标签页 + displayTab: false // 是否显示标签页 }, patientRegister: { edit: 'standard', //standard/qztl 人员登记组件版本 editHeight: 0, // 相较与标准版,选组合项目组件,减少高度 immediateToHisCharge: false, // 人员登记保存后,立即发送第三方申请--收费申请 - immediateToLisReq:false, // 人员登记保存后,立即发送第三方申请--检验申请 - immediateToPacsReq:false, // 人员登记保存后,立即发送第三方申请--检查申请 + immediateToLisReq: false, // 人员登记保存后,立即发送第三方申请--检验申请 + immediateToPacsReq: false, // 人员登记保存后,立即发送第三方申请--检查申请 findPatientByName: true, // 人员登记,启有人名查询 printGuideLabel: ["guide", "pacs", "lis"], // 保存后打印指引单与条码 dispCustomerOrgCode: 'N', // 人员登记列表--单位树是否显示 customerOrgCode @@ -300,13 +314,15 @@ export default { isPacsWorklist: 'N', // 是否启用 DCM-worklist 申请 scheduledAet: '', //scheduledAet - deviceId:"", // 设备ID - pacsDescLines:'5', //行数 - pacsDescLineH:'18', //行高 + deviceId: "", // 设备ID + pacsDescLines: '5', //行数 + pacsDescLineH: '18', //行高 pacsDescFontSize: 14, //描述控件的字体大小 - isHaveExternal:'N', //是否有扩展屏 (一般pacs看图可能会有副屏) - hisItemRight:0, // 历史检查明细右边边距 - resultModeDisp:'flex', // flex 紧凑排列;block 一行一个 + isHaveExternal: 'N', //是否有扩展屏 (一般pacs看图可能会有副屏) + hisItemRight: 0, // 历史检查明细右边边距 + resultModeDisp: 'flex', // flex 紧凑排列;block 一行一个 + getPicIsPrint: 'N', + moreBtns: '放弃明细项目检查,放弃项目检查,删除明细项目,知情同意书', // 按钮名称,隔开 }, lisLab: { specimens: [], // 默认标本类型ID @@ -316,7 +332,7 @@ export default { localDict: { room: [], // 分诊排队房间 pacsTypes: [{ label: 'dcm', value: 'dcm' }, { label: '图片', value: 'image' }], - deviceList:[], // pacs设备列表 + deviceList: [], // pacs设备列表 } }; }, @@ -334,7 +350,7 @@ export default { this.LocalConfig = Object.assign({}, this.LocalConfigInit, JSON.parse(LocalConfig) || {}) if (this.LocalConfig && this.LocalConfig.patientRegister && this.LocalConfig.patientRegister.printGuideLabel) { this.printGuideLabel = deepCopy(this.LocalConfig.patientRegister.printGuideLabel) - } + } } catch (error) { console.log('window.localStorage.getItem("LocalConfig")', error) } diff --git a/src/components/common/PreviewCusGrant.vue b/src/components/common/PreviewCusGrant.vue index d8dfe9b..2a7bb19 100644 --- a/src/components/common/PreviewCusGrant.vue +++ b/src/components/common/PreviewCusGrant.vue @@ -1,7 +1,13 @@ @@ -10,14 +16,14 @@ import { mapState } from "vuex"; import moment from "moment"; - - +import html2canvas from "html2canvas"; +import printJs from "print-js"; export default { props: ['refParams'], data() { return { - contentShow:'

CT检查知情同意书

尊敬的客户:

  欢迎您来到长城体检中心进行CT检查,在检查之前,您需要知晓以下事宜:辐射有害健康,请远离电离辐射

  1、人体受到放射线照射后,可能产生潜在的危害,产生有害的躯体效应和遗传效应,其中最敏感的器官或组织为:甲状腺、性腺、及胚胎组织。

  2、孕妇原则上禁止CT检查,如果您是孕妇,在CT检查前,请告知工作人员。

  3、如果您正处在备孕阶段,原则上我们不建议进行CT检查,请您提前告知工作人员。

  4、CT检查时只允许一名受检者进入机房,无关人员不得在机房内停留。

  5、建议受检者佩戴门诊部提供的防护用品,遮盖敏感部位。 家屋到扫描室外等候。









受检人签名:${signMan}


${signDate}

', + contentShow:'

CT检查知情同意书

尊敬的客户:

  欢迎您来到长城体检中心进行CT检查,在检查之前,您需要知晓以下事宜:辐射有害健康,请远离电离辐射

  1、人体受到放射线照射后,可能产生潜在的危害,产生有害的躯体效应和遗传效应,其中最敏感的器官或组织为:甲状腺、性腺、及胚胎组织。

  2、孕妇原则上禁止CT检查,如果您是孕妇,在CT检查前,请告知工作人员。

  3、如果您正处在备孕阶段,原则上我们不建议进行CT检查,请您提前告知工作人员。

  4、CT检查时只允许一名受检者进入机房,无关人员不得在机房内停留。

  5、建议受检者佩戴门诊部提供的防护用品,遮盖敏感部位。 家屋到扫描室外等候。









受检人签名:${signMan}


${signDate}

', }; @@ -56,7 +62,7 @@ export default { // 查看效果 btnPreview(){ this.acceptTemplateShow = true - let signMan = '' + let signMan = '' let signDate = moment(new Date()).format('yyyy 年 MM 月 DD 日') this.contentShow = this.content.replace('${signMan}', signMan).replace('${signDate}', signDate) }, @@ -68,7 +74,36 @@ export default { this.content = this.contentDesign } this.designAble = !this.designAble - } + }, + + btnPrint() { + + this.$nextTick(() => { + let width = 794; // A4纸的宽度 + let cloneDom = this.$refs['refPreviewCusGrant'].cloneNode(true); + let imageDom = this.$refs['refPreviewCusGrant']; + cloneDom.style.position = "absolute"; + cloneDom.style.top = "0px"; + cloneDom.style.zIndex = "-1"; + cloneDom.style.width = width; + cloneDom.style.padding = "80px 50px"; + console.log(cloneDom); + imageDom.appendChild(cloneDom); + html2canvas(cloneDom).then((canvas) => { + // 转成图片,生成图片地址 + const url = canvas.toDataURL("image/png"); + printJs({ + printable: url, + type: "image", + documentTitle: "知情同意书", // 标题 + style: `@media print { @page {size: auto; margin: 0 0 0 0; } body{margin:0 5px}canvas{page-break-after: always;page-break-inside: avoid; +page-break-after: avoid; +page-break-before: avoid;}}`, // 去除页眉页脚 + }); + }); + cloneDom.style.display = "none"; + }); + }, }, // 监听 diff --git a/src/components/doctorCheck/CheckPicture.vue b/src/components/doctorCheck/CheckPicture.vue index 5916eb2..c35969b 100644 --- a/src/components/doctorCheck/CheckPicture.vue +++ b/src/components/doctorCheck/CheckPicture.vue @@ -270,6 +270,12 @@ export default { pictureFileType: '1', getPicing:false, //是否采图中 fullscreenLoading:false, // 采图交互状态 + // 医生诊台相关的本地设置 + LocalConfig: { + doctorCheck: { + getPicIsPrint:'N', //采图即标打印 -- 该参数仅对鼠标采图起作用(非热键采图时不起作用) + }, + }, }; }, @@ -280,6 +286,9 @@ export default { this.sysConfig = JSON.parse(window.sessionStorage.getItem('sysConfig')) // console.log('this.sysConfig checkPictures', this.sysConfig) + let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null) + if (LocalConfig?.doctorCheck?.getPicIsPrint) this.LocalConfig.doctorCheck.getPicIsPrint = LocalConfig.doctorCheck.getPicIsPrint + }, //挂载完成 @@ -512,7 +521,7 @@ export default { fileName, localPathName: item.FilePath, pictureBaseStr: baseHead + item.Image, - isPrint: 'N' + isPrint: this.LocalConfig.doctorCheck.getPicIsPrint // 根据不同的客户端,有不同的需求 }], pictureFileType: '0' //采图暂定图0,上传暂定报告1 this.pictureFileType } diff --git a/src/views/doctorCheck/doctorCheck.vue b/src/views/doctorCheck/doctorCheck.vue index 877e72d..b323f84 100644 --- a/src/views/doctorCheck/doctorCheck.vue +++ b/src/views/doctorCheck/doctorCheck.vue @@ -92,6 +92,21 @@
AI诊断
+
+ 放弃明细项目检查 +
+
+ 放弃项目检查 +
+
+ 删除明细项目 +
修改结果 @@ -141,20 +156,30 @@
重置
+
+ 知情同意书 +
更多操作 - 放弃明细项目检查 - 放弃项目检查 - 删除明细项目 - 知情同意书 + 放弃明细项目检查 + 放弃项目检查 + 删除明细项目 + 知情同意书
@@ -374,6 +399,7 @@ export default { isQueue: 'N', //启用分诊排队 queueRoom: '', //默认分诊房间 isAutoNext: 'N', // 保存完结果,是否自动下一条记录 + moreBtns: '放弃明细项目检查,放弃项目检查,删除明细项目,知情同意书', // 更多操作包含的按钮 }, normal: { // 常规参数 displayTab: false// 是否显示标签页