diff --git a/src/components/360View/afterPart/index.vue b/src/components/360View/afterPart/index.vue index 107d186..533d093 100644 --- a/src/components/360View/afterPart/index.vue +++ b/src/components/360View/afterPart/index.vue @@ -523,7 +523,6 @@ export default { } const { data: res } = await this.$http.post(url, params) if (res.code === 0) { - this.$message.success('保存成功') await this.getforeList() } else { this.$message.error(res.msg) diff --git a/src/components/360View/commonForm/deveopmentFIle.vue b/src/components/360View/commonForm/deveopmentFIle.vue index e1dfe03..143df75 100644 --- a/src/components/360View/commonForm/deveopmentFIle.vue +++ b/src/components/360View/commonForm/deveopmentFIle.vue @@ -547,18 +547,22 @@ export default { type: '' }] this.tableData = this.originTableData + this.getPatientData() }, async getPatientData() { const { data: res } = await this.$http.get( - '/patient/view/getPatientData', - { - params: { - patientId: this.patientId - } + '/patient/view/getPatientData', + { + params: { + patientId: this.patientId } + } ) if (res.code === 0) { - this.dataForm = res.data + const data = res.data + this.headData[1].patientName = data.patientName + this.headData[1].sex = data.patientSex + this.headData[1].birthday = data.patientBirthday } else { this.$message.error(res.msg) } diff --git a/src/components/360View/commonForm/eyesVision.vue b/src/components/360View/commonForm/eyesVision.vue index 0983ea8..58b5cd3 100644 --- a/src/components/360View/commonForm/eyesVision.vue +++ b/src/components/360View/commonForm/eyesVision.vue @@ -200,7 +200,7 @@
调节功能异常:
@@ -529,7 +529,7 @@ export default { created() { }, mounted() { - this.originTableData = JSON.parse(JSON.stringify(this.tableData)) + this.originTableData = JSON.parse(JSON.stringify(this.tableData)) this.getPatientData() }, methods: { @@ -540,24 +540,22 @@ export default { }, reSet() { this.dataForm = { - number: '', - name: '', - sex: '', - age: '', - file: '', - fileNUm: '' + patientId: '', + patientName: '', + patientSex: '', + patientAge: '' } this.tableData = this.originTableData this.getPatientData() }, async getPatientData() { const { data: res } = await this.$http.get( - '/patient/view/getPatientData', - { - params: { - patientId: this.patientId - } + '/patient/view/getPatientData', + { + params: { + patientId: this.patientId } + } ) if (res.code === 0) { this.dataForm = res.data diff --git a/src/components/360View/commonForm/optometryForm.vue b/src/components/360View/commonForm/optometryForm.vue index edfa663..8d7717e 100644 --- a/src/components/360View/commonForm/optometryForm.vue +++ b/src/components/360View/commonForm/optometryForm.vue @@ -506,8 +506,6 @@ export default { mounted() { this.originTableData = JSON.parse(JSON.stringify(this.tableData)) this.getPatientData() - - console.log(window.localStorage.getItem('shili')) const shili = window.localStorage.getItem('shili') ? JSON.parse(window.localStorage.getItem('shili')) : [] if (shili.length) { this.tableData[0].od = shili[0].odVan @@ -519,24 +517,25 @@ export default { this.dataForm = this.formContent.a this.tableData = this.formContent.b this.getPatientData() - const shili = JSON.parse(window.localStorage.getItem('shili')) - if (shili.length) { - this.tableData[0].od = shili[0].odVan - this.tableData[0].os = shili[0].osVan - } }, reSet() { this.dataForm = { - number: '', - name: '', - sex: '', - age: '', + patientId: '', + patientName: '', + patientSex: '', + patientAge: '', file: '', fileNUm: '' } this.tableData = this.originTableData + this.getPatientData() }, async getPatientData() { + const shili = window.localStorage.getItem('shili') ? JSON.parse(window.localStorage.getItem('shili')) : [] + if (shili.length) { + this.tableData[0].od = shili[0].odVan + this.tableData[0].os = shili[0].osVan + } const { data: res } = await this.$http.get( '/patient/view/getPatientData', { @@ -546,7 +545,11 @@ export default { } ) if (res.code === 0) { - this.dataForm = res.data + const data = res.data + this.dataForm.patientId = data.patientId + this.dataForm.patientName = data.patientName + this.dataForm.patientSex = data.patientSex + this.dataForm.patientAge = data.patientAge } else { this.$message.error(res.msg) } diff --git a/src/components/360View/dataInfo.vue b/src/components/360View/dataInfo.vue index a14edfd..e00ca89 100644 --- a/src/components/360View/dataInfo.vue +++ b/src/components/360View/dataInfo.vue @@ -131,7 +131,7 @@{{ item.createTime }}
-{{ item.name }}
-{{ item.createTime }}
+{{ item.name }}
+
-
- {{ patientInfoObj.patientIdNumber }}
+
+ {{ patientInfoObj.patientId }}
{{ patientInfoObj.patientPhone }}
@@ -22,20 +22,27 @@
右眼
+左眼
+{{ item.status==1 && !scope.row.oldDpId ? '订片': (item.status==2 ? '到货' : (item.status==3 ? '通知' : (item.status==4 ? '取镜' :(item.status==5 ? '放弃' : (item.status==6 ? '换片' : (item.status==100 ? '退货' : (item.status==1&& scope.row.oldDpId ? '换片':''))))))) }}
+{{ item.shareDate ? $options.filters.dateFilterTwo( item.shareDate) : '' }}
+出厂编号:{{ item.factoryNumber ? item.factoryNumber : '-' }}
+原订片编号:{{ scope.row.oldDpId ? scope.row.oldDpId.substr(9) : '' }}
+新订片编号:{{ scope.row.newDpId ? scope.row.newDpId.substr(9) : '' }}
+取镜记录
+ +订片医生:{{ item.dpDoctorName }}
+操作者:{{ item.operateDoctorName }}
+备注:{{ item.remark ? item.remark : '-' }}
+品牌:{{ dataForm.brand }}
+眼别:{{ dataForm.eyeType }}
+曲率:{{ dataForm.curvity }}
+度数:{{ dataForm.degrees }}
+AZT:{{ dataForm.azt }}
+BC:{{ dataForm.bc }}
+RZD:{{ dataForm.rzd }}
+LZA:{{ dataForm.lza }}
+直径:{{ dataForm.diameter }}
+颜色:{{ dataForm.colour }}
++ {{ patientInfo.patientName }} + {{ patientInfo.patientSex }} + {{ patientInfo.patientAge }}岁 +
++ {{ item.seriesDescription }} + ({{ item.laterality }}) +
+{{ item.time }}
+确认删除该条标签么?
+