bianyaqi 2 years ago
parent
commit
a700133137
  1. 798
      src/components/360View/commonForm/deveopmentFIle-copy.vue
  2. 1019
      src/components/360View/commonForm/optometryForm-copy.vue
  3. 1060
      src/components/360View/forePart/index-copy.vue
  4. 2
      src/components/360View/index1.vue
  5. 4
      src/components/360View/key-indicators.vue
  6. 36
      src/components/360View/opticalFile/index.vue
  7. 18
      src/components/360View/routine/index.vue
  8. 2
      src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/rgp-book.vue

798
src/components/360View/commonForm/deveopmentFIle-copy.vue

@ -0,0 +1,798 @@
<template>
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<div v-if="!onlyRead" class="btnBox">
<el-button v-print="printObj" size="small">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="handleDelete">删除</el-button>
</div>
<div id="threeFunc" style="width: 840px;padding-right: 8px">
<div class="flex j-c">
<img width="450" src="@/assets/img/xianganlogo.png">
</div>
<p style="color:#000000;font-size:32px;text-align:center;margin: 16px 0">
青少年儿童屈光发育档案
</p>
<div class="operation-record-table">
<el-table :data="headData" :span-method="headSpanMethod" border style="width: 820px;">
<el-table-column label="" width="" align="center" :resizable="false">
<template slot-scope="scope">
<span>{{ scope.row.name }}</span>
</template>
</el-table-column>
<el-table-column label="" width="" align="center" :resizable="false">
<template slot-scope="scope">
<div v-if="scope.row.name == '姓名'">
<div class="width-100 center">
<el-input v-model="dataForm.patientName" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '身高'">
<div class="width-100 center">
<el-input v-model="dataForm.patientSg" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '是否戴镜'">
<div style="display:flex;">
<el-select v-model="dataForm.sfDj" placeholder="" style="width: 80%">
<el-option
v-for="item in scope.row.mirrorList"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
</div>
</template>
</el-table-column>
<el-table-column label="" width="" align="center" :resizable="false">
<template slot-scope="scope">
<div v-if="scope.row.name == '姓名'">
<div class="width-100 center">
性别
</div>
</div>
<div v-if="scope.row.name == '身高'">
<div class="width-100 center">
体重
</div>
</div>
<div v-if="scope.row.name == '是否戴镜'">
<div class="width-100 center">
戴镜习惯
</div>
</div>
</template>
</el-table-column>
<el-table-column label="" width="" align="center" :resizable="false">
<template slot-scope="scope">
<div v-if="scope.row.name == '姓名'">
<div class="width-100 center">
<el-input v-model="dataForm.patientSex" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '身高'">
<div class="width-100 center">
<el-input v-model="dataForm.patientTz" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '是否戴镜'">
<div style="display:flex;">
<el-select v-model="dataForm.djXg" placeholder="" style="width: 80%">
<el-option
v-for="item in scope.row.mirrorHabit"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
</div>
</template>
</el-table-column>
<el-table-column label="" width="" align="center" :resizable="false">
<template slot-scope="scope">
<div v-if="scope.row.name == '姓名'">
<div class="width-100 center">
出生日期
</div>
</div>
<div v-if="scope.row.name == '身高'">
<div class="width-100 center">
何时发现视力下降
</div>
</div>
</template>
</el-table-column>
<el-table-column label="" width="" align="center" :resizable="false">
<template slot-scope="scope">
<div v-if="scope.row.name == '姓名'">
<div class="width-140 center">
<el-date-picker
v-model="dataForm.patientBirth"
type="date"
placeholder="选择日期"
/>
</div>
</div>
<div v-if="scope.row.name == '身高'">
<div class="width-100 center">
<el-input v-model="dataForm.slHsXj" placeholder="" />
</div>
</div>
</template>
</el-table-column>
</el-table>
<el-table :data="tableData" :span-method="objectSpanMethod" border style="width: 820px">
<el-table-column label="" width="" align="center" :resizable="false">
<template slot-scope="scope">
<span>{{ scope.row.name }}</span>
</template>
</el-table-column>
<el-table-column label="" width="" :resizable="false" prop="type">
<template slot-scope="scope">
<div v-if="scope.row.name == '戴镜类型'">
<el-select v-model="dataForm.djLx" placeholder="" style="width: 80%">
<el-option
v-for="item in scope.row.mirrorType"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
<div v-if="scope.row.name == '旧镜参数'">
<div class="width-180 center">
<el-input v-model="dataForm.jjCsOd" placeholder="">
<template slot="prepend">OD:</template>
</el-input>
</div>
</div>
<div v-if="scope.row.name == '父母是否近视'">
<el-select v-model="dataForm.fmSfJs" placeholder="" style="width: 80%">
<el-option
v-for="item in scope.row.shortsighte"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
<div v-if="scope.row.name == '户外活动时间'">
<el-select v-model="dataForm.hwHdSj" placeholder="" style="width: 80%">
<el-option
v-for="item in scope.row.outTime"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
<div v-if="scope.row.name == '备注'">
<div class="center">
<el-input v-model="dataForm.beiZhu" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '项目'">
<div class="width-180 center">
OD
</div>
</div>
<div v-if="scope.row.name == '裸眼/旧镜视力'">
<div class="width-180 center">
<el-input v-model="dataForm.jjslOd" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '是否散瞳'">
<div>
<el-select v-model="dataForm.sfstOd" placeholder="" style="width: 80%">
<el-option
v-for="item in scope.row.mydriasis"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
</div>
<div v-if="scope.row.name == '主觉验光'">
<div class="width-180 center">
<el-input v-model="dataForm.zjygOd" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '眼位'">
<div class="width-180 center">
<el-input v-model="dataForm.ywOd" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '眼压/mmHg'">
<div class="width-180 center">
<el-input v-model="dataForm.yyOd" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '角膜曲率/D'">
<div class="width-180 center">
<el-input v-model="dataForm.jmqlOd" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '角膜厚度/μm'">
<div class="width-180 center">
<el-input v-model="dataForm.jmhdOd" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '处方'">
<div class="width-180 center">
<el-input v-model="dataForm.cfOd" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '建议'">
<el-select v-model="dataForm.jianYi" placeholder="" style="width: 80%">
<el-option
v-for="item in scope.row.suggest"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
<div v-if="scope.row.name == '眼轴/眼底照/地形图'">
<div class="center">
<el-input v-model="dataForm.yzOd" placeholder="" />
</div>
</div>
</template>
</el-table-column>
<el-table-column label="" width="" :resizable="false">
<template slot-scope="scope">
<div v-if="scope.row.name == '旧镜参数'">
<div class="width-180 center">
<el-input v-model="dataForm.jjCsOs" placeholder="">
<template slot="prepend">OS:</template>
</el-input>
</div>
</div>
<div v-if="scope.row.name == '项目'">
<div class="width-180 center">
OS
</div>
</div>
<div v-if="scope.row.name == '裸眼/旧镜视力'">
<div class="width-180 center">
<el-input v-model="dataForm.jjslOs" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '主觉验光'">
<div class="width-180 center">
<el-input v-model="dataForm.zjygOs" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '眼位'">
<div class="width-180 center">
<el-input v-model="dataForm.ywOs" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '眼压/mmHg'">
<div class="width-180 center">
<el-input v-model="dataForm.yyOs" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '角膜曲率/D'">
<div class="width-180 center">
<el-input v-model="dataForm.jmqlOs" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '角膜厚度/μm'">
<div class="width-180 center">
<el-input v-model="dataForm.jmhdOs" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '处方'">
<div class="width-180 center">
<el-input v-model="dataForm.cfOs" placeholder="" />
</div>
</div>
</template>
</el-table-column>
</el-table>
</div>
</div>
</div>
</template>
<script>
export default {
props: {
isSearch: {
type: String,
default: ''
},
patientId: {
type: String,
default: ''
},
caseId: {
type: String,
default: ''
},
onlyRead: {
type: Boolean,
default: false
}
},
data() {
return {
printObj: {
id: 'threeFunc',
extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>,<style>  #printId { width: 100%; !important; } .el-input__prefix { display: none } <style>'
},
dataForm: {
id: '',
patientId: '',
patientName: '',
patientSex: '',
patientSg: '',
patientTz: '',
patientBirth: '',
beiZhu: '',
cfOd: '',
cfOs: '', //
djXg: '', //
djLx: '', //
fmSfJs: '', //
hwHdSj: '', //
jianYi: '', //
jjCsOd: '', //
jjCsOs: '', //
jjslOd: '', //
jjslOs: '', //
jmdxtOd: '', //
jmdxtOs: '', //
jmhdOd: '', //
jmhdOs: '', //
jmqlOd: '', //
jmqlOs: '', //
lyslOd: '', //
lyslOs: '', //
sfDj: '', //
sfstOd: '', //
sfstOs: '', //
slHsXj: '', //
ydzOd: '', //
ydzOs: '', //
ywOd: '', //
ywOs: '', //
yyOd: '', //
yyOs: '', //
yzOd: '', //
yzOs: '', //
zjygOd: '', //
zjygOs: '' //
},
headData: [
{
name: '个人基础信息'
},
{
name: '姓名'
}, {
name: '身高'
}, {
name: '是否戴镜',
mirrorList: [{
name: '是',
id: '1'
}, {
name: '否',
id: '2'
}],
mirrorHabit: [
{
name: '好',
id: '1'
}, {
name: '一般',
id: '2'
}, {
name: '差',
id: '3'
}]
}],
tableData: [
{
name: '戴镜类型',
mirrorType: [
{
name: '框架',
id: '1'
},
{
name: 'OK镜',
id: '2'
}, {
name: 'RGP',
id: '3'
}, {
name: '软镜',
id: '4'
}
]
},
{
name: '旧镜参数'
}, {
name: '父母是否近视',
shortsighte: [
{
name: '父亲',
id: '1'
}, {
name: '母亲',
id: '2'
}, {
name: '父亲和母亲',
id: '3'
}, {
name: '均无',
id: '4'
}
]
}, {
name: '户外活动时间',
outTime: [
{
name: '\<1h',
id: '1'
}, {
name: '1h-2h',
id: '2'
}, {
name: '\>2h',
id: '3'
}
]
}, {
name: '备注'
}, {
name: '综合检查信息'
}, {
name: '项目'
}, {
name: '裸眼/旧镜视力'
}, {
name: '是否散瞳',
mydriasis: [
{
name: '未散瞳',
id: '1'
}, {
name: '美多丽',
id: '2'
}, {
name: '阿托品',
id: '3'
}, {
name: '其他',
id: '4'
}
]
}, {
name: '主觉验光'
}, {
name: '眼位'
}, {
name: '眼压/mmHg'
}, {
name: '角膜曲率/D'
}, {
name: '角膜厚度/μm'
}, {
name: '处方'
}, {
name: '建议',
suggest: [
{
name: '框架',
id: '1'
}, {
name: 'OK镜',
id: '2'
}, {
name: 'RGP',
id: '3'
}, {
name: '软镜',
id: '4'
}, {
name: '其他',
id: '5'
}
]
}, {
name: '眼轴/眼底照/地形图'
}]
}
},
mounted() {
// this.originTableData = JSON.parse(JSON.stringify(this.tableData))
// this.originHeadData = JSON.parse(JSON.stringify(this.headData))
this.getPatientData()
},
methods: {
async queryForm() {
const { data: res } = await this.$http.get(
'/qgfyda/getQgfyda',
{
params: {
patientId: this.patientId,
caseId: this.caseId
}
}
)
if (res.code === 0) {
this.dataForm = res.data
} else {
this.$message.error(res.msg)
}
},
async getPatientData() {
const { data: res } = await this.$http.get(
'/patient/view/getPatientData',
{
params: {
patientId: this.patientId
}
}
)
if (res.code === 0) {
const data = res.data
this.dataForm.patientName = data.patientName
this.dataForm.patientSex = data.patientSex
this.dataForm.patientBirth = data.patientBirthday
} else {
this.$message.error(res.msg)
}
},
handleDelete() {
this.$emit('del')
},
objectSpanMethod({ row, column, rowIndex, columnIndex }) {
if (columnIndex === 0) {
if (rowIndex === 5) {
return {
rowspan: 1,
colspan: 3
}
}
} else if (columnIndex === 1) {
if (rowIndex === 0 || rowIndex === 2 || rowIndex === 3 || rowIndex === 4 || rowIndex === 8 || rowIndex === 15 || rowIndex === 16) {
return {
rowspan: 1,
colspan: 2
}
} else if (rowIndex === 5) {
return {
rowspan: 0,
colspan: 0
}
}
} else if (columnIndex === 2) {
if (rowIndex === 0 || rowIndex === 2 || rowIndex === 3 || rowIndex === 4 || rowIndex === 5 || rowIndex === 8 || rowIndex === 15 || rowIndex === 16) {
return {
rowspan: 0,
colspan: 0
}
}
}
},
headSpanMethod({ row, column, rowIndex, columnIndex }) {
if (columnIndex === 0) {
if (rowIndex === 0) {
return {
rowspan: 1,
colspan: 6
}
}
} else if (columnIndex === 1 || columnIndex === 3) {
if (rowIndex === 3) {
return {
rowspan: 1,
colspan: 2
}
}
} else if (columnIndex === 1 || columnIndex === 2 || columnIndex === 3 || columnIndex === 4 || columnIndex === 5) {
if (rowIndex === 0) {
return {
rowspan: 0,
colspan: 0
}
}
}
},
handlePrint() {
this.printPage('threeFunc')
},
handleSaveTable() {
this.$http.post('/qgfyda/saveQgfyda', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
this.$message({
message: this.$t('prompt.success'),
type: 'success',
duration: 500,
onClose: () => {
this.queryForm()
}
})
}).catch(() => {})
}
}
}
</script>
<style lang="scss">
#threeFunc {
.el-input__suffix, .el-input__prefix {
display: none;
}
.width-100 {
.el-input {
width: 100px;
}
}
.width-140 {
.el-input {
width: 125px;
}
}
}
.flex{
display: flex;
}
.j-c{
justify-content: center;
}
.operation-record-table{
.el-input__inner {
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
}
.el-input-group__append, .el-input-group__prepend{
background-color: transparent;
color: #606266;
border: none;
}
.el-table__header-wrapper{
display: none;
}
}
#operation-record {
.btnBox{
display: flex;
justify-content: flex-end;
}
.el-table--border{
border-right: 1px solid #EBEEF5;
}
.operation-record-table {
//width: 100%;
width: 840px !important;
padding-right: 8px;
.operation-text {
font-weight: 700;
}
.text {
font-weight: 700;
}
.sign {
cursor: pointer;
color: #46a1ff;
font-weight: 400;
}
.el-input__inner {
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
}
.el-input__inner {
border-bottom: 1px solid #ccc;
border-radius: 0;
padding: 0;
}
.el-input__prefix {
display: none;
}
}
.center {
text-align: center;
}
.left {
text-align: left;
}
.width-50 {
.el-input {
width: 50px;
}
}
.width-70 {
.el-input {
width: 70px;
}
}
.width-100 {
.el-input {
width: 100px;
}
}
.width-120 {
.el-input {
width: 120px;
}
}
.width-180 {
.el-input {
width: 180px;
}
}
.width-240 {
.el-input {
width: 240px;
}
}
//.el-date-editor.el-input,
//.el-date-editor.el-input__inner {
// width: 140px;
//}
//.el-input__suffix {
// top: -7px;
//}
//.el-checkbox__input.is-checked + .el-checkbox__label {
// color: #606266;
//}
//.el-checkbox__input.is-checked .el-checkbox__inner,
//.el-checkbox__input.is-indeterminate .el-checkbox__inner {
// background: #767676;
// border-color: #767676;
//}
//.el-checkbox__inner:hover,
//.el-checkbox__inner {
// border-color: #767676;
//}
//.el-radio__input.is-checked + .el-radio__label {
// color: #606266;
//}
//.el-radio__input.is-checked .el-radio__inner {
// background: #767676;
// border-color: #767676;
//}
//.el-radio {
// margin-right: 8px;
// display: block;
//}
//.el-radio__inner {
// border: 1px solid #767676 !important;
//}
//.el-radio__inner:hover {
// border-color: #767676;
//}
.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
background: none !important;
}
.has-gutter {
display: none;
.cell {
font-weight: 700;
}
.el-table__cell {
background: #ced4d9;
}
}
.el-table__header-wrapper{
display: none;
}
}
</style>

