Browse Source

眼轴变化图问题修复

360view
bianyaqi 2 years ago
parent
commit
f3f249ce16
  1. BIN
      dist.zip
  2. 12
      src/page-subspecialty/views/modules/optometryManagement/seeDoctor/eyeAxis.vue

BIN
dist.zip

Binary file not shown.

12
src/page-subspecialty/views/modules/optometryManagement/seeDoctor/eyeAxis.vue

@ -1,6 +1,12 @@
<template>
<div v-loading="loading">
<div :id="idName" ref="yanyaRef" :style="{ height: height, width: width }" />
<div v-if="this.chartData.length" :id="idName" ref="yanyaRef" :style="{ height: height, width: width }" />
<div
v-else
style="height: 100%;background: #fff;display: flex;align-items: center;justify-content: center"
>
<img src="@/assets/img/nodata.png" alt="">
</div>
</div>
</template>
@ -59,8 +65,8 @@ export default {
if (this.chartData && this.chartData.length > 0) {
this.disabled = false
this.chartData.forEach(item => {
item.osIol = item.osIol.replace('mm', '')
item.odIol = item.odIol.replace('mm', '')
item.osIol = item.osIol && item.osIol.replace('mm', '')
item.odIol = item.odIol && item.odIol.replace('mm', '')
this.date.push(moment(item.examTime).format('l'))
this.typeList.OD.push([item.examTime, item.odIol])
this.legendData[0] = 'OD'

Loading…
Cancel
Save