luobinjie 3 days ago
parent
commit
814d5bf206
  1. 2
      src/components/doctorCheck/ButtonList.vue
  2. 64
      src/components/doctorCheck/CheckItemList.vue
  3. 2
      src/components/patientRegister/PatientRegisterEdit.vue
  4. 2
      src/components/sumDoctorCheck/ButtonList.vue
  5. 4
      src/views/fee-settings/cardRegister.vue

2
src/components/doctorCheck/ButtonList.vue

@ -107,7 +107,7 @@
<div v-show="doctorCheck.doctorCheckDialogVisible"
:style="`z-index:2;border-radius: 10px;border: 1px solid #ddd;background-color:#FFF; position: absolute;top:50px;right:0px;width:300px;height: ${window.pageHeight - 42 - 10}px;opacity:1;`">
:style="`z-index:2;border-radius: 10px;border: 1px solid #ddd;background-color:#FFF; position: absolute;top:50px;right:120px;width:300px;height: ${window.pageHeight - 42 - 10}px;opacity:1;`">
<PatientRegisterList win="doctorCheck" :winAbsolute="true" />

64
src/components/doctorCheck/CheckItemList.vue

@ -120,7 +120,7 @@
<div>
<!-- 结果录入模版 -->
<el-dialog title="结果录入模版" :visible.sync="dialogWinMoreResult" width="800px" :close-on-click-modal="false">
<div style="margin-top: -10px">
<div style="margin-top: -10px" @contextmenu.prevent="onContextmenuTemplate">
<el-checkbox v-model="LocalConfig.doctorCheck.isSplitChooseResult" size="small" true-label="Y"
false-label="N">选结果模板时自动添加分隔符</el-checkbox>
<div style="
@ -834,32 +834,22 @@ export default {
//
clickResult(item) {
let result = [];
let moreResult = this.moreResult.result || ''
// console.log('this.moreResult',JSON.stringify(this.moreResult))
// console.log('item',item)
// ==
if (this.moreResult.result == this.moreResult.defaultResult) {
if (!moreResult || moreResult == this.moreResult.defaultResult ) {
this.moreResult.result = item.result
this.selection.start = length(item.result) - 1
this.selection.end = this.selection.start
}else if(moreResult.includes(item.result)){
//
}else {
if (this.moreResult.result) result = this.moreResult.result.split(";");
//
if (this.LocalConfig.doctorCheck.isSplitChooseResult == "Y" && result.indexOf(item.result) > -1)
return;
if (this.LocalConfig.doctorCheck.isSplitChooseResult == "Y" || result.length == 0) {
result.push(item.result);
} else {
result[result.length - 1] = result[result.length - 1] + item.result;
let choosedResult = item.result
if(this.LocalConfig.doctorCheck.isSplitChooseResult == 'Y') choosedResult = ';' + choosedResult
this.insertSymbols(choosedResult)
}
let ret = "";
result.forEach((e, i) => {
let splitStr = ";";
if (i == 0) splitStr = "";
ret += splitStr + e;
});
this.moreResult.result = ret;
}
},
//
@ -1111,7 +1101,7 @@ export default {
});
},
//
// ()
insertSymbols(symbols) {
let result = this.moreResult.result || "";
if (result) {
@ -1123,8 +1113,8 @@ export default {
result = symbols;
}
this.moreResult.result = result;
this.selection.start++;
this.selection.end++;
this.selection.start = this.selection.start + length(symbols);
this.selection.end = this.selection.start;
},
//
getCaretPosition() {
@ -1226,6 +1216,34 @@ export default {
},
//
onContextmenuTemplate(event) {
if (!this.$peisAPI) return
let menus = [
{ type: 'separator' },
{ label: '显示明细历次结果', itemId: '显示明细历次结果', enabled: true },
{ label: '预览影像报告', itemId: '预览影像报告', enabled: true }
// { label: '', itemId: '', enabled: true },
// {
// label: '',
// submenu: [
// { label: '', itemId: '', enabled: true }
// ]
// }
]
this.$peisAPI.showContextMenu(menus)
.then(res => {
console.log('res', res)
})
.catch(err => {
console.log('err', err)
})
.finally(() => {
console.log('finally')
})
},
//
onContextMenuDIY(data) {
//this.$message({showClose:true,message:data})

2
src/components/patientRegister/PatientRegisterEdit.vue

@ -1665,7 +1665,7 @@ export default {
this.peoplePhoto = 'data:image/bmp;base64,' + idNos.Photo
// this.patientRegister.photo = 'data:image/bmp;base64,' + idNos.Photo
// isNameContinue
this.changeIdNo('Y') //
this.changeIdNo('N') // Y:N
} else {
this.$message.error({ showClose: true, message: `${lres.message}` })
}

2
src/components/sumDoctorCheck/ButtonList.vue

@ -100,7 +100,7 @@
</div>
<div v-show="sumDoctorCheck.sumDoctorCheckDialogVisible"
:style="`z-index:3;border-radius: 10px;border: 1px solid #ddd;background-color:#FFF; position: absolute;top:50px;right:0px;width:300px;height: ${window.pageHeight - 42 - 10}px;opacity:1;`">
:style="`z-index:3;border-radius: 10px;border: 1px solid #ddd;background-color:#FFF; position: absolute;top:50px;right:120px;width:300px;height: ${window.pageHeight - 42 - 10}px;opacity:1;`">
<PatientRegisterList win="sumDoctorCheck" :winAbsolute="true" />

4
src/views/fee-settings/cardRegister.vue

@ -1000,10 +1000,10 @@ export default {
this.loadOptsInit = Object.assign({}, this.loadOpts);
postapi("/api/app/cardregister/getcardregisterlist", body).then((res) => {
if (res.code != -1) {
if (res.code > -1) {
this.dataList = res.data.items;
this.loadOpts.totalCount = res.data.totalCount
this.loadOpts.skipCount = 1
//this.loadOpts.skipCount = 0
}
});
},

Loading…
Cancel
Save