1019
src/components/360View/commonForm/optometryForm-copy.vue

File diff suppressed because it is too large

1060
src/components/360View/forePart/index-copy.vue

File diff suppressed because it is too large

2
src/components/360View/index1.vue

@ -204,7 +204,7 @@
ref="keyIndicatorRef"
class="key-content"
v-bind="$attrs"
:patient-id="patientBaseData.patientId"
:patient-id="patientId"
:patient-id-number="patientBaseData.patientIdNumber"
/>
<!-- 数据集-->

4
src/components/360View/key-indicators.vue

@ -146,8 +146,8 @@ export default {
async getShiLiAndYanYaData() {
const { data: res } = await this.$http.get('/patient/view/getYanZouAndYanYaData', {
params: {
patientId: '200203836'
// patientId: this.patientId
// patientId: '200203836'
patientId: this.patientId
}
})
if (res.code === 0) {

36
src/components/360View/opticalFile/index.vue

@ -56,7 +56,7 @@
@save="updateForm"
@del="deleteForm"
/>
<optometryForm v-if="name === '验光报告单'" ref="optome" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" :form-content="optomeData" @save="updateForm" @del="deleteForm" />
<optometryForm v-if="name === '验光报告单'" ref="optome" :case-id="id" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" @del="deleteForm" />
<threeVision
v-if="name === '三级视功能检查报告单'"
ref="three"
@ -69,7 +69,7 @@
@save="updateForm"
@del="deleteForm"
/>
<deveopmentFile v-show="name === '屈光发育档案'" ref="deveope" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" :form-content="deveopData" @save="updateForm" @del="deleteForm" />
<deveopmentFile v-show="name === '屈光发育档案'" ref="deveope" :case-id="id" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" :form-content="deveopData" @save="updateForm" @del="deleteForm" />
</div>
</div>
</div>
@ -78,8 +78,8 @@
import ourPatientRecord from './outPatientRecord'
import eyesVision from '@/components/360View/commonForm/eyesVision' //
import threeVision from '@/components/360View/commonForm/threeVision' //
import optometryForm from '@/components/360View/commonForm/optometryForm' //
import deveopmentFile from '@/components/360View/commonForm/deveopmentFIle' //
import optometryForm from '@/components/360View/commonForm/optometryForm-copy' //
import deveopmentFile from '@/components/360View/commonForm/deveopmentFIle-copy' //
export default {
components: {
ourPatientRecord,
@ -132,32 +132,14 @@ export default {
this.id = item.id
this.name = item.name
this.formDate = item.createTime
if (item.name === '双眼视功能检查报告单') {
this.eyesData = item.jsonText ? JSON.parse(item.jsonText) : {}
} else if (item.name === '验光报告单') {
this.optomeData = item.jsonText ? JSON.parse(item.jsonText) : {}
if (item.jsonText) {
if (item.name === '验光报告单') {
this.$nextTick(() => {
this.$refs.optome.setData()
this.$refs.optome.queryForm()
})
} else {
this.$nextTick(() => {
this.$refs.optome.reSet()
})
}
} else if (item.name === '三级视功能检查报告单') {
this.threeData = item.jsonText ? JSON.parse(item.jsonText) : {}
} else if (item.name === '屈光发育档案') {
this.deveopData = item.jsonText ? JSON.parse(item.jsonText) : {}
if (item.jsonText) {
this.$nextTick(() => {
this.$refs.deveope.setData()
this.$refs.deveope.queryForm()
})
} else {
this.$nextTick(() => {
this.$refs.deveope.reSet()
})
}
}
},
//
@ -216,8 +198,7 @@ export default {
this.curIndex = 0
this.id = this.formList.length ? this.formList[0].id : ''
this.name = this.formList.length ? this.formList[0].name : ''
const jsonText = this.formList.length ? this.formList[0].jsonText : ''
this.handleForm(this.curIndex, { name: this.name, id: this.id, jsonText: jsonText })
this.handleForm(this.curIndex, { name: this.name, id: this.id })
}
} else {
this.$message.error(res.msg)
@ -479,3 +460,4 @@ export default {
padding-left: 14px !important;
}
</style>

18
src/components/360View/routine/index.vue

@ -3,7 +3,6 @@
<div class="header">
<div>
<el-checkbox v-model="checkedSeJue" class="mr30">色觉检查</el-checkbox>
<!-- <span style="margin-right: 16px">眼别{{ // osType }}</span>-->
<span>OD</span>
<el-select v-model="odStatus" placeholder="请选择" style="display: inline-block;width: 120px;" size="small">
<el-option
@ -22,7 +21,6 @@
:value="item.value"
/>
</el-select>
<!-- <span style="margin-left: 32px;margin-right: 16px">眼别{{ odType }}</span>-->
</div>
<div v-if="!onlyRead">
<div size="small" style="display:inline-block;margin-left:10px;width: 32px;height: 32px;line-height:32px;text-align:center;background-color: #1e79ff;border-radius: 4px;vertical-align: middle" @click="addDataList">
@ -229,9 +227,7 @@ export default {
}
],
routineData: {},
osType: '',
osStatus: '',
odType: '',
odStatus: '',
selectionDL: [],
selectionZJ: [],
@ -249,19 +245,17 @@ export default {
async getroutineDataData() {
const { data: res } = await this.$http.get('/patient/view/getVaAndIopAndRefAndLast', {
params: {
// patientId: this.patientId,
patientId: '2328656',
patientId: this.patientId,
// patientId: '2328656',
date: ''
}
})
if (res.code === 0) {
this.routineData = res.data
this.osType = res.data.sejue.length ? res.data.sejue[0].eyeType : ''
this.osStatus = res.data.sejue.length ? res.data.sejue[0].eyeStatus : ''
this.odType = res.data.sejue.length ? res.data.sejue[1].eyeType : ''
this.odStatus = res.data.sejue.length ? res.data.sejue[1].eyeStatus : ''
this.shiliLast = res.data.shiliLast || []
this.yanyaLast = res.data.yanyaLast || []
this.odStatus = this.shiliLast.length ? this.shiliLast[0].odCvText : ''
this.osStatus = this.shiliLast.length ? this.shiliLast[0].osCvText : ''
if (this.shiliLast.length) {
window.localStorage.setItem('shili', JSON.stringify(res.data.shiliLast))
} else {
@ -337,8 +331,8 @@ export default {
osValue: ''
}]
data[0].name = '色觉检查'
data[0].odValue = this.osType === 'OD' ? this.setResult(this.osStatus) : this.setResult(this.odStatus)
data[0].osValue = this.osType === 'OS' ? this.setResult(this.osStatus) : this.setResult(this.odStatus)
data[0].odValue = this.odStatus
data[0].osValue = this.osStatus
data[0].id = 'SJ001'
dataArray = dataArray.concat(data)
}

2
src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/rgp-book.vue

@ -239,7 +239,7 @@ export default {
},
mounted() {
this.doctorSignDate = this.$moment().format('YYYY-MM-DD')
this.getNoticeName()
// this.getNoticeName()
},
methods: {
selectRadio(index) {

Loading…
Cancel
Save