Browse Source

首诊单带入

360view
bianyaqi 2 years ago
parent
commit
7e465c87d4
  1. 4
      public/index.html
  2. 12
      src/page-subspecialty/views/modules/optometryManagement/seeDoctor/first-visit/index.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.168:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.0.168:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.4.174:8036/xiangan-crf';
</script>
<% } %>

12
src/page-subspecialty/views/modules/optometryManagement/seeDoctor/first-visit/index.vue

@ -257,8 +257,8 @@ export default {
if (res.code === 0) {
this.formData = res.data
if (!this.formData.id) {
await this.getPatientData()
await this.queryFirstInfo()
await this.getPatientData()
}
} else {
this.$message.error(res.msg)
@ -289,11 +289,11 @@ export default {
)
if (res.code === 0) {
if (res.data) {
this.formData.patientId = res.data.patientId
this.formData.patientSex = res.data.patientSex
this.formData.patientName = res.data.patientName
this.formData.patientAddress = res.data.patientAddress
this.formData.patientPhone = res.data.patientPhone
this.$set(this.formData, 'patientId', res.data.patientId)
this.$set(this.formData, 'patientSex', res.data.patientSex)
this.$set(this.formData, 'patientName', res.data.patientName)
this.$set(this.formData, 'patientAddress', res.data.patientAddress)
this.$set(this.formData, 'patientPhone', res.data.patientPhone)
}
} else {
this.$message.error(res.msg)

Loading…
Cancel
Save