diff --git a/src/components/common/LocalConfig.vue b/src/components/common/LocalConfig.vue index 0bb5170..706e81d 100644 --- a/src/components/common/LocalConfig.vue +++ b/src/components/common/LocalConfig.vue @@ -87,16 +87,7 @@ - - - - - - - - - + + + + + + @@ -177,7 +173,7 @@ export default { }, doctorCheck: { // 医生诊台 isCheckPicture: false, // 是否显示检查图片 - pictureFileType:'0', + isSelectAll:'N', // 录入结果时,是否全选 pacsType:'image', isQueue: 'N', //启用分诊排队 queueRoom: '', //默认分诊房间 diff --git a/src/components/doctorCheck/CheckItemList.vue b/src/components/doctorCheck/CheckItemList.vue index 67e6f94..1614f06 100644 --- a/src/components/doctorCheck/CheckItemList.vue +++ b/src/components/doctorCheck/CheckItemList.vue @@ -1,56 +1,26 @@ - + - + computeFun(scope.$index); + " v-bind:class="scope.row.class"> - - P - S + + P + S - + - 选结果模板时自动添加分隔符; - 选结果模板时自动添加分隔符; + - - + + {{ item.result }} + ">{{ item.result }} 特殊符号: - - - + + + "> {{ item.displayName }} @@ -221,81 +142,45 @@ 录入结果: - - + + "> {{ item }} - + 清 除 - 默认结果 + 默认结果 确 定 关 闭 - - + + - + - - + + @@ -379,19 +264,23 @@ export default { summary: "", }, curRow: {}, + isSelectAll: 'N', // 录入结果时,是否全选 }; }, created() { this.dictInit(); + + let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null) + if (LocalConfig && LocalConfig.doctorCheck && LocalConfig.doctorCheck.isSelectAll) this.isSelectAll = LocalConfig.doctorCheck.isSelectAll }, //挂载完成 mounted() { this.checkItemList(this.dataTransOpts.tableS.register_check.id); this.userInfo.operatorType = window.sessionStorage.getItem("operatorType") || '0'; - this.userInfo.userId = window.sessionStorage.getItem("userId")||null; - this.userInfo.user = window.sessionStorage.getItem("user")||null; + this.userInfo.userId = window.sessionStorage.getItem("userId") || null; + this.userInfo.user = window.sessionStorage.getItem("user") || null; }, computed: { @@ -908,9 +797,9 @@ export default { } if (this.doctorCheck.RegisterCheckEdit.completeFlag == "0") { // 当前用户是检查医生时,默认当前用户 - if(this.userInfo.operatorType == '1' || this.userInfo.operatorType == '3'){ + if (this.userInfo.operatorType == '1' || this.userInfo.operatorType == '3') { this.doctorCheck.RegisterCheckEdit.checkDoctorId = this.userInfo.userId; - } + } this.doctorCheck.RegisterCheckEdit.checkDate = new Date(); } return getapi( @@ -1036,7 +925,9 @@ export default { // 点击时全选结果 input.addEventListener("click", (event) => { - input.select(); + if(this.isSelectAll == 'Y'){ + input.select(); + } }); }); }); diff --git a/src/components/doctorCheck/CheckPicture.vue b/src/components/doctorCheck/CheckPicture.vue index caba652..acb6ff2 100644 --- a/src/components/doctorCheck/CheckPicture.vue +++ b/src/components/doctorCheck/CheckPicture.vue @@ -239,7 +239,7 @@ export default { // 裁图 dialogWinCutPic: false, cutPicParam: {}, - pictureFileType:'0' + pictureFileType:'1' }; }, @@ -249,8 +249,7 @@ export default { if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName)) 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 && LocalConfig.doctorCheck && LocalConfig.doctorCheck.pictureFileType) this.pictureFileType = LocalConfig.doctorCheck.pictureFileType + }, //挂载完成 @@ -397,7 +396,7 @@ export default { localPathName: item.FilePath, pictureBaseStr: baseHead + item.Image }], - pictureFileType:this.pictureFileType + pictureFileType: '0' //采图暂定图0,上传暂定报告1 this.pictureFileType } try { //await postapi('/api/app/RegisterCheckPicture/InstrumentMapping', body) diff --git a/src/components/doctorCheck/CheckPictureUpload.vue b/src/components/doctorCheck/CheckPictureUpload.vue index 050e94d..0c2dce7 100644 --- a/src/components/doctorCheck/CheckPictureUpload.vue +++ b/src/components/doctorCheck/CheckPictureUpload.vue @@ -126,7 +126,8 @@ export default { pictureBaseStrs: [{ fileName, pictureBaseStr: data - }] + }], + pictureFileType:'1' } // postapi('/api/app/registercheckpicture/uploadregistercheckpicturemany', body) //体检服务器 diff --git a/src/views/doctorCheck/checkPicImport.vue b/src/views/doctorCheck/checkPicImport.vue index ef409d0..ec33f99 100644 --- a/src/views/doctorCheck/checkPicImport.vue +++ b/src/views/doctorCheck/checkPicImport.vue @@ -377,7 +377,8 @@ export default { pictureName: fileName, pictureBase64: data, patientRegisterNo: checkRequestNo, // 人员条码 - asbitemId: this.upPic.asbitemId + asbitemId: this.upPic.asbitemId, + pictureFileType:'1' } let url = '/api/app/RegisterCheckPicture/ImportRegisterCheckPicture'