Browse Source

doctor

master
pengjun 2 years ago
parent
commit
9769914f30
  1. 5
      src/components/doctorCheck/ButtonList.vue
  2. 22
      src/components/doctorCheck/CheckSumSug.vue
  3. 9
      src/components/doctorCheck/PatientRegisterBase.vue
  4. 2
      src/components/doctorCheck/PatientRegisterList.vue
  5. 10
      src/components/doctorCheck/RegisterCheckList.vue
  6. 2
      src/components/sumDoctorCheck/ButtonList.vue
  7. 2
      src/views/doctorCheck/doctorCheck.vue

5
src/components/doctorCheck/ButtonList.vue

@ -68,7 +68,7 @@
<div v-show="doctorCheck.doctorCheckDialogVisible"
:style="`z-index:30001;border-radius: 10px;border: 1px solid #000;background-color:#FFF; position: absolute;top:70px;right:10px;width:300px;height: ${window.pageHeight - 42 - 5 - 30}px;opacity:1;`">
:style="`z-index:2;border-radius: 10px;border: 1px solid #000;background-color:#FFF; position: absolute;top:70px;right:10px;width:300px;height: ${window.pageHeight - 42 - 5 - 30}px;opacity:1;`">
<PatientRegisterList win="doctorCheck" :winAbsolute="true"/>
@ -83,7 +83,7 @@
<!-- 体检人员登记 -->
<el-dialog style="z-index:30001;"
<el-dialog
:title="doctorCheck.prBase.id ? '体检人员--编辑' : '体检人员--新增'"
:visible.sync="dialogVisible"
:close-on-click-modal="false"
@ -277,7 +277,6 @@ export default {
if(this.medicalStartDate){
//this.formData = Object.assign({},this.formInitData,{medicalStartDate:moment(this.medicalStartDate).format('yyyy-MM-DD')})
this.doctorCheck.prBase.id = ''
this.doctorCheck.
this.dialogVisible = true
this.patientRegister.photo = ''
setTimeout(() =>{

22
src/components/doctorCheck/CheckSumSug.vue

@ -66,7 +66,7 @@ import Sortable from "sortablejs";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
export default {
components: {},
props:["isCheckPicture","optGrant","addSummary","btnMakeDiagnosis","save","audit","unAudit","btnLineUp"],
props:["registerCheckId","isCheckPicture","optGrant","addSummary","btnMakeDiagnosis","save","audit","unAudit","btnLineUp"],
data() {
return {
@ -82,7 +82,7 @@ export default {
},
computed: {
...mapState(['window','dict', 'doctorCheck']),
...mapState(['window','dataTransOpts','dict', 'doctorCheck']),
//
sumWidth(){
@ -215,11 +215,21 @@ export default {
//
watch: {
//
"doctorCheck.RegisterCheckId"(newVal, oldVal) {
console.log("watch doctorCheck.RegisterCheckId newVal:", newVal, " oldVal:", oldVal);
this.checkSummaryList(newVal)
this.checkSuggestionList(newVal)
// "doctorCheck.RegisterCheckId"(newVal, oldVal) {
// console.log("watch doctorCheck.RegisterCheckId newVal", newVal, " oldVal", oldVal);
// this.checkSummaryList(newVal)
// this.checkSuggestionList(newVal)
// },
//
"dataTransOpts.refresh.register_check_item":{
immediate:true,
handler(newVal, oldVal) {
console.log(`watch 小结 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.registerCheckId}`);
this.checkSummaryList(this.registerCheckId)
this.checkSuggestionList(this.registerCheckId)
}
},
},
};
</script>

9
src/components/doctorCheck/PatientRegisterBase.vue

@ -3,18 +3,15 @@
<div style="display: flex; flex-wrap: wrap;height:70px; width: 100%;">
<div>
<span class="query">条码号</span>
<el-input placeholder="条码号" v-model="prBase.patientRegisterNo" size="small" style="width: 140px;" class="test"
clearable @change="onQueryByPatientRegisterNo" />
<el-input placeholder="条码号" v-model="prBase.patientRegisterNo" size="small" style="width: 140px;" clearable />
</div>
<div>
<span class="query">档案号</span>
<el-input placeholder="档案号" v-model="prBase.patientNo" size="small" style="width: 100px;" clearable
@change="onQueryByPatientNo" />
<el-input placeholder="档案号" v-model="prBase.patientNo" size="small" style="width: 100px;" clearable/>
</div>
<div>
<span class="query">姓名</span>
<el-input placeholder="姓名" v-model="prBase.patientName" size="small" style="width: 100px;"
@change="getlistinfilterByName" />
<el-input placeholder="姓名" v-model="prBase.patientName" size="small" style="width: 100px;" clearable/>
</div>
<div>
<span class="query">性别</span>

2
src/components/doctorCheck/PatientRegisterList.vue

@ -163,7 +163,7 @@
</el-table>
<!--通用选单位体检次数分组的控件-->
<el-dialog title="体检单位选择" :visible.sync="report.dialogCusOrgOCX"
<el-dialog title="体检单位选择" :visible.sync="report.dialogCusOrgOCX"
:close-on-click-modal="false" :append-to-body="true" width="800px" height="600px">
<CusOrgOCX :useCustomerOrg="false" :initDateType="'medicalStartDate'"/>
</el-dialog>

10
src/components/doctorCheck/RegisterCheckList.vue

@ -8,13 +8,13 @@
<el-table-column prop="asbitemName" label="组合项目" width="198">
<template slot-scope="scope">
<div>
<el-tooltip class="item" effect="dark" content="未检" placement="top">
<el-tooltip class="item" effect="dark" content="未检" placement="left">
<i v-show="scope.row.completeFlag == '0'" class="el-icon-circle-plus" style="font-size: 18px;color: red;"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="已检" placement="top">
<el-tooltip class="item" effect="dark" content="已检" placement="left">
<i v-show="scope.row.completeFlag == '1'" class="el-icon-success" style="font-size: 18px;color: green;"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="弃检" placement="top">
<el-tooltip class="item" effect="dark" content="弃检" placement="left">
<i v-show="scope.row.completeFlag == '2'" class="el-icon-remove" style="font-size: 18px;"></i>
</el-tooltip>
{{scope.row.asbitemName}}
@ -85,6 +85,10 @@ export default {
// 1
if(res.data.length > 0) {
this.doctorCheck.RegisterCheckId = res.data[0].id
this.dataTransOpts.table.register_check.id = res.data[0].id
setTimeout(() => { //
this.dataTransOpts.refresh.register_check_item++
}, 100);
// this.doctorCheck.RegisterCheckEdit = res.data[0]
this.$refs['doctorCheck_RegisterCheckList'].setCurrentRow(res.data[0])

2
src/components/sumDoctorCheck/ButtonList.vue

@ -41,7 +41,7 @@
<div v-show="sumDoctorCheck.sumDoctorCheckDialogVisible"
:style="`z-index:30001;border-radius: 10px;border: 1px solid #000;background-color:#FFF; position: absolute;top:70px;right:10px;width:300px;height: ${window.pageHeight - 42 - 5 - 30}px;opacity:1;`">
:style="`z-index:2;border-radius: 10px;border: 1px solid #000;background-color:#FFF; position: absolute;top:70px;right:10px;width:300px;height: ${window.pageHeight - 42 - 5 - 30}px;opacity:1;`">
<PatientRegisterList win="sumDoctorCheck" :winAbsolute="true"/>

2
src/views/doctorCheck/doctorCheck.vue

@ -52,7 +52,7 @@
<CheckPicture />
</div>
<div :style="'margin-top: 2px;margin-left: 2px;width:' + (window.pageWidth - 200 - 110 - 45 - 2) + 'px;'">
<CheckSumSug :isCheckPicture="isCheckPicture" :optGrant="optGrant" :addSummary="addSummary" :btnMakeDiagnosis="btnMakeDiagnosis" :save="save" :audit="audit" :unAudit="unAudit" :btnLineUp="btnLineUp"/>
<CheckSumSug :registerCheckId="dataTransOpts.table.register_check.id" :isCheckPicture="isCheckPicture" :optGrant="optGrant" :addSummary="addSummary" :btnMakeDiagnosis="btnMakeDiagnosis" :save="save" :audit="audit" :unAudit="unAudit" :btnLineUp="btnLineUp"/>
</div>
<div :style="'margin-top: 2px;width:' + (window.pageWidth - 200 - 110 - 45 - 2) + 'px;'">
<RegisterCheckEdit :registerCheckId="dataTransOpts.table.register_check.id"/>

Loading…
Cancel
Save