Browse Source

睑板腺按摩表单bug修复

360view
bianyaqi 2 years ago
parent
commit
3056c8fefd
  1. 4
      public/index.html
  2. 4
      src/components/360View/index.vue
  3. 4
      src/components/360View/special/index.vue
  4. 27
      src/page-subspecialty/views/modules/formList/reportForm.vue

4
public/index.html

@ -53,8 +53,8 @@
<!-- 生产环境 --> <!-- 生产环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod') { %> <% if (process.env.VUE_APP_NODE_ENV === 'prod') { %>
<script> <script>
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://10.80.5.32:8031/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://10.80.5.32:8031/xiangan-crf';
</script> </script>
<% } %> <% } %>
</head> </head>

4
src/components/360View/index.vue

@ -408,8 +408,8 @@ export default {
// 360 // 360
handlePacs() { handlePacs() {
// const baseUrl = 'http://z1.huimucloud.com:8085' // const baseUrl = 'http://z1.huimucloud.com:8085'
// const baseUrl = 'http://10.80.5.32:8026'
const baseUrl = 'http://192.168.0.85:8001'
const baseUrl = 'http://10.80.5.32:8026'
// const baseUrl = 'http://192.168.0.85:8001'
const href = `${baseUrl}/EXAMINE_Report/InterFace?PatID=${this.patientId}&DoctorID=${this.employeeId}&PatIdKey=&ExamNo=` const href = `${baseUrl}/EXAMINE_Report/InterFace?PatID=${this.patientId}&DoctorID=${this.employeeId}&PatIdKey=&ExamNo=`
window.open(href, '_blank') window.open(href, '_blank')
// const { href } = this.$router.resolve({ // const { href } = this.$router.resolve({

4
src/components/360View/special/index.vue

@ -213,8 +213,8 @@ export default {
// } // }
// }) // })
// const baseUrl = 'http://z1.huimucloud.com:8085' // const baseUrl = 'http://z1.huimucloud.com:8085'
// const baseUrl = 'http://10.80.5.32:8026'
const baseUrl = 'http://192.168.0.85:8001'
const baseUrl = 'http://10.80.5.32:8026'
// const baseUrl = 'http://192.168.0.85:8001'
const href = `${baseUrl}/EXAMINE_Report/InterFace?PatID=${this.patientId}&DoctorID=${this.employeeId}&PatIdKey=&ExamNo=` const href = `${baseUrl}/EXAMINE_Report/InterFace?PatID=${this.patientId}&DoctorID=${this.employeeId}&PatIdKey=&ExamNo=`
window.open(href, '_blank') window.open(href, '_blank')
}, },

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

@ -89,6 +89,7 @@ export default {
data() { data() {
return { return {
origin: {}, origin: {},
originForm: {},
confirmData: { confirmData: {
fmwOd: '', fmwOd: '',
fmwOs: '', fmwOs: '',
@ -154,7 +155,7 @@ export default {
} }
}, },
created() { created() {
this.origin = JSON.parse(JSON.stringify(this.formData))
this.originForm = JSON.parse(JSON.stringify(this.formData))
this.getReportInfo() this.getReportInfo()
}, },
methods: { methods: {
@ -215,19 +216,21 @@ export default {
} }
this.$http.get('/mzbl/getMzblBgInfo', { params }).then(data => { this.$http.get('/mzbl/getMzblBgInfo', { params }).then(data => {
const res = data.data.data const res = data.data.data
this.handleResValue(res.fmwOd, this.formData.form.OD)
this.handleResValue(res.fmwOs, this.formData.form.OS)
this.confirmData.remark = res.remark
this.confirmData.operator = res.operator
this.confirmData.operateDate = res.operateDate
if (!res.jzNumber) {
this.confirmData.patientName = this.patientDetail.patientName
const userData = JSON.parse(window.sessionStorage.getItem('qg-userData'))
this.confirmData.operator = userData.signImgBase
this.confirmData.operateDate = this.$moment().format('YYYY-MM-DD')
}
this.setData(res)
}) })
}, },
setData(res) {
this.confirmData = res
this.handleResValue(res.fmwOd, this.formData.form.OD)
this.handleResValue(res.fmwOs, this.formData.form.OS)
if (!res.jzNumber) {
this.formData = JSON.parse(JSON.stringify(this.originForm))
this.confirmData.patientName = this.patientDetail.patientName
const userData = JSON.parse(window.sessionStorage.getItem('qg-userData'))
this.confirmData.operator = userData.signImgBase
this.confirmData.operateDate = this.$moment().format('YYYY-MM-DD')
}
},
// id // id
async queryProject() { async queryProject() {
const project = window.sessionStorage.getItem('projectItem') ? JSON.parse(window.sessionStorage.getItem('projectItem')) : [] const project = window.sessionStorage.getItem('projectItem') ? JSON.parse(window.sessionStorage.getItem('projectItem')) : []

Loading…
Cancel
Save