Browse Source

门诊治疗内容表单限制

360view
bianyaqi 2 years ago
parent
commit
96b113d706
  1. 4
      public/index.html
  2. 13
      src/components/360View/medicalRecord/index.vue
  3. 2
      src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue
  4. 2
      src/page-subspecialty/views/modules/formList/mraForm.vue
  5. 1
      src/page-subspecialty/views/modules/formList/reportForm.vue
  6. 1
      src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue

4
public/index.html

@ -39,8 +39,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script> <script>
//http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html //http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
</script> </script>
<% } %> <% } %>
<!-- 测试环境 --> <!-- 测试环境 -->

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

@ -165,13 +165,21 @@ export default {
this.isPlatform = this.isSearch === item.platform this.isPlatform = this.isSearch === item.platform
return return
} }
this.confirmChange().finally(() => {
if (this.name === '门急诊电子病历') {
this.curIndex = index this.curIndex = index
this.id = item.id this.id = item.id
this.name = item.name this.name = item.name
this.caseId = item.id this.caseId = item.id
this.isPlatform = this.isSearch === item.platform this.isPlatform = this.isSearch === item.platform
})
} else {
this.confirmChange().finally(() => {
this.curIndex = index
this.id = item.id
this.name = item.name
this.caseId = item.id
this.isPlatform = this.isSearch === item.platform
})
}
}, },
// //
confirmChange() { confirmChange() {
@ -210,6 +218,7 @@ export default {
}) })
}, },
updateForm() { updateForm() {
this.$message.success('保存成功')
this.getFormList('update') this.getFormList('update')
}, },
addRecord(name) { addRecord(name) {

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

@ -8,7 +8,7 @@
{{ item.name }} {{ item.name }}
</p> </p>
</div> </div>
<i v-if="index === curIndex && !onlyRead" style="margin-top: 28px;color: rgb(199,5,5)" class="el-icon-delete" @click.stop="deleteForm()" />
<i v-if="index === curIndex && !onlyRead && item.name !== '门急诊电子病历'" style="margin-top: 28px;color: rgb(199,5,5)" class="el-icon-delete" @click.stop="deleteForm()" />
</div> </div>
<img v-if="!formList.length" 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 class="button"><i class="el-icon-plus" /> 新建表单</div> -->

2
src/page-subspecialty/views/modules/formList/mraForm.vue

@ -110,7 +110,7 @@ export default {
}, },
methods: { methods: {
handleSaveTable() { handleSaveTable() {
this.$emit('handleSaveTable', this.formData)
this.$emit('handleSaveTable')
}, },
formDelete() { formDelete() {
this.$confirmFun('确定删除吗?').then(() => { this.$confirmFun('确定删除吗?').then(() => {

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

@ -194,7 +194,6 @@ export default {
...this.confirmData ...this.confirmData
}).then(() => { }).then(() => {
this.getReportInfo() this.getReportInfo()
this.$message.success('保存成功')
this.$emit('handleSaveTable') this.$emit('handleSaveTable')
}) })
}, },

1
src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue

@ -90,6 +90,7 @@
<add-patient-order <add-patient-order
v-if="addPatientVisible" v-if="addPatientVisible"
ref="addPatientOrder" ref="addPatientOrder"
:project="curPatient"
:patient-detail="curPatient" :patient-detail="curPatient"
:title="addTitle" :title="addTitle"
:is-edit="isEdit" :is-edit="isEdit"

Loading…
Cancel
Save