Browse Source

除日常出诊不自增病历

360view
bianyaqi 2 years ago
parent
commit
204426e403
  1. 15
      src/components/360View/medicalRecord/index.vue
  2. 2
      src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue
  3. 15
      src/page-subspecialty/views/modules/nurseManagement/index.vue

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

@ -239,17 +239,12 @@ export default {
})
if (res.code === 0) {
this.formList = res.data || []
const date = this.$moment().format('YYYY-MM-DD')
if (this.formList.length) {
if (!mode) {
this.name = this.formList[0].name
this.id = this.formList[0].id
}
this.curIndex = this.formList.findIndex(item => item.id === this.id)
this.jsonText = this.formList[this.curIndex].jsonText
} else {
this.addRecord('门急诊电子病历')
if (!mode) {
this.name = this.formList[0].name
this.id = this.formList[0].id
}
this.curIndex = this.formList.findIndex(item => item.id === this.id)
this.jsonText = this.formList[this.curIndex].jsonText
} else {
this.$message.error(res.msg)
}

2
src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue

@ -10,7 +10,7 @@
</div>
<i v-if="index === curIndex && !onlyRead" style="margin-top: 28px;color: rgb(199,5,5)" class="el-icon-delete" @click.stop="deleteForm()" />
</div>
<img v-if="!formList" src="@/assets/img/nodata.png" alt="" class="nodata">
<img v-if="!formList.length" src="@/assets/img/nodata.png" alt="" class="nodata">
<!-- <div class="button"><i class="el-icon-plus" /> 新建表单</div> -->
</div>
<div class="content-left-bottom">

15
src/page-subspecialty/views/modules/nurseManagement/index.vue

@ -0,0 +1,15 @@
<template>
<div>
护士
</div>
</template>
<script>
export default {
name: 'NurseManagement'
}
</script>
<style scoped>
</style>
Loading…
Cancel
Save