Browse Source

'切换tab新增病历'

360view
bianyaqi 2 years ago
parent
commit
282ad784a4
  1. 2
      src/components/360View/index1.vue
  2. 14
      src/components/360View/medicalRecord/callMedical/index.vue
  3. 7
      src/components/360View/medicalRecord/index.vue
  4. 6
      src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue
  5. 2
      src/page-subspecialty/views/modules/nurseManagement/myDialog.vue

2
src/components/360View/index1.vue

@ -37,7 +37,7 @@
<overView :patient-id="patientId" />
</el-tab-pane>
<el-tab-pane name="门诊病历" label="门诊病历" style="height: 100%">
<medicalRecord :patient-id="patientId" :is-search="isSearch" :only-read="onlyRead" />
<medicalRecord :type-name="timeAxisType" :patient-id="patientId" :is-search="isSearch" :only-read="onlyRead" />
</el-tab-pane>
<el-tab-pane name="常规检查" label="常规检查" style="height: 100%">
<routine :patient-id="patientId" :date="date" :only-read="onlyRead" />

14
src/components/360View/medicalRecord/callMedical/index.vue

@ -59,6 +59,10 @@ export default {
onlyRead: {
type: Boolean,
default: false
},
typeName: {
type: String,
default: ''
}
},
inject: ['refresh'],
@ -73,8 +77,14 @@ export default {
formType: '门诊'
}
},
mounted() {
this.getFormList()
watch: {
typeName(val) {
if (val === '门诊病历' && !this.formList.length) {
console.log(val)
this.getFormList()
}
}
},
methods: {
handleForm(index, item) {

7
src/components/360View/medicalRecord/index.vue

@ -2,7 +2,7 @@
<div class="archives">
<div class="archives-content">
<div v-if="isSearch === '1' || isSearch === '3'" class="content-left">
<callMedical :is-search="isSearch" :patient-id="patientId" :only-read="onlyRead" />
<callMedical :type-name="typeName" :is-search="isSearch" :patient-id="patientId" :only-read="onlyRead" />
</div>
<left-form-list
v-if="isSearch === '2'"
@ -105,6 +105,11 @@ export default {
onlyRead: {
type: Boolean,
default: false
},
// tab
typeName: {
type: String,
default: ''
}
},
inject: ['refresh'],

6
src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue

@ -48,7 +48,7 @@
</el-select>
</el-form-item>
<div style="display: flex;padding:0 0 20px 20px">
<el-col :span="8" style="display: flex;align-items: center">
<el-col :span="10" style="display: flex;align-items: center">
眼别:
<div class="radioItem" @click="form.eyeLevel='OD'">
<input :checked="form.eyeLevel==='OD'" type="radio">OD
@ -60,11 +60,11 @@
<input :checked="form.eyeLevel==='OU'" type="radio">OU
</div>
</el-col>
<el-col :span="8">
<el-col :span="7">
已开医嘱: <el-radio v-model="form.docAdvice" label="1"></el-radio>
<el-radio v-model="form.docAdvice" label="2"></el-radio>
</el-col>
<el-col :span="8">
<el-col :span="7">
已开医嘱: <el-radio v-model="form.docAdvice" label="1"></el-radio>
<el-radio v-model="form.docAdvice" label="2"></el-radio>
</el-col>

2
src/page-subspecialty/views/modules/nurseManagement/myDialog.vue

@ -2,7 +2,7 @@
<el-dialog
:title="title"
:visible.sync="dialogVisible"
width="35%"
width="40%"
:before-close="handleClose"
>
<div>

Loading…
Cancel
Save