Browse Source

病历收集修改待完成

360view
bianyaqi 2 years ago
parent
commit
55b3776cca
  1. 28
      src/components/360View/collection.vue
  2. 2
      src/components/360View/medicalRecord/index.vue
  3. 4
      src/components/360View/medicalRecord/outPatientRecord/index.vue
  4. 4
      src/page-subspecialty/views/modules/formList/reportForm.vue

28
src/components/360View/collection.vue

@ -1,13 +1,12 @@
<template>
<div class="collection">
<div class="collection_title">个人收藏</div>
<div style="flex: 1">
<div style="flex: 1" class="collect_context">
<el-button v-if="!collectData.length" size="mini" @click="dialogFormVisible = true">新增节点</el-button>
<el-tree
v-else
:data="collectData"
node-key="id"
default-expand-all
:props="defaultProps"
:expand-on-click-node="false"
>
@ -116,12 +115,32 @@ export default {
},
async created() {
this.initPatient()
this.findCurPatientRemark()
},
methods: {
//
initPatient() {
this.findTree()
},
//
findCurPatientRemark() {
this.$http.get('tree/findPatientRemark', {
patient: this.patientId,
platform: this.platform
}).then(res => {
console.log(res.data)
})
},
findTreePatient() {
this.$http.get('/tree/findPatientTree', {
limit: 10,
page: 1,
platform: this.platform,
treeId: this.curNode.id
}).then(res => {
console.log(res)
})
},
//
async queryPatientRemarks() {
const { data } = await this.$http.get('/tree/findTreeIsExistPatient', {
@ -174,6 +193,7 @@ export default {
levelClick(data) {
this.curNode = data
this.remark = data.remark || ''
this.findTreePatient()
},
searchRemark(data) {
// this.treeId = data.id
@ -329,4 +349,8 @@ export default {
height: 164px;
}
}
.collect_context{
overflow: hidden;
overflow-y: scroll;
}
</style>

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

@ -13,7 +13,7 @@
/>
<div class="content-right">
<template v-if="formList.length">
<ourPatientRecord v-if="name === '门急诊电子病历'" :patient-id="patientId" :only-read="onlyRead" :is-search="isSearch" @formDelete="formDelete" />
<ourPatientRecord v-if="name === '门急诊电子病历'" :id="id" :patient-id="patientId" :only-read="onlyRead" :is-search="isSearch" @formDelete="formDelete" />
<InformedConsent v-if="name==='眼科激光手术患者知情同意书'" :json-text="jsonText" @handleSaveTable="updateForm" @formDelete="formDelete" />
<mra-form v-if="name==='眼底血管造影知情同意书'" :json-text="jsonText" @handleSaveTable="updateForm" @formDelete="formDelete" />
<laser-surgery v-if="name==='眼科激光手术治疗'" :json-text="jsonText" @handleSaveTable="updateForm" @formDelete="formDelete" />

4
src/components/360View/medicalRecord/outPatientRecord/index.vue

@ -71,6 +71,10 @@ export default {
onlyRead: {
type: Boolean,
default: false
},
id: {
type: String,
default: ''
}
},
inject: ['refresh'],

4
src/page-subspecialty/views/modules/formList/reportForm.vue

@ -37,14 +37,14 @@
<tr>
<td colspan="2">
<div class="flex">
备注<el-input style="flex:1" />
备注<el-input v-model="formData.remark" style="flex:1" />
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div class="flex">
操作者<el-input style="flex:1" />
操作者<el-input v-model="formData.operator" style="flex:1" />
</div>
</td>
</tr>

Loading…
Cancel
Save