Browse Source

peter

360view
newPeter7 2 years ago
parent
commit
7156638398
  1. 30
      src/components/360View/commonForm/deveopmentFIle.vue
  2. 69
      src/components/360View/commonForm/eyesVision.vue

30
src/components/360View/commonForm/deveopmentFIle.vue

@ -201,17 +201,8 @@
</div>
</div>
<div v-if="scope.row.name == '眼位'">
<div class="center">
<el-input v-model="dataForm.ywOd" style="width: 100px" placeholder="" />
<span></span>
<el-select v-model="dataForm.ywOdExtra" placeholder="" style="width: 100px">
<el-option
v-for="item in scope.row.position"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
<div class="width-180 center">
<el-input v-model="dataForm.ywOd" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '眼压/mmHg'">
@ -276,17 +267,8 @@
</div>
</div>
<div v-if="scope.row.name == '眼位'">
<div class="center">
<el-input v-model="dataForm.ywOs" placeholder="" style="width: 100px" />
<span></span>
<el-select v-model="dataForm.ywOsExtra" clearable placeholder="" style="width: 100px" >
<el-option
v-for="item in scope.row.position"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
<div class="width-180 center">
<el-input v-model="dataForm.ywOs" placeholder="" />
</div>
</div>
<div v-if="scope.row.name == '眼压/mmHg'">
@ -575,10 +557,6 @@ export default {
)
if (res.code === 0) {
this.dataForm = res.data
if (!this.dataForm.id) {
this.dataForm.ywOdExtra = 'BI'
this.dataForm.ywOsExtra = 'BI'
}
} else {
this.$message.error(res.msg)
}

69
src/components/360View/commonForm/eyesVision.vue

@ -103,12 +103,12 @@
<el-input v-model="formData.qgztOsVa1" placeholder="">
<template slot="prepend">VA:</template>
</el-input>
<!-- <el-input v-model="formData.qgztOsVa2" placeholder="">-->
<!-- <template slot="prepend">/</template>-->
<!-- </el-input>-->
<!-- <el-input v-model="formData.qgztOsVa3" placeholder="">-->
<!-- <template slot="prepend">X</template>-->
<!-- </el-input>-->
<!-- <el-input v-model="formData.qgztOsVa2" placeholder="">-->
<!-- <template slot="prepend">/</template>-->
<!-- </el-input>-->
<!-- <el-input v-model="formData.qgztOsVa3" placeholder="">-->
<!-- <template slot="prepend">X</template>-->
<!-- </el-input>-->
</div>
</div>
<div v-if="scope.row.name == '屈光状态'">
@ -185,10 +185,19 @@
</div>
</div>
<div v-if="scope.row.name == '眼位'">
<div class="width-180 center">
<el-input v-model="formData.ywYuan" placeholder="">
<div class="center">
<el-input v-model="formData.ywYuan" placeholder="" style="width: 120px">
<template slot="prepend">:</template>
</el-input>
<span></span>
<el-select v-model="formData.ywYuanExtra" placeholder="" style="width: 100px">
<el-option
v-for="item in position"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
</div>
<div v-if="scope.row.name == '梯度性AC/A'">
@ -351,12 +360,12 @@
<el-input v-model="formData.qgztOdVa1" placeholder="">
<template slot="prepend">VA:</template>
</el-input>
<!-- <el-input v-model="formData.qgztOdVa2" placeholder="">-->
<!-- <template slot="prepend">/</template>-->
<!-- </el-input>-->
<!-- <el-input v-model="formData.qgztOdVa3" placeholder="">-->
<!-- <template slot="prepend">X</template>-->
<!-- </el-input>-->
<!-- <el-input v-model="formData.qgztOdVa2" placeholder="">-->
<!-- <template slot="prepend">/</template>-->
<!-- </el-input>-->
<!-- <el-input v-model="formData.qgztOdVa3" placeholder="">-->
<!-- <template slot="prepend">X</template>-->
<!-- </el-input>-->
</div>
</div>
<div v-if="scope.row.name == '交替遮盖试验(CT)'">
@ -403,10 +412,19 @@
</div>
</div>
<div v-if="scope.row.name == '眼位'">
<div class="width-180 center">
<el-input v-model="formData.ywJin" placeholder="">
<div class="center">
<el-input v-model="formData.ywJin" placeholder="" style="width: 120px">
<template slot="prepend">:</template>
</el-input>
<span></span>
<el-select v-model="formData.ywJinExtra" placeholder="" style="width: 100px">
<el-option
v-for="item in position"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</div>
</div>
<div v-if="scope.row.name == '梯度性AC/A'">
@ -539,6 +557,8 @@ export default {
//
ywYuan: '',
ywJin: '',
ywJinExtra: '',
ywYuanExtra: '',
// AC/A
aca1: '',
aca2: '',
@ -592,6 +612,21 @@ export default {
ysSign: '',
riQi: ''
},
position: [
{
name: 'BI',
id: '1'
}, {
name: 'BO',
id: '2'
}, {
name: 'BD',
id: '3'
}, {
name: 'BU',
id: '4'
}
],
ctList: [
{
name: '正位',
@ -817,6 +852,8 @@ export default {
}
if (!this.formData.id) {
await this.queryProject()
this.formData.ywJinExtra = 'BI'
this.formData.ywYuanExtra = 'BI'
this.formData.ctYuan = this.formData.ctJin = '正位'
this.formData.ctYqyd = '正常'
this.formData.worth1 = this.formData.worth3 = '4个'

Loading…
Cancel
Save