Browse Source

门诊治疗修改

360view
bianyaqi 2 years ago
parent
commit
70c7063ba3
  1. 4
      public/index.html
  2. 19
      src/components/360View/index1.vue
  3. 20
      src/page-subspecialty/views/modules/formList/laserSurgery.vue

4
public/index.html

@ -39,8 +39,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>
//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>
<% } %>
<!-- 测试环境 -->

19
src/components/360View/index1.vue

@ -37,16 +37,16 @@
<overView :patient-id="patientId||$route.query.patientId" />
</el-tab-pane>
<el-tab-pane name="门诊病历" label="门诊病历" style="height: 100%">
<medicalRecord :type-name="timeAxisType" :patient-id="patientId || $route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" />
<medicalRecord :type-name="timeAxisType" :patient-id="patientId || $route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="readOnly" />
</el-tab-pane>
<el-tab-pane name="常规检查" label="常规检查" style="height: 100%">
<routine :patient-id="patientId||$route.query.patientId" :date="date" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" />
<routine :patient-id="patientId||$route.query.patientId" :date="date" :only-read="readOnly" />
</el-tab-pane>
<el-tab-pane name="特殊检查" label="特殊检查" style="height: 100%">
<special :patient-id="patientId||$route.query.patientId" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" />
<special :patient-id="patientId||$route.query.patientId" :only-read="readOnly" />
</el-tab-pane>
<el-tab-pane name="视光档案" label="视光档案" style="height: 100%">
<opticalFile :patient-id="patientId||$route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" />
<opticalFile :patient-id="patientId||$route.query.patientId" :is-search="isSearch || $route.query.isSearch" :only-read="readOnly" />
</el-tab-pane>
<el-tab-pane name="诊断" label="诊断" style="height: 100%">
<el-table
@ -205,7 +205,7 @@
</el-table>
</el-tab-pane>
<el-tab-pane name="随访记录" label="随访记录" style="height: 100%">
<followUpRecord :patient-id="patientId||$route.query.patientId" :only-read="onlyRead || JSON.parse($route.query.onlyRead)" />
<followUpRecord :patient-id="patientId||$route.query.patientId" :only-read="readOnly" />
</el-tab-pane>
</el-tabs>
</div>
@ -294,6 +294,15 @@ export default {
dataForm: {}
}
},
computed: {
readOnly() {
if (this.$route.query.onlyRead) {
return JSON.parse(this.$route.query.onlyRead)
} else {
return this.onlyRead
}
}
},
watch: {
display(val) {
if (val) {

20
src/page-subspecialty/views/modules/formList/laserSurgery.vue

@ -131,7 +131,11 @@
<div class="flex a-c">
<div class="flex a-c item">
<div class="label_width">操作人:</div>
<el-input v-model="confirmData.operator" style="flex: 1" />
<div @click="signClick(9)">
<img v-if="!guardianSign2" :src="require('@/assets/img/signature.png')" alt="">
<img v-else style="width: 80px;height: 40px;" :src="guardianSign2">
</div>
<!-- <el-input v-model="confirmData.operator" style="flex: 1" />-->
</div>
<div class="flex a-c item">
<div class="label_width">操作时间:</div>
@ -216,6 +220,16 @@ export default {
}
}
},
computed: {
guardianSign2: {
get() {
return this.$store.getters.guardianSign2
},
set(val) {
}
}
},
watch: {
caseId(val) {
if (val) {
@ -234,6 +248,10 @@ export default {
this.getConfirmDetail()
},
methods: {
signClick(index) {
console.log(index)
this.$store.commit('beginSign', index)
},
editImg() {
this.$refs.imgEditorRef.init()
},

Loading…
Cancel
Save