Browse Source

增加统计

master
刘灿 2 months ago
parent
commit
6dd99ad0ab
  1. 4
      .env.development
  2. BIN
      src/assets/img/OD-1.png
  3. BIN
      src/assets/img/OD-2.png
  4. BIN
      src/assets/img/OS-1.png
  5. BIN
      src/assets/img/OS-2.png
  6. 8
      src/assets/scss/common.scss
  7. 9
      src/components/H5form/blDataInfo-tab.vue
  8. 1
      src/components/H5form/blDataInfo.vue
  9. 64
      src/components/H5form/dzblLookFun.vue
  10. 107
      src/components/H5form/eye-question.vue
  11. 7
      src/components/H5form/fzbl.vue
  12. 2
      src/components/H5form/fzblLookPdfFun.vue
  13. 7
      src/components/H5form/operaCheckLookPdfFun.vue
  14. 32
      src/components/H5form/operation-plan.vue
  15. 203
      src/components/H5form/operation-record.vue
  16. 414
      src/components/H5form/operationed-check-record.vue
  17. 565
      src/components/H5form/qg-dzbl.vue
  18. 129
      src/components/H5form/qgyj.vue
  19. 7
      src/components/H5form/shouquanBook.vue
  20. 86
      src/components/H5form/ylzms.vue
  21. 165
      src/components/H5form/ylzmsLook.vue
  22. 44
      src/components/H5form/ylzmsLookPdf.vue
  23. 163
      src/components/H5form/ylzmsLookPdfFun.vue
  24. 300
      src/components/H5formOhter/h5formButton.vue
  25. 238
      src/components/H5formOhter/historyRecord.vue
  26. 7
      src/components/H5formOhter/visitFile.vue
  27. 227
      src/components/hm-crf/img-editor.vue
  28. 12
      src/mixins/base64Img.js
  29. 101
      src/mixins/operationedCheckRecord.js
  30. 42
      src/mixins/publicFile.js
  31. 2
      src/mixins/qgdzbl.js
  32. 18
      src/mixins/refreshDate.js
  33. 15
      src/mixins/yiXinQianSign.js
  34. 47
      src/mixins/ylzms.js
  35. 6
      src/page-subspecialty/views/modules/batchCaManagement/index.vue
  36. 9
      src/page-subspecialty/views/modules/outpatientManagement/index.vue
  37. 127
      src/page-subspecialty/views/modules/patientManagement/index.vue
  38. 29
      src/page-subspecialty/views/modules/seeDoctor/archives/index.vue
  39. 177
      src/page-subspecialty/views/modules/statisticalManagement/cucTj.vue
  40. 344
      src/page-subspecialty/views/modules/statisticalManagement/index.vue
  41. 254
      src/page-subspecialty/views/modules/statisticalManagement/mzJcsjExport.vue
  42. 212
      src/page-subspecialty/views/modules/statisticalManagement/operaedJcsjExport.vue
  43. 23
      src/page-subspecialty/views/modules/statisticalManagement/operation-volume-echarts.vue
  44. 195
      src/page-subspecialty/views/modules/statisticalManagement/yuyTj.vue
  45. 60
      src/page-subspecialty/views/modules/surgicalManagement/operationList/index.vue
  46. 9
      src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-order.vue
  47. 34
      src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-tab.vue
  48. 6
      src/page-subspecialty/views/modules/systemManagement/formSet/addPay.vue
  49. 10
      src/page-subspecialty/views/modules/systemManagement/formSet/operaRecordSet.vue
  50. 5
      src/page-subspecialty/views/modules/systemManagement/formSet/payDemandNoteSet.vue
  51. 10
      src/page-subspecialty/views/modules/systemManagement/formSet/showConfig.vue
  52. 14
      vue.config.js

4
.env.development

@ -5,7 +5,7 @@ NODE_ENV=development
# 公司内网环境
# 孟工本地:http://192.168.0.121:8028
# VUE_APP_LOGIN_URL='http://192.168.0.35:8001'
# VUE_APP_LOGIN_URL='http://192.168.0.35:8001'
VUE_APP_LOGIN_URL='http://z1.huimucloud.com:8135'
VUE_APP_LOGIN_URL='http://192.168.0.35:8001'
# VUE_APP_LOGIN_URL='http://z1.huimucloud.com:8135'
# 温州的
# VUE_APP_LOGIN_URL='http://47.110.224.240:8022'

BIN
src/assets/img/OD-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
src/assets/img/OD-2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB

BIN
src/assets/img/OS-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
src/assets/img/OS-2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 17 KiB

8
src/assets/scss/common.scss

@ -1320,7 +1320,11 @@ img {
width: 140px;
}
}
.width-150 {
.el-input {
width: 150px;
}
}
.width-160 {
.el-input {
width: 160px;
@ -1807,7 +1811,7 @@ img {
.el-input.is-disabled,
.el-input.is-disabled .el-input__inner,
.el-dropdown-selfdefine {
color: red;
color: red !important;
}
}

9
src/components/H5form/blDataInfo-tab.vue

@ -21,7 +21,7 @@
{{ bljcList.qg.dnygStOd2 ? bljcList.qg.dnygStOd2 : '-' }} x
{{ bljcList.qg.dnygStOd3 ? bljcList.qg.dnygStOd3 : '-' }}</span>
</div>
<div class="data">
<div class="data backgroundYellow">
<span>主觉-小瞳</span>
<span>{{ bljcList.qg.zjygXtOd1 ? bljcList.qg.zjygXtOd1 : '-' }} /
{{ bljcList.qg.zjygXtOd2 ? bljcList.qg.zjygXtOd2 : '-' }} x
@ -136,7 +136,7 @@
{{ bljcList.qg.dnygStOs2 ? bljcList.qg.dnygStOs2 : '-' }} x
{{ bljcList.qg.dnygStOs3 ? bljcList.qg.dnygStOs3 : '-' }}</span>
</div>
<div class="data">
<div class="data backgroundYellow">
<span>主觉-小瞳</span>
<span>{{ bljcList.qg.zjygXtOs1 ? bljcList.qg.zjygXtOs1 : '-' }} /
{{ bljcList.qg.zjygXtOs2 ? bljcList.qg.zjygXtOs2 : '-' }} x
@ -242,7 +242,7 @@
<div class="data">
{{ bljcList.qg.dnygStDate ? bljcList.qg.dnygStDate : '-' }}
</div>
<div class="data">
<div class="data backgroundYellow">
{{ bljcList.qg.zjygXtDate ? bljcList.qg.zjygXtDate : '-' }}
</div>
<div class="data">
@ -373,5 +373,8 @@ export default {
font-size: 20px;
font-weight: 700;
}
.backgroundYellow {
background: #ffff00;
}
}
</style>

1
src/components/H5form/blDataInfo.vue

@ -13,6 +13,7 @@
<div class="patientInfo">
<span>{{ archiveCaseCRFItem.patientId }}</span>
<span class="padding-left-10">{{ archiveCaseCRFItem.patientName }}</span>
<span class="padding-left-10" v-if=" bljcList.qg">{{ bljcList.qg.patientAge }}</span>
</div>
<el-tabs v-model="activeName" class="bldataTab" @tab-click="handleClick">
<el-tab-pane label="初诊病历" name="1">

64
src/components/H5form/dzblLookFun.vue

@ -196,12 +196,22 @@
</span>
<span>
药物过敏史
{{
食物和药物过敏史
<span v-if="formListValue.ywgmsCheck && formListValue.ywgmsCheck.length>0">
<span v-for="(item,index) in formListValue.ywgmsCheck" :key="index">
<span v-show="item !== '其它'">{{ item }}</span>
<span v-show="index < formListValue.ywgmsCheck.length - 1"></span>
</span>
<span v-if="formListValue.ywgmsCheck.includes('其它')">
{{ formListValue.ywgmsInput }}
</span>
</span>
<span v-else>-</span>
<!-- {{
formListValue.ywgmsRadio === "有"
? formListValue.ywgmsInput
: formListValue.ywgmsRadio
}}
}} -->
</span>
<span>
@ -217,7 +227,18 @@
其它全身病史
<span v-if="formListValue.qtbsRadio === '有'">
<span v-for="(item, index) in formListValue.qtbsCheck" :key="index">
<span v-show="item !== '其它'">{{ item }}</span>
<span
v-show="item == '甲亢'">{{ item }}{{formListValue.qtbsJkInput}}{{formListValue.qtbsJkInput ? formListValue.qtbsJkUnit : ''}}</span>
<span
v-show="item == '甲减'">{{ item }}{{formListValue.qtbsJjInput}}{{formListValue.qtbsJjInput ? formListValue.qtbsJjUnit : ''}}</span>
<span
v-show="item == '高血压'">{{ item }}{{formListValue.qtbsGxyInput}}{{formListValue.qtbsGxyInput ? formListValue.qtbsGxyUnit : ''}}</span>
<span
v-show="item == '抑郁'">{{ item }}{{formListValue.qtbsYyInput}}{{formListValue.qtbsYyInput ? formListValue.qtbsYyUnit : ''}}</span>
<span
v-show="item == '焦虑'">{{ item }}{{formListValue.qtbsJlInput}}{{formListValue.qtbsJlInput ? formListValue.qtbsJlUnit : ''}}</span>
<span
v-show="item == '糖尿病'">{{ item }}{{formListValue.qtbsTnbInput}}{{formListValue.qtbsTnbInput ? formListValue.qtbsTnbUnit : ''}}</span>
<span v-show="index < formListValue.qtbsCheck.length - 1"></span>
</span>
<span v-if="formListValue.qtbsCheck.includes('其它')">
@ -230,15 +251,18 @@
<span>
近期服药史
<span v-if="formListValue.fysRadio === '有'">
<span v-for="(item, index) in formListValue.fysCheck" :key="index">
<span v-show="item !== '其它'">{{ item }}</span>
<span v-show="index < formListValue.fysCheck.length - 1"></span>
<span v-if="formListValue.fysCheck && formListValue.fysCheck.length > 0">
<span v-for="(item, index) in formListValue.fysCheck" :key="index">
<span v-show="item == '激素类药物'">{{ item }}{{formListValue.fysJislInput}}</span>
<span v-show="item == '精神类药物'">{{ item }}{{formListValue.fysJingslInput}}</span>
<span v-show="index < formListValue.fysCheck.length - 1"></span>
</span>
</span>
<span v-if="formListValue.fysCheck.includes('其它')">
{{ formListValue.fysInput }}
</span>
</span>
<span v-else>{{ formListValue.fysRadio }}</span>
<span v-else>{{ formListValue.fysRadio ? formListValue.fysRadio : '-'}}</span>
</span>
<span>
@ -452,7 +476,6 @@
formListValue.stydjcShipOd.length <= 0 &&
formListValue.stydjcCdOd.length <= 0 &&
formListValue.stydjcHuangbOd.length <= 0 &&
formListValue.stydjcXuegOd.length <= 0 &&
formListValue.stydjcShiwmOd.length <= 0
">-</span>
<span v-if="formListValue.stydjcShipOd.length > 0">
@ -463,7 +486,6 @@
<span v-show="
formListValue.stydjcCdOd.length > 0 ||
formListValue.stydjcHuangbOd.length > 0 ||
formListValue.stydjcXuegOd.length > 0 ||
formListValue.stydjcShiwmOd.length > 0"></span>
</span>
<span v-if="formListValue.stydjcCdOd.length > 0">
@ -473,7 +495,6 @@
</span>
<span v-show="
formListValue.stydjcHuangbOd.length > 0 ||
formListValue.stydjcXuegOd.length > 0 ||
formListValue.stydjcShiwmOd.length > 0"></span>
</span>
<span v-if="formListValue.stydjcHuangbOd.length > 0">
@ -482,16 +503,8 @@
<span v-if="formListValue.stydjcHuangbOd.length-1 >index"> | </span>
</span>
<span v-show="
formListValue.stydjcXuegOd.length > 0 ||
formListValue.stydjcShiwmOd.length > 0"></span>
</span>
<span v-if="formListValue.stydjcXuegOd.length > 0">
血管
<span v-for="(item, index) in formListValue.stydjcXuegOd" :key="index">{{ item }}
<span v-if="formListValue.stydjcXuegOd.length-1 >index"> | </span>
</span>
<span v-show="formListValue.stydjcShiwmOd.length > 0"></span>
</span>
<span v-if="formListValue.stydjcShiwmOd.length > 0">
视网膜
<span v-for="(item, index) in formListValue.stydjcShiwmOd" :key="index">{{ item }}
@ -506,7 +519,6 @@
formListValue.stydjcShipOs.length <= 0 &&
formListValue.stydjcCdOs.length <= 0 &&
formListValue.stydjcHuangbOs.length <= 0 &&
formListValue.stydjcXuegOs.length <= 0 &&
formListValue.stydjcShiwmOs.length <= 0
">-</span>
<span v-if="formListValue.stydjcShipOs.length > 0">
@ -517,7 +529,6 @@
<span v-show="
formListValue.stydjcCdOs.length > 0 ||
formListValue.stydjcHuangbOs.length > 0 ||
formListValue.stydjcXuegOs.length > 0 ||
formListValue.stydjcShiwmOs.length > 0"></span>
</span>
<span v-if="formListValue.stydjcCdOs.length > 0">
@ -526,7 +537,6 @@
<span v-if="formListValue.stydjcCdOs.length-1 >index"> | </span>
</span>
<span v-show="formListValue.stydjcHuangbOs.length > 0 ||
formListValue.stydjcXuegOs.length > 0 ||
formListValue.stydjcShiwmOs.length > 0"></span>
</span>
<span v-if="formListValue.stydjcHuangbOs.length > 0">
@ -535,16 +545,8 @@
<span v-if="formListValue.stydjcHuangbOs.length-1 >index"> | </span>
</span>
<span v-show="
formListValue.stydjcXuegOs.length > 0 ||
formListValue.stydjcShiwmOs.length > 0"></span>
</span>
<span v-if="formListValue.stydjcXuegOs.length > 0">
血管
<span v-for="(item, index) in formListValue.stydjcXuegOs" :key="index">{{ item }}
<span v-if="formListValue.stydjcXuegOs.length-1 >index"> | </span>
</span>
<span v-show="formListValue.stydjcShiwmOs.length > 0"></span>
</span>
<span v-if="formListValue.stydjcShiwmOs.length > 0">
视网膜
<span v-for="(item, index) in formListValue.stydjcShiwmOs" :key="index">{{ item }}
@ -754,7 +756,7 @@ export default {
htmlBase: Base64.encode(document.getElementById('printButtonA5').innerHTML),
pageSize: 'A5',
formId: this.formListValue.formId,
// 1:/() 2:3:/()4:,5:
// 1:/() 2:3:/()4:,5:
formFlag: 1
})
}, 100);

107
src/components/H5form/eye-question.vue

@ -340,16 +340,20 @@
</div>
<div class="li-row" style="margin-bottom:8px">
<div class="flex-2">
<p style="font-weight:700;">11药物过敏史</p>
<p style="font-weight:700;">11食物和药物过敏史</p>
<el-radio-group v-model="formListValue.ywgmsRadio">
<el-radio label="否认">否认</el-radio>
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.ywgmsRadio==='有'" class="margin-top-10 margin-left-24">
<el-input v-model="formListValue.ywgmsInput" type="textarea" autosize :rows="2" placeholder="请输入药物过敏史" />
<div v-if="formListValue.ywgmsRadio==='有'" class="flex-2 margin-left-24">
<el-checkbox-group v-model="formListValue.ywgmsCheck" @change="checkChange('ywgmsCheck')">
<el-checkbox v-for="(item,index) in swywGmsList" :key="index" :label="item" />
</el-checkbox-group>
<div v-if="formListValue.ywgmsCheck.includes('其它')" class="flex-7 width-180">
<el-input v-model="formListValue.ywgmsInput" placeholder="" />
</div>
</div>
</div>
<div class="li-row" style="margin-bottom:8px">
<div class="flex-2">
@ -371,18 +375,87 @@
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.qtbsRadio==='有'" class="margin-top-10 margin-left-24">
<el-form-item prop="qtbsCheck">
<el-checkbox-group v-model="formListValue.qtbsCheck">
<el-checkbox v-for="(item,index) in historyList" :key="index" :label="item" />
</el-checkbox-group>
</el-form-item>
<div v-if="formListValue.qtbsCheck.includes('其它')">
<el-form-item prop="qtbsInput" class="error1 width-260">
<el-input v-model="formListValue.qtbsInput" maxlength="150" show-word-limit type="textarea" autosize
:rows="2" placeholder="" />
</el-form-item>
</div>
<div v-if="formListValue.qtbsRadio==='有'" class="displayInline margin-left-24">
<el-checkbox-group v-model="formListValue.qtbsCheck" @change="checkChange('qtbsCheck','qtbsBeizhu')">
<span v-for="(item,index) in historyList" :key="index">
<el-checkbox :label="item" />
<span v-if="formListValue.qtbsCheck.includes('甲亢') && item==='甲亢'" class="width-50">
<el-input v-model="formListValue.qtbsJkInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJkUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJkUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('甲减') && item==='甲减'" class="width-50">
<el-input v-model="formListValue.qtbsJjInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJjUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJjUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('高血压') && item==='高血压'" class="width-50">
<el-input v-model="formListValue.qtbsGxyInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsGxyUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsGxyUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('抑郁') && item==='抑郁'" class="width-50">
<el-input v-model="formListValue.qtbsYyInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsYyUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsYyUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('焦虑') && item==='焦虑'" class="width-50">
<el-input v-model="formListValue.qtbsJlInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJlUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJlUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('糖尿病') && item==='糖尿病'" class="width-50">
<el-input v-model="formListValue.qtbsTnbInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsTnbUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsTnbUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('其它') && item==='其它'" class="width-180">
<el-input v-model="formListValue.qtbsInput" placeholder="" />
</span>
</span>
</el-checkbox-group>
</div>
</div>
<div class="li-row" style="margin-bottom:8px">
@ -577,6 +650,8 @@ export default {
jzsInput: ''
},
visualSymptomslist: ['视疲劳', '眩光', '眼干', '眼酸', '眼胀', '眼痛', '飞蚊症', '眼痒', '流泪', '重影', '无'],
//
swywGmsList: ['青霉素类', '头孢类', '牛奶、鸡蛋、海鲜等食物', '芒果、桃子等食物', '其它'],
causesOperationlist: ['体检', '戴镜不适', '改变形象', '方便工作生活', '其它'],
tijianList: ['兵检', '军检', '医检', '公务员', '警校'],
historyList: ['甲亢', '甲减', '高血压', '抑郁', '焦虑', '糖尿病', '其它'],

7
src/components/H5form/fzbl.vue

@ -213,7 +213,7 @@ export default {
zkjc: '',
fzjc: '',
cbzd: '',
clyj: '',
clyj: '请定期复查,及时复诊',
createSign: '',
ysSign:'',
signDate: ''
@ -290,11 +290,6 @@ export default {
// publicFile.js--
this.getUpSaveTime('/hz_quguang/fuzhen/emr/getInfo', flag)
},
//
saveAllForm(flag) {
// publicFile.js--
this.getUpSaveTime('/hz_quguang/fuzhen/emr/getInfo', flag)
},
async saveForm(flag) {
this.formListValue.createName = this.userData.realName
const formvalue = JSON.parse(JSON.stringify(this.formListValue))

2
src/components/H5form/fzblLookPdfFun.vue

@ -116,7 +116,7 @@ export default {
this.recordId = id
this.getQgEmrRecordInfo(id, flag)
},
//
//
async getQgEmrRecordInfo(id, flag) {
this.isShow = 0
const { data: res } = await this.$http.get('/hz_quguang/fuzhen/emr/getFuZhenRecordInfo', {

7
src/components/H5form/operaCheckLookPdfFun.vue

@ -324,7 +324,7 @@ export default {
const matches = str.match(/\((.*?)\)/);
return matches ? matches[1] : null;
},
//
//
async getQgEmrRecordInfo(id, flag) {
this.isShow = 0
const { data: res } = await this.$http.get('/hz_quguang/opera/after/getOperaAfterInfoRecord', {
@ -334,8 +334,9 @@ export default {
})
if (res.code === 0) {
//
const zsOdcheck = ['zsYwg、异物感', 'zsYgss、眼干酸涩', 'zsWg、畏光', 'zsXg、眩光', 'zsYz、眼胀', 'zsYt、眼痛', 'zsSpl、视疲劳', 'zsMh、模糊', 'zsYy、眼痒', 'zsCy、重影', 'zsWugan、雾感','zsQt、其它']
const zsOscheck = ['zsYwg、异物感', 'zsYgss、眼干酸涩', 'zsWg、畏光', 'zsXg、眩光', 'zsYz、眼胀', 'zsYt、眼痛', 'zsSpl、视疲劳', 'zsMh、模糊', 'zsYy、眼痒', 'zsCy、重影', 'zsWugan、雾感','zsQt、其它']
//
const zsOdcheck = ['zsWugan、雾感', 'zsYslc、夜视力差', 'zsYwg、异物感', 'zsYgss、眼干酸涩', 'zsWg、畏光', 'zsXg、眩光', 'zsYz、眼胀', 'zsYt、眼痛', 'zsSpl、视疲劳', 'zsJpl、近疲劳', 'zsMh、模糊', 'zsYy、眼痒', 'zsCy、重影', 'zsQt、其它']
const zsOscheck = ['zsWugan、雾感', 'zsYslc、夜视力差', 'zsYwg、异物感', 'zsYgss、眼干酸涩', 'zsWg、畏光', 'zsXg、眩光', 'zsYz、眼胀', 'zsYt、眼痛', 'zsSpl、视疲劳', 'zsJpl、近疲劳', 'zsMh、模糊', 'zsYy、眼痒', 'zsCy、重影', 'zsQt、其它']
this.zsOdcheckArr = []
this.zsOscheckArr = []
zsOdcheck.forEach(item => {

32
src/components/H5form/operation-plan.vue

@ -164,8 +164,8 @@
</div>
<!-- 预留屈光度 -->
<div v-if="scope.row.YLQGD.length>0" class="width-120 center">
<el-input v-model="formListValue.ylqgdOd" placeholder=""/> /
<el-input v-model="formListValue.ylsgdOd" placeholder=""/>
<el-input v-model="formListValue.ylqgdOd" placeholder="" /> /
<el-input v-model="formListValue.ylsgdOd" placeholder="" />
</div>
<!-- 预期矫正度数 -->
<div v-if="scope.row.YQJZDS.length>0" class="width-80 center">
@ -206,8 +206,9 @@
</div>
<!-- 备注 -->
<div v-if="scope.row.bz.length>0" class="left textarea-610">
<el-input v-model="formListValue.bz" type="textarea" :autosize="{ minRows: 1}" placeholder=""
class="margin-right-6" @focus="focusHandle('bz')" />
<el-input v-if="saveEidtTitle==='保存'" v-model="formListValue.bz" type="textarea"
:autosize="{ minRows: 1}" placeholder="" class="margin-right-6" @focus="focusHandle('bz')" />
<span v-else>{{formListValue.bz}}</span>
</div>
</template>
</el-table-column>
@ -243,7 +244,7 @@
<!-- 预留屈光度 预留散光度-->
<div v-if="scope.row.YLQGD.length>0" class="width-120 center">
<el-input v-model="formListValue.ylqgdOs" placeholder="" /> /
<el-input v-model="formListValue.ylsgdOs" placeholder=""/>
<el-input v-model="formListValue.ylsgdOs" placeholder="" />
</div>
<!-- 预期矫正度数 -->
<div v-if="scope.row.YQJZDS.length>0" class="width-80 center">
@ -294,11 +295,12 @@
<span class="flex-7" style="padding-right:140px">
验光师签字
<span>
<span v-if="!formListValue.doctorSign" style="padding-left:10px;">{{ formListValue.doctorName ? formListValue.doctorName : '-' }}</span>
<span v-if="!formListValue.doctorSign"
style="padding-left:10px;">{{ formListValue.doctorName ? formListValue.doctorName : '-' }}</span>
<img v-else :src="formListValue.doctorSign" alt="" width="90px">
</span>
</span>
<div class="flex-7 width-inner-200 date-class" style="margin-top:20px;">
<div class="flex-7 width-inner-200 date-class" style="margin-top:20px;">
<span> </span>
<el-date-picker v-model="formListValue.doctorSignTime" class="margin-right-6" type="datetime"
format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" placeholder="日期" />
@ -500,7 +502,7 @@ export default {
qtOs: [],
bz: '',
//
doctorName:'',
doctorName: '',
doctorSign: '',
doctorSignTime: '',
//
@ -651,13 +653,13 @@ export default {
res.data[item] === 'true'
? (this.formListValue[item] = JSON.parse(res.data[item]))
: ''
this.formListValue.qtOd.length > 0 ? '' :
(this.formListValue.qtOd = this.formListValue.ssfsOd ?
(this.formListValue.ssfsOd.includes('SMILE') ? ['Visumax'] : ['Amaris']) : '')
this.formListValue.qtOs.length > 0 ? '' :
(this.formListValue.qtOs = this.formListValue.ssfsOs ?
(this.formListValue.ssfsOs.includes('SMILE') ? ['Visumax'] : ['Amaris']) : '')
this.formListValue.qtOd.length > 0 ? '' :
(this.formListValue.qtOd = this.formListValue.ssfsOd ?
(this.formListValue.ssfsOd.includes('SMILE') ? ['Visumax'] : ['Amaris']) : '')
this.formListValue.qtOs.length > 0 ? '' :
(this.formListValue.qtOs = this.formListValue.ssfsOs ?
(this.formListValue.ssfsOs.includes('SMILE') ? ['Visumax'] : ['Amaris']) : '')
}
})
}

203
src/components/H5form/operation-record.vue

@ -172,7 +172,7 @@
<div v-if="pageTitle !== '表单设置'" class="patient">
<div style="color: #000;font-size: 18px;text-align: center;">
<span style="padding-right: 10px" class="width-90">
<span style="padding-right: 10px" class="width-120">
<span>PID</span>
<span>
<el-input v-if="!isSaveSeccess" v-model="formListValue.patientId" placeholder="PID" />
@ -599,6 +599,28 @@
</span>
s
</div>
<!-- 核黄素浸泡时间 -->
<div :style="{ order: item.sort }" v-if="item.bieMing==='hhsjpsj'&& item.checked === 'true'"
class="margin-bottom-8 width-160 left">
<span>核黄素浸泡时间</span>
<span>
<el-input v-if="!isSaveSeccess" v-model="formListValue.hhsjpsjOd" placeholder="" />
<span v-else
style="border-bottom:1px solid #ccc;padding:0 16px;">{{formListValue.hhsjpsjOd}}</span>
</span>
min
</div>
<!-- UVA能量密度 -->
<div :style="{ order: item.sort }" v-if="item.bieMing==='uvanl'&& item.checked === 'true'"
class="margin-bottom-8 width-160 left">
<span>UVA能量密度</span>
<span>
<el-input v-if="!isSaveSeccess" v-model="formListValue.uvanlOd" placeholder="" />
<span v-else
style="border-bottom:1px solid #ccc;padding:0 16px;">{{formListValue.uvanlOd}}</span>
</span>
mm/c
</div>
<!-- 总能量 -->
<div :style="{ order: item.sort }" v-if="item.bieMing==='znengl'&& item.checked === 'true'"
class="margin-bottom-8 width-160 left">
@ -1007,7 +1029,7 @@
<span v-else
style="border-bottom:1px solid #ccc;padding:0 16px;">{{formListValue.fzdOs}}</span>
</span>
mW/cm
mW/c
</div>
<!-- 照射时间 -->
<div :style="{ order: item.sort }" v-if="item.bieMing==='zssj'&& item.checked === 'true'"
@ -1026,6 +1048,28 @@
</span>
s
</div>
<!-- 核黄素浸泡时间 -->
<div :style="{ order: item.sort }" v-if="item.bieMing==='hhsjpsj'&& item.checked === 'true'"
class="margin-bottom-8 width-160 left">
<span>核黄素浸泡时间</span>
<span>
<el-input v-if="!isSaveSeccess" v-model="formListValue.hhsjpsjOs" placeholder="" />
<span v-else
style="border-bottom:1px solid #ccc;padding:0 16px;">{{formListValue.hhsjpsjOs}}</span>
</span>
min
</div>
<!-- UVA能量密度 -->
<div :style="{ order: item.sort }" v-if="item.bieMing==='uvanl'&& item.checked === 'true'"
class="margin-bottom-8 width-160 left">
<span>UVA能量密度</span>
<span>
<el-input v-if="!isSaveSeccess" v-model="formListValue.uvanlOs" placeholder="" />
<span v-else
style="border-bottom:1px solid #ccc;padding:0 16px;">{{formListValue.uvanlOs}}</span>
</span>
mm/c
</div>
<!-- 总能量 -->
<div :style="{ order: item.sort }" v-if="item.bieMing==='znengl'&& item.checked === 'true'"
class="width-160" style="margin-bottom:8px;text-align: left;">
@ -1068,10 +1112,10 @@
</div>
</div>
<!-- 备注 -->
<div class="textarea-610"
<div class="textarea-610 margin-top-10"
style="text-align: left;display: flex;align-items: center;justify-content: flex-start;"
v-if="pageTitle !== '表单设置'">
<span style="font-weight:700;font-family:MicrosoftYaHeiBold;">备注</span>
<span style="font-weight:700;font-family:MicrosoftYaHeiBold;width:70px;">备注</span>
<!-- <el-input
v-model="formListValue.bz"
type="textarea"
@ -1082,15 +1126,45 @@
<div>
<div v-if="bljcList.qg" style="display: flex;align-items: center;justify-content: flex-start;">
<div style="margin-right:20px;display: flex;align-items: center;justify-content: flex-start;">
<span style="font-family:MicrosoftYaHeiBold;font-size: 16px;font-weight: 700;">直径</span>
<span style="font-family:MicrosoftYaHeiBold;font-size: 16px;font-weight: 700;">瞳直径</span>
<div>
<p>
OD
{{ bljcList.qg.tkzjAnOd ? bljcList.qg.tkzjAnOd : '-' }}mm
{{ bljcList.qg.atzjOd ? bljcList.qg.atzjOd : '-' }}mm
</p>
<p>
OS
{{ bljcList.qg.tkzjAnOs ? bljcList.qg.tkzjAnOs : '-' }}mm
{{ bljcList.qg.atzjOs ? bljcList.qg.atzjOs : '-' }}mm
</p>
</div>
</div>
<div style="margin-right:20px;display: flex;align-items: center;justify-content: flex-start;">
<span style="font-family:MicrosoftYaHeiBold;font-size: 16px;font-weight: 700;">offsetX/Y</span>
<div>
<p>
ODx{{ bljcList.qg.offsetXOd ? bljcList.qg.offsetXOd : '-' }} / y{{
bljcList.qg.offsetYOd ? bljcList.qg.offsetYOd : '-'
}}
</p>
<p>
OS x{{ bljcList.qg.offsetXOs ? bljcList.qg.offsetXOs : '-' }} / y{{
bljcList.qg.offsetYOs ? bljcList.qg.offsetYOs : '-'
}}
</p>
</div>
</div>
<div style="display: flex;align-items: center;justify-content: flex-start;">
<span style="font-family:MicrosoftYaHeiBold;font-size: 16px;font-weight: 700;">offset</span>
<div>
<p>
ODR{{ bljcList.qg.offsetROd1 ? bljcList.qg.offsetROd1 : '-' }} @ {{
bljcList.qg.offsetROd2 ? bljcList.qg.offsetROd2 : '-'
}}
</p>
<p>
OSR{{ bljcList.qg.offsetROs1 ? bljcList.qg.offsetROs1 : '-' }} @ {{
bljcList.qg.offsetROs2 ? bljcList.qg.offsetROs2 : '-'
}}
</p>
</div>
</div>
@ -1101,7 +1175,7 @@
<p>OS{{bljcList.qg.jmdxtThinOs >= bljcList.qg.jmhdOs ? bljcList.qg.jmhdOs : bljcList.qg.jmdxtThinOs}}mm</p>
</div>
</div> -->
<div style="display: flex;align-items: center;justify-content: flex-start;">
<!-- <div style="display: flex;align-items: center;justify-content: flex-start;">
<span style="font-family:MicrosoftYaHeiBold;font-size: 16px;font-weight: 700;">Pupil</span>
<div>
<p>
@ -1115,7 +1189,7 @@
}}
</p>
</div>
</div>
</div> -->
</div>
<div v-if="bljcList.plan" style="color:red;font-size:20px;font-weight: 700;margin-top:10px;">
<span style="font-family:MicrosoftYaHeiBold;">手术计划备注{{ bljcList.plan.bz }}</span>
@ -1464,8 +1538,16 @@ export default {
fzdOd: '',
fzdOs: '',
//
zssjOd: '',
zssjOs: '',
zssjOd1: '',
zssjOd2: '',
zssjOs1: '',
zssjOs2: '',
//
hhsjpsjOd:'',
hhsjpsjOs:'',
// UVA
uvanlOd:'',
uvanlOs:'',
//
znlOd: '',
znlOs: '',
@ -1500,7 +1582,6 @@ export default {
operaOsType: '',
ssfsFlag: 0,
bljcList: [],
checkList: [],
value: '',
value1: '',
isSaveSeccess: false,
@ -1611,9 +1692,9 @@ export default {
// console.log('operaShowConfigList',this.operaShowConfigList);
// this.getOperaType('operaOdType', res.data.ssfsBmOd)
// this.getOperaType('operaOsType', res.data.ssfsBmOs)
this.clShowConfig(res.data.ssfsOd, res.data.ssfsOs)
// this.getShowConfig('operaOdType', res.data.ssfsOd)
// this.getShowConfig('operaOsType', res.data.ssfsOs)
// this.clShowConfig(res.data.ssfsOd, res.data.ssfsOs)
this.getShowConfig('operaOdType', res.data.ssfsOd)
this.getShowConfig('operaOsType', res.data.ssfsOs)
//
res.data.ssfsBmOd === 'SMILE'
? (this.formListValue.ssyqOd = 'Visumax')
@ -1676,15 +1757,15 @@ export default {
this.formListValue = value
},
//
clShowConfig(ssfsOd, ssfsOs) {
// console.log('122222222222', this.operaShowConfigList);
if (this.operaShowConfigList.length > 0) {
let indexOd = this.operaShowConfigList.findIndex((item, index) => item.operaName === ssfsOd)
let indexOs = this.operaShowConfigList.findIndex((item, index) => item.operaName === ssfsOs)
this.operaParamsOdList = this.operaShowConfigList[indexOd].operaParamsList
this.operaParamsOsList = this.operaShowConfigList[indexOs].operaParamsList
}
},
// clShowConfig(ssfsOd, ssfsOs) {
// console.log('122222222222', this.operaShowConfigList);
// if (this.operaShowConfigList.length > 0) {
// let indexOd = this.operaShowConfigList.findIndex((item, index) => item.operaName === ssfsOd)
// let indexOs = this.operaShowConfigList.findIndex((item, index) => item.operaName === ssfsOs)
// this.operaParamsOdList = this.operaShowConfigList[indexOd].operaParamsList
// this.operaParamsOsList = this.operaShowConfigList[indexOs].operaParamsList
// }
// },
//
async getShowConfig(operaType, operaName) {
console.log('operaType', operaType);
@ -1704,15 +1785,15 @@ export default {
}
} else {
operaType === 'operaOdType' ? this.operaParamsOdList = null : ''
operaType === 'operaOsType' ? this.operaParamsOsList = null : ''
operaType === 'operaOdType' ? this.operaParamsOdList = [] : ''
operaType === 'operaOsType' ? this.operaParamsOsList = [] : ''
}
} else {
this.$message.error(res.msg)
}
} else {
operaType === 'operaOdType' ? this.operaParamsOdList = null : ''
operaType === 'operaOsType' ? this.operaParamsOsList = null : ''
operaType === 'operaOdType' ? this.operaParamsOdList = [] : ''
operaType === 'operaOsType' ? this.operaParamsOsList = [] : ''
}
},
@ -1752,23 +1833,23 @@ export default {
? this.getShowConfig('operaOdType', '')
: this.getShowConfig('operaOsType', '')
//
this.formListValue[jzds] = this.bljcList.plan[yqjzds]
if (text === 'ssfsOd') {
Object.keys(this.formSetValue).forEach((item) => {
if (item.includes('Od')) {
this.formListValue[item] = ''
}
})
} else {
const osArr = JSON.parse(
JSON.stringify(this.formSetValue).replace(/Od/g, 'Os')
)
Object.keys(osArr).forEach((item) => {
if (item.includes('Os')) {
this.formListValue[item] = ''
}
})
}
// this.formListValue[jzds] = this.bljcList.plan[yqjzds]
// if (text === 'ssfsOd') {
// Object.keys(this.formSetValue).forEach((item) => {
// if (item.includes('Od')) {
// this.formListValue[item] = ''
// }
// })
// } else {
// const osArr = JSON.parse(
// JSON.stringify(this.formSetValue).replace(/Od/g, 'Os')
// )
// Object.keys(osArr).forEach((item) => {
// if (item.includes('Os')) {
// this.formListValue[item] = ''
// }
// })
// }
this.ssfsFlag =
this.formListValue.ssfsOd === this.formListValue.ssfsOs ? 1 : 0
}
@ -1787,22 +1868,22 @@ export default {
text1 === 'ssfsOd'
? this.getShowConfig('operaOdType', item.operaName)
: this.getShowConfig('operaOsType', item.operaName)
if (this.bljcList.plan) {
//
if (!item.bieMing || !item.bieMing.includes('SMILE')) {
console.log(1111111111111)
this.formListValue[jzds] = this.bljcList.plan[yqjzds]
} else if (item.bieMing.includes('SMILE')) {
this.formListValue[jzds] = ''
const loading = this.$loading({
lock: true,
text: '球镜计算中,请稍等...',
spinner: 'el-icon-loading',
background: 'rgba(255 255, 255, 0.7)'
})
this.jsJzdsQjValue(jzds, loading)
}
}
// if (this.bljcList.plan) {
// //
// if (!item.bieMing || !item.bieMing.includes('SMILE')) {
// console.log(1111111111111)
// this.formListValue[jzds] = this.bljcList.plan[yqjzds]
// } else if (item.bieMing.includes('SMILE')) {
// this.formListValue[jzds] = ''
// const loading = this.$loading({
// lock: true,
// text: '...',
// spinner: 'el-icon-loading',
// background: 'rgba(255 255, 255, 0.7)'
// })
// // this.jsJzdsQjValue(jzds, loading)
// }
// }
},
//
async jsJzdsQjValue(jzds, loading) {

414
src/components/H5form/operationed-check-record.vue

@ -4,6 +4,7 @@
:get-save-eidt-title="saveEidtTitle" :bl-button-show="true" :jcsj-button-show="true"
:edit-save-button-show="positionName.join().includes('医生') && formListValue.isConfirm !== 1 ? true : false"
mzbl-title="术后复查门诊病历" :yjyr-button-show="true"
:yrNewblButtonShow="true"
:cancel-ca-button-show="formListValue.isConfirm === 1 && saveEidtTitle!=='保存' ? true : false"
:sure-ca-button-show="saveEidtTitle === '编辑' && formListValue.isConfirm === 0 && caOpenStatus? true :false" />
<span v-show="!formListValue.createName && isGetFormValue" class="title-ts">(提示:此表单尚未保存)</span>
@ -43,12 +44,11 @@
<div class="width-660 select-width-auto input_inner-left">
<template v-if="(saveEidtTitle==='编辑' && formListValue.ssOuOperaName) || saveEidtTitle==='保存'">
<!-- v-show="!formListValue.ssOdOperaName && !formListValue.ssOsOperaName" -->
<div
class="flex-4 margin-right-6">
<div class="flex-4 margin-right-6">
<span>OU</span>
<!-- :disabled="formListValue.ssOdOperaName.length>0 || formListValue.ssOsOperaName.length>0" -->
<el-select v-model="yyssfs.ouList" clearable multiple value-key="id"
placeholder="请选择" @change="operaSelectChange($event,'ssOuOperaName','ssOuOperaBieM')">
<!-- :disabled="formListValue.ssOdOperaName.length>0 || formListValue.ssOsOperaName.length>0" -->
<el-select v-model="yyssfs.ouList" clearable multiple value-key="id" placeholder="请选择"
@change="operaSelectChange($event,'ssOuOperaName','ssOuOperaBieM')">
<el-option v-for="(item,index) in operaList" :key="index" :label="item.operaName"
:value="item" />
</el-select>
@ -65,8 +65,7 @@
<span>OD</span>
<!-- :disabled="formListValue.ssOuOperaName.length>0" -->
<el-select ref="odListRef" v-model="yyssfs.odList" clearable value-key="id" multiple
placeholder="请选择"
@change="operaSelectChange($event,'ssOdOperaName','ssOdOperaBieM')">
placeholder="请选择" @change="operaSelectChange($event,'ssOdOperaName','ssOdOperaBieM')">
<el-option v-for="(item,index) in operaList" :key="index" :label="item.operaName"
:value="item" />
</el-select>
@ -82,8 +81,7 @@
<div class="flex-4">
<span>OS</span>
<!-- :disabled="formListValue.ssOuOperaName.length>0" -->
<el-select v-model="yyssfs.osList" clearable multiple value-key="id"
placeholder="请选择"
<el-select v-model="yyssfs.osList" clearable multiple value-key="id" placeholder="请选择"
@change="operaSelectChange($event,'ssOsOperaName','ssOsOperaBieM')">
<el-option v-for="(item,index) in operaList" :key="index" :label="item.operaName"
:value="item" />
@ -127,6 +125,11 @@
@dblclick="saveEidtTitle==='保存' && historyClick('getYanGuangList')">
主觉验光
</div>
<div v-if="scope.row.sthZjyg.length>0" class="center title-weight-size-16"
:class="saveEidtTitle==='保存' ? 'cursor':''"
@dblclick="saveEidtTitle==='保存' && historyClick('getYanGuangList')">
散瞳后主觉验光
</div>
<div v-if="scope.row.YanYA.length>0" class="center title-weight-size-16"
:class="saveEidtTitle==='保存' ? 'cursor':''"
@dblclick="saveEidtTitle==='保存' && historyClick('getYanyaList')">
@ -247,12 +250,17 @@
</el-form>
</div>
<el-form ref="form" label-width="80px" :disabled="formListValue.zsWbsCheckOd ? true:false">
<div class="row-five width-250" style="padding-top:6px">
<div class="row-five width-90" style="padding-top:6px">
<span>
<el-checkbox v-model="formListValue.zsWuganCheckOd">雾感</el-checkbox>
<el-input v-model="formListValue.zsWuganRemarkOd" placeholder=""
:disabled="formListValue.zsWuganCheckOd ? false:true" />
</span>
<span style="padding-left:6px;">
<el-checkbox v-model="formListValue.zsYslcCheckOd">夜视力差</el-checkbox>
<el-input v-model="formListValue.zsYslcRemarkOd" placeholder=""
:disabled="formListValue.zsYslcCheckOd ? false:true" />
</span>
</div>
<div class="row-two width-80" style="padding-top:6px">
<span>
@ -291,16 +299,16 @@
</span>
</div>
<div class="row-five width-110" style="padding-top:6px">
<div class="row-five width-100" style="padding-top:6px">
<span>
<el-checkbox v-model="formListValue.zsSplCheckOd">视疲劳</el-checkbox>
<el-input v-model="formListValue.zsSplRemarkOd" placeholder=""
:disabled="formListValue.zsSplCheckOd ? false:true" />
</span>
<span>
<el-checkbox v-model="formListValue.zsMhCheckOd">模糊</el-checkbox>
<el-input v-model="formListValue.zsMhRemarkOd" placeholder=""
:disabled="formListValue.zsMhCheckOd ? false:true" />
<el-checkbox v-model="formListValue.zsJplCheckOd">近疲劳</el-checkbox>
<el-input v-model="formListValue.zsJplRemarkOd" placeholder=""
:disabled="formListValue.zsJplCheckOd ? false:true" />
</span>
</div>
<div class="row-five width-110" style="padding-top:6px">
@ -315,11 +323,22 @@
:disabled="formListValue.zsCyCheckOd ? false:true" />
</span>
</div>
<div class="row-five width-110" style="padding-top:6px">
<span>
<el-checkbox v-model="formListValue.zsMhCheckOd">模糊</el-checkbox>
<el-input v-model="formListValue.zsMhRemarkOd" placeholder=""
:disabled="formListValue.zsMhCheckOd ? false:true" />
</span>
</div>
<div class="row-six width-280" style="padding-top:6px">
<span>
<el-checkbox v-model="formListValue.zsQtCheckOd">其它</el-checkbox>
<el-input v-model="formListValue.zsQtRemarkOd" placeholder=""
:disabled="formListValue.zsQtCheckOd ? false:true" />
<!-- <el-select v-model="formListValue.zsQtRemarkOdArr" multiple allow-create filterable
default-first-option placeholder="" @change="zsSelectChange($event,'zsQtRemarkOd')">
<el-option v-for="(item,index) in zsList" :key="index" :label="item" :value="item" />
</el-select> -->
</span>
</div>
</el-form>
@ -332,71 +351,109 @@
<!-- 裸眼视力 -->
<div v-if="scope.row.LYSL.length>0" class="width-120 center">
<el-input v-model="formListValue.slLyYuanMingOd" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.slLyYuanMingOd,'slLyYuanMingOd','OD')"/>
<el-input v-model="formListValue.slLyYuanMingOd" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.slLyYuanMingOd,'slLyYuanMingOd','OD')" />
<el-input v-model="formListValue.slLyYuanAnOd" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.slLyYuanAnOd,'slLyYuanAnOd','OD')"/>
<el-input v-model="formListValue.slLyYuanAnOd" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.slLyYuanAnOd,'slLyYuanAnOd','OD')" />
</div>
<!-- 电脑验光 -->
<div v-if="scope.row.DNYG.length>0" class="width-90 center">
<el-input v-model="formListValue.dnygXtOd1" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.dnygXtOd1,'dnygXtOd1','OD')"/> /
<el-input v-model="formListValue.dnygXtOd2" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.dnygXtOd2,'dnygXtOd2','OD')"/> X
<el-input v-model="formListValue.dnygXtOd3" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.dnygXtOd3,'dnygXtOd3','OD')"/>
<el-input v-model="formListValue.dnygXtOd1" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.dnygXtOd1,'dnygXtOd1','OD')" /> /
<el-input v-model="formListValue.dnygXtOd2" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.dnygXtOd2,'dnygXtOd2','OD')" /> X
<el-input v-model="formListValue.dnygXtOd3" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.dnygXtOd3,'dnygXtOd3','OD')" />
</div>
<!-- 主觉验光 -->
<div v-if="scope.row.ZJYG.length>0" class="width-70 center">
<el-input v-model="formListValue.zjygXtOd1" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.zjygXtOd1,'zjygXtOd1','OD')"
<el-input v-model="formListValue.zjygXtOd1" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygXtOd1,'zjygXtOd1','OD')"
@change="zjygChange('zjygXtOd1')" /> /
<el-input v-model="formListValue.zjygXtOd2" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.zjygXtOd2,'zjygXtOd2','OD')"
<el-input v-model="formListValue.zjygXtOd2" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygXtOd2,'zjygXtOd2','OD')"
@change="zjygChange('zjygXtOd2')" /> X
<el-input v-model="formListValue.zjygXtOd3" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.zjygXtOd3,'zjygXtOd3','OD')"
<el-input v-model="formListValue.zjygXtOd3" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygXtOd3,'zjygXtOd3','OD')"
@change="zjygChange('zjygXtOd3')" /> =
<el-input v-model="formListValue.zjygXtOd4" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.zjygXtOd4,'zjygXtOd4','OD')"
<el-input v-model="formListValue.zjygXtOd4" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygXtOd4,'zjygXtOd4','OD')"
@change="zjygChange('zjygXtOd4')" />
</div>
<!-- 散瞳后主觉验光 -->
<div v-if="scope.row.sthZjyg.length>0" class="width-70 center">
<el-input v-model="formListValue.zjygStOd1" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygStOd1,'zjygStOd1','OD')"
@change="zjygChange('zjygStOd1')" /> /
<el-input v-model="formListValue.zjygStOd2" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygStOd2,'zjygStOd2','OD')"
@change="zjygChange('zjygStOd2')" /> X
<el-input v-model="formListValue.zjygStOd3" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygStOd3,'zjygStOd3','OD')"
@change="zjygChange('zjygStOd3')" /> =
<el-input v-model="formListValue.zjygStOd4" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygStOd4,'zjygStOd4','OD')"
@change="zjygChange('zjygStOd4')" />
</div>
<!-- 眼压 -->
<div v-if="scope.row.YanYA.length>0" class="width-100 center">
<el-input v-model="formListValue.yyOd1" placeholder="" :class="classComputedSet(formListValue.yyOd1,'yyOd1','OD')"/>/
<el-input v-model="formListValue.yyOd2" placeholder="" :class="classComputedSet(formListValue.yyOd2,'yyOd2','OD')"/>mmHg@
<el-input v-model="formListValue.yyOd1" placeholder=""
:class="classComputedSet(formListValue.yyOd1,'yyOd1','OD')" />/
<el-input v-model="formListValue.yyOd2" placeholder=""
:class="classComputedSet(formListValue.yyOd2,'yyOd2','OD')" />mmHg@
</div>
<!-- 角膜地形图 -->
<div v-if="scope.row.JMDXT.length>0" class="left">
<div class="width-60">
K2
<el-input v-model="formListValue.jmdxtOd1" placeholder="" :class="classComputedSet(formListValue.jmdxtOd1,'jmdxtOd1','OD')"/>
<el-input v-model="formListValue.jmdxtOd1" placeholder=""
:class="classComputedSet(formListValue.jmdxtOd1,'jmdxtOd1','OD')" />
/
K1
<el-input v-model="formListValue.jmdxtOd2" placeholder="" :class="classComputedSet(formListValue.jmdxtOd2,'jmdxtOd2','OD')"/>@
<el-input v-model="formListValue.jmdxtOd3" placeholder="" :class="classComputedSet(formListValue.jmdxtOd3,'jmdxtOd3','OD')"/>
<el-input v-model="formListValue.jmdxtOd2" placeholder=""
:class="classComputedSet(formListValue.jmdxtOd2,'jmdxtOd2','OD')" />@
<el-input v-model="formListValue.jmdxtOd3" placeholder=""
:class="classComputedSet(formListValue.jmdxtOd3,'jmdxtOd3','OD')" />
</div>
</div>
<!-- 眼轴 -->
<div v-if="scope.row.yanzhou.length>0" class="center width-120">
<!-- 和屈光名称不一样字段要改名字 -->
<el-input v-model="formListValue.yzAlOd" placeholder="" :class="classComputedSet(formListValue.yzAlOd,'yzAlOd','OD')"/>mm
<el-input v-model="formListValue.yzAlOd" placeholder=""
:class="classComputedSet(formListValue.yzAlOd,'yzAlOd','OD')" />mm
</div>
<!-- 内皮细胞密度/6A -->
<div v-if="scope.row.npxbmd.length>0" class="width-100 center">
<el-input v-model="formListValue.npxbmdOd1" placeholder="" :class="classComputedSet(formListValue.npxbmdOd1,'npxbmdOd1','OD')"/>/
<el-input v-model="formListValue.npxbmdOd2" placeholder="" :class="classComputedSet(formListValue.npxbmdOd2,'npxbmdOd2','OD')"/>
<el-input v-model="formListValue.npxbmdOd1" placeholder=""
:class="classComputedSet(formListValue.npxbmdOd1,'npxbmdOd1','OD')" />/
<el-input v-model="formListValue.npxbmdOd2" placeholder=""
:class="classComputedSet(formListValue.npxbmdOd2,'npxbmdOd2','OD')" />
</div>
<!-- OCT上皮/最薄角膜厚度 -->
<div v-if="scope.row.octspZbjmhd.length>0" class="width-100 center">
<el-input v-model="formListValue.octspZbjmhdOd1" placeholder="" :class="classComputedSet(formListValue.octspZbjmhdOd1,'octspZbjmhdOd1','OD')"/>/
<el-input v-model="formListValue.octspZbjmhdOd2" placeholder="" :class="classComputedSet(formListValue.octspZbjmhdOd2,'octspZbjmhdOd2','OD')"/>
<el-input v-model="formListValue.octspZbjmhdOd1" placeholder=""
:class="classComputedSet(formListValue.octspZbjmhdOd1,'octspZbjmhdOd1','OD')" />/
<el-input v-model="formListValue.octspZbjmhdOd2" placeholder=""
:class="classComputedSet(formListValue.octspZbjmhdOd2,'octspZbjmhdOd2','OD')" />
</div>
<!-- AMP -->
<div v-if="scope.row.amp.length>0" class="width-90 left">
<span class="padding-right-10">OD:
<el-input v-model="formListValue.ampOd" placeholder="" :class="classComputedSet(formListValue.ampOd,'ampOd','OD')"/>D
<el-input v-model="formListValue.ampOd" placeholder=""
:class="classComputedSet(formListValue.ampOd,'ampOd','OD')" />D
</span>
<span class="padding-right-10">OS:
<el-input v-model="formListValue.ampOs" placeholder="" :class="classComputedSet(formListValue.ampOs,'ampOs','OS')"/>D
<el-input v-model="formListValue.ampOs" placeholder=""
:class="classComputedSet(formListValue.ampOs,'ampOs','OS')" />D
</span>
<span class="padding-right-10">OU:
<el-input v-model="formListValue.ampOu" placeholder="" :class="classComputedSet(formListValue.ampOu,'ampOu','OU')"/>D
<el-input v-model="formListValue.ampOu" placeholder=""
:class="classComputedSet(formListValue.ampOu,'ampOu','OU')" />D
</span>
<span class="padding-right-10">Add:
<el-input v-model="formListValue.ampAdd" placeholder="" :class="classComputedSet(formListValue.ampAdd,'ampAdd','other')"/>D
<el-input v-model="formListValue.ampAdd" placeholder=""
:class="classComputedSet(formListValue.ampAdd,'ampAdd','other')" />D
</span>
</div>
<!-- 是否显示对比敏感度 -->
@ -405,18 +462,22 @@
<div v-if="scope.row.dbmgdAn.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdAn3cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdAn3cOd,'dbmgdAn3cOd','OD')"/>
<el-input v-model="formListValue.dbmgdAn3cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn3cOd,'dbmgdAn3cOd','OD')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdAn6cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdAn6cOd,'dbmgdAn6cOd','OD')"/>
<el-input v-model="formListValue.dbmgdAn6cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn6cOd,'dbmgdAn6cOd','OD')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdAn12cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdAn12cOd,'dbmgdAn12cOd','OD')"/>
<el-input v-model="formListValue.dbmgdAn12cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn12cOd,'dbmgdAn12cOd','OD')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdAn18cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdAn18cOd,'dbmgdAn18cOd','OD')"/>
<el-input v-model="formListValue.dbmgdAn18cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn18cOd,'dbmgdAn18cOd','OD')" />
</span>
</div>
</div>
@ -424,18 +485,22 @@
<div v-if="scope.row.dbmgdDi.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdDi3cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdDi3cOd,'dbmgdDi3cOd','OD')"/>
<el-input v-model="formListValue.dbmgdDi3cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi3cOd,'dbmgdDi3cOd','OD')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdDi6cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdDi6cOd,'dbmgdDi6cOd','OD')"/>
<el-input v-model="formListValue.dbmgdDi6cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi6cOd,'dbmgdDi6cOd','OD')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdDi12cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdDi12cOd,'dbmgdDi12cOd','OD')"/>
<el-input v-model="formListValue.dbmgdDi12cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi12cOd,'dbmgdDi12cOd','OD')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdDi18cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdDi18cOd,'dbmgdDi18cOd','OD')"/>
<el-input v-model="formListValue.dbmgdDi18cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi18cOd,'dbmgdDi18cOd','OD')" />
</span>
</div>
</div>
@ -443,18 +508,22 @@
<div v-if="scope.row.dbmgdGao.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdGao3cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdGao3cOd,'dbmgdGao3cOd','OD')"/>
<el-input v-model="formListValue.dbmgdGao3cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao3cOd,'dbmgdGao3cOd','OD')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdGao6cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdGao6cOd,'dbmgdGao6cOd','OD')"/>
<el-input v-model="formListValue.dbmgdGao6cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao6cOd,'dbmgdGao6cOd','OD')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdGao12cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdGao12cOd,'dbmgdGao12cOd','OD')"/>
<el-input v-model="formListValue.dbmgdGao12cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao12cOd,'dbmgdGao12cOd','OD')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdGao18cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdGao18cOd,'dbmgdGao18cOd','OD')"/>
<el-input v-model="formListValue.dbmgdGao18cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao18cOd,'dbmgdGao18cOd','OD')" />
</span>
</div>
</div>
@ -462,18 +531,22 @@
<div v-if="scope.row.dbmgdLiang.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdLiang3cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang3cOd,'dbmgdLiang3cOd','OD')"/>
<el-input v-model="formListValue.dbmgdLiang3cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang3cOd,'dbmgdLiang3cOd','OD')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdLiang6cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang6cOd,'dbmgdLiang6cOd','OD')"/>
<el-input v-model="formListValue.dbmgdLiang6cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang6cOd,'dbmgdLiang6cOd','OD')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdLiang12cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang12cOd,'dbmgdLiang12cOd','OD')"/>
<el-input v-model="formListValue.dbmgdLiang12cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang12cOd,'dbmgdLiang12cOd','OD')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdLiang18cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang18cOd,'dbmgdLiang18cOd','OD')"/>
<el-input v-model="formListValue.dbmgdLiang18cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang18cOd,'dbmgdLiang18cOd','OD')" />
</span>
</div>
</div>
@ -482,25 +555,31 @@
<div>
<span class="padding-right-10">OD:
<el-input v-model="formListValue.ucvaYuanOd" placeholder="" :class="classComputedSet(formListValue.ucvaYuanOd,'ucvaYuanOd','OD')"/>
<el-input v-model="formListValue.ucvaYuanOd" placeholder=""
:class="classComputedSet(formListValue.ucvaYuanOd,'ucvaYuanOd','OD')" />
</span>
<span class="padding-right-10">OS:
<el-input v-model="formListValue.ucvaYuanOs" placeholder="" :class="classComputedSet(formListValue.ucvaYuanOs,'ucvaYuanOs','OS')"/>
<el-input v-model="formListValue.ucvaYuanOs" placeholder=""
:class="classComputedSet(formListValue.ucvaYuanOs,'ucvaYuanOs','OS')" />
</span>
<span class="padding-right-10">OU:
<el-input v-model="formListValue.ucvaYuanOu" placeholder="" :class="classComputedSet(formListValue.ucvaYuanOu,'ucvaYuanOu','OU')"/>
<el-input v-model="formListValue.ucvaYuanOu" placeholder=""
:class="classComputedSet(formListValue.ucvaYuanOu,'ucvaYuanOu','OU')" />
</span>
</div>
<div class="margin-top-10">
<span class="padding-right-10">OD:
<el-input v-model="formListValue.ucvaJinOd" placeholder="" :class="classComputedSet(formListValue.ucvaJinOd,'ucvaJinOd','OD')"/>
<el-input v-model="formListValue.ucvaJinOd" placeholder=""
:class="classComputedSet(formListValue.ucvaJinOd,'ucvaJinOd','OD')" />
</span>
<span class="padding-right-10">OS:
<el-input v-model="formListValue.ucvaJinOs" placeholder="" :class="classComputedSet(formListValue.ucvaJinOs,'ucvaJinOs','OS')"/>
<el-input v-model="formListValue.ucvaJinOs" placeholder=""
:class="classComputedSet(formListValue.ucvaJinOs,'ucvaJinOs','OS')" />
</span>
<span class="padding-right-10">OU:
<el-input v-model="formListValue.ucvaJinOu" placeholder="" :class="classComputedSet(formListValue.ucvaJinOu,'ucvaJinOu','OU')"/>
<el-input v-model="formListValue.ucvaJinOu" placeholder=""
:class="classComputedSet(formListValue.ucvaJinOu,'ucvaJinOu','OU')" />
</span>
</div>
</div>
@ -509,30 +588,36 @@
<div>
<span class="padding-right-10">OD:
<el-input v-model="formListValue.bscvaYuanOd" placeholder="" :class="classComputedSet(formListValue.bscvaYuanOd,'bscvaYuanOd','OD')"/>
<el-input v-model="formListValue.bscvaYuanOd" placeholder=""
:class="classComputedSet(formListValue.bscvaYuanOd,'bscvaYuanOd','OD')" />
</span>
<span class="padding-right-10">OS:
<el-input v-model="formListValue.bscvaYuanOs" placeholder="" :class="classComputedSet(formListValue.bscvaYuanOs,'bscvaYuanOs','OS')"/>
<el-input v-model="formListValue.bscvaYuanOs" placeholder=""
:class="classComputedSet(formListValue.bscvaYuanOs,'bscvaYuanOs','OS')" />
</span>
<span class="padding-right-10">OU:
<el-input v-model="formListValue.bscvaYuanOu" placeholder="" :class="classComputedSet(formListValue.bscvaYuanOu,'bscvaYuanOu','OU')"/>
<el-input v-model="formListValue.bscvaYuanOu" placeholder=""
:class="classComputedSet(formListValue.bscvaYuanOu,'bscvaYuanOu','OU')" />
</span>
</div>
<div class="margin-top-10">
<span class="padding-right-10">OD:
<el-input v-model="formListValue.bscvaJinOd" placeholder="" :class="classComputedSet(formListValue.bscvaJinOd,'bscvaJinOd','OD')"/>
<el-input v-model="formListValue.bscvaJinOd" placeholder=""
:class="classComputedSet(formListValue.bscvaJinOd,'bscvaJinOd','OD')" />
</span>
<span class="padding-right-10">OS:
<el-input v-model="formListValue.bscvaJinOs" placeholder="" :class="classComputedSet(formListValue.bscvaJinOs,'bscvaJinOs','OS')"/>
<el-input v-model="formListValue.bscvaJinOs" placeholder=""
:class="classComputedSet(formListValue.bscvaJinOs,'bscvaJinOs','OS')" />
</span>
<span class="padding-right-10">OU:
<el-input v-model="formListValue.bscvaJinOu" placeholder="" :class="classComputedSet(formListValue.bscvaJinOu,'bscvaJinOu','OU')"/>
<el-input v-model="formListValue.bscvaJinOu" placeholder=""
:class="classComputedSet(formListValue.bscvaJinOu,'bscvaJinOu','OU')" />
</span>
</div>
</div>
<!-- 眼科检查 -->
<div v-if="scope.row.YKJC.length>0" class="YKJC"
<div v-if="scope.row.YKJC.length>0" class="YKJC"
:class="saveEidtTitle==='保存' ? 'el-select__input-edit' : 'el-select__input-save'">
<el-button v-if="saveEidtTitle==='保存'" type="primary" plain size="mini" class="moren"
@click="morenClick('ykjcOd')">使用默认值</el-button>
@ -619,7 +704,7 @@
<div v-if="scope.row.ZD.length>0" class="left textarea-610">
<!-- {{ formListValue.zd ? formListValue.zd : '空' }} -->
<el-input v-model="formListValue.zd" type="textarea" :autosize="{ minRows: 1}" placeholder=""
class="margin-right-6" />
class="margin-right-6" />
</div>
<!-- 处理意见 -->
<div v-if="scope.row.clyj.length>0" class="textarea-610 left flex">
@ -672,12 +757,17 @@
</div>
<el-form ref="form" label-width="80px" :disabled="formListValue.zsWbsCheckOs ? true:false">
<div class="row-five width-250" style="padding-top:6px">
<div class="row-five width-90" style="padding-top:6px">
<span>
<el-checkbox v-model="formListValue.zsWuganCheckOs">雾感</el-checkbox>
<el-input v-model="formListValue.zsWuganRemarkOs" placeholder=""
:disabled="formListValue.zsWuganCheckOs ? false:true" />
</span>
<span style="padding-left:6px;">
<el-checkbox v-model="formListValue.zsYslcCheckOs">夜视力差</el-checkbox>
<el-input v-model="formListValue.zsYslcRemarkOs" placeholder=""
:disabled="formListValue.zsYslcCheckOs ? false:true" />
</span>
</div>
<div class="row-two width-80" style="padding-top:6px">
<span>
@ -717,16 +807,16 @@
</span>
</div>
<div class="row-five width-110" style="padding-top:6px">
<div class="row-five width-100" style="padding-top:6px">
<span>
<el-checkbox v-model="formListValue.zsSplCheckOs">视疲劳</el-checkbox>
<el-input v-model="formListValue.zsSplRemarkOs" placeholder=""
:disabled="formListValue.zsSplCheckOs ? false:true" />
</span>
<span>
<el-checkbox v-model="formListValue.zsMhCheckOs">模糊</el-checkbox>
<el-input v-model="formListValue.zsMhRemarkOs" placeholder=""
:disabled="formListValue.zsMhCheckOs ? false:true" />
<el-checkbox v-model="formListValue.zsJplCheckOs">近疲劳</el-checkbox>
<el-input v-model="formListValue.zsJplRemarkOs" placeholder=""
:disabled="formListValue.zsJplCheckOs ? false:true" />
</span>
</div>
<div class="row-five width-110" style="padding-top:6px">
@ -741,6 +831,13 @@
:disabled="formListValue.zsCyCheckOs ? false:true" />
</span>
</div>
<div class="row-five width-110" style="padding-top:6px">
<span>
<el-checkbox v-model="formListValue.zsMhCheckOs">模糊</el-checkbox>
<el-input v-model="formListValue.zsMhRemarkOs" placeholder=""
:disabled="formListValue.zsMhCheckOs ? false:true" />
</span>
</div>
<div class="row-six width-280" style="padding-top:6px">
<span>
<el-checkbox v-model="formListValue.zsQtCheckOs">其它</el-checkbox>
@ -758,56 +855,90 @@
<!-- 裸眼视力 -->
<div v-if="scope.row.LYSL.length>0" class="width-120 center">
<el-input v-model="formListValue.slLyYuanMingOs" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.slLyYuanMingOs,'slLyYuanMingOs','OS')"/>
<el-input v-model="formListValue.slLyYuanMingOs" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.slLyYuanMingOs,'slLyYuanMingOs','OS')" />
<el-input v-model="formListValue.slLyYuanAnOs" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.slLyYuanAnOs,'slLyYuanAnOs','OS')"/>
<el-input v-model="formListValue.slLyYuanAnOs" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.slLyYuanAnOs,'slLyYuanAnOs','OS')" />
</div>
<!-- 电脑验光 -->
<div v-if="scope.row.DNYG.length>0" class="width-90 center">
<el-input v-model="formListValue.dnygXtOs1" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.dnygXtOs1,'dnygXtOs1','OS')"/> /
<el-input v-model="formListValue.dnygXtOs2" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.dnygXtOs2,'dnygXtOs2','OS')"/> X
<el-input v-model="formListValue.dnygXtOs3" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.dnygXtOs3,'dnygXtOs3','OS')"/>
<el-input v-model="formListValue.dnygXtOs1" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.dnygXtOs1,'dnygXtOs1','OS')" /> /
<el-input v-model="formListValue.dnygXtOs2" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.dnygXtOs2,'dnygXtOs2','OS')" /> X
<el-input v-model="formListValue.dnygXtOs3" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.dnygXtOs3,'dnygXtOs3','OS')" />
</div>
<!-- 主觉验光 -->
<div v-if="scope.row.ZJYG.length>0" class="width-70 center">
<el-input v-model="formListValue.zjygXtOs1" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.zjygXtOs1,'zjygXtOs1','OS')"
<el-input v-model="formListValue.zjygXtOs1" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygXtOs1,'zjygXtOs1','OS')"
@change="zjygChange('zjygXtOs1')" /> /
<el-input v-model="formListValue.zjygXtOs2" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.zjygXtOs2,'zjygXtOs2','OS')"
<el-input v-model="formListValue.zjygXtOs2" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygXtOs2,'zjygXtOs2','OS')"
@change="zjygChange('zjygXtOs2')" /> X
<el-input v-model="formListValue.zjygXtOs3" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.zjygXtOs3,'zjygXtOs3','OS')"
<el-input v-model="formListValue.zjygXtOs3" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygXtOs3,'zjygXtOs3','OS')"
@change="zjygChange('zjygXtOs3')" /> =
<el-input v-model="formListValue.zjygXtOs4" placeholder="" class="margin-right-6" :class="classComputedSet(formListValue.zjygXtOs4,'zjygXtOs4','OS')"
<el-input v-model="formListValue.zjygXtOs4" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygXtOs4,'zjygXtOs4','OS')"
@change="zjygChange('zjygXtOs4')" />
</div>
<!-- 散瞳后主觉验光 -->
<div v-if="scope.row.sthZjyg.length>0" class="width-70 center">
<el-input v-model="formListValue.zjygStOs1" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygStOs1,'zjygStOs1','OS')"
@change="zjygChange('zjygStOs1')" /> /
<el-input v-model="formListValue.zjygStOs2" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygStOs2,'zjygStOs2','OS')"
@change="zjygChange('zjygStOs2')" /> X
<el-input v-model="formListValue.zjygStOs3" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygStOs3,'zjygStOs3','OS')"
@change="zjygChange('zjygStOs3')" /> =
<el-input v-model="formListValue.zjygStOs4" placeholder="" class="margin-right-6"
:class="classComputedSet(formListValue.zjygStOs4,'zjygStOs4','OS')"
@change="zjygChange('zjygStOs4')" />
</div>
<!-- 眼压 -->
<div v-if="scope.row.YanYA.length>0" class="width-100 center">
<el-input v-model="formListValue.yyOs1" placeholder="" :class="classComputedSet(formListValue.yyOs1,'yyOs1','OS')"/>/
<el-input v-model="formListValue.yyOs2" placeholder="" :class="classComputedSet(formListValue.yyOs2,'yyOs2','OS')"/>mmHg@
<el-input v-model="formListValue.yyOs1" placeholder=""
:class="classComputedSet(formListValue.yyOs1,'yyOs1','OS')" />/
<el-input v-model="formListValue.yyOs2" placeholder=""
:class="classComputedSet(formListValue.yyOs2,'yyOs2','OS')" />mmHg@
</div>
<!-- 角膜地形图 -->
<div v-if="scope.row.JMDXT.length>0" class="left">
<div class="width-60">
K2
<el-input v-model="formListValue.jmdxtOs1" placeholder="" :class="classComputedSet(formListValue.jmdxtOs1,'jmdxtOs1','OS')"/>
<el-input v-model="formListValue.jmdxtOs1" placeholder=""
:class="classComputedSet(formListValue.jmdxtOs1,'jmdxtOs1','OS')" />
/
K1
<el-input v-model="formListValue.jmdxtOs2" placeholder="" :class="classComputedSet(formListValue.jmdxtOs2,'jmdxtOs2','OS')"/>@
<el-input v-model="formListValue.jmdxtOs3" placeholder="" :class="classComputedSet(formListValue.jmdxtOs3,'jmdxtOs3','OS')"/>
<el-input v-model="formListValue.jmdxtOs2" placeholder=""
:class="classComputedSet(formListValue.jmdxtOs2,'jmdxtOs2','OS')" />@
<el-input v-model="formListValue.jmdxtOs3" placeholder=""
:class="classComputedSet(formListValue.jmdxtOs3,'jmdxtOs3','OS')" />
</div>
</div>
<!-- 眼轴 -->
<div v-if="scope.row.yanzhou.length>0" class="width-120 center">
<el-input v-model="formListValue.yzAlOs" placeholder="" :class="classComputedSet(formListValue.yzAlOs,'yzAlOs','OS')"/>mm
<el-input v-model="formListValue.yzAlOs" placeholder=""
:class="classComputedSet(formListValue.yzAlOs,'yzAlOs','OS')" />mm
</div>
<!-- 内皮细胞密度/6A -->
<div v-if="scope.row.npxbmd.length>0" class="width-100 center">
<el-input v-model="formListValue.npxbmdOs1" placeholder="" :class="classComputedSet(formListValue.npxbmdOs1,'npxbmdOs1','OS')"/>/
<el-input v-model="formListValue.npxbmdOs2" placeholder="" :class="classComputedSet(formListValue.npxbmdOs2,'npxbmdOs2','OS')"/>
<el-input v-model="formListValue.npxbmdOs1" placeholder=""
:class="classComputedSet(formListValue.npxbmdOs1,'npxbmdOs1','OS')" />/
<el-input v-model="formListValue.npxbmdOs2" placeholder=""
:class="classComputedSet(formListValue.npxbmdOs2,'npxbmdOs2','OS')" />
</div>
<!-- OCT上皮/最薄角膜厚度 -->
<div v-if="scope.row.octspZbjmhd.length>0" class="width-100 center">
<el-input v-model="formListValue.octspZbjmhdOs1" placeholder="" :class="classComputedSet(formListValue.octspZbjmhdOs1,'octspZbjmhdOs1','OS')"/>/
<el-input v-model="formListValue.octspZbjmhdOs2" placeholder="" :class="classComputedSet(formListValue.octspZbjmhdOs2,'octspZbjmhdOs2','OS')"/>
<el-input v-model="formListValue.octspZbjmhdOs1" placeholder=""
:class="classComputedSet(formListValue.octspZbjmhdOs1,'octspZbjmhdOs1','OS')" />/
<el-input v-model="formListValue.octspZbjmhdOs2" placeholder=""
:class="classComputedSet(formListValue.octspZbjmhdOs2,'octspZbjmhdOs2','OS')" />
</div>
<!-- AMP -->
<div v-if="scope.row.amp.length>0" class="center" />
@ -815,18 +946,22 @@
<div v-if="scope.row.dbmgdAn.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdAn3cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdAn3cOs,'dbmgdAn3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdAn3cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn3cOs,'dbmgdAn3cOs','OS')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdAn6cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdAn6cOs,'dbmgdAn6cOs','OS')"/>
<el-input v-model="formListValue.dbmgdAn6cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn6cOs,'dbmgdAn6cOs','OS')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdAn12cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdAn12cOs,'dbmgdAn12cOs','OS')"/>
<el-input v-model="formListValue.dbmgdAn12cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn12cOs,'dbmgdAn12cOs','OS')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdAn18cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdAn18cOs,'dbmgdAn18cOs','OS')"/>
<el-input v-model="formListValue.dbmgdAn18cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn18cOs,'dbmgdAn18cOs','OS')" />
</span>
</div>
</div>
@ -834,18 +969,22 @@
<div v-if="scope.row.dbmgdDi.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdDi3cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdDi3cOs,'dbmgdDi3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdDi3cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi3cOs,'dbmgdDi3cOs','OS')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdDi6cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdDi6cOs,'dbmgdDi6cOs','OS')"/>
<el-input v-model="formListValue.dbmgdDi6cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi6cOs,'dbmgdDi6cOs','OS')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdDi12cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdDi12cOs,'dbmgdDi12cOs','OS')"/>
<el-input v-model="formListValue.dbmgdDi12cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi12cOs,'dbmgdDi12cOs','OS')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdDi18cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdDi18cOs,'dbmgdDi18cOs','OS')"/>
<el-input v-model="formListValue.dbmgdDi18cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi18cOs,'dbmgdDi18cOs','OS')" />
</span>
</div>
</div>
@ -853,18 +992,22 @@
<div v-if="scope.row.dbmgdGao.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdGao3cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdGao3cOs,'dbmgdGao3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdGao3cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao3cOs,'dbmgdGao3cOs','OS')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdGao6cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdGao6cOs,'dbmgdGao6cOs','OS')"/>
<el-input v-model="formListValue.dbmgdGao6cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao6cOs,'dbmgdGao6cOs','OS')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdGao12cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdGao12cOs,'dbmgdGao12cOs','OS')"/>
<el-input v-model="formListValue.dbmgdGao12cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao12cOs,'dbmgdGao12cOs','OS')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdGao18cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdGao18cOs,'dbmgdGao18cOs','OS')"/>
<el-input v-model="formListValue.dbmgdGao18cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao18cOs,'dbmgdGao18cOs','OS')" />
</span>
</div>
</div>
@ -872,18 +1015,22 @@
<div v-if="scope.row.dbmgdLiang.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdLiang3cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang3cOs,'dbmgdLiang3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdLiang3cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang3cOs,'dbmgdLiang3cOs','OS')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdLiang6cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang6cOs,'dbmgdLiang6cOs','OS')"/>
<el-input v-model="formListValue.dbmgdLiang6cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang6cOs,'dbmgdLiang6cOs','OS')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdLiang12cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang12cOs,'dbmgdLiang12cOs','OS')"/>
<el-input v-model="formListValue.dbmgdLiang12cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang12cOs,'dbmgdLiang12cOs','OS')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdLiang18cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang18cOs,'dbmgdLiang18cOs','OS')"/>
<el-input v-model="formListValue.dbmgdLiang18cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang18cOs,'dbmgdLiang18cOs','OS')" />
</span>
</div>
</div>
@ -1029,7 +1176,7 @@ export default {
intoTemplate,
operaCheckLookPdf
},
mixins: [operationedCheckRecordJS, base64Img, signGet, publicFile, refreshDate, htmlToPdfToBlob, yiXinQianSign,alertParams],
mixins: [operationedCheckRecordJS, base64Img, signGet, publicFile, refreshDate, htmlToPdfToBlob, yiXinQianSign, alertParams],
props: {
archiveCaseCRFItem: {
type: Object,
@ -1163,15 +1310,27 @@ export default {
zsCyCheckOs: '',
zsCyRemarkOs: '',
// --
zsWuganCheckOd:'',
zsWuganRemarkOd:'',
zsWuganCheckOs:'',
zsWuganRemarkOs:'',
zsWuganCheckOd: '',
zsWuganRemarkOd: '',
zsWuganCheckOs: '',
zsWuganRemarkOs: '',
// --
zsYslcCheckOd: '',
zsYslcRemarkOd: '',
zsYslcCheckOs: '',
zsYslcRemarkOs: '',
// --
zsJplCheckOd: '',
zsJplRemarkOd: '',
zsJplCheckOs: '',
zsJplRemarkOs: '',
// --
zsQtCheckOd: '',
zsQtRemarkOd: '',
zsQtCheckOs: '',
zsQtRemarkOs: '',
zsQtRemarkOdArr: [],
zsQtRemarkOdArr: [],
//
zsBsbcOd: '',
zsBsbcOs: '',
@ -1196,6 +1355,16 @@ export default {
zjygXtOs2: '',
zjygXtOs3: '',
zjygXtOs4: '',
//
zjygStOd1: '',
zjygStOd2: '',
zjygStOd3: '',
zjygStOd4: '',
zjygStOs1: '',
zjygStOs2: '',
zjygStOs3: '',
zjygStOs4: '',
zjygStDate: '',
//
yyOd1: '',
yyOd2: '',
@ -1314,8 +1483,8 @@ export default {
ykjcJintOd: '',
ykjcJintOs: '',
//
ykjcQtOd:'',
ykjcQtOs:'',
ykjcQtOd: '',
ykjcQtOs: '',
//
ykjcImgOd: '',
ykjcImgOs: '',
@ -1325,7 +1494,7 @@ export default {
//
zd: '',
//
clyj: '',
clyj: '请定期复查,及时复诊',
//
ysSign: '',
//
@ -1349,7 +1518,8 @@ export default {
blRecordid: '',
// 1:/() 2:3:/()4:,5:,6:,8:10:
formFlag: 2,
pinJieOperaName: ''
pinJieOperaName: '',
}
},
computed: {
@ -1559,6 +1729,10 @@ export default {
console.log(e, text)
this.formListValue[text] = e
},
zsSelectChange(e, text) {
console.log(e, text, e.join('、'))
this.formListValue[text] = e.length > 0 ? e.join('、') : ''
},
// img-editor.vue
fullImgBack(base64String, imgAlt, text) {
this.formListValue[text] = base64String
@ -1697,8 +1871,8 @@ export default {
// CA便
zsSplit(index) {
//
const zsOdcheck = ['zsYwg、异物感', 'zsYgss、眼干酸涩', 'zsWg、畏光', 'zsXg、眩光', 'zsYz、眼胀', 'zsYt、眼痛', 'zsSpl、视疲劳', 'zsMh、模糊', 'zsYy、眼痒', 'zsCy、重影', 'zsWugan、雾感','zsQt、其它']
const zsOscheck = ['zsYwg、异物感', 'zsYgss、眼干酸涩', 'zsWg、畏光', 'zsXg、眩光', 'zsYz、眼胀', 'zsYt、眼痛', 'zsSpl、视疲劳', 'zsMh、模糊', 'zsYy、眼痒', 'zsCy、重影', 'zsWugan、雾感','zsQt、其它']
const zsOdcheck = ['zsWugan、雾感', 'zsYslc、夜视力差', 'zsYwg、异物感', 'zsYgss、眼干酸涩', 'zsWg、畏光', 'zsXg、眩光', 'zsYz、眼胀', 'zsYt、眼痛', 'zsSpl、视疲劳', 'zsJpl、近疲劳', 'zsMh、模糊', 'zsYy、眼痒', 'zsCy、重影', 'zsQt、其它']
const zsOscheck = ['zsWugan、雾感', 'zsYslc、夜视力差', 'zsYwg、异物感', 'zsYgss、眼干酸涩', 'zsWg、畏光', 'zsXg、眩光', 'zsYz、眼胀', 'zsYt、眼痛', 'zsSpl、视疲劳', 'zsJpl、近疲劳', 'zsMh、模糊', 'zsYy、眼痒', 'zsCy、重影', 'zsQt、其它']
this.zsOdcheckArr = []
this.zsOscheckArr = []
zsOdcheck.forEach(item => {
@ -1762,12 +1936,12 @@ export default {
}
}
//
if ((row.nameClass === 'zs' || row.nameClass === 'lysl' || row.nameClass === 'dnyg' || row.nameClass === 'zjyg' || row.nameClass === 'yanya' || row.nameClass === 'jmdxt' || row.nameClass === 'ORA' || row.nameClass === 'ORA' || row.nameClass === 'yanzhou' || row.nameClass === 'npxbmd' || row.nameClass === 'octspZbjmhd' || row.nameClass === 'tsjc' || row.nameClass === 'amp' || row.nameClass === 'ykjc' || row.nameClass === 'zd' || row.nameClass === 'clyj' || row.nameClass === 'qz' || row.nameClass === 'bz' || row.nameClass === 'UCVA' || row.nameClass === 'BSCVA' || row.nameClass === 'notitle') && columnIndex === 0) {
if ((row.nameClass === 'zs' || row.nameClass === 'lysl' || row.nameClass === 'dnyg' || row.nameClass === 'zjyg' || row.nameClass === 'sthZjyg' || row.nameClass === 'yanya' || row.nameClass === 'jmdxt' || row.nameClass === 'ORA' || row.nameClass === 'ORA' || row.nameClass === 'yanzhou' || row.nameClass === 'npxbmd' || row.nameClass === 'octspZbjmhd' || row.nameClass === 'tsjc' || row.nameClass === 'amp' || row.nameClass === 'ykjc' || row.nameClass === 'zd' || row.nameClass === 'clyj' || row.nameClass === 'qz' || row.nameClass === 'bz' || row.nameClass === 'UCVA' || row.nameClass === 'BSCVA' || row.nameClass === 'notitle') && columnIndex === 0) {
return {
rowspan: 1,
colspan: 2
}
} else if ((row.nameClass === 'zs' || row.nameClass === 'lysl' || row.nameClass === 'dnyg' || row.nameClass === 'zjyg' || row.nameClass === 'yanya' || row.nameClass === 'jmdxt' || row.nameClass === 'ORA' || row.nameClass === 'ORA' || row.nameClass === 'yanzhou' || row.nameClass === 'npxbmd' || row.nameClass === 'octspZbjmhd' || row.nameClass === 'tsjc' || row.nameClass === 'amp' || row.nameClass === 'ykjc' || row.nameClass === 'zd' || row.nameClass === 'clyj' || row.nameClass === 'qz' || row.nameClass === 'bz' || row.nameClass === 'UCVA' || row.nameClass === 'BSCVA' || row.nameClass === 'notitle') && (columnIndex > 0 && columnIndex < 2)) {
} else if ((row.nameClass === 'zs' || row.nameClass === 'lysl' || row.nameClass === 'dnyg' || row.nameClass === 'zjyg' || row.nameClass === 'sthZjyg' || row.nameClass === 'yanya' || row.nameClass === 'jmdxt' || row.nameClass === 'ORA' || row.nameClass === 'ORA' || row.nameClass === 'yanzhou' || row.nameClass === 'npxbmd' || row.nameClass === 'octspZbjmhd' || row.nameClass === 'tsjc' || row.nameClass === 'amp' || row.nameClass === 'ykjc' || row.nameClass === 'zd' || row.nameClass === 'clyj' || row.nameClass === 'qz' || row.nameClass === 'bz' || row.nameClass === 'UCVA' || row.nameClass === 'BSCVA' || row.nameClass === 'notitle') && (columnIndex > 0 && columnIndex < 2)) {
// 0
return {
rowspan: 0,

565
src/components/H5form/qg-dzbl.vue

@ -4,6 +4,7 @@
:get-save-eidt-title="saveEidtTitle" :bl-button-show="true" :jcsj-button-show="true"
:edit-save-button-show="positionName.join().includes('医生') && formListValue.isConfirm !== 1 ? true : false"
:mzbl-title="archiveCaseCRFItem.formName==='屈光电子病历' ? '初诊门诊病历' :'术前复诊门诊病历'" :yjyr-button-show="true"
:yrNewblButtonShow="true"
:cancel-ca-button-show="formListValue.isConfirm === 1 && saveEidtTitle!=='保存' ? true : false"
:sure-ca-button-show="saveEidtTitle === '编辑' && formListValue.isConfirm === 0 && caOpenStatus? true :false" />
<!-- <div ref="qrCodeUrl" class="qrcode" /> -->
@ -472,9 +473,9 @@
<el-radio label="否认">否认</el-radio>
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.qtqgssRadio==='有'" class="textarea-710 flex-7">
<el-input v-model="formListValue.qtqgssInput" type="textarea" placeholder="" />
<span v-if="formListValue.qtqgssRadio==='有'" class="width-500 flex-7">
<el-input v-model="formListValue.qtqgssInput" placeholder="" />
</span>
</div>
</div>
<div class="margin-top-10">
@ -485,9 +486,9 @@
<el-radio label="否认">否认</el-radio>
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.ybykSssRadio==='有'" class="textarea-710 flex-7">
<el-input v-model="formListValue.ybykSssInput" type="textarea" placeholder="" />
<span v-if="formListValue.ybykSssRadio==='有'" class="width-500 flex-7">
<el-input v-model="formListValue.ybykSssInput" placeholder="" />
</span>
</div>
</div>
<div class="margin-top-10">
@ -536,24 +537,28 @@
<el-radio label="否认">否认</el-radio>
<el-radio label="有"></el-radio>
</el-radio-group>
<span v-if="formListValue.wsOperaRadio==='有'" class="width-500 flex-7">
<el-input v-model="formListValue.wsOperaInput" placeholder="" />
</span>
</div>
<div v-if="formListValue.wsOperaRadio==='有'" class="textarea-710 flex-7">
<el-input v-model="formListValue.wsOperaInput" maxlength="150" show-word-limit type="textarea"
placeholder="" />
</div>
</div>
<div class="margin-top-10">
<div class="flex-7">
药物过敏史
食物和药物过敏史
<el-radio-group v-model="formListValue.ywgmsRadio" class="margin-left-6"
@change="radioChange('ywgmsRadio')">
<el-radio label="否认">否认</el-radio>
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.ywgmsRadio==='有'" class="textarea-710 flex-7">
<el-input v-model="formListValue.ywgmsInput" maxlength="150" show-word-limit type="textarea"
placeholder="" />
<div v-if="formListValue.ywgmsRadio==='有'" class="flex-2">
<el-checkbox-group v-model="formListValue.ywgmsCheck" @change="checkChange('ywgmsCheck')">
<el-checkbox v-for="(item,index) in swywGmsList" :key="index" :label="item" />
</el-checkbox-group>
<div v-if="formListValue.ywgmsCheck.includes('其它')" class="flex-7 width-180">
<el-input v-model="formListValue.ywgmsInput" placeholder="" />
</div>
</div>
</div>
<div class="margin-top-10">
@ -564,10 +569,9 @@
<el-radio label="否认">否认</el-radio>
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.bhtzRadio==='有'" class="textarea-710 flex-7">
<el-input v-model="formListValue.bhtzInput" maxlength="150" show-word-limit type="textarea"
placeholder="" />
<span v-if="formListValue.bhtzRadio==='有'" class="width-500 flex-7">
<el-input v-model="formListValue.bhtzInput" placeholder="" />
</span>
</div>
</div>
<div class="margin-top-10">
@ -579,17 +583,89 @@
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.qtbsRadio==='有'" class="width-240 flex-7">
<div v-if="formListValue.qtbsRadio==='有'" class="displayInline">
<el-checkbox-group v-model="formListValue.qtbsCheck"
@change="checkChange('qtbsCheck','qtbsBeizhu')">
<el-checkbox v-for="(item,index) in historyList" :key="index" :label="item" />
<span v-for="(item,index) in historyList" :key="index">
<el-checkbox :label="item" />
<span v-if="formListValue.qtbsCheck.includes('甲亢') && item==='甲亢'" class="width-40">
<el-input v-model="formListValue.qtbsJkInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJkUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJkUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('甲减') && item==='甲减'" class="width-40">
<el-input v-model="formListValue.qtbsJjInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJjUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJjUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('高血压') && item==='高血压'" class="width-40">
<el-input v-model="formListValue.qtbsGxyInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsGxyUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsGxyUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('抑郁') && item==='抑郁'" class="width-40">
<el-input v-model="formListValue.qtbsYyInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsYyUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsYyUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('焦虑') && item==='焦虑'" class="width-40">
<el-input v-model="formListValue.qtbsJlInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJlUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJlUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('糖尿病') && item==='糖尿病'" class="width-40">
<el-input v-model="formListValue.qtbsTnbInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsTnbUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsTnbUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('其它') && item==='其它'" class="width-180">
<el-input v-model="formListValue.qtbsInput" placeholder="" />
</span>
</span>
</el-checkbox-group>
</div>
<div v-if="formListValue.qtbsCheck.includes('其它')" class="textarea-710 flex-7">
其它
<el-input v-model="formListValue.qtbsInput" type="textarea" maxlength="150" show-word-limit
placeholder="" />
</div>
</div>
<div v-show="formListValue.qtbsRadio==='有'" class="textarea-710 flex-2">
<span>备注</span>
@ -606,12 +682,23 @@
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.fysRadio==='有'" class="flex-2">
<div v-if="formListValue.fysRadio==='有'" class="displayInline">
<el-checkbox-group v-model="formListValue.fysCheck" @change="checkChange('fysCheck','fysBeizhu')">
<el-checkbox v-for="(item,index) in bnFysList" :key="index" :label="item" />
<span v-for="(item,index) in bnFysList" :key="index">
<el-checkbox :label="item" />
<span v-if="formListValue.fysCheck.includes('激素类药物') && item==='激素类药物'" class="width-160">
<el-input v-model="formListValue.fysJislInput" placeholder="" />
</span>
<span v-if="formListValue.fysCheck.includes('精神类药物') && item==='精神类药物'" class="width-160">
<el-input v-model="formListValue.fysJingslInput" placeholder="" />
</span>
<span v-if="formListValue.fysCheck.includes('其它') && item==='其它'" class="width-160">
<el-input v-model="formListValue.fysInput" placeholder="" />
</span>
</span>
</el-checkbox-group>
</div>
<div v-if="formListValue.fysCheck.includes('激素类药物')" class="textarea-610 flex-7">
<!-- <div v-if="formListValue.fysCheck.includes('激素类药物')" class="textarea-610 flex-7">
激素类药物
<el-input v-model="formListValue.fysJislInput" type="textarea" maxlength="100" show-word-limit
placeholder="" />
@ -620,12 +707,12 @@
精神类药物
<el-input v-model="formListValue.fysJingslInput" type="textarea" maxlength="150" show-word-limit
placeholder="" />
</div>
<div v-if="formListValue.fysCheck.includes('其它')" class="textarea-610 flex-7">
</div> -->
<!-- <div v-if="formListValue.fysCheck.includes('其它')" class="textarea-610 flex-7">
其它
<el-input v-model="formListValue.fysInput" type="textarea" maxlength="150" show-word-limit
placeholder="" />
</div>
</div> -->
</div>
<div v-show="formListValue.fysRadio==='有'" class="textarea-610 flex-2">
<span>备注</span>
@ -641,10 +728,9 @@
<el-radio label="否认">否认</el-radio>
<el-radio label="有"></el-radio>
</el-radio-group>
</div>
<div v-if="formListValue.jzsRadio==='有'" class="textarea-710 flex-7">
<el-input v-model="formListValue.jzsInput" maxlength="150" show-word-limit type="textarea"
placeholder="" />
<span v-if="formListValue.jzsRadio==='有'" class="width-500 flex-7">
<el-input v-model="formListValue.jzsInput" maxlength="150" placeholder="" />
</span>
</div>
</div>
</div>
@ -708,61 +794,88 @@
</div>
<!-- 裸眼远//常用戴镜视力 -->
<div v-if="scope.row.shiliM.length>0" class="width-70 center">
<el-input v-model="formListValue.slLyYuanMingOd" placeholder="" :class="classComputedSet(formListValue.slLyYuanMingOd,'slLyYuanMingOd','OD')"/> /
<el-input v-model="formListValue.slLyJinMingOd" placeholder="" :class="classComputedSet(formListValue.slLyJinMingOd,'slLyJinMingOd','OD')"/> /
<el-input v-model="formListValue.slDjMingOd" placeholder="" :class="classComputedSet(formListValue.slDjMingOd,'slDjMingOd','OD')"/>
<el-input v-model="formListValue.slLyYuanMingOd" placeholder=""
:class="classComputedSet(formListValue.slLyYuanMingOd,'slLyYuanMingOd','OD')" /> /
<el-input v-model="formListValue.slLyJinMingOd" placeholder=""
:class="classComputedSet(formListValue.slLyJinMingOd,'slLyJinMingOd','OD')" /> /
<el-input v-model="formListValue.slDjMingOd" placeholder=""
:class="classComputedSet(formListValue.slDjMingOd,'slDjMingOd','OD')" />
</div>
<!-- 裸眼远//常用戴镜视力 -->
<div v-if="scope.row.shiliAn.length>0" class="width-70 center">
<el-input v-model="formListValue.slLyYuanAnOd" placeholder="" :class="classComputedSet(formListValue.slLyYuanAnOd,'slLyYuanAnOd','OD')"/> /
<el-input v-model="formListValue.slLyJinAnOd" placeholder="" :class="classComputedSet(formListValue.slLyJinAnOd,'slLyJinAnOd','OD')"/> /
<el-input v-model="formListValue.slDjAnOd" placeholder="" :class="classComputedSet(formListValue.slDjAnOd,'slDjAnOd','OD')"/>
<el-input v-model="formListValue.slLyYuanAnOd" placeholder=""
:class="classComputedSet(formListValue.slLyYuanAnOd,'slLyYuanAnOd','OD')" /> /
<el-input v-model="formListValue.slLyJinAnOd" placeholder=""
:class="classComputedSet(formListValue.slLyJinAnOd,'slLyJinAnOd','OD')" /> /
<el-input v-model="formListValue.slDjAnOd" placeholder=""
:class="classComputedSet(formListValue.slDjAnOd,'slDjAnOd','OD')" />
</div>
<!-- 现镜度数 -->
<div v-if="scope.row.xjds.length>0" class="center width-70">
<el-input v-model="formListValue.xjdsOd1" placeholder="" :class="classComputedSet(formListValue.xjdsOd1,'xjdsOd1','OD')"/> /
<el-input v-model="formListValue.xjdsOd2" placeholder="" :class="classComputedSet(formListValue.xjdsOd2,'xjdsOd2','OD')"/> X
<el-input v-model="formListValue.xjdsOd3" placeholder="" :class="classComputedSet(formListValue.xjdsOd3,'xjdsOd3','OD')"/>
<el-input v-model="formListValue.xjdsOd1" placeholder=""
:class="classComputedSet(formListValue.xjdsOd1,'xjdsOd1','OD')" /> /
<el-input v-model="formListValue.xjdsOd2" placeholder=""
:class="classComputedSet(formListValue.xjdsOd2,'xjdsOd2','OD')" /> X
<el-input v-model="formListValue.xjdsOd3" placeholder=""
:class="classComputedSet(formListValue.xjdsOd3,'xjdsOd3','OD')" />
</div>
<!-- 电脑验光 小瞳-->
<div v-if="scope.row.dnygOne.length>0" class="width-70 center">
<el-input v-model="formListValue.dnygXtOd1" placeholder="" :class="classComputedSet(formListValue.dnygXtOd1,'dnygXtOd1','OD')"/> /
<el-input v-model="formListValue.dnygXtOd2" placeholder="" :class="classComputedSet(formListValue.dnygXtOd2,'dnygXtOd2','OD')"/> X
<el-input v-model="formListValue.dnygXtOd3" placeholder="" :class="classComputedSet(formListValue.dnygXtOd3,'dnygXtOd3','OD')"/>
<el-input v-model="formListValue.dnygXtOd1" placeholder=""
:class="classComputedSet(formListValue.dnygXtOd1,'dnygXtOd1','OD')" /> /
<el-input v-model="formListValue.dnygXtOd2" placeholder=""
:class="classComputedSet(formListValue.dnygXtOd2,'dnygXtOd2','OD')" /> X
<el-input v-model="formListValue.dnygXtOd3" placeholder=""
:class="classComputedSet(formListValue.dnygXtOd3,'dnygXtOd3','OD')" />
</div>
<!-- 电脑验光 散瞳-->
<div v-if="scope.row.dnygTwo.length>0" class="width-70 center">
<el-input v-model="formListValue.dnygStOd1" placeholder="" :class="classComputedSet(formListValue.dnygStOd1,'dnygStOd1','OD')"/> /
<el-input v-model="formListValue.dnygStOd2" placeholder="" :class="classComputedSet(formListValue.dnygStOd2,'dnygStOd2','OD')"/> X
<el-input v-model="formListValue.dnygStOd3" placeholder="" :class="classComputedSet(formListValue.dnygStOd3,'dnygStOd3','OD')"/>
<el-input v-model="formListValue.dnygStOd1" placeholder=""
:class="classComputedSet(formListValue.dnygStOd1,'dnygStOd1','OD')" /> /
<el-input v-model="formListValue.dnygStOd2" placeholder=""
:class="classComputedSet(formListValue.dnygStOd2,'dnygStOd2','OD')" /> X
<el-input v-model="formListValue.dnygStOd3" placeholder=""
:class="classComputedSet(formListValue.dnygStOd3,'dnygStOd3','OD')" />
</div>
<!-- 主觉验光 小瞳-->
<div v-if="scope.row.zjygOne.length>0" class="width-50 center">
<el-input v-model="formListValue.zjygXtOd1" placeholder="" @change="zjygChange('zjygXtOd1')" :class="classComputedSet(formListValue.zjygXtOd1,'zjygXtOd1','OD')"/> /
<el-input v-model="formListValue.zjygXtOd2" placeholder="" @change="zjygChange('zjygXtOd2')" :class="classComputedSet(formListValue.zjygXtOd2,'zjygXtOd2','OD')"/> X
<el-input v-model="formListValue.zjygXtOd3" placeholder="" @change="zjygChange('zjygXtOd3')" :class="classComputedSet(formListValue.zjygXtOd3,'zjygXtOd3','OD')"/>=
<el-input v-model="formListValue.zjygXtOd4" placeholder="" @change="zjygChange('zjygXtOd4')" :class="classComputedSet(formListValue.zjygXtOd4,'zjygXtOd4','OD')"/>
<el-input v-model="formListValue.zjygXtOd1" placeholder="" @change="zjygChange('zjygXtOd1')"
:class="classComputedSet(formListValue.zjygXtOd1,'zjygXtOd1','OD')" /> /
<el-input v-model="formListValue.zjygXtOd2" placeholder="" @change="zjygChange('zjygXtOd2')"
:class="classComputedSet(formListValue.zjygXtOd2,'zjygXtOd2','OD')" /> X
<el-input v-model="formListValue.zjygXtOd3" placeholder="" @change="zjygChange('zjygXtOd3')"
:class="classComputedSet(formListValue.zjygXtOd3,'zjygXtOd3','OD')" />=
<el-input v-model="formListValue.zjygXtOd4" placeholder="" @change="zjygChange('zjygXtOd4')"
:class="classComputedSet(formListValue.zjygXtOd4,'zjygXtOd4','OD')" />
</div>
<!-- 主觉验光 散瞳-->
<div v-if="scope.row.zjygTwo.length>0" class="width-50 center">
<el-input v-model="formListValue.zjygStOd1" placeholder="" @change="zjygChange('zjygStOd1')" :class="classComputedSet(formListValue.zjygStOd1,'zjygStOd1','OD')"/> /
<el-input v-model="formListValue.zjygStOd2" placeholder="" @change="zjygChange('zjygStOd2')" :class="classComputedSet(formListValue.zjygStOd2,'zjygStOd2','OD')"/> X
<el-input v-model="formListValue.zjygStOd3" placeholder="" @change="zjygChange('zjygStOd3')" :class="classComputedSet(formListValue.zjygStOd3,'zjygStOd3','OD')"/>=
<el-input v-model="formListValue.zjygStOd4" placeholder="" @change="zjygChange('zjygStOd4')" :class="classComputedSet(formListValue.zjygStOd4,'zjygStOd4','OD')"/>
<el-input v-model="formListValue.zjygStOd1" placeholder="" @change="zjygChange('zjygStOd1')"
:class="classComputedSet(formListValue.zjygStOd1,'zjygStOd1','OD')" /> /
<el-input v-model="formListValue.zjygStOd2" placeholder="" @change="zjygChange('zjygStOd2')"
:class="classComputedSet(formListValue.zjygStOd2,'zjygStOd2','OD')" /> X
<el-input v-model="formListValue.zjygStOd3" placeholder="" @change="zjygChange('zjygStOd3')"
:class="classComputedSet(formListValue.zjygStOd3,'zjygStOd3','OD')" />=
<el-input v-model="formListValue.zjygStOd4" placeholder="" @change="zjygChange('zjygStOd4')"
:class="classComputedSet(formListValue.zjygStOd4,'zjygStOd4','OD')" />
</div>
<!--Amp-->
<div v-if="scope.row.Amp.length>0" class="width-80 center">
<span class="padding-right-10">OD:
<el-input v-model="formListValue.ampOd" placeholder="" :class="classComputedSet(formListValue.ampOd,'ampOd','OD')"/>D
<el-input v-model="formListValue.ampOd" placeholder=""
:class="classComputedSet(formListValue.ampOd,'ampOd','OD')" />D
</span>
<span class="padding-right-10">OS:
<el-input v-model="formListValue.ampOs" placeholder="" :class="classComputedSet(formListValue.ampOs,'ampOs','OS')"/>D
<el-input v-model="formListValue.ampOs" placeholder=""
:class="classComputedSet(formListValue.ampOs,'ampOs','OS')" />D
</span>
<span class="padding-right-10">OU:
<el-input v-model="formListValue.ampOu" placeholder="" :class="classComputedSet(formListValue.ampOu,'ampOu','OU')"/>D
<el-input v-model="formListValue.ampOu" placeholder=""
:class="classComputedSet(formListValue.ampOu,'ampOu','OU')" />D
</span>
<span class="padding-right-10">Add:
<el-input v-model="formListValue.ampAdd" placeholder="" :class="classComputedSet(formListValue.ampAdd,'ampAdd','other')"/>D
<el-input v-model="formListValue.ampAdd" placeholder=""
:class="classComputedSet(formListValue.ampAdd,'ampAdd','other')" />D
</span>
</div>
<!-- 是否显示对比敏感度 -->
@ -771,18 +884,22 @@
<div v-if="scope.row.dbmgdAn.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdAn3cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdAn3cOd,'dbmgdAn3cOd','OD')"/>
<el-input v-model="formListValue.dbmgdAn3cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn3cOd,'dbmgdAn3cOd','OD')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdAn6cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdAn6cOd,'dbmgdAn6cOd','OD')"/>
<el-input v-model="formListValue.dbmgdAn6cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn6cOd,'dbmgdAn6cOd','OD')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdAn12cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdAn12cOd,'dbmgdAn12cOd','OD')"/>
<el-input v-model="formListValue.dbmgdAn12cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn12cOd,'dbmgdAn12cOd','OD')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdAn18cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdAn18cOd,'dbmgdAn18cOd','OD')"/>
<el-input v-model="formListValue.dbmgdAn18cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn18cOd,'dbmgdAn18cOd','OD')" />
</span>
</div>
</div>
@ -790,18 +907,22 @@
<div v-if="scope.row.dbmgdDi.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdDi3cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdDi3cOd,'dbmgdDi3cOd','OD')"/>
<el-input v-model="formListValue.dbmgdDi3cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi3cOd,'dbmgdDi3cOd','OD')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdDi6cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdDi6cOd,'dbmgdDi6cOd','OD')"/>
<el-input v-model="formListValue.dbmgdDi6cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi6cOd,'dbmgdDi6cOd','OD')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdDi12cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdDi12cOd,'dbmgdDi12cOd','OD')"/>
<el-input v-model="formListValue.dbmgdDi12cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi12cOd,'dbmgdDi12cOd','OD')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdDi18cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdDi18cOd,'dbmgdDi18cOd','OD')"/>
<el-input v-model="formListValue.dbmgdDi18cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi18cOd,'dbmgdDi18cOd','OD')" />
</span>
</div>
</div>
@ -809,18 +930,22 @@
<div v-if="scope.row.dbmgdGao.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdGao3cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdGao3cOd,'dbmgdGao3cOd','OD')"/>
<el-input v-model="formListValue.dbmgdGao3cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao3cOd,'dbmgdGao3cOd','OD')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdGao6cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdGao6cOd,'dbmgdGao6cOd','OD')"/>
<el-input v-model="formListValue.dbmgdGao6cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao6cOd,'dbmgdGao6cOd','OD')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdGao12cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdGao12cOd,'dbmgdGao12cOd','OD')"/>
<el-input v-model="formListValue.dbmgdGao12cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao12cOd,'dbmgdGao12cOd','OD')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdGao18cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdGao18cOd,'dbmgdGao18cOd','OD')"/>
<el-input v-model="formListValue.dbmgdGao18cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao18cOd,'dbmgdGao18cOd','OD')" />
</span>
</div>
</div>
@ -828,18 +953,22 @@
<div v-if="scope.row.dbmgdLiang.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdLiang3cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang3cOd,'dbmgdLiang3cOd','OD')"/>
<el-input v-model="formListValue.dbmgdLiang3cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang3cOd,'dbmgdLiang3cOd','OD')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdLiang6cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang6cOd,'dbmgdLiang6cOd','OD')"/>
<el-input v-model="formListValue.dbmgdLiang6cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang6cOd,'dbmgdLiang6cOd','OD')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdLiang12cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang12cOd,'dbmgdLiang12cOd','OD')"/>
<el-input v-model="formListValue.dbmgdLiang12cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang12cOd,'dbmgdLiang12cOd','OD')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdLiang18cOd" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang18cOd,'dbmgdLiang18cOd','OD')"/>
<el-input v-model="formListValue.dbmgdLiang18cOd" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang18cOd,'dbmgdLiang18cOd','OD')" />
</span>
</div>
</div>
@ -847,29 +976,37 @@
<div v-if="scope.row.jmdxt.length>0" class="left">
<div class="width-60">
K2
<el-input v-model="formListValue.jmdxtOd1" placeholder="" :class="classComputedSet(formListValue.jmdxtOd1,'jmdxtOd1','OD')" />
<el-input v-model="formListValue.jmdxtOd1" placeholder=""
:class="classComputedSet(formListValue.jmdxtOd1,'jmdxtOd1','OD')" />
/
K1
<el-input v-model="formListValue.jmdxtOd2" placeholder="" :class="classComputedSet(formListValue.jmdxtOd2,'jmdxtOd2','OD')"/>@
<el-input v-model="formListValue.jmdxtOd3" placeholder="" :class="classComputedSet(formListValue.jmdxtOd3,'jmdxtOd3','OD')"/>
<el-input v-model="formListValue.jmdxtOd2" placeholder=""
:class="classComputedSet(formListValue.jmdxtOd2,'jmdxtOd2','OD')" />@
<el-input v-model="formListValue.jmdxtOd3" placeholder=""
:class="classComputedSet(formListValue.jmdxtOd3,'jmdxtOd3','OD')" />
</div>
<div class="width-80">
ACD
<el-input v-model="formListValue.jmdxtAcdOd" placeholder="" :class="classComputedSet(formListValue.jmdxtAcdOd,'jmdxtAcdOd','OD')"/>mm
<el-input v-model="formListValue.jmdxtAcdOd" placeholder=""
:class="classComputedSet(formListValue.jmdxtAcdOd,'jmdxtAcdOd','OD')" />mm
</div>
</div>
<!-- offsetXY -->
<div v-if="scope.row.offsetXY.length>0" class="center width-100">
X
<el-input v-model="formListValue.offsetXOd" placeholder="" :class="classComputedSet(formListValue.offsetXOd,'offsetXOd','OD')"/>
<el-input v-model="formListValue.offsetXOd" placeholder=""
:class="classComputedSet(formListValue.offsetXOd,'offsetXOd','OD')" />
Y
<el-input v-model="formListValue.offsetYOd" placeholder="" :class="classComputedSet(formListValue.offsetYOd,'offsetYOd','OD')"/>
<el-input v-model="formListValue.offsetYOd" placeholder=""
:class="classComputedSet(formListValue.offsetYOd,'offsetYOd','OD')" />
</div>
<!-- offset -->
<div v-if="scope.row.offset.length>0" class="center width-100">
R
<el-input v-model="formListValue.offsetROd1" placeholder="" :class="classComputedSet(formListValue.offsetROd1,'offsetROd1','OD')"/> @
<el-input v-model="formListValue.offsetROd2" placeholder="" :class="classComputedSet(formListValue.offsetROd2,'offsetROd2','OD')"/>
<el-input v-model="formListValue.offsetROd1" placeholder=""
:class="classComputedSet(formListValue.offsetROd1,'offsetROd1','OD')" /> @
<el-input v-model="formListValue.offsetROd2" placeholder=""
:class="classComputedSet(formListValue.offsetROd2,'offsetROd2','OD')" />
</div>
<!-- corvis -->
<!-- <div v-if="scope.row.corvis.length>0" class="left width-80">
@ -879,28 +1016,39 @@
</div> -->
<!--角膜直径-角膜厚度-->
<div v-if="scope.row.jmzjJmhd.length>0" class="width-100 center">
<el-input v-model="formListValue.jmzjOd" placeholder="" :class="classComputedSet(formListValue.jmzjOd,'jmzjOd','OD')"/> mm /
<el-input v-model="formListValue.jmhdOd" placeholder="" :class="classComputedSet(formListValue.jmhdOd,'jmhdOd','OD')" /> μm
<el-input v-model="formListValue.jmzjOd" placeholder=""
:class="classComputedSet(formListValue.jmzjOd,'jmzjOd','OD')" /> mm /
<el-input v-model="formListValue.jmhdOd" placeholder=""
:class="classComputedSet(formListValue.jmhdOd,'jmhdOd','OD')" /> μm
</div>
<!-- 眼压-->
<div v-if="scope.row.yanya.length>0" class="width-100 center">
<el-input v-model="formListValue.yyOd1" placeholder="" :class="classComputedSet(formListValue.yyOd1,'yyOd1','OD')"/>/
<el-input v-model="formListValue.yyOd2" placeholder="" :class="classComputedSet(formListValue.yyOd2,'yyOd2','OD')"/>mmHg@
<el-input v-model="formListValue.yyOd1" placeholder=""
:class="classComputedSet(formListValue.yyOd1,'yyOd1','OD')" />mmHg
<b>时间:{{formListValue.yyOdTime ? formListValue.yyOdTime : '-'}}</b>
<!-- <el-input v-model="formListValue.yyOd2" placeholder=""
:class="classComputedSet(formListValue.yyOd2,'yyOd2','OD')" />mmHg@ -->
</div>
<!-- 暗瞳直径 -->
<div v-if="scope.row.atzj.length>0" class="width-120 center">
<el-input v-model="formListValue.atzjOd" placeholder="" :class="classComputedSet(formListValue.atzjOd,'atzjOd','OD')"/> mm
<el-input v-model="formListValue.atzjOd" placeholder=""
:class="classComputedSet(formListValue.atzjOd,'atzjOd','OD')" /> mm
</div>
<!-- 眼轴-->
<div v-if="scope.row.yz.length>0" class="width-60 center">
<el-input v-model="formListValue.yzAlOd" placeholder="" :class="classComputedSet(formListValue.yzAlOd,'yzAlOd','OD')"/>mm/
<el-input v-model="formListValue.yzWwOd" placeholder="" :class="classComputedSet(formListValue.yzWwOd,'yzWwOd','OD')"/>mm/
<el-input v-model="formListValue.yzLtOd" placeholder="" :class="classComputedSet(formListValue.yzLtOd,'yzLtOd','OD')"/>mm
<el-input v-model="formListValue.yzAlOd" placeholder=""
:class="classComputedSet(formListValue.yzAlOd,'yzAlOd','OD')" />mm/
<el-input v-model="formListValue.yzWwOd" placeholder=""
:class="classComputedSet(formListValue.yzWwOd,'yzWwOd','OD')" />mm/
<el-input v-model="formListValue.yzLtOd" placeholder=""
:class="classComputedSet(formListValue.yzLtOd,'yzLtOd','OD')" />mm
</div>
<!-- 内皮细胞密度/6A -->
<div v-if="scope.row.npxbmd.length>0" class="width-80 center">
<el-input v-model="formListValue.npxbmdOd1" placeholder="" :class="classComputedSet(formListValue.npxbmdOd1,'npxbmdOd1','OD')"/>/mm2 /
<el-input v-model="formListValue.npxbmdOd2" placeholder="" :class="classComputedSet(formListValue.npxbmdOd2,'npxbmdOd2','OD')"/>%
<el-input v-model="formListValue.npxbmdOd1" placeholder=""
:class="classComputedSet(formListValue.npxbmdOd1,'npxbmdOd1','OD')" />/mm2 /
<el-input v-model="formListValue.npxbmdOd2" placeholder=""
:class="classComputedSet(formListValue.npxbmdOd2,'npxbmdOd2','OD')" />%
</div>
<!-- OCT上皮/最薄角膜厚度 -->
<!-- <div v-if="scope.row.octspZbjmhd.length>0" class="width-100 center">
@ -1046,18 +1194,17 @@
<el-option v-for="(item,index) in huangbanList" :key="index" :label="item" :value="item" />
</el-select>
</div>
<div class="flex-2">
<!-- <div class="flex-2">
<span class="left" :class="saveEidtTitle==='保存' ? 'cursor title-width-70':'title-width-60'"
@dblclick="saveEidtTitle==='保存' && templateLook('stydjcXuegOd','array')">
血管
<!-- <i v-show="saveEidtTitle==='保存'" class="el-icon-s-operation" /> -->
</span>
<el-select v-model="formListValue.stydjcXuegOd" multiple allow-create filterable
default-first-option placeholder=""
@change="selectChange($event,'stydjcXuegOd','stydjcSign','stydjcDate')">
<el-option v-for="(item,index) in xueguanList" :key="index" :label="item" :value="item" />
</el-select>
</div>
</div> -->
<div class="flex-2">
<span class="left" :class="saveEidtTitle==='保存' ? 'cursor title-width-70':'title-width-60'"
@dblclick="saveEidtTitle==='保存' && templateLook('stydjcShiwmOd','array')">
@ -1091,7 +1238,7 @@
<!-- 诊断-->
<div v-if="scope.row.zhenduan.length>0" class="textarea-550 center flex-2">
<el-input v-model="formListValue.zd" type="textarea" :autosize="{ minRows: 1}" placeholder=""
class="margin-right-6" />
class="margin-right-6" />
<!-- <span class="padding-left-6 left">{{ formListValue.zd ? formListValue.zd : '-' }}</span> -->
<!-- <span>眼别</span>
<el-radio-group v-model="formListValue.zdEyeType">
@ -1166,53 +1313,77 @@
</div>
<!-- 裸眼远//常用戴镜视力 -->
<div v-if="scope.row.shiliM.length>0" class="width-70 center">
<el-input v-model="formListValue.slLyYuanMingOs" placeholder="" :class="classComputedSet(formListValue.slLyYuanMingOs,'slLyYuanMingOs','OS')"/> /
<el-input v-model="formListValue.slLyJinMingOs" placeholder="" :class="classComputedSet(formListValue.slLyJinMingOs,'slLyJinMingOs','OS')"/> /
<el-input v-model="formListValue.slDjMingOs" placeholder="" :class="classComputedSet(formListValue.slDjMingOs,'slDjMingOs','OS')"/>
<el-input v-model="formListValue.slLyYuanMingOs" placeholder=""
:class="classComputedSet(formListValue.slLyYuanMingOs,'slLyYuanMingOs','OS')" /> /
<el-input v-model="formListValue.slLyJinMingOs" placeholder=""
:class="classComputedSet(formListValue.slLyJinMingOs,'slLyJinMingOs','OS')" /> /
<el-input v-model="formListValue.slDjMingOs" placeholder=""
:class="classComputedSet(formListValue.slDjMingOs,'slDjMingOs','OS')" />
</div>
<!-- 裸眼远//常用戴镜视力 -->
<div v-if="scope.row.shiliAn.length>0" class="width-70 center">
<el-input v-model="formListValue.slLyYuanAnOs" placeholder="" :class="classComputedSet(formListValue.slLyYuanAnOs,'slLyYuanAnOs','OS')"/> /
<el-input v-model="formListValue.slLyJinAnOs" placeholder="" :class="classComputedSet(formListValue.slLyJinAnOs,'slLyJinAnOs','OS')"/> /
<el-input v-model="formListValue.slDjAnOs" placeholder="" :class="classComputedSet(formListValue.slDjAnOs,'slDjAnOs','OS')"/>
<el-input v-model="formListValue.slLyYuanAnOs" placeholder=""
:class="classComputedSet(formListValue.slLyYuanAnOs,'slLyYuanAnOs','OS')" /> /
<el-input v-model="formListValue.slLyJinAnOs" placeholder=""
:class="classComputedSet(formListValue.slLyJinAnOs,'slLyJinAnOs','OS')" /> /
<el-input v-model="formListValue.slDjAnOs" placeholder=""
:class="classComputedSet(formListValue.slDjAnOs,'slDjAnOs','OS')" />
</div>
<!-- 现镜度数 -->
<div v-if="scope.row.xjds.length>0" class="center width-70">
<el-input v-model="formListValue.xjdsOs1" placeholder="" :class="classComputedSet(formListValue.xjdsOs1,'xjdsOs1','OS')"/> /
<el-input v-model="formListValue.xjdsOs2" placeholder="" :class="classComputedSet(formListValue.xjdsOs2,'xjdsOs2','OS')"/> X
<el-input v-model="formListValue.xjdsOs3" placeholder="" :class="classComputedSet(formListValue.xjdsOs3,'xjdsOs3','OS')"/>
<el-input v-model="formListValue.xjdsOs1" placeholder=""
:class="classComputedSet(formListValue.xjdsOs1,'xjdsOs1','OS')" /> /
<el-input v-model="formListValue.xjdsOs2" placeholder=""
:class="classComputedSet(formListValue.xjdsOs2,'xjdsOs2','OS')" /> X
<el-input v-model="formListValue.xjdsOs3" placeholder=""
:class="classComputedSet(formListValue.xjdsOs3,'xjdsOs3','OS')" />
</div>
<!-- 电脑验光 小瞳-->
<div v-if="scope.row.dnygOne.length>0" class="center">
<span class="width-70">
<el-input v-model="formListValue.dnygXtOs1" placeholder="" :class="classComputedSet(formListValue.dnygXtOs1,'dnygXtOs1','OS')"/> /
<el-input v-model="formListValue.dnygXtOs2" placeholder="" :class="classComputedSet(formListValue.dnygXtOs2,'dnygXtOs2','OS')"/> X
<el-input v-model="formListValue.dnygXtOs3" placeholder="" :class="classComputedSet(formListValue.dnygXtOs3,'dnygXtOs3','OS')"/>
<el-input v-model="formListValue.dnygXtOs1" placeholder=""
:class="classComputedSet(formListValue.dnygXtOs1,'dnygXtOs1','OS')" /> /
<el-input v-model="formListValue.dnygXtOs2" placeholder=""
:class="classComputedSet(formListValue.dnygXtOs2,'dnygXtOs2','OS')" /> X
<el-input v-model="formListValue.dnygXtOs3" placeholder=""
:class="classComputedSet(formListValue.dnygXtOs3,'dnygXtOs3','OS')" />
</span>
<div class="width-120">
PD =
<el-input v-model="formListValue.dnygXtOs4" placeholder="" :class="classComputedSet(formListValue.dnygXtOs4,'dnygXtOs4','OS')"/>mm
<el-input v-model="formListValue.dnygXtOs4" placeholder=""
:class="classComputedSet(formListValue.dnygXtOs4,'dnygXtOs4','OS')" />mm
</div>
</div>
<!-- 电脑验光 散瞳-->
<div v-if="scope.row.dnygTwo.length>0" class="width-70 center">
<el-input v-model="formListValue.dnygStOs1" placeholder="" :class="classComputedSet(formListValue.dnygStOs1,'dnygStOs1','OS')"/> /
<el-input v-model="formListValue.dnygStOs2" placeholder="" :class="classComputedSet(formListValue.dnygStOs2,'dnygStOs2','OS')"/> X
<el-input v-model="formListValue.dnygStOs3" placeholder="" :class="classComputedSet(formListValue.dnygStOs3,'dnygStOs3','OS')"/>
<el-input v-model="formListValue.dnygStOs1" placeholder=""
:class="classComputedSet(formListValue.dnygStOs1,'dnygStOs1','OS')" /> /
<el-input v-model="formListValue.dnygStOs2" placeholder=""
:class="classComputedSet(formListValue.dnygStOs2,'dnygStOs2','OS')" /> X
<el-input v-model="formListValue.dnygStOs3" placeholder=""
:class="classComputedSet(formListValue.dnygStOs3,'dnygStOs3','OS')" />
</div>
<!-- 主觉验光 小瞳-->
<div v-if="scope.row.zjygOne.length>0" class="width-50 center">
<el-input v-model="formListValue.zjygXtOs1" placeholder="" @change="zjygChange('zjygXtOs1')" :class="classComputedSet(formListValue.zjygXtOs1,'zjygXtOs1','OS')"/> /
<el-input v-model="formListValue.zjygXtOs2" placeholder="" @change="zjygChange('zjygXtOs2')" :class="classComputedSet(formListValue.zjygXtOs2,'zjygXtOs2','OS')"/> X
<el-input v-model="formListValue.zjygXtOs3" placeholder="" @change="zjygChange('zjygXtOs3')" :class="classComputedSet(formListValue.zjygXtOs3,'zjygXtOs3','OS')"/>=
<el-input v-model="formListValue.zjygXtOs4" placeholder="" @change="zjygChange('zjygXtOs4')" :class="classComputedSet(formListValue.zjygXtOs4,'zjygXtOs4','OS')"/>
<el-input v-model="formListValue.zjygXtOs1" placeholder="" @change="zjygChange('zjygXtOs1')"
:class="classComputedSet(formListValue.zjygXtOs1,'zjygXtOs1','OS')" /> /
<el-input v-model="formListValue.zjygXtOs2" placeholder="" @change="zjygChange('zjygXtOs2')"
:class="classComputedSet(formListValue.zjygXtOs2,'zjygXtOs2','OS')" /> X
<el-input v-model="formListValue.zjygXtOs3" placeholder="" @change="zjygChange('zjygXtOs3')"
:class="classComputedSet(formListValue.zjygXtOs3,'zjygXtOs3','OS')" />=
<el-input v-model="formListValue.zjygXtOs4" placeholder="" @change="zjygChange('zjygXtOs4')"
:class="classComputedSet(formListValue.zjygXtOs4,'zjygXtOs4','OS')" />
</div>
<!-- 主觉验光 散瞳-->
<div v-if="scope.row.zjygTwo.length>0" class="width-50 center">
<el-input v-model="formListValue.zjygStOs1" placeholder="" @change="zjygChange('zjygStOs1')" :class="classComputedSet(formListValue.zjygStOs1,'zjygStOs1','OS')"/> /
<el-input v-model="formListValue.zjygStOs2" placeholder="" @change="zjygChange('zjygStOs2')" :class="classComputedSet(formListValue.zjygStOs2,'zjygStOs2','OS')"/> X
<el-input v-model="formListValue.zjygStOs3" placeholder="" @change="zjygChange('zjygStOs3')" :class="classComputedSet(formListValue.zjygStOs3,'zjygStOs3','OS')"/>=
<el-input v-model="formListValue.zjygStOs4" placeholder="" @change="zjygChange('zjygStOs4')" :class="classComputedSet(formListValue.zjygStOs4,'zjygStOs4','OS')"/>
<el-input v-model="formListValue.zjygStOs1" placeholder="" @change="zjygChange('zjygStOs1')"
:class="classComputedSet(formListValue.zjygStOs1,'zjygStOs1','OS')" /> /
<el-input v-model="formListValue.zjygStOs2" placeholder="" @change="zjygChange('zjygStOs2')"
:class="classComputedSet(formListValue.zjygStOs2,'zjygStOs2','OS')" /> X
<el-input v-model="formListValue.zjygStOs3" placeholder="" @change="zjygChange('zjygStOs3')"
:class="classComputedSet(formListValue.zjygStOs3,'zjygStOs3','OS')" />=
<el-input v-model="formListValue.zjygStOs4" placeholder="" @change="zjygChange('zjygStOs4')"
:class="classComputedSet(formListValue.zjygStOs4,'zjygStOs4','OS')" />
</div>
<!-- Amp-->
<div v-if="scope.row.Amp.length>0" class="center" />
@ -1222,18 +1393,22 @@
<div v-if="scope.row.dbmgdAn.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdAn3cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdAn3cOs,'dbmgdAn3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdAn3cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn3cOs,'dbmgdAn3cOs','OS')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdAn6cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdAn6cOs,'dbmgdAn6cOs','OS')"/>
<el-input v-model="formListValue.dbmgdAn6cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn6cOs,'dbmgdAn6cOs','OS')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdAn12cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdAn12cOs,'dbmgdAn12cOs','OS')"/>
<el-input v-model="formListValue.dbmgdAn12cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn12cOs,'dbmgdAn12cOs','OS')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdAn18cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdAn18cOs,'dbmgdAn18cOs','OS')"/>
<el-input v-model="formListValue.dbmgdAn18cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdAn18cOs,'dbmgdAn18cOs','OS')" />
</span>
</div>
</div>
@ -1241,18 +1416,22 @@
<div v-if="scope.row.dbmgdDi.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdDi3cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdDi3cOs,'dbmgdDi3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdDi3cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi3cOs,'dbmgdDi3cOs','OS')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdDi6cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdDi6cOs,'dbmgdDi6cOs','OS')"/>
<el-input v-model="formListValue.dbmgdDi6cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi6cOs,'dbmgdDi6cOs','OS')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdDi12cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdDi12cOs,'dbmgdDi12cOs','OS')"/>
<el-input v-model="formListValue.dbmgdDi12cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi12cOs,'dbmgdDi12cOs','OS')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdDi18cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdDi18cOs,'dbmgdDi18cOs','OS')"/>
<el-input v-model="formListValue.dbmgdDi18cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdDi18cOs,'dbmgdDi18cOs','OS')" />
</span>
</div>
</div>
@ -1260,18 +1439,22 @@
<div v-if="scope.row.dbmgdGao.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdGao3cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdGao3cOs,'dbmgdGao3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdGao3cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao3cOs,'dbmgdGao3cOs','OS')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdGao6cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdGao6cOs,'dbmgdGao6cOs','OS')"/>
<el-input v-model="formListValue.dbmgdGao6cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao6cOs,'dbmgdGao6cOs','OS')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdGao12cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdGao12cOs,'dbmgdGao12cOs','OS')"/>
<el-input v-model="formListValue.dbmgdGao12cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao12cOs,'dbmgdGao12cOs','OS')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdGao18cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdGao18cOs,'dbmgdGao18cOs','OS')"/>
<el-input v-model="formListValue.dbmgdGao18cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdGao18cOs,'dbmgdGao18cOs','OS')" />
</span>
</div>
</div>
@ -1279,18 +1462,22 @@
<div v-if="scope.row.dbmgdLiang.length>0" class="width-80 center">
<div>
<span class="padding-right-10">3c/d:
<el-input v-model="formListValue.dbmgdLiang3cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang3cOs,'dbmgdLiang3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdLiang3cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang3cOs,'dbmgdLiang3cOs','OS')" />
</span>
<span class="padding-right-10">6c/d:
<el-input v-model="formListValue.dbmgdLiang6cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang3cOs,'dbmgdLiang3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdLiang6cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang6cOs,'dbmgdLiang6cOs','OS')" />
</span>
</div>
<div>
<span class="padding-right-10">12c/d:
<el-input v-model="formListValue.dbmgdLiang12cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang3cOs,'dbmgdLiang3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdLiang12cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang12cOs,'dbmgdLiang12cOs','OS')" />
</span>
<span class="padding-right-10">18c/d:
<el-input v-model="formListValue.dbmgdLiang18cOs" placeholder="" :class="classComputedSet(formListValue.dbmgdLiang3cOs,'dbmgdLiang3cOs','OS')"/>
<el-input v-model="formListValue.dbmgdLiang18cOs" placeholder=""
:class="classComputedSet(formListValue.dbmgdLiang18cOs,'dbmgdLiang18cOs','OS')" />
</span>
</div>
</div>
@ -1298,29 +1485,37 @@
<div v-if="scope.row.jmdxt.length>0" class="left">
<div class="width-60">
K2
<el-input v-model="formListValue.jmdxtOs1" placeholder="" :class="classComputedSet(formListValue.jmdxtOs1,'jmdxtOs1','OS')"/>
<el-input v-model="formListValue.jmdxtOs1" placeholder=""
:class="classComputedSet(formListValue.jmdxtOs1,'jmdxtOs1','OS')" />
/
K1
<el-input v-model="formListValue.jmdxtOs2" placeholder="" :class="classComputedSet(formListValue.jmdxtOs2,'jmdxtOs2','OS')" />@
<el-input v-model="formListValue.jmdxtOs3" placeholder="" :class="classComputedSet(formListValue.jmdxtOs3,'jmdxtOs3','OS')"/>
<el-input v-model="formListValue.jmdxtOs2" placeholder=""
:class="classComputedSet(formListValue.jmdxtOs2,'jmdxtOs2','OS')" />@
<el-input v-model="formListValue.jmdxtOs3" placeholder=""
:class="classComputedSet(formListValue.jmdxtOs3,'jmdxtOs3','OS')" />
</div>
<div class="width-80">
ACD
<el-input v-model="formListValue.jmdxtAcdOs" placeholder="" :class="classComputedSet(formListValue.jmdxtAcdOs,'jmdxtAcdOs','OS')"/>mm
<el-input v-model="formListValue.jmdxtAcdOs" placeholder=""
:class="classComputedSet(formListValue.jmdxtAcdOs,'jmdxtAcdOs','OS')" />mm
</div>
</div>
<!-- offsetXY -->
<div v-if="scope.row.offsetXY.length>0" class="center width-100">
X
<el-input v-model="formListValue.offsetXOs" placeholder="" :class="classComputedSet(formListValue.offsetXOs,'offsetXOs','OS')"/>
<el-input v-model="formListValue.offsetXOs" placeholder=""
:class="classComputedSet(formListValue.offsetXOs,'offsetXOs','OS')" />
Y
<el-input v-model="formListValue.offsetYOs" placeholder="" :class="classComputedSet(formListValue.offsetYOs,'offsetYOs','OS')"/>
<el-input v-model="formListValue.offsetYOs" placeholder=""
:class="classComputedSet(formListValue.offsetYOs,'offsetYOs','OS')" />
</div>
<!-- offset -->
<div v-if="scope.row.offset.length>0" class="center width-100">
R
<el-input v-model="formListValue.offsetROs1" placeholder="" :class="classComputedSet(formListValue.offsetROs1,'offsetROs1','OS')"/> @
<el-input v-model="formListValue.offsetROs2" placeholder="" :class="classComputedSet(formListValue.offsetROs2,'offsetROs2','OS')"/>
<el-input v-model="formListValue.offsetROs1" placeholder=""
:class="classComputedSet(formListValue.offsetROs1,'offsetROs1','OS')" /> @
<el-input v-model="formListValue.offsetROs2" placeholder=""
:class="classComputedSet(formListValue.offsetROs2,'offsetROs2','OS')" />
</div>
<!-- corvis -->
<!-- <div v-if="scope.row.corvis.length>0" class="left width-80">
@ -1330,28 +1525,39 @@
</div> -->
<!--角膜直径-角膜厚度-->
<div v-if="scope.row.jmzjJmhd.length>0" class="width-100 center">
<el-input v-model="formListValue.jmzjOs" placeholder="" :class="classComputedSet(formListValue.jmzjOs,'jmzjOs','OS')"/> mm /
<el-input v-model="formListValue.jmhdOs" placeholder="" :class="classComputedSet(formListValue.offsetROs1,'offsetROs1','OS')" /> μm
<el-input v-model="formListValue.jmzjOs" placeholder=""
:class="classComputedSet(formListValue.jmzjOs,'jmzjOs','OS')" /> mm /
<el-input v-model="formListValue.jmhdOs" placeholder=""
:class="classComputedSet(formListValue.jmhdOs,'jmhdOs','OS')" /> μm
</div>
<!-- 眼压-->
<div v-if="scope.row.yanya.length>0" class="width-100 center">
<el-input v-model="formListValue.yyOs1" placeholder="" :class="classComputedSet(formListValue.yyOs1,'yyOs1','OS')" />/
<el-input v-model="formListValue.yyOs2" placeholder="" :class="classComputedSet(formListValue.yyOs2,'yyOs2','OS')" />mmHg@
<el-input v-model="formListValue.yyOs1" placeholder=""
:class="classComputedSet(formListValue.yyOs1,'yyOs1','OS')" />mmHg
<b>时间:{{formListValue.yyOsTime ? formListValue.yyOsTime : '-'}}</b>
<!-- <el-input v-model="formListValue.yyOs2" placeholder=""
:class="classComputedSet(formListValue.yyOs2,'yyOs2','OS')" />mmHg@ -->
</div>
<!-- 暗瞳直径 -->
<div v-if="scope.row.atzj.length>0" class="width-120 center">
<el-input v-model="formListValue.atzjOs" placeholder="" :class="classComputedSet(formListValue.atzjOs,'atzjOs','OS')"/> mm
<el-input v-model="formListValue.atzjOs" placeholder=""
:class="classComputedSet(formListValue.atzjOs,'atzjOs','OS')" /> mm
</div>
<!-- 眼轴-->
<div v-if="scope.row.yz.length>0" class="width-60 center">
<el-input v-model="formListValue.yzAlOs" placeholder="" :class="classComputedSet(formListValue.yzAlOs,'yzAlOs','OS')"/>mm/
<el-input v-model="formListValue.yzWwOs" placeholder="" :class="classComputedSet(formListValue.yzWwOs,'yzWwOs','OS')"/>mm/
<el-input v-model="formListValue.yzLtOs" placeholder="" :class="classComputedSet(formListValue.yzLtOs,'yzLtOs','OS')"/>mm
<el-input v-model="formListValue.yzAlOs" placeholder=""
:class="classComputedSet(formListValue.yzAlOs,'yzAlOs','OS')" />mm/
<el-input v-model="formListValue.yzWwOs" placeholder=""
:class="classComputedSet(formListValue.yzWwOs,'yzWwOs','OS')" />mm/
<el-input v-model="formListValue.yzLtOs" placeholder=""
:class="classComputedSet(formListValue.yzLtOs,'yzLtOs','OS')" />mm
</div>
<!-- 内皮细胞密度/6A -->
<div v-if="scope.row.npxbmd.length>0" class="width-80 center">
<el-input v-model="formListValue.npxbmdOs1" placeholder="" :class="classComputedSet(formListValue.npxbmdOs1,'npxbmdOs1','OS')"/>/mm2 /
<el-input v-model="formListValue.npxbmdOs2" placeholder="" :class="classComputedSet(formListValue.npxbmdOs2,'npxbmdOs2','OS')"/>%
<el-input v-model="formListValue.npxbmdOs1" placeholder=""
:class="classComputedSet(formListValue.npxbmdOs1,'npxbmdOs1','OS')" />/mm2 /
<el-input v-model="formListValue.npxbmdOs2" placeholder=""
:class="classComputedSet(formListValue.npxbmdOs2,'npxbmdOs2','OS')" />%
</div>
<!-- OCT上皮/最薄角膜厚度 -->
<!-- <div v-if="scope.row.octspZbjmhd.length>0" class="width-100 center">
@ -1497,18 +1703,17 @@
<el-option v-for="(item,index) in huangbanList" :key="index" :label="item" :value="item" />
</el-select>
</div>
<div class="flex-2">
<!-- <div class="flex-2">
<span class="left" :class="saveEidtTitle==='保存' ? 'cursor title-width-70':'title-width-60'"
@dblclick="saveEidtTitle==='保存' && templateLook('stydjcXuegOs','array')">
血管
<!-- <i v-show="saveEidtTitle==='保存'" class="el-icon-s-operation" /> -->
</span>
<el-select v-model="formListValue.stydjcXuegOs" multiple allow-create filterable
default-first-option placeholder=""
@change="selectChange($event,'stydjcXuegOs','stydjcSign','stydjcDate')">
<el-option v-for="(item,index) in xueguanList" :key="index" :label="item" :value="item" />
</el-select>
</div>
</div> -->
<div class="flex-2">
<span class="left" :class="saveEidtTitle==='保存' ? 'cursor title-width-70':'title-width-60'"
@dblclick="saveEidtTitle==='保存' && templateLook('stydjcShiwmOs','array')">
@ -2144,6 +2349,7 @@ export default {
wsOperaInput: '',
//
ywgmsRadio: '',
ywgmsCheck: [],
ywgmsInput: '',
//
bhtzRadio: '',
@ -2152,6 +2358,24 @@ export default {
qtbsRadio: '',
qtbsCheck: [],
qtbsInput: '',
//
qtbsJkInput: '',
qtbsJkUnit: '年',
//
qtbsJjInput: '',
qtbsJjUnit: '年',
//
qtbsGxyInput: '',
qtbsGxyUnit: '年',
//
qtbsYyInput: '',
qtbsYyUnit: '年',
//
qtbsJlInput: '',
qtbsJlUnit: '年',
// 尿
qtbsTnbInput: '',
qtbsTnbUnit: '年',
//
fysRadio: '',
fysCheck: [],
@ -2325,8 +2549,10 @@ export default {
//
yyOd1: '',
yyOd2: '',
yyOdTime: '',
yyOs1: '',
yyOs2: '',
yyOsTime: '',
yySign: '',
yyTime: '',
yyDate: '',
@ -2422,14 +2648,14 @@ export default {
//
stydjcShipOd: '',
stydjcHuangbOd: '',
stydjcXuegOd: '',
// stydjcXuegOd: '',
stydjcShiwmOd: '',
stydjcQtOd: '',
stydjcCdOd: '',
stydjcImgOd: '',
stydjcShipOs: '',
stydjcHuangbOs: '',
stydjcXuegOs: '',
// stydjcXuegOs: '',
stydjcShiwmOs: '',
stydjcQtOs: '',
stydjcCdOs: '',
@ -2448,7 +2674,7 @@ export default {
zdTime: '',
zdDate: '',
//
clyj: '',
clyj: '请定期复查,及时复诊',
clyjSign: '',
clyjTime: '',
clyjDate: '',
@ -2742,13 +2968,13 @@ export default {
} else if (text === 'stydjcOd') {
this.formListValue.stydjcShipOd = ['界清色红']
this.formListValue.stydjcHuangbOd = ['中心凹反光存']
this.formListValue.stydjcXuegOd = ['A/V=2/3']
// this.formListValue.stydjcXuegOd = ['A/V=2/3']
this.formListValue.stydjcShiwmOd = ['平伏']
this.formListValue.stydjcCdOd = ['0.3']
} else if (text === 'stydjcOs') {
this.formListValue.stydjcShipOs = ['界清色红']
this.formListValue.stydjcHuangbOs = ['中心凹反光存']
this.formListValue.stydjcXuegOs = ['A/V=2/3']
// this.formListValue.stydjcXuegOs = ['A/V=2/3']
this.formListValue.stydjcShiwmOs = ['平伏']
this.formListValue.stydjcCdOs = ['0.3']
}
@ -3197,7 +3423,12 @@ table tr {
display: flex;
justify-content: center;
}
.displayInline {
text-align: left;
.el-checkbox-group {
display: inline-block;
}
}
.el-radio {
margin-right: 8px;
display: block;

129
src/components/H5form/qgyj.vue

@ -453,7 +453,7 @@
</div>
<div class="li-row" style="margin-bottom:8px">
<div class="flex-2">
<p style="font-weight:700;" class="required">11药物过敏史</p>
<p style="font-weight:700;" class="required">11食物和药物过敏史</p>
<el-form-item prop="ywgmsRadio" class="error3" :rules="[{
required: true, message: '请输入', trigger: ['blur', 'change']
}] ">
@ -463,13 +463,14 @@
</el-radio-group>
</el-form-item>
</div>
<div v-if="formListValue.ywgmsRadio==='有'" class="margin-top-10 margin-left-24">
<el-form-item prop="ywgmsInput">
<el-input v-model="formListValue.ywgmsInput" maxlength="150" show-word-limit type="textarea" autosize
:rows="2" placeholder="" />
</el-form-item>
<div v-if="formListValue.ywgmsRadio==='有'" class="flex-2 margin-left-24">
<el-checkbox-group v-model="formListValue.ywgmsCheck" @change="checkChange('ywgmsCheck')">
<el-checkbox v-for="(item,index) in swywGmsList" :key="index" :label="item" />
</el-checkbox-group>
<div v-if="formListValue.ywgmsCheck.includes('其它')" class="flex-7 width-180">
<el-input v-model="formListValue.ywgmsInput" placeholder="" />
</div>
</div>
</div>
<div class="li-row" style="margin-bottom:8px">
<div class="flex-2">
@ -503,18 +504,87 @@
</el-radio-group>
</el-form-item>
</div>
<div v-if="formListValue.qtbsRadio==='有'" class="margin-top-10 margin-left-24">
<el-form-item prop="qtbsCheck">
<el-checkbox-group v-model="formListValue.qtbsCheck" @change="checkChange('qtbsCheck')">
<el-checkbox v-for="(item,index) in historyList" :key="index" :label="item" />
</el-checkbox-group>
</el-form-item>
<div v-if="formListValue.qtbsCheck.includes('其它')">
<el-form-item prop="qtbsInput" class="error1 width-260">
<el-input v-model="formListValue.qtbsInput" maxlength="150" show-word-limit type="textarea" autosize
:rows="2" placeholder="" />
</el-form-item>
</div>
<div v-if="formListValue.qtbsRadio==='有'" class="displayInline margin-left-24">
<el-checkbox-group v-model="formListValue.qtbsCheck" @change="checkChange('qtbsCheck','qtbsBeizhu')">
<span v-for="(item,index) in historyList" :key="index">
<el-checkbox :label="item" />
<span v-if="formListValue.qtbsCheck.includes('甲亢') && item==='甲亢'" class="width-50">
<el-input v-model="formListValue.qtbsJkInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJkUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJkUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('甲减') && item==='甲减'" class="width-50">
<el-input v-model="formListValue.qtbsJjInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJjUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJjUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('高血压') && item==='高血压'" class="width-50">
<el-input v-model="formListValue.qtbsGxyInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsGxyUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsGxyUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('抑郁') && item==='抑郁'" class="width-50">
<el-input v-model="formListValue.qtbsYyInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsYyUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsYyUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('焦虑') && item==='焦虑'" class="width-50">
<el-input v-model="formListValue.qtbsJlInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsJlUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsJlUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('糖尿病') && item==='糖尿病'" class="width-50">
<el-input v-model="formListValue.qtbsTnbInput" placeholder="" />
<el-dropdown trigger="click" @command="dropdownHandle($event,'qtbsTnbUnit')">
<span class="el-dropdown-link">
{{ formListValue.qtbsTnbUnit }}<i class="el-icon-arrow-down el-icon--right" />
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item,index) in unitList" :key="index" :command="item.text">
{{ item.text }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
<span v-if="formListValue.qtbsCheck.includes('其它') && item==='其它'" class="width-180">
<el-input v-model="formListValue.qtbsInput" placeholder="" />
</span>
</span>
</el-checkbox-group>
</div>
</div>
<div class="li-row" style="margin-bottom:8px">
@ -733,6 +803,7 @@ export default {
wsOperaInput: '',
//
ywgmsRadio: '',
ywgmsCheck: [],
ywgmsInput: '',
//
bhtzRadio: '',
@ -741,6 +812,24 @@ export default {
qtbsRadio: '',
qtbsCheck: [],
qtbsInput: '',
//
qtbsJkInput: '',
qtbsJkUnit: '年',
//
qtbsJjInput: '',
qtbsJjUnit: '年',
//
qtbsGxyInput: '',
qtbsGxyUnit: '年',
//
qtbsYyInput: '',
qtbsYyUnit: '年',
//
qtbsJlInput: '',
qtbsJlUnit: '年',
// 尿
qtbsTnbInput: '',
qtbsTnbUnit: '年',
//
fysRadio: '',
fysCheck: [],
@ -759,6 +848,8 @@ export default {
xlpgScoreEven: ''
},
visualSymptomslist: ['视疲劳', '眩光', '眼干', '无'],
//
swywGmsList: ['青霉素类', '头孢类', '牛奶、鸡蛋、海鲜等食物', '芒果、桃子等食物', '其它'],
causesOperationlist: ['体检', '戴镜不适', '改变形象', '方便工作生活', '其它'],
tijianList: ['兵检', '军检', '医检', '公务员', '警校'],
historyList: ['甲亢', '甲减', '高血压', '抑郁', '焦虑', '糖尿病', '其它'],

7
src/components/H5form/shouquanBook.vue

@ -679,13 +679,6 @@ export default {
this.$refs.formListValue2.resetFields()
}
},
//
fjClick() {
this.fileShow = true
this.$nextTick(() => {
this.$refs.visitFileRef.init()
})
},
//
async getInfo() {
const { data: res } = await this.$http.get('/hz_quguang/shouquan/getOperaShouQuanInfo', {

86
src/components/H5form/medZms.vue → src/components/H5form/ylzms.vue

@ -1,13 +1,13 @@
<template>
<div class="fzbl-father">
<div class="ylzms-father">
<h5formButton ref="h5formButtonRef" :archive-case-c-r-f-item="archiveCaseCRFItem"
:get-save-eidt-title="saveEidtTitle" :bl-button-show="true"
:edit-save-button-show="positionName.join().includes('医生') && formListValue.isConfirm !== 1 ? true : false"
mzbl-title="复诊门诊病历" :cancel-ca-button-show="formListValue.isConfirm === 1 && saveEidtTitle!=='保存' ? true : false"
mzbl-title="医疗证明书" :cancel-ca-button-show="formListValue.isConfirm === 1 && saveEidtTitle!=='保存' ? true : false"
:sure-ca-button-show="saveEidtTitle === '编辑' && formListValue.isConfirm === 0 && caOpenStatus? true :false" />
<span v-show="!formListValue.createName && isGetFormValue" class="title-ts">(提示:此表单尚未保存)</span>
<!-- v-if="currentUrl.includes('192')" -->
<div id="printH5" class="fzbl form-setclass printSet1" style="width:900px">
<div id="printH5" class="ylzms form-setclass printSet1" style="width:900px">
<p style="color:#000000;font-size:32px;margin:0 0 20px 0;text-align:center;">
温州医科大学附属眼视光医院杭州院区</p>
<p style="color:#000000;font-size:32px;margin-bottom:30px;text-align:center;">
@ -38,19 +38,19 @@
</span>
</div>
</div>
<div class="fzbl-content" :class="saveEidtTitle==='保存' ? '' : 'el-textarea-resize'">
<div class="flex-3 margin-top-10" @dblclick="saveEidtTitle==='保存' && templateLook('cbzd')">
<div class="ylzms-content" :class="saveEidtTitle==='保存' ? '' : 'el-textarea-resize'">
<div class="flex-3 margin-top-10" @dblclick="saveEidtTitle==='保存' && templateLook('zd')">
<span class="cursor right" style="min-width:80px"><b style="font-family:MicrosoftYaHeiBold;"> </b></span>
<i v-show="saveEidtTitle==='保存'" class="el-icon-refresh cursor" @click="getNewZdInfo('cbzd')" />
<i v-show="saveEidtTitle==='保存'" class="el-icon-refresh cursor" @click="getQgdzblZdInfo('qg','zd')" />
<el-input
v-model="formListValue.cbzd"
v-model="formListValue.zd"
class="zkjcInput flex1"
type="textarea"
:autosize="{ minRows: 1}"
placeholder=""
@focus="focusHandle('cbzd')"
@focus="focusHandle('zd')"
/>
<!-- <span>{{ formListValue.cbzd }}</span> -->
<!-- <span>{{ formListValue.zd }}</span> -->
</div>
<div class="flex-3 margin-top-10" @dblclick="saveEidtTitle==='保存' && templateLook('clyj')">
<span class="cursor" style="min-width:80px"> <b style="font-family:MicrosoftYaHeiBold;">处理意见</b></span>
@ -65,8 +65,8 @@
医生签字
<span>
<span
v-if="!formListValue.createSign">{{ formListValue.createName ? formListValue.createName : '-' }}</span>
<img v-else :src="formListValue.createSign" alt="" width="120px"
v-if="!formListValue.ysSign">{{ formListValue.createName ? formListValue.createName : '-' }}</span>
<img v-else :src="formListValue.ysSign" alt="" width="120px"
style="display: block;break-inside: avoid">
</span>
@ -87,34 +87,34 @@
<intoTemplate v-if="intoTemplateVisible" ref="intoTemplateRef" :patient-id="patientId"
:archive-case-c-r-f-item="archiveCaseCRFItem" @yinruTemplateClick="yinruTemplateClick"
@closeDialog="historyDataVisible = false" />
<!-- 复诊病历留痕查看 -->
<fzblLook v-if="blLookVisible" ref="blLookRef" :current-url="currentUrl"
<!-- 医疗证明书留痕查看 -->
<ylzms-look v-if="blLookVisible" ref="blLookRef" :current-url="currentUrl"
:archive-case-c-r-f-item="archiveCaseCRFItem" @closeDialog="blLookVisible=false" />
<!-- 复诊病历处理成pdf格式上传 -->
<fzblLookPdf ref="fzblLookPdf" :current-url="currentUrl" :archive-case-c-r-f-item="archiveCaseCRFItem"
<!-- 医疗证明书处理成pdf格式上传 -->
<ylzmsLookPdf ref="ylzmsLookPdf" :current-url="currentUrl" :archive-case-c-r-f-item="archiveCaseCRFItem"
class="patientBlPosition" />
</div>
</template>
<script>
import IntelligentFill from '@/mixins/IntelligentFill.js'
import refreshDate from '@/mixins/refreshDate'
import fzbl from '@/mixins/fzbl'
import ylzms from '@/mixins/ylzms'
import signGet from '@/mixins/signGet'
import publicFile from '@/mixins/publicFile'
import h5formButton from '@/components/H5formOhter/h5formButton'
import intoTemplate from '@/components/H5form/intoTemplate'
import fzblLook from '@/components/H5form/fzblLook'
import fzblLookPdf from '@/components/H5form/fzblLookPdf'
import ylzmsLook from '@/components/H5form/ylzmsLook'
import ylzmsLookPdf from '@/components/H5form/ylzmsLookPdf'
import htmlToPdfToBlob from '@/mixins/htmlToPdfToBlob'
import yiXinQianSign from '@/mixins/yiXinQianSign.js'
export default {
components: {
h5formButton,
intoTemplate,
fzblLook,
fzblLookPdf
ylzmsLook,
ylzmsLookPdf,
},
mixins: [IntelligentFill, signGet, refreshDate, fzbl, publicFile, htmlToPdfToBlob, yiXinQianSign],
mixins: [IntelligentFill, signGet, refreshDate, ylzms, publicFile, htmlToPdfToBlob, yiXinQianSign],
props: {
archiveCaseCRFItem: {
type: Object,
@ -173,16 +173,15 @@ export default {
patientAge: '',
createName: '',
createDate: '',
zsAndBs: '',
zkjc: '',
fzjc: '',
cbzd: '',
zd: '',
clyj: '',
createSign: '',
ysSign:'',
signDate: ''
},
// 1:/() 2:3:/()4:,5:,6:,8:10:
//
// 1:/() 2:3:/()
// 4:,5:,6:,8:10:
formFlag: 5
}
},
@ -216,7 +215,7 @@ export default {
//
async getInfo() {
this.isGetFormValue = false
const { data: res } = await this.$http.get('/hz_quguang/fuzhen/emr/getInfo', {
const { data: res } = await this.$http.get('/hz_quguang/qg/ylzms/getYlzmsInfo', {
params: {
formId: this.archiveCaseCRFItem.id,
formDate: this.archiveCaseCRFItem.formDate,
@ -251,12 +250,7 @@ export default {
//
saveAllForm(flag) {
// publicFile.js--
this.getUpSaveTime('/hz_quguang/fuzhen/emr/getInfo', flag)
},
//
saveAllForm(flag) {
// publicFile.js--
this.getUpSaveTime('/hz_quguang/fuzhen/emr/getInfo', flag)
this.getUpSaveTime('/hz_quguang/qg/ylzms/getYlzmsInfo', flag)
},
async saveForm(flag) {
this.formListValue.createName = this.userData.realName
@ -266,7 +260,7 @@ export default {
formvalue[item] = JSON.stringify(formvalue[item])
}
})
const { data: res } = await this.$http.post('/hz_quguang/fuzhen/emr/saveInfo', formvalue)
const { data: res } = await this.$http.post('/hz_quguang/qg/ylzms/saveYlzmsInfo', formvalue)
if (res.code === 0) {
this.saveEidtTitle = '编辑'
// res.dataId
@ -276,7 +270,7 @@ export default {
})
this.getInfo()
// res.dataId
this.$refs.fzblLookPdf.init(res.data, 'savepdf')
this.$refs.ylzmsLookPdf.init(res.data, 'savepdf')
} else {
this.$message.error(res.msg)
}
@ -290,19 +284,25 @@ export default {
type: 'warning'
})
}
if (this.formListValue.zsAndBs && this.formListValue.cbzd && this.formListValue.clyj) {
if (this.formListValue.zd && this.formListValue.clyj) {
this.$confirmFun('CA确认将会把最新一次医疗证明书发送至ca签名,您是否确认继续此操作?', '您已取消CA确认').then(() => {
// formFlag: 1:/() 2:3:/()4:,5:
// this.$refs.fzblLookPdf.init(this.formListValue.recordId, '5')
// this.$refs.ylzmsLookPdf.init(this.formListValue.recordId, '5')
// caOpenStatus true CA
if (this.caOpenStatus) {
this.batchDataCa({
this.ylzmsFormDataCaSign({
caSignData: JSON.stringify(this.formListValue),
doctorCode: userData.employeeId,
ids: [this.formListValue.formId], // formId
formFlag: '14',
formId: this.formListValue.formId,
formName: '医疗证明书',
patientId: this.formListValue.patientId,
patientName: this.formListValue.patientName,
}, () => {
this.getInfo()
})
}
})
@ -315,7 +315,7 @@ export default {
</script>
<style lang="scss">
.fzbl-father {
.ylzms-father {
.saveInfo {
text-align: center;
position: absolute;
@ -328,7 +328,7 @@ export default {
margin-bottom: 10px;
}
}
.fzbl {
.ylzms {
background: #fff;
// padding: 10px 20px 50px 20px;
height: 93%;
@ -337,7 +337,7 @@ export default {
margin-bottom: 16px;
text-align: left;
}
.fzbl-table {
.ylzms-table {
width: 100%;
.operation-text {
font-weight: 700;
@ -411,7 +411,7 @@ export default {
.flex1 {
flex: 1;
}
.fzbl-content {
.ylzms-content {
width: 900px;
}
}

165
src/components/H5form/ylzmsLook.vue

@ -0,0 +1,165 @@
<template>
<el-dialog class="ylzmsLook" :visible.sync="visible" fullscreen @close="closeDialog">
<h5formButton
ref="h5formButtonRef"
:bl-print-show="true"
:form-print-show="false"
:bm-printer-show="false"
/>
<div v-if="xdList.length>0" class="dzblContent left">
<div class="left-content">
<div class="title-bt">修订记录</div>
<div class="left-content-ul">
<div
v-for="(item,index) in xdList"
:key="index"
class="li"
:class="currentIndex===index ? 'currentLi' : ''"
@click="leftListClick(item,index)"
>
<span class="padding-right-10">{{ item.createName }}</span>
<span>{{ item.createDate }}编辑了病历</span>
</div>
</div>
</div>
<ylzmsLookPdfFun
ref="ylzmsLookPdfFunRef"
:current-url="currentUrl"
:archive-case-c-r-f-item="archiveCaseCRFItem"
/>
</div>
<div v-else class="nodata-father">
<img src="@/assets/img/nodata.png" alt="" class="nodata">
</div>
</el-dialog>
</template>
<script>
import h5formButton from '@/components/H5formOhter/h5formButton'
import ylzmsLookPdfFun from '@/components/H5form/ylzmsLookPdfFun'
export default {
components: {
h5formButton,
ylzmsLookPdfFun
},
props: {
archiveCaseCRFItem: {
type: Object,
default: () => { }
},
currentUrl: {
type: String,
default: ''
}
},
data() {
return {
visible: false,
xdList: [],
currentIndex: 0
}
},
computed: {
dataRule() {
return {
}
}
},
methods: {
init() {
this.visible = true
this.$nextTick(() => {
this.getInfo()
})
},
//
async getInfo() {
const { data: res } = await this.$http.get('/hz_quguang/qg/ylzms/getYlzmsRecordList', {
params: {
formId: this.archiveCaseCRFItem.id
}
})
if (res.code === 0) {
this.xdList = res.data
this.$nextTick(() => {
res.data.length > 0 ? this.$refs.ylzmsLookPdfFunRef.getYlzmsInfo(res.data[0].id) : ''
})
} else {
this.$message.error(res.msg)
}
},
//
leftListClick(formItem, index) {
this.currentIndex = index
this.$refs.ylzmsLookPdfFunRef.getYlzmsInfo(formItem.id)
},
//
closeDialog() {
this.$emit('closeDialog')
}
}
}
</script>
<style lang="scss">
.ylzmsLook {
.nodata-father {
display: flex;
justify-content: center;
align-items: center;
}
.nodata {
width: 400px;
margin-top: 130px;
}
.dzblContent {
display: flex;
justify-content: space-between;
font-size: 16px;
.left-content {
min-width: 350px;
margin-right: 20px;
border-right: 1px solid #6f6f6f;
}
.left-content-ul {
height: 85vh;
overflow-y: auto;
}
.title-bt {
margin-bottom: 20px;
font-weight: 700;
font-size: 20px;
}
.li {
padding: 12px 0;
text-align: center;
cursor: pointer;
border-bottom: 1px solid #ccc;
}
.currentLi {
background: #1890ff;
color: #fff;
padding: 12px 0;
text-align: center;
}
}
}
</style>
<style lang="scss">
.ylzmsLook {
.checkDate-picker {
width: 100%;
}
.el-dialog__body {
padding-left:10px;
padding-right: 10px;
}
.formItemOne .el-form-item__content {
display: flex;
}
.el-dialog__header {
padding-top: 0;
}
}
</style>

44
src/components/H5form/ylzmsLookPdf.vue

@ -0,0 +1,44 @@
<template>
<div id="pdfDom" class="dzblContent left">
<ylzmsLookPdfFun
ref="ylzmsLookPdfFunRef"
:current-url="currentUrl"
:archive-case-c-r-f-item="archiveCaseCRFItem"
:save-pdf="true"
/>
</div>
</template>
<script>
import ylzmsLookPdfFun from '@/components/H5form/ylzmsLookPdfFun'
export default {
components: {
ylzmsLookPdfFun
},
props: {
archiveCaseCRFItem: {
type: Object,
default: () => { }
},
currentUrl: {
type: String,
default: ''
}
},
data() {
return {
}
},
computed: {
dataRule() {
return {
}
}
},
methods: {
init(id, flag) {
this.$refs.ylzmsLookPdfFunRef.init(id, flag)
}
}
}
</script>

163
src/components/H5form/ylzmsLookPdfFun.vue

@ -0,0 +1,163 @@
<template>
<div v-if="isShow===1" style="flex:1">
<div id="printButtonA5"
:style="savePdf ? 'position: relative;width: 210mm;font-family:msyh;transform: scale(0.95);transform-origin: left top;' : ''">
<div ref="htmlContent" :style="savePdf ? 'max-width: 100%;margin: 0 auto;' : ''">
<!-- v-if="currentUrl.includes('192')" -->
<div style="
font-size: 32px;
font-weight: 700;
text-align: center;
font-family:MicrosoftYaHeiBold;
">温州医科大学附属眼视光医院杭州院区</div>
<div style="
font-size: 32px;
font-weight: 700;
text-align: center;
margin-bottom: 10px;
font-family:MicrosoftYaHeiBold;
">医疗证明书</div>
<div style="
display: flex;
justify-content: center;
border-bottom: 2px solid #6f6f6f;
padding-bottom: 12px;
margin-bottom: 12px;
">
<span style="padding-right: 30px">姓名{{ formListValue.patientName }}</span>
<span style="padding-right: 30px">性别{{ formListValue.patientSex }}</span>
<span style="padding-right: 30px">年龄{{ formListValue.patientAge }}</span>
<span style="padding-right: 30px">PID{{ formListValue.patientId }}</span>
<span>日期{{ formListValue.createDate }}</span>
</div>
</div>
<div id="printA5" style="
flex: 1;
font-size: 16px;
" :style="savePdf ? 'max-width: 100%;margin: 0 auto;' : ''">
<div style="margin-bottom: 2px; break-inside: avoid">
<span style="font-weight: 700;font-family:MicrosoftYaHeiBold;">诊断</span>
<span>{{ formListValue.zd ? formListValue.zd : '无' }}</span>
</div>
<div style="margin-bottom: 2px; break-inside: avoid">
<span style="font-weight: 700;font-family:MicrosoftYaHeiBold;">处理意见</span>
<span>{{ formListValue.clyj ? formListValue.clyj : '无' }}</span>
</div>
<!-- v-if="base64Flag" -->
<div style="
display: flex;
align-items: center;
justify-content: flex-end;
break-inside: avoid;
margin-right: 35px;
">
医生签名
<span>
<span v-if="!formListValue.ysSign"
style="padding-left:12px;">{{ formListValue.createName ? formListValue.createName : '-' }}</span>
<img v-else :src="formListValue.ysSign" alt="" width="120px" style="display: block;break-inside: avoid">
</span>
<!-- <img :src="formListValue.createSign" alt="" width="120px"> -->
</div>
<div class="margin-top-20">建议病休时限必须大写不得涂改没有盖我院公章者无效</div>
</div>
</div>
<div v-if="formListValue.isConfirm===1"
style="color:green;font-size:40px;text-align: center;margin-top: 60px;font-weight: 700;">已CA签字</div>
<div v-if="formListValue.isConfirm!==1"
style="color:red;font-size:40px;text-align: center;margin-top: 60px;font-weight: 700;">未CA签字</div>
</div>
</template>
<script>
import htmlToPdfToBlob from '@/mixins/htmlToPdfToBlob'
const Base64 = require('js-base64').Base64
export default {
mixins: [htmlToPdfToBlob],
props: {
archiveCaseCRFItem: {
type: Object,
default: () => { }
},
currentUrl: {
type: String,
default: ''
},
savePdf: {
type: Boolean,
default: false
}
},
data() {
return {
formListValue: {
},
isShow: 0,
recordId: '',
}
},
methods: {
// CA
init(id, flag) {
this.recordId = id
this.getYlzmsInfo(id, flag)
},
//
async getYlzmsInfo(id, flag) {
this.isShow = 0
const { data: res } = await this.$http.get('/hz_quguang/qg/ylzms/getYlzmsRecordInfo', {
params: {
id: id
}
})
if (res.code === 0) {
Object.keys(res.data).forEach((item, index) => {
//
if ((res.data[item] && res.data[item] !== 'false' && res.data[item] !== 'true') || typeof res.data[item] === 'number') {
// 使jsPDFbase64使html2pdf
// if (item === 'createSign') {
// // console.log(item);
// this.convertImageToBase64(res.data.createSign, 'createSign')
// } else {
// this.formListValue[item] = res.data[item]
// }
this.formListValue[item] = res.data[item]
}
if (res.data[item] && typeof res.data[item] !== 'number') {
res.data[item].includes('[') || res.data[item] === 'false' || res.data[item] === 'true' ? this.formListValue[item] = JSON.parse(res.data[item]) : ''
}
if (Object.keys(res.data).length - 1 === index) {
this.isShow = 1
if (flag === 'savepdf') {
setTimeout(() => {
console.log(document.getElementById('printButtonA5'));
this.html2Pdf({
marginStyle: Base64.encode('<style>@page{margin: 8mm 5mm 5mm 5mm;}</style>'),
htmlBase: Base64.encode(document.getElementById('printButtonA5').innerHTML),
pageSize: 'A5',
formId: this.formListValue.formId,
// 1:/() 2:
// 3:/()4:,5:
// 14:
formFlag: 14
})
}, 100);
}
}
})
} else {
this.loading.close()
this.$message.error(res.msg)
}
},
//
caRefresh() {
this.$parent.$parent.getInfo()
}
}
}
</script>
<style lang="scss">
</style>

300
src/components/H5formOhter/h5formButton.vue

@ -1,132 +1,48 @@
<template>
<div class="content-right-buttonClick" :class="pageTitle==='手术列表' ? 'buttonClick-buttonSet1' : 'buttonClick-buttonSet'">
<div class="content-right-buttonClick"
:class="pageTitle==='手术列表' ? 'buttonClick-buttonSet1' : 'buttonClick-buttonSet'">
<el-button v-if="blButtonShow" type="info" icon="el-icon-document" size="small" class="blck" @click="dzblLookClick">
{{ mzblTitle }}
</el-button>
<!-- v-if="jcsjButtonShow && saveEidtTitle==='保存'" -->
<el-button
v-if="jcsjButtonShow"
type="danger"
size="small"
icon="el-icon-s-platform"
@click="historyClick"
>检查数据查看</el-button>
<el-button
v-if="yjyrButtonShow && saveEidtTitle==='保存'"
type="danger"
size="small"
icon="el-icon-s-platform"
@click="yjyrClick"
>一键引入检查</el-button>
<el-button v-if="jcsjButtonShow" type="danger" size="small" icon="el-icon-s-platform" @click="historyClick">检查数据查看
</el-button>
<el-button v-if="yjyrButtonShow && saveEidtTitle==='保存'" type="danger" size="small" icon="el-icon-s-platform"
@click="yjyrClick">一键引入检查</el-button>
<el-button v-if="yrNewblButtonShow && saveEidtTitle==='保存'" type="success" size="small" icon="el-icon-s-platform"
@click="yrNewQgblClick">引入最新一次病历</el-button>
<el-button
v-if="editSaveButtonShow && archiveCaseCRFItem.createDate === $moment().format('YYYY-MM-DD') && (archiveCaseCRFItem.saveName ? archiveCaseCRFItem.saveName === userData.realName : true)"
:type="saveEidtTitle==='编辑'? 'primary' : 'danger'"
size="small"
:icon="saveEidtTitle==='编辑'? 'el-icon-edit' : 'el-icon-tickets'"
@click="saveEditH5"
>{{ saveEidtTitle }}
:type="saveEidtTitle==='编辑'? 'primary' : 'danger'" size="small"
:icon="saveEidtTitle==='编辑'? 'el-icon-edit' : 'el-icon-tickets'" @click="saveEditH5">{{ saveEidtTitle }}
</el-button>
<el-button
v-if="cancelCaButtonShow"
type="warning"
size="small"
icon="el-icon-document-delete"
@click="cancelCa"
>取消提交
<el-button v-if="cancelCaButtonShow" type="warning" size="small" icon="el-icon-document-delete" @click="cancelCa">
取消提交
</el-button>
<el-button
v-if="sureCaButtonShow"
type="success"
size="small"
icon="el-icon-document-checked"
@click="sureCa"
>病历提交
<el-button v-if="sureCaButtonShow" type="success" size="small" icon="el-icon-document-checked" @click="sureCa">病历提交
</el-button>
<el-button
v-if="luyinButtonShow"
type="primary"
size="small"
icon="el-icon-microphon"
@click="recordFileClick"
>录音
<el-button v-if="luyinButtonShow" type="primary" size="small" icon="el-icon-microphon" @click="recordFileClick">录音
</el-button>
<el-button
v-if="jcInfoButtonShow"
type="primary"
size="small"
icon="el-icon-s-platform"
@click="jcInfoClick"
>检查信息
<el-button v-if="jcInfoButtonShow" type="primary" size="small" icon="el-icon-s-platform" @click="jcInfoClick">检查信息
</el-button>
<el-button
v-if="dablButtonShow"
type="info"
size="small"
icon="el-icon-s-platform"
@click="dablInfoClick"
>病历查看
<el-button v-if="dablButtonShow" type="info" size="small" icon="el-icon-s-platform" @click="dablInfoClick">病历跳转
</el-button>
<el-button
v-if="blDataShow"
type="warning"
size="small"
icon="el-icon-s-platform"
@click="blDataClick"
>病历信息
<el-button v-if="blDataShow" type="warning" size="small" icon="el-icon-s-platform" @click="blDataClick">病历信息
</el-button>
<el-button
v-if="jcbgButtonShow"
type="primary"
size="small"
icon="el-icon-s-platform"
@click="jcbgClick"
>检查报告
<el-button v-if="jcbgButtonShow" type="primary" size="small" icon="el-icon-s-platform" @click="jcbgClick">检查报告
</el-button>
<el-button
v-if="saveEidtTitle==='保存' && yrmbButtonShow"
type="primary"
size="small"
icon="el-icon-s-operation"
@click="templateClick"
>引入模板</el-button>
<el-button
v-if="saveEidtTitle==='保存' && mrzButtonShow"
size="small"
type="success"
icon="el-icon-caret-right"
@click="mrzClick"
>引入默认值</el-button>
<el-button
v-if="formPrintShow"
v-print="printObj"
type="warning"
size="small"
class="bddyButton"
icon="el-icon-printer"
>表单打印
<el-button v-if="saveEidtTitle==='保存' && yrmbButtonShow" type="primary" size="small" icon="el-icon-s-operation"
@click="templateClick">引入模板</el-button>
<el-button v-if="saveEidtTitle==='保存' && mrzButtonShow" size="small" type="success" icon="el-icon-caret-right"
@click="mrzClick">引入默认值</el-button>
<el-button v-if="formPrintShow" v-print="printObj" type="warning" size="small" class="bddyButton"
icon="el-icon-printer">表单打印
</el-button>
<el-button
v-if="blPrintShow"
v-print="printObj1"
type="warning"
size="small"
icon="el-icon-printer"
>病历打印
<el-button v-if="blPrintShow" v-print="printObj1" type="warning" size="small" icon="el-icon-printer">病历打印
</el-button>
<el-button
v-if="bmPrinterShow"
type="info"
size="small"
icon="el-icon-printer"
@click="bmPrinter"
>条码预览</el-button>
<el-button
v-if="fjShow"
type="danger"
size="small"
icon="el-icon-upload"
@click="fjClick"
>附件上传</el-button>
<el-button v-if="bmPrinterShow" type="info" size="small" icon="el-icon-printer" @click="bmPrinter">条码预览</el-button>
<el-button v-if="fjShow" type="danger" size="small" icon="el-icon-upload" @click="fjClick">表单附件上传</el-button>
<el-button v-if="zlUpShow" type="danger" size="small" icon="el-icon-upload" @click="zlClick">资料上传</el-button>
<!-- <el-button
v-if="bldbShow"
type="info"
@ -134,12 +50,8 @@
icon="el-icon-printer"
@click="bldbCLick"
>病历对比</el-button> -->
<hotPrint
v-if="hotPrintVisible"
ref="hotPrintRef"
:patient-info-obj="patientInfoObj"
@closeDialog="hotPrintVisible = false"
/>
<hotPrint v-if="hotPrintVisible" ref="hotPrintRef" :patient-info-obj="patientInfoObj"
@closeDialog="hotPrintVisible = false" />
</div>
</template>
<script>
@ -269,6 +181,14 @@ export default {
type: Boolean,
default: false
},
zlUpShow: {
type: Boolean,
default: true
},
yrNewblButtonShow: {
type: Boolean,
default: false
}
},
data() {
return {
@ -351,6 +271,10 @@ export default {
fjClick() {
this.$parent.fjClick()
},
//
zlClick() {
this.$parent.zlClick()
},
//
async yjyrClick() {
// flag 1 flag 0
@ -366,6 +290,22 @@ export default {
this.$message.error(res.msg)
}
},
//
async yrNewQgblClick() {
// flag 1 flag 0
let url = this.archiveCaseCRFItem.formName.includes('屈光电子病历') ? '/hz_quguang/qg/emr/getLastSaveQgEmr' : '/hz_quguang/opera/after/getLastOperaAfterInfo'
const { data: res } = await this.$http.get(url, {
params: {
patientIdNumber: this.archiveCaseCRFItem.patientIdNumber,
currentFormId: this.archiveCaseCRFItem.id
}
})
if (res.code === 0) {
this.$parent.yrNewblData(res.data)
} else {
this.$message.error(res.msg)
}
},
// pacs
jcbgClick() {
this.$parent.pacsLinkClick()
@ -447,68 +387,68 @@ export default {
}
}
.buttonClick-buttonSet {
.el-button:nth-child(1) {
top: 140px;
}
.el-button:nth-child(2) {
top: 180px;
}
.el-button:nth-child(3) {
top: 220px;
}
.el-button:nth-child(4) {
top: 260px;
}
.el-button:nth-child(5) {
top: 300px;
}
.el-button:nth-child(6) {
top: 340px;
}
.el-button:nth-child(7) {
top: 380px;
}
.el-button:nth-child(7) {
top: 420px;
}
.el-button:nth-child(8) {
top: 460px;
}
.el-button:nth-child(9) {
top: 500px;
}
.el-button:nth-child(1) {
top: 140px;
}
.buttonClick-buttonSet1 {
.el-button {
height: 65px;
font-size: 24px !important;
}
.el-button:nth-child(1) {
top: 50px;
}
.el-button:nth-child(2) {
top: 140px;
}
.el-button:nth-child(3) {
top: 230px;
}
.el-button:nth-child(4) {
top: 320px;
}
.el-button:nth-child(5) {
top: 410px;
}
.el-button:nth-child(6) {
top: 500px;
}
.el-button:nth-child(7) {
top: 590px;
}
.bddyButton {
left: -10px;
right: auto;
bottom: 20px !important;
top: auto !important;
}
.el-button:nth-child(2) {
top: 180px;
}
.el-button:nth-child(3) {
top: 220px;
}
.el-button:nth-child(4) {
top: 260px;
}
.el-button:nth-child(5) {
top: 300px;
}
.el-button:nth-child(6) {
top: 340px;
}
.el-button:nth-child(7) {
top: 380px;
}
.el-button:nth-child(8) {
top: 420px;
}
.el-button:nth-child(9) {
top: 460px;
}
.el-button:nth-child(10) {
top: 500px;
}
}
.buttonClick-buttonSet1 {
.el-button {
height: 65px;
font-size: 24px !important;
}
.el-button:nth-child(1) {
top: 50px;
}
.el-button:nth-child(2) {
top: 140px;
}
.el-button:nth-child(3) {
top: 230px;
}
.el-button:nth-child(4) {
top: 320px;
}
.el-button:nth-child(5) {
top: 410px;
}
.el-button:nth-child(6) {
top: 500px;
}
.el-button:nth-child(7) {
top: 590px;
}
.bddyButton {
left: -10px;
right: auto;
bottom: 20px !important;
top: auto !important;
}
}
</style>

238
src/components/H5formOhter/historyRecord.vue

@ -4,33 +4,23 @@
<span style="font-size: 20px; font-weight: bold">附件</span>
<div>
<el-button type="danger" size="small" icon="el-icon-delete" @click="delHandle()">删除</el-button>
<el-upload
ref="upload"
class="upload-demo"
:headers="headers"
:action="uploadUrl"
:data="uploadData"
:show-file-list="false"
:before-upload="beforeUpload"
:on-success="successFile"
>
<el-button slot="trigger" size="small" icon="el-icon-upload2" type="primary" :loading="loading" :disabled="loading">上传</el-button>
<el-upload ref="upload" class="upload-demo" :headers="headers" :action="uploadUrl" :data="uploadData"
:show-file-list="false" :before-upload="beforeUpload" :on-success="successFile">
<el-button slot="trigger" size="small" icon="el-icon-upload2" type="primary" :loading="loading"
:disabled="loading">上传</el-button>
<el-button type="warning" size="small" class="margin-left-10" @click="closeDialog">关闭</el-button>
</el-upload>
</div>
</div>
<div class="history-content">
<div v-if="recordList.length" class="lineTime">
<div v-for="(item,index) in recordList" :key="index" class="flex a-c" style="margin-bottom: 24px;" @click="selectRecord(item,index)">
<div v-for="(item,index) in recordList" :key="index" class="flex a-c" style="margin-bottom: 24px;"
@click="selectRecord(item,index)">
<span class="circle" :class="[curIdx == index ? 'active' : '']">
<span class="point" :class="[curIdx == index ? 'selBg' : '']" />
</span>
<span class="lineText" :class="[curIdx == index ? 'selText' : '']">
<el-tooltip
class="item"
effect="dark"
placement="top-start"
>
<el-tooltip class="item" effect="dark" placement="top-start">
<div slot="content" class="tool_tip">{{ item.fileName.split('-')[0] }}</div>
<span>
<div class="tree_content">
@ -46,11 +36,13 @@
</div>
</div>
<div v-if="recordList.length" class="showContent margin-left-10">
<iframe v-if="fileType === 'pdf'" :src="filePath + '#view=FitH,top&pagemode=thumbs'" frameborder="0" style="width: 100%; height: 100%" />
<iframe v-if="fileType === 'pdf' || fileType === 'PDF'" :src="filePath + '#view=FitH,top&pagemode=thumbs'" frameborder="0"
style="width: 100%; height: 100%" />
<!-- <div e-else class="flex imgclass">
<el-image fit="contain" :src="filePath" /></div>
</div> -->
<el-image e-else :src="filePath" /></div>
<el-image e-else :src="filePath" style="width: 800px;"/>
</div>
<div v-if="!recordList.length" class="noneData">
<img src="@/assets/img/nodata.png" alt="">
</div>
@ -69,14 +61,16 @@ export default {
patientId: {
type: String,
default: ''
},
title: {
type: String,
default: ''
}
},
data() {
return {
uploadUrl: process.env.VUE_APP_LOGIN_URL + '/hz_quguang/bd/file/uploadFile',
uploadData: {
formId: this.archiveCaseCRFItem.id
},
uploadUrl: '',
uploadData: {},
headers: {
token: Cookies.get('hzqg-token')
},
@ -87,20 +81,42 @@ export default {
id: '',
loading: false
}
},
mounted() {
},
methods: {
selectRecord(item, index) {
this.curIdx = index
this.id = item.id
this.filePath = item.filePath
this.fileType = item.fileType
init() {
if (this.title === '资料上传') {
this.uploadUrl = process.env.VUE_APP_LOGIN_URL + '/hz_quguang/patient/attachment'
this.uploadData = {
patientIdNumber: this.archiveCaseCRFItem.patientIdNumber
}
} else {
this.uploadUrl = process.env.VUE_APP_LOGIN_URL + '/hz_quguang/bd/file/uploadFile'
this.uploadData = {
formId: this.archiveCaseCRFItem.id
}
}
this.getHistoryList()
},
//
getHistoryList() {
this.$http.get('/hz_quguang/bd/file/getFileList', {
params: {
let url = ''
let params = {}
if (this.title === '资料上传') {
url = '/hz_quguang/patient/attachment/getList'
params = {
patientIdNumber: this.archiveCaseCRFItem.patientIdNumber
}
} else {
url = '/hz_quguang/bd/file/getFileList'
params = {
formId: this.archiveCaseCRFItem.id
}
}
this.$http.get(url, {
params: params
}).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -114,17 +130,23 @@ export default {
this.fileType = res.data[0].fileType
}
}
}).catch(() => {})
}).catch(() => { })
},
selectRecord(item, index) {
this.curIdx = index
this.id = item.id
this.filePath = item.filePath
this.fileType = item.fileType
},
beforeUpload(file) {
console.log(file)
console.log('file',file)
this.loading = true
const extension = file.type.includes('pdf') || file.type.includes('png') || file.type.includes('jpeg')
const isLt100M = file.size / 1024 / 1024 > 100
if (!extension) {
this.loading = false
this.$message.warning('上传文件只能是pdf或png或jpeg格式!')
return
return false
}
if (isLt100M) {
this.loading = false
@ -141,9 +163,9 @@ export default {
if (this.id === '') {
return this.$message.warning('请选择文件!')
}
this.$confirm('确认删除该条信息么?').then(async() => {
this.$confirm('确认删除该条信息么?').then(async () => {
const { data: res } = await this.$http({
url: '/hz_quguang/bd/file/delete',
url: this.title === '资料上传' ? '/hz_quguang/patient/attachment/delete' : '/hz_quguang/bd/file/delete',
method: 'delete',
data: [this.id]
})
@ -165,87 +187,87 @@ export default {
.historyRecord {
width: 100%;
height: 100%;
.history-head {
display: flex;
justify-content: space-between;
padding-bottom: 16px;
.upload-demo{
display: inline-block;
margin-left: 10px;
}
.history-head {
display: flex;
justify-content: space-between;
padding-bottom: 16px;
.upload-demo {
display: inline-block;
margin-left: 10px;
}
.history-content {
width: 100%;
height: calc( 100vh - 90px);
background: #FFFFFF;
display: flex;
justify-content: space-between;
.showContent{
overflow-y: auto;
flex: 1;
}
.lineTime{
width: 240px;
height: 100%;
overflow: auto;
}
.history-content {
width: 100%;
height: calc(100vh - 90px);
background: #ffffff;
display: flex;
justify-content: space-between;
.showContent {
overflow-y: auto;
flex: 1;
}
.lineTime {
width: 240px;
height: 100%;
overflow: auto;
.circle{
.circle {
display: inline-block;
width: 16px;
height: 16px;
line-height: 16px;
text-align: center;
border-radius: 32px;
background-color: #ffffff;
box-shadow: 0px 0px 3px #888888 inset;
.point {
display: inline-block;
width: 16px;
height: 16px;
line-height: 16px;
text-align: center;
width: 8px;
height: 8px;
margin-bottom: 4px;
border-radius: 32px;
background-color: #FFFFFF;
box-shadow: 0px 0px 3px #888888 inset;
.point{
display: inline-block;
width: 8px;
height: 8px;
margin-bottom: 4px;
border-radius: 32px;
background-color: #1E79FF33;
vertical-align: middle;
}
}
.circle::after{
content: "";
display: block;
width: 2px;
height: 28px;
background-color: #EBF6FF;
position: relative;
left: 7px;
top: 0;
}
.active{
box-shadow: 0px 0px 3px #1E79FF inset;
}
.selBg{
background-color: #1E79FF !important;
}
.selText{
color: #1E79FF !important;
}
.lineText{
margin-left: 16px;
color: #000000;
font-weight: 600;
cursor: pointer;
background-color: #1e79ff33;
vertical-align: middle;
}
}
.circle::after {
content: "";
display: block;
width: 2px;
height: 28px;
background-color: #ebf6ff;
position: relative;
left: 7px;
top: 0;
}
.active {
box-shadow: 0px 0px 3px #1e79ff inset;
}
.selBg {
background-color: #1e79ff !important;
}
.selText {
color: #1e79ff !important;
}
.lineText {
margin-left: 16px;
color: #000000;
font-weight: 600;
cursor: pointer;
}
}
.noneData{
margin: 0 auto;
margin-top: 80px;
}
.arrow{
}
.noneData {
margin: 0 auto;
margin-top: 80px;
}
.arrow {
display: inline-block;
width:0px;
height:0px;
border-width:5px 0 5px 8.5px;
border-style:solid;
border-color:transparent transparent transparent #1E79FF;
width: 0px;
height: 0px;
border-width: 5px 0 5px 8.5px;
border-style: solid;
border-color: transparent transparent transparent #1e79ff;
margin-left: 16px;
}
.el-image {

7
src/components/H5formOhter/visitFile.vue

@ -9,6 +9,7 @@
<div>
<history-record
ref="historyRecordRef"
:title="title"
:patient-id="patientId"
:archive-case-c-r-f-item="archiveCaseCRFItem"
@closeDialog="closeDialog"
@ -35,6 +36,10 @@ export default {
archiveCaseCRFItem: {
type: Object,
default: () => { }
},
title:{
type: String,
default: ''
}
},
data() {
@ -51,7 +56,7 @@ export default {
init() {
this.dialogVisible = this.fileShow
this.$nextTick(() => {
this.$refs.historyRecordRef.getHistoryList()
this.$refs.historyRecordRef.init()
})
},
closeDialog() {

227
src/components/hm-crf/img-editor.vue

@ -1,12 +1,6 @@
<template>
<el-dialog
:visible.sync="visible"
fullscreen
append-to-body
:show-close="false"
class="img-editor"
@closed="closeDialog"
>
<el-dialog :visible.sync="visible" fullscreen append-to-body :show-close="false" class="img-editor"
@closed="closeDialog">
<el-tooltip class="item" effect="dark" content="图片上传" placement="top-start">
<i class="el-icon-picture-outline replace-picture" />
</el-tooltip>
@ -14,7 +8,8 @@
<svg-icon icon-class="icon-repeat" class="replace-picture1" @click="repeatClick" />
</el-tooltip>
<input id="inputFile" class="replace-picture" type="file" name="" accept="image/jpeg,image/jpg,image/png" @change="replaceHandle">
<input id="inputFile" class="replace-picture" type="file" name="" accept="image/jpeg,image/jpg,image/png"
@change="replaceHandle">
<div class="dialog-container">
<div id="tui-image-editor" />
</div>
@ -183,7 +178,8 @@ const customTheme = {
// colorpicker style
'colorpicker.button.border': '1px solid #1e1e1e',
'colorpicker.title.color': '#fff'
'colorpicker.title.color': '#fff',
}
export default {
mixins: [base64Img],
@ -213,10 +209,10 @@ export default {
},
methods: {
init(imgText) {
imgText ? this.imgText = imgText : ''
this.visible = true
if (imgText) this.imgText = imgText;
this.visible = true;
this.$nextTick(() => {
// console.log(this.imgUrl)
this.instance = new ImageEditor(
document.querySelector('#tui-image-editor'),
{
@ -225,8 +221,8 @@ export default {
path: this.imgUrl,
name: 'image'
},
// menu: ['crop', 'rotate', 'draw', 'shape', 'icon', 'text', 'filter'], // flipmask
initMenu: 'draw',
initMenu: 'icon',
menu: ['icon', 'text', 'draw', 'crop', 'rotate'],
selectionStyle: {
lineWidth: 5,
strokeWidth: 6,
@ -235,27 +231,150 @@ export default {
rotatingPointOffset: 70
},
menuBarPosition: 'left',
locale: locale_zh, //
theme: customTheme //
locale: locale_zh,
theme: customTheme
}
}
)
// document.querySelector('.tie-btn-resize').style.display = 'none' //
document.querySelector('.tie-btn-mask').style.display = 'none' //
})
setTimeout(() => {
console.log(123)
// this.instance.startDrawingMode('FREE_DRAWING')
// this.instance.setBrush({
// width: 6,
// color: 'rgba(0, 0, 0, 0.5)'
// })
// this.instance.setBrush({
// width: 6,
// color: 'FFFFFF'
// })
}, 3000)
);
setTimeout(() => {
this.instance.changeMenu('draw');
const fabricCanvas = this.instance._graphics.getCanvas();
fabricCanvas.isDrawingMode = true;
fabricCanvas.freeDrawingBrush.width = 30;
fabricCanvas.freeDrawingBrush.color = '#000000';
fabricCanvas.requestRenderAll();
}, 600);
// svg
this.instance.registerIcons({
'close-x': 'M 20 20 L 60 60 M 60 20 L 20 60',
'circle-o': 'M 35 10 A 25 25 0 1 0 34.9 10'
});
setTimeout(() => {
const fabricCanvas = this.instance._graphics.getCanvas();
const canvasWidth = fabricCanvas.getWidth();
const canvasHeight = fabricCanvas.getHeight();
// ------------------------------------------------------------------
//
const arrowBtn = document.querySelector('.tui-image-editor-submenu [data-icontype="icon-arrow"]')
console.log('arrowBtn', arrowBtn);
if (arrowBtn && arrowBtn.parentNode) {
//
const xBtn = arrowBtn.cloneNode(true);
xBtn.className = 'custom-x-btn';
xBtn.removeAttribute('data-icontype', 'close-x'); // icon
xBtn.setAttribute('title', '叉号');
// label class
const label = xBtn.querySelector('label');
if (label) {
label.textContent = '叉号';
label.className = 'custom-x-label';
}
// SVG
const svg = xBtn.querySelector('svg');
if (svg) {
svg.innerHTML = `<path d="M 10 10 L 30 30 M 30 10 L 10 30" stroke="red" stroke-width="6" fill="none" />`;
}
//
xBtn.addEventListener('click', () => {
this.instance.addIcon('close-x', {
left: canvasWidth / 2,
top: canvasHeight / 2,
width: 60,
height: 60,
});
const objects = fabricCanvas.getObjects();
const lastObj = objects[objects.length - 1];
if (lastObj) {
lastObj.set({
originX: 'center',
originY: 'center',
left: canvasWidth / 2,
top: canvasHeight / 2,
stroke: 'red',
strokeWidth: 12,
fill: 'transparent',
opacity: 0.5 //
});
fabricCanvas.requestRenderAll();
}
});
//
arrowBtn.parentNode.insertBefore(xBtn, arrowBtn);
}
// ------------------------------------------------------------------
//
const circleBtn = arrowBtn.cloneNode(true);
circleBtn.className = 'custom-circle-btn';
circleBtn.removeAttribute('data-icontype');
circleBtn.setAttribute('title', '圆圈');
const label2 = circleBtn.querySelector('label');
if (label2) {
label2.textContent = '圆圈';
label2.className = 'custom-circle-label';
}
const svg2 = circleBtn.querySelector('svg');
if (svg2) {
svg2.innerHTML = `<circle cx="20" cy="20" r="12" stroke="red" stroke-width="4" fill="transparent" />`;
}
//
circleBtn.addEventListener('click', () => {
this.instance.addIcon('circle-o', {
left: canvasWidth / 2,
top: canvasHeight / 2,
width: 60,
height: 60
});
const objects = fabricCanvas.getObjects();
const lastObj = objects[objects.length - 1];
if (lastObj) {
lastObj.set({
originX: 'center',
originY: 'center',
left: canvasWidth / 2,
top: canvasHeight / 2,
stroke: 'red',
strokeWidth: 8,
fill: 'transparent',
opacity: 0.8
});
fabricCanvas.requestRenderAll();
}
});
//
arrowBtn.parentNode.insertBefore(circleBtn, arrowBtn);
}, 500);
});
},
// this.instance.addIcon('close-x', {
// left: canvasWidth / 2,
// top: canvasHeight / 2,
// width: 60,
// height: 60,
// });
// const objects = fabricCanvas.getObjects();
// const lastObj = objects[objects.length - 1];
// if (lastObj) {
// lastObj.set({
// originX: 'center',
// originY: 'center',
// left: canvasWidth / 2,
// top: canvasHeight / 2,
// stroke: 'red',
// strokeWidth: 12,
// fill: 'transparent',
// opacity: 0.5 //
// });
// fabricCanvas.requestRenderAll();
// }
submit() {
const base64String = this.instance.toDataURL()
// console.log(base64String)
@ -280,7 +399,7 @@ export default {
var that = this
reader.readAsDataURL(file)
console.log(reader)
reader.onload = function(e) {
reader.onload = function (e) {
that.imgUrl = reader.result
that.init()
}
@ -298,11 +417,19 @@ export default {
}
</script>
<style lang="scss">
.img-editor{
.replace-picture,.replace-picture1 {
.img-editor {
.custom-x-btn,.custom-circle-btn {
cursor: pointer;
}
.svg_ic-submenu {
width: 39px !important;
height: 39px !important;
}
.replace-picture,
.replace-picture1 {
z-index: 999;
position: fixed;
right:10px;
right: 10px;
cursor: pointer;
}
.replace-picture {
@ -332,7 +459,7 @@ export default {
position: absolute;
bottom: 10px;
right: 10px;
padding:0;
padding: 0;
z-index: 9;
}
.tui-image-editor-container.bottom .tui-image-editor-submenu > div {
@ -344,12 +471,30 @@ export default {
.tui-image-editor-submenu {
width: 200px !important;
}
.tui-image-editor-container .tui-image-editor-submenu .tui-image-editor-submenu-item label > span {
.tui-image-editor-container
.tui-image-editor-submenu
.tui-image-editor-submenu-item
label
> span {
display: initial;
}
.tui-image-editor-container.left .tui-image-editor-range, .tui-image-editor-container.right .tui-image-editor-range {
.tui-image-editor-container.left .tui-image-editor-range,
.tui-image-editor-container.right .tui-image-editor-range {
width: 110px;
}
div[data-icontype="icon-arrow"],
div[data-icontype="icon-arrow-2"],
div[data-icontype="icon-arrow-3"],
div[data-icontype="icon-star"],
div[data-icontype="icon-star-2"],
div[data-icontype="icon-polygon"],
div[data-icontype="icon-location"],
div[data-icontype="icon-heart"],
div[data-icontype="icon-bubble"] {
display: none !important;
}
.tie-icon-color {
display: none !important;
}
}
</style>

12
src/mixins/base64Img.js

File diff suppressed because one or more lines are too long

101
src/mixins/operationedCheckRecord.js

@ -13,6 +13,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -66,6 +68,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -115,6 +119,8 @@ export default {
DNYG: '电脑验光',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -164,6 +170,60 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '主觉验光',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
JMDXT: '',
// 眼轴
yanzhou: '',
// 内皮细胞密度
npxbmd: '',
// OCT上皮/最薄角膜厚度
octspZbjmhd: '',
// AMP
amp: '',
// 是否显示对比敏感度
isShowdbmgd: '',
// 对比敏感度暗
dbmgdAn: '',
// 对比敏感度低眩
dbmgdDi: '',
// 对比敏感度高眩
dbmgdGao: '',
// 对比敏感度亮
dbmgdLiang: '',
// UCVA
UCVA: '',
// BSCVA
BSCVA: '',
// 眼科检查
YKJC: '',
// 没有标题
empty: '',
// 诊断
ZD: '',
// 处理意见
clyj: '',
// 医生签字
doctorSign: '',
// 备注
beizhu: ''
},
{
name: '散瞳后主觉验光',
nameClass: 'sthZjyg',
// 主诉
ZS: '',
// 裸眼视力
LYSL: '',
// 电脑验光
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'散瞳后主觉验光',
// 眼压
YanYA: '',
// 角膜地形图
@ -213,6 +273,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '眼压',
// 角膜地形图
@ -262,6 +324,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -311,6 +375,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -360,6 +426,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -409,6 +477,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -458,6 +528,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -507,6 +579,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -556,6 +630,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -605,6 +681,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -654,6 +732,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -703,6 +783,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -753,6 +835,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -802,6 +886,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -852,6 +938,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -901,6 +989,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -950,6 +1040,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -999,6 +1091,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -1048,6 +1142,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -1097,6 +1193,8 @@ export default {
DNYG: '',
// 主觉验光
ZJYG: '',
// 散瞳后主觉验光
sthZjyg:'',
// 眼压
YanYA: '',
// 角膜地形图
@ -1721,7 +1819,8 @@ export default {
value: '0.02%氟米龙滴眼液5ml: 5mg * 1支',
label: '0.02%氟米龙滴眼液5ml: 5mg * 1支',
children: []
}]
}],
zsList:['夜视力','近疲劳']
}
},

42
src/mixins/publicFile.js

@ -215,19 +215,39 @@ export default {
}
this.closeFormSetDrawer()
this.$nextTick(() => {
console.log('this.$refs.autoFocusOsRef',this.$refs.autoFocusOsRef);
console.log('this.$refs.autoFocusOsRef', this.$refs.autoFocusOsRef);
// 光标定位
if(this.mrzYrEye.includes('左眼')) {
this.$refs.autoFocusOsRef.forEach(item=>{
if (this.mrzYrEye.includes('左眼')) {
this.$refs.autoFocusOsRef.forEach(item => {
item.focus()
})
} else {
this.$refs.autoFocusOdRef.forEach(item=>{
this.$refs.autoFocusOdRef.forEach(item => {
item.focus()
})
}
})
},
// 引入最新屈光电子病历
yrNewblData(data) {
console.log(data);
Object.keys(data).forEach((item) => {
// 如果data中没有定义这个字段,就自动加进去
this.formListValue[item] || typeof this.formListValue[item] === 'boolean' ? '' : this.formListValue[item] = ''
// 赋值
if ((data[item] && item !== 'formId' && item !== 'formDate' && item !== 'createSign' && item !== 'createName' && item !== 'createDate' && item !== 'saveName' && item !== 'saveTime' && data[item] !== 'false' && data[item] !== 'true') || typeof data[item] === 'number') {
this.formListValue[item] = data[item]
}
if (data[item] && item !== 'formId' && item !== 'formDate' && item !== 'createSign' && item !== 'createName' && item !== 'createDate' && item !== 'saveName' && item !== 'saveTime' && typeof data[item] !== 'number') {
data[item].includes('[') || data[item] === 'false' || data[item] === 'true' ? this.formListValue[item] = JSON.parse(data[item]) : ''
if (data[item].includes('&lt;0.3')) {
const dataValue = JSON.parse(data[item])
dataValue.splice(dataValue.indexOf('&lt;0.3'), 1, '<0.3')
this.formListValue[item] = dataValue
}
}
})
},
// 主觉验光如果输入的是整数,设置为保留一位小数 如果是两位小数保持不变
zjygChange(text) {
const numberValue = parseFloat(this.formListValue[text])
@ -281,7 +301,19 @@ export default {
} else {
this.$message.error(res.msg)
}
}
},
// 附件上传窗口打开
fjClick() {
this.fileShow = true
this.$nextTick(() => {
this.$refs.visitFileRef.init()
})
},
// 附件上传窗口打开
zlClick() {
console.log('this.$parent', this.$parent);
this.$parent.zlClick()
},
}
}

2
src/mixins/qgdzbl.js

@ -3061,6 +3061,8 @@ export default {
sexList: ['男', '女'],
// 视觉症状
visualSymptomslist: ['视疲劳', '眩光', '眼干', '无'],
// 食物和药物过敏史
swywGmsList: ['青霉素类', '头孢类', '牛奶、鸡蛋、海鲜等食物', '芒果、桃子等食物', '其它'],
// 要求手术原因
causesOperationlist: ['体检', '戴镜不适', '改变形象', '方便工作生活', '其它'],
// 体检

18
src/mixins/refreshDate.js

@ -64,6 +64,22 @@ export default {
this.$message.error(res.msg)
}
},
// 获取屈光病历诊断信息
async getQgdzblZdInfo(listText,text) {
// type 1 初诊 2 复诊
const { data: res } = await this.$http.get('/hz_quguang/opera/record/getEmrData', {
params: {
patientIdNumber: this.archiveCaseCRFItem.patientIdNumber,
type: 1
}
})
if (res.code === 0) {
this.bljcList = res.data
listText && text ? this.formListValue[text] = res.data[listText][text] : ''
} else {
this.$message.error(res.msg)
}
},
// 获取最新的泪道冲洗信息
async getNewLdcxInfo() {
const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getLdcx', {
@ -210,7 +226,7 @@ export default {
}
})
if (res.code === 0) {
this.formListValue.bz = res.data.bz ? res.data.bz : ''
this.formListValue.bz = res.data.bz ? res.data.bz : ''
} else {
this.$message.error(res.msg)
}

15
src/mixins/yiXinQianSign.js

@ -125,6 +125,7 @@ export default {
timestamp: '1'
})
if (res.status === '0') {
console.log('患者CA平板无线签-调取成功后可发送PDF文件到PAD',customParams, res.data);
this.callbackUpdataeOrderCode(customParams, res.data)
} else {
this.$message.error(res.msg)
@ -132,6 +133,7 @@ export default {
},
// 把返回的code传给后端
async callbackUpdataeOrderCode(customParams, resData) {
console.log('!!!!!!!!!!!!!!!!!!!把返回的code传给后端',customParams, resData);
const { data: res } = await this.$http.post('/hz_quguang/caSign/updateOrderCode', {
formId: customParams.caParams.formId,
orderCode: resData.orderCode
@ -165,6 +167,19 @@ export default {
this.$message.error(res.msg)
}
},
// CA医疗证明书数据签
async ylzmsFormDataCaSign(params, callback) {
const { data: res } = await this.$http.post('/hz_quguang/caSign/ylzmsFormDataCaSign', params)
if (res.code === 0) {
// this.$message({
// message: '此表单已CA成功',
// type: 'success'
// })
callback ? callback() : ''
} else {
this.$message.error(res.msg)
}
},
// 取消ca
async cancelCa() {
console.log('取消ca');

47
src/mixins/ylzms.js

@ -0,0 +1,47 @@
export default {
data() {
return {
tableData: [{
name: 'zsbs',
nameClass: 'zsbs',
zsbs: '主诉及病史',
zkjc: '',
fzjc: '',
czzd: '',
clyj: ''
}, {
name: 'zkjc',
nameClass: 'zkjc',
zsbs: '',
zkjc: '专科检查',
fzjc: '',
czzd: '',
clyj: ''
}, {
name: 'fzjc',
nameClass: 'fzjc',
zsbs: '',
zkjc: '',
fzjc: '辅助检查',
czzd: '',
clyj: ''
}, {
name: 'czzd',
nameClass: 'czzd',
zsbs: '',
zkjc: '',
fzjc: '',
czzd: '出诊诊断',
clyj: ''
}, {
name: 'clyj',
nameClass: 'clyj',
zsbs: '',
zkjc: '',
fzjc: '',
czzd: '',
clyj: '处理意见'
}]
}
}
}

6
src/page-subspecialty/views/modules/batchCaManagement/index.vue

@ -1,5 +1,5 @@
<template>
<div class="patient-info">
<div class="batcah-info">
<template v-if="isShowPatient">
<div class="patient-info-head">
<el-form :inline="true" :model="dataForm" class="demo-form-inline">
@ -182,7 +182,7 @@ export default {
}
</script>
<style lang="scss" scoped>
.patient-info {
.batcah-info {
.patient-info-head,
.patient-info-content {
background: #fff;
@ -204,7 +204,7 @@ export default {
}
</style>
<style lang="scss">
.patient-info {
.batcah-info {
.patient-info-head {
.el-form {
display: flex;

9
src/page-subspecialty/views/modules/outpatientManagement/index.vue

@ -40,7 +40,7 @@
<el-option v-for="(item,index) in jzTypeList" :key="index" :label="item.name" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="病历医生:" label-width="90px" class="min-width-90">
<el-form-item label="病历医生:" label-width="90px" class="min-width-90" v-show="dataForm.jzType">
<el-select v-model="dataForm.blDoctorName" placeholder="" size="small" clearable
@clear="getDataListInitial()" @change="getDataListInitial()">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
@ -292,7 +292,12 @@ export default {
},
//
async getDoctorList() {
const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList')
// 1 2 3
const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList',{
params:{
type: 3
}
})
if (res.code === 0) {
this.doctorList = res.data
} else {

127
src/page-subspecialty/views/modules/patientManagement/index.vue

@ -3,20 +3,21 @@
<div class="patient-info">
<template v-if="isShowPatient">
<div class="patient-info-head">
<el-form :inline="true" :model="dataForm" class="demo-form-inline">
<el-form-item prop="dateRange" label="就诊日期" class="min-width-90 range_inner-220" label-width="90px">
<el-date-picker v-model="startEndTime" size="small" type="daterange" range-separator="-"
start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" @change="dateChange" />
</el-form-item>
<el-form-item label="PID:">
<el-input v-model="dataForm.patientId" size="small" clearable placeholder=""
@clear="getDataListInitial()" @keyup.enter.native="getDataListInitial('patientId')" />
</el-form-item>
<el-form-item label="患者姓名:" label-width="90px" class="min-width-90">
<el-input v-model="dataForm.patientName" placeholder="" size="small" clearable
@clear="getDataListInitial()" @keyup.enter.native="getDataListInitial('patientName')" />
</el-form-item>
<!-- <el-form-item label="身份证:" label-width="80px" class="min-width-65 min-width-inner-180">
<el-form :model="dataForm" class="demo-form-inline">
<div class="flex-2">
<el-form-item prop="dateRange" label-width="90px" label="就诊日期:" class="range_inner-220">
<el-date-picker v-model="startEndTime" size="small" type="daterange" range-separator="-"
start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" @change="dateChange"/>
</el-form-item>
<el-form-item label="PID:" class="margin-left-10">
<el-input v-model="dataForm.patientId" size="small" clearable placeholder="" @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientId')" />
</el-form-item>
<el-form-item label="患者姓名:" class="min-width-90">
<el-input v-model="dataForm.patientName" placeholder="" size="small" clearable
@clear="getDataListInitial()" @keyup.enter.native="getDataListInitial('patientName')" />
</el-form-item>
<!-- <el-form-item label="身份证:" label-width="80px" class="min-width-65 min-width-inner-180">
<el-input
v-model="dataForm.patientIdNumber"
size="small"
@ -26,39 +27,47 @@
@keyup.enter.native="getDataListInitial('patientIdNumber')"
/>
</el-form-item> -->
<el-form-item label="接诊医生:" label-width="90px" class="min-width-90">
<el-select v-model="dataForm.employeeId" placeholder="" size="small" clearable
@clear="getDataListInitial()" @change="getDataListInitial()">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorCode" />
</el-select>
</el-form-item>
<el-form-item label="就诊类型:" label-width="90px" class="min-width-90">
<el-select v-model="dataForm.jzType" placeholder="" size="small" clearable @clear="getDataListInitial()"
@change="getDataListInitial()">
<el-option v-for="(item,index) in jzTypeList" :key="index" :label="item.name" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="病历医生:" label-width="90px" class="min-width-90">
<el-select v-model="dataForm.blDoctorName" placeholder="" size="small" clearable
@clear="getDataListInitial()" @change="getDataListInitial()">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorName" />
</el-select>
<!-- <el-input v-model="dataForm.blDoctorName" size="small" clearable @clear="getDataListInitial()"
<el-form-item label="就诊类型:" class="min-width-90">
<el-select v-model="dataForm.jzType" placeholder="" size="small" clearable @clear="getDataListInitial()"
@change="getDataListInitial()">
<el-option v-for="(item,index) in jzTypeList" :key="index" :label="item.name" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="病历医生:" class="min-width-90" v-show="dataForm.jzType">
<el-select v-model="dataForm.blDoctorName" placeholder="" size="small" clearable
@clear="getDataListInitial()" @change="getDataListInitial()">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorName" />
</el-select>
<!-- <el-input v-model="dataForm.blDoctorName" size="small" clearable @clear="getDataListInitial()"
@change="getDataListInitial()" /> -->
</el-form-item>
<!-- <el-form-item label="患者类别:">
</el-form-item>
<!-- <el-form-item label="患者类别:">
<el-select v-model="dataForm.patType" placeholder="患者类别" size="small" clearable @clear="getDataList()">
<el-option v-for="(item,index) in patientTypeList" :key="index" :label="item" :value="item" />
</el-select>
</el-form-item> -->
<!-- <el-form-item label="诊断内容:">
<!-- <el-form-item label="诊断内容:">
<el-input v-model="dataForm.diagNoseName" size="small" clearable @clear="getDataList()" />
</el-form-item> -->
<el-form-item style="flex:1">
<el-button type="primary" icon="el-icon-search" size="small" @click="getDataListInitial()">查询</el-button>
</el-form-item>
</div>
<div class="margin-top-10 flex-2">
<el-form-item label="接诊医生:" class="min-width-90 width-120">
<el-select v-model="dataForm.employeeId" placeholder="" size="small" clearable
@clear="getDataListInitial()" @change="getDataListInitial()">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorCode" />
</el-select>
</el-form-item>
<el-form-item label="手机号:" class="min-width-65 min-width-inner-180 margin-left-10">
<el-input v-model="dataForm.patientPhone" size="small" clearable placeholder="手机号"
@clear="getDataListInitial()" @keyup.enter.native="getDataListInitial('patientPhone')" />
</el-form-item>
<el-form-item style="margin-left:70px;">
<el-button type="primary" icon="el-icon-search" size="small" @click="getDataListInitial()">查询
</el-button>
</el-form-item>
</div>
</el-form>
</div>
<div class="patient-info-content">
@ -81,6 +90,7 @@
<el-table-column prop="patientId" label="PID " header-align="center" align="center" />
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" />
<el-table-column prop="patientSex" label="患者性别" header-align="center" align="center" />
<el-table-column prop="patientPhone" label="手机号" header-align="center" align="center" />
<el-table-column label="出生日期" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.patientBirthday ? $options.filters.dateFilterTwo( scope.row.patientBirthday): '- ' }}
@ -165,7 +175,7 @@ import detailView from '@/components/360View' // 360试图
import hotPrint from '@/components/H5formOhter/hotPrint'
// import pdfViewer from '@/components/pdfViewer.vue'
export default {
name:'patientManagement',
name: 'patientManagement',
components: {
headTemplate,
AddOrUpdate,
@ -184,6 +194,7 @@ export default {
deleteURL: '/hz_quguang/patient/manage',
getDataListIsPage: true
},
activeNames: ['1'],
cheackAllFooter: false,
startEndTime: [],
isShowPatient: true,
@ -222,7 +233,7 @@ export default {
hotPrintVisible: false,
currentPatientInfo: {},
userData: {},
positionName: []
positionName: [],
}
},
watch: {
@ -268,6 +279,9 @@ export default {
}
})
},
handleChange(val) {
console.log(val);
},
//
dateChange(e) {
this.dataForm.beginDate = e ? e[0] : ''
@ -276,7 +290,12 @@ export default {
},
//
async getDoctorList() {
const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList')
const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList', {
params: {
type: 3 // 1 2 3
}
})
if (res.code === 0) {
this.doctorList = res.data
} else {
@ -355,10 +374,22 @@ export default {
</style>
<style lang="scss">
.patient-info {
.el-collapse-item__content {
padding-bottom: 12px;
}
.el-collapse-item__header {
height: 10px;
line-height: 10px;
}
.el-collapse-item__arrow.is-active {
position: absolute;
right: 8px;
top: 43px;
}
.patient-info-head {
.el-form {
display: flex;
justify-content: space-between;
// display: flex;
// justify-content: space-between;
}
.el-form-item {
display: flex;
@ -370,11 +401,14 @@ export default {
.el-form-item__content,
.el-select,
.el-range-editor--small.el-input__inner {
width: 100%;
// width: 100%;
}
.form-item-date .el-form-item__content {
min-width: 180px;
}
.el-form-item__content {
margin-left: 0px !important;
}
}
.el-select {
width: 100%;
@ -407,6 +441,7 @@ export default {
.range_inner-220 {
.el-range-editor.el-input__inner {
min-width: 210px;
width: 200px;
}
}
.min-width-inner-180 {

29
src/page-subspecialty/views/modules/seeDoctor/archives/index.vue

@ -152,7 +152,7 @@
:patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj"
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl"
@load="loading=false" />
<medZms v-if="archiveCaseCRFItem.formName==='医疗证明书'&& formFlag===0" ref="medZmsRef"
<ylzms v-if="archiveCaseCRFItem.formName==='医疗证明书'&& formFlag===0" ref="ylzmsRef"
:patient-inifo-h5="patientInifoH5" page-title="档案" :save-eidt-title="saveEidtTitle"
:patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj"
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl"
@ -177,6 +177,17 @@
<span @click="closeDialogClick">取消</span>
</span>
</el-dialog>
<!-- 附件上传 -->
<visit-file
v-if="zlUpShow"
ref="zlUpRef"
:file-show="zlUpShow"
:patient-id="patientId"
:archive-case-c-r-f-item="archiveCaseCRFItem"
title="资料上传"
@closeDialog="zlUpShow=false"
/>
</div>
</template>
<script>
@ -198,8 +209,9 @@ import consenBookZfzJgzl from '@/components/H5form/consent-book-zfz-jgzl.vue'
import consentBookJmjl from '@/components/H5form/consent-book-jmjl.vue'
import shouquanBook from '@/components/H5form/shouquanBook'
import payDemandNote from '@/components/H5form/payDemandNote'
import medZms from '@/components/H5form/medZms.vue'
import ylzms from '@/components/H5form/ylzms.vue'
import signNSV from '@/mixins/sign-NSV'
import visitFile from '@/components/H5formOhter/visitFile'
export default {
components: {
addCaseForm,
@ -218,7 +230,8 @@ export default {
consentBookJmjl,
shouquanBook,
payDemandNote,
medZms
ylzms,
visitFile
},
mixins: [IntelligentFill, signNSV],
props: {
@ -246,7 +259,7 @@ export default {
inject: ['refresh'],
data() {
return {
zlUpShow:false,
operaCheckLookVisible: false,
defaultChecked: true,
printvisible: false,
@ -415,7 +428,7 @@ export default {
} else if (this.dataForm.formName === '特需医疗服务患者知情同意书') {
this.$refs.payDemandNoteRef.init()
} else if(this.dataForm.formName === '医疗证明书') {
this.$refs.medZmsRef.init()
this.$refs.ylzmsRef.init()
}
}, 200)
}
@ -638,6 +651,12 @@ export default {
},
closeDialogClick() {
this.biaoDanFormVisible = false
},
zlClick() {
this.zlUpShow = true
this.$nextTick(() => {
this.$refs.zlUpRef.init()
})
}
}
}

177
src/page-subspecialty/views/modules/statisticalManagement/cucTj.vue

@ -0,0 +1,177 @@
<template>
<div class="cucFather">
<div class="flex margin-bottom-10">
<el-form :inline="true" :model="dataForm" class="demo-form-inline">
<el-form-item label="PID:">
<el-input v-model="dataForm.patientId" size="small" clearable placeholder="" @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientId')" />
</el-form-item>
<el-form-item label="患者姓名:" label-width="90px" class="min-width-90">
<el-input v-model="dataForm.patientName" placeholder="" size="small" clearable @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientName')" />
</el-form-item>
<el-form-item style="flex:1">
<el-button type="primary" icon="el-icon-search" size="mini" @click="getDataListInitial()">查询
</el-button>
</el-form-item>
</el-form>
<div class="flex">
<div class="yuyPeople yuyPeople2">
<span>初查患者人数</span>
<span>{{total}}</span>
</div>
</div>
</div>
<el-table ref="multipleTable" :data="dataList" tooltip-effect="dark" style="width: 100%" :height="tableHeight">
<el-table-column prop="patientId" label="PID " header-align="center" align="center" />
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" />
<el-table-column prop="patientSex" label="性别" header-align="center" align="center" />
<el-table-column prop="patientPhone" label="手机号" header-align="center" align="center" />
<el-table-column label="出生日期" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.patientBirthday ? $options.filters.dateFilterTwo( scope.row.patientBirthday): '- ' }}
</template>
</el-table-column>
<el-table-column label="就诊时间" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.jzDate ?scope.row.jzDate : '-' }}
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.remark ? scope.row.remark : '- ' }}
</template>
</el-table-column>
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="60">
<template slot-scope="scope">
<span style="color: #1890ff; padding-right: 8px" class="cursor" @click="browseClick(scope.row)">病历</span>
</template>
</el-table-column>
</el-table>
<el-pagination background layout="total,prev, pager, next" :total="total" :current-page.sync="page"
@current-change="pageCurrentChangeHandle" style="margin-top:10px;" />
</div>
</template>
<script>
import tableAutoHeight from '@/mixins/tableAutoHeight'
import mixinViewModule from '@/mixins/view-module'
export default {
components: {
},
mixins: [mixinViewModule, tableAutoHeight],
data() {
return {
mixinViewModuleOptions: {
getDataListURL: '/hz_quguang/tj/czPatientPage',
getDataListIsPage: true
},
jzrcStartEndTime: '',
doctorList: {},
yuyList: [],
dataForm: {
beginDate: '',
endDate: '',
patientId: '',
patientName: ''
},
noOperaTotal: '',
operaTotal: ''
}
},
mounted() {
this.getDoctorList()
this.getOperaQkPatientTotal()
},
methods: {
//
async getDoctorList() {
const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList',{
params:{
type: 3 // 1 2 3
}
})
if (res.code === 0) {
this.doctorList = res.data
} else {
this.$message.error(res.msg)
}
},
//
async getOperaQkPatientTotal() {
const { data: res } = await this.$http.get('/hz_quguang/tj/getCzOperaPatientTotal')
if (res.code === 0) {
this.noOperaTotal = res.data.noOperaTotal
this.operaTotal = res.data.operaTotal
} else {
this.$message.error(res.msg)
}
},
//
browseClick(scopeRow) {
window.sessionStorage.removeItem('itemCurrentIndex')
window.sessionStorage.removeItem('itemListIndex')
this.$router.push({
path: '/seeDoctor',
query: {
info: this.$Base64.encode(JSON.stringify({
patientIdNumber: scopeRow.patientIdNumber,
patientCentreId: scopeRow.patientCentreId,
title: '门诊'
}))
}
})
},
}
}
</script>
<style lang="scss" scoped>
.cucFather {
background: #fff;
padding: 10px;
.yuyPeople {
height: 40px;
line-height: 40px;
border-radius: 5px;
font-size: 18px;
color: #fff;
text-align: center;
padding: 0 10px;
}
.yuyPeople1 {
background: #f5222d;
}
.yuyPeople2 {
background: #67c23a;
}
}
</style>
<style lang="scss">
.cucFather {
.el-col-today .el-radio-button--mini .el-radio-button__inner {
padding: 7px;
}
.el-radio-button__inner {
border: none;
}
.el-radio-button__orig-radio:checked + .el-radio-button__inner {
background: #e0e8ff;
border-color: #e0e8ff;
box-shadow: none;
color: #5048e5;
}
.el-radio-button:first-child .el-radio-button__inner {
border-left: none;
}
.el-pagination {
margin-top: 0;
}
.el-table--medium .el-table__cell {
padding: 6px 0;
}
.el-input__inner {
width: 120px !important;
}
}
</style>

344
src/page-subspecialty/views/modules/statisticalManagement/index.vue

@ -1,42 +1,50 @@
<template>
<!-- 统计管理 -->
<div class="statistical-management">
<div class="statics-top">
<el-row :gutter="16">
<el-col :span="8">
<div v-if="todayShow" class="today-ssl el-col-today">
<span class="today-left">
<p>今日手术量</p>
<p>{{ todayCensusList.opera[0].value }}</p>
</span>
<span class="today-right"
:class="todayCensusList.operaCompare > 0 ? 'today-right-small' : (todayCensusList.scheduleCompare < 0 ? 'today-right-big' : 'today-right-equal')">
<span>较昨日</span>
<svg-icon v-show="todayCensusList.operaCompare !==0"
:icon-class="todayCensusList.operaCompare > 0 ? 'icon-straight-down' : 'icon-straight-up'" />
<span
class="today-right">{{ todayCensusList.operaCompare > 0 ? todayCensusList.operaCompare : (todayCensusList.operaCompare) * -1 }}</span>
</span>
</div>
</el-col>
<!-- v-show="todayCensusList.scheduleCompare !==0" -->
<el-col :span="8">
<div v-if="todayShow" class="today-yyl el-col-today">
<span class="today-left">
<p>今日预约量</p>
<p>{{ todayCensusList.schedule[0].value }}</p>
</span>
<span class="today-right"
:class="todayCensusList.scheduleCompare > 0 ? 'today-right-small' : (todayCensusList.scheduleCompare < 0 ? 'today-right-big' : 'today-right-equal')">
<span>较昨日</span>
<svg-icon v-show="todayCensusList.scheduleCompare !==0"
:icon-class="todayCensusList.scheduleCompare > 0 ? 'icon-straight-down' : 'icon-straight-up'" />
<span
class="today-right">{{ todayCensusList.scheduleCompare > 0 ? todayCensusList.scheduleCompare : (todayCensusList.scheduleCompare) * -1 }}</span>
</span>
</div>
</el-col>
<!-- <el-col :span="6">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="首页" name="1"></el-tab-pane>
<el-tab-pane label="初查患者统计" name="2"></el-tab-pane>
<el-tab-pane label="3个月内预约统计" name="3"></el-tab-pane>
<el-tab-pane label="门诊患者数据导出" name="4"></el-tab-pane>
<el-tab-pane label="术后患者数据导出" name="5"></el-tab-pane>
</el-tabs>
<div style="height:80vh;" v-if="activeName==1">
<div class="statics-top">
<el-row :gutter="16">
<el-col :span="8">
<div v-if="todayShow" class="today-ssl el-col-today">
<span class="today-left">
<p>今日手术量</p>
<p>{{ todayCensusList.opera[0].value }}</p>
</span>
<span class="today-right"
:class="todayCensusList.operaCompare > 0 ? 'today-right-small' : (todayCensusList.scheduleCompare < 0 ? 'today-right-big' : 'today-right-equal')">
<span>较昨日</span>
<svg-icon v-show="todayCensusList.operaCompare !==0"
:icon-class="todayCensusList.operaCompare > 0 ? 'icon-straight-down' : 'icon-straight-up'" />
<span
class="today-right">{{ todayCensusList.operaCompare > 0 ? todayCensusList.operaCompare : (todayCensusList.operaCompare) * -1 }}</span>
</span>
</div>
</el-col>
<!-- v-show="todayCensusList.scheduleCompare !==0" -->
<el-col :span="8">
<div v-if="todayShow" class="today-yyl el-col-today">
<span class="today-left">
<p>今日预约量</p>
<p>{{ todayCensusList.schedule[0].value }}</p>
</span>
<span class="today-right"
:class="todayCensusList.scheduleCompare > 0 ? 'today-right-small' : (todayCensusList.scheduleCompare < 0 ? 'today-right-big' : 'today-right-equal')">
<span>较昨日</span>
<svg-icon v-show="todayCensusList.scheduleCompare !==0"
:icon-class="todayCensusList.scheduleCompare > 0 ? 'icon-straight-down' : 'icon-straight-up'" />
<span
class="today-right">{{ todayCensusList.scheduleCompare > 0 ? todayCensusList.scheduleCompare : (todayCensusList.scheduleCompare) * -1 }}</span>
</span>
</div>
</el-col>
<!-- <el-col :span="6">
<div class="today-jcl el-col-today">
<span class="today-left">
<p>今日检查量</p>
@ -48,125 +56,152 @@
</span>
</div>
</el-col> -->
<!-- v-show="todayCensusList.surveyCompare !==0" -->
<el-col :span="8">
<div v-if="todayShow" class="today-wjl el-col-today">
<span class="today-left">
<p>今日问卷量</p>
<p>{{ todayCensusList.survey[0].value }}</p>
</span>
<span class="today-right"
:class="todayCensusList.surveyCompare > 0 ? 'today-right-small' : (todayCensusList.surveyCompare < 0 ? 'today-right-big' : 'today-right-equal')">
<span>较昨日</span>
<svg-icon v-show="todayCensusList.surveyCompare !==0"
:icon-class="todayCensusList.surveyCompare > 0 ? 'icon-straight-down' : 'icon-straight-up'" />
<span
class="today-right">{{ todayCensusList.surveyCompare > 0 ? todayCensusList.surveyCompare : (todayCensusList.surveyCompare) * -1 }}</span>
</span>
</div>
</el-col>
</el-row>
<!-- v-show="todayCensusList.surveyCompare !==0" -->
<el-col :span="8">
<div v-if="todayShow" class="today-wjl el-col-today">
<span class="today-left">
<p>今日问卷量</p>
<p>{{ todayCensusList.survey[0].value }}</p>
</span>
<span class="today-right"
:class="todayCensusList.surveyCompare > 0 ? 'today-right-small' : (todayCensusList.surveyCompare < 0 ? 'today-right-big' : 'today-right-equal')">
<span>较昨日</span>
<svg-icon v-show="todayCensusList.surveyCompare !==0"
:icon-class="todayCensusList.surveyCompare > 0 ? 'icon-straight-down' : 'icon-straight-up'" />
<span
class="today-right">{{ todayCensusList.surveyCompare > 0 ? todayCensusList.surveyCompare : (todayCensusList.surveyCompare) * -1 }}</span>
</span>
</div>
</el-col>
</el-row>
</div>
<div class="statics-center">
<el-row :gutter="16" style="height:100%">
<span class="statics-title-date">
<p class="statics-title">手术量统计</p>
<el-select v-model="operaTj.doctorId" placeholder="医生" size="small" clearable @clear="operaRefresh()"
@change="operaRefresh()" style="margin-right:20px;">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorCode" />
</el-select>
<el-date-picker style="margin-right:20px;" v-model="operaStartEndTime" size="small" type="daterange"
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"
@change="operaDateChange" />
<el-radio-group v-model="operaTj.type" size="mini" @change="radioOperaTypeChange()">
<el-radio-button label="3">本周</el-radio-button>
<el-radio-button label="2">本月</el-radio-button>
<el-radio-button label="1">本年</el-radio-button>
</el-radio-group>
<el-button style="margin-left:30px;" type="primary" size="mini"
@click="exproDate('/hz_quguang/data/analyse/exportOperaCensusData','手术量统计表')">导出</el-button>
</span>
<el-col :span="12" style="height:90%;">
<div class="operation-volume-echarts">
<operation-volume-echarts v-if="operationVolumeHeight" id-name="operation-volume"
:chart-data="operationVolumeList" :height="operationVolumeHeight" ref="operaRef" />
</div>
</el-col>
<el-col :span="12" style="height:90%;">
<el-table :data="operaCensusDataList" :height="operationVolumeHeight1 - 45">
<el-table-column prop="doctorName" label="医生姓名" width="90"></el-table-column>
<el-table-column prop="operaDate" label="手术时间" width="110"></el-table-column>
<el-table-column prop="operaName" label="手术名称"></el-table-column>
<el-table-column prop="patientName" label="患者姓名" width="90"></el-table-column>
<el-table-column prop="patientId" label="PID" width="120"></el-table-column>
</el-table>
<el-pagination background layout="total, prev, pager, next" :total="opearTotal" :page-size="operaTj.limit"
style="margin-top:10px;" :current-page.sync="operaTj.page"
@current-change="operaPageCurrentChangeHandle" />
</el-col>
</el-row>
</div>
<div class="statics-bottom">
<el-row :gutter="16">
<span class="jzrc-title-date" style="margin-top:10px;">
<p style="margin-right:10px;font-size:20px;">就诊人次统计</p>
<el-select v-model="jzrcTj.doctorId" placeholder="医生" size="small" clearable @clear="jzrcRefresh()"
@change="jzrcRefresh()" style="margin-right:20px;">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorCode" />
</el-select>
<el-date-picker style="margin-right:20px;" v-model="jzrcStartEndTime" size="small" type="daterange"
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"
@change="jzrcDateChange" />
<el-radio-group v-model="jzrcTj.type" size="mini" @change="radioJzrcTypeChange">
<el-radio-button label="3">本周</el-radio-button>
<el-radio-button label="2">本月</el-radio-button>
<el-radio-button label="1">本年</el-radio-button>
</el-radio-group>
<el-button style="margin-left:30px;" type="primary" size="mini"
@click="exproDate('/hz_quguang/data/analyse/exportJzrcCensusData','就诊人次统计表')">导出
</el-button>
</span>
<el-col :span="12">
<div class="jzrc">
<div class="jzrc-echearts">
<jzrc-echarts v-if="jzrcEchartsHeight" id-name="jzrc-bar" :chart-data="jzrcCensusList"
:height="jzrcEchartsHeight" />
</div>
</div>
</el-col>
<el-col :span="12">
<el-table :data="jzrcCensusDataList" :height="jzrcEchartsHeight1 - 45">
<el-table-column prop="patientId" label="PID"></el-table-column>
<el-table-column prop="patientName" label="患者姓名"></el-table-column>
<el-table-column prop="patientSex" label="患者性别"></el-table-column>
<el-table-column prop="patientBirthday" label="患者生日"></el-table-column>
<el-table-column prop="doctorName" label="医生姓名"></el-table-column>
</el-table>
<el-pagination background layout="total, prev, pager, next" :total="jzrcTotal" :page-size="jzrcTj.limit"
style="margin-top:10px;" :current-page.sync="jzrcTj.page" @current-change="jzrcPageCurrentChangeHandle" />
</el-col>
</el-row>
</div>
</div>
<div class="statics-center">
<el-row :gutter="16" style="height:100%">
<span class="statics-title-date">
<p class="statics-title">手术量统计</p>
<el-select v-model="operaTj.doctorId" placeholder="医生" size="small" clearable @clear="operaRefresh()"
@change="operaRefresh()" style="margin-right:20px;">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorCode" />
</el-select>
<el-date-picker style="margin-right:20px;" v-model="operaStartEndTime" size="small" type="daterange"
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"
@change="operaDateChange" />
<el-radio-group v-model="operaTj.type" size="mini" @change="radioOperaTypeChange()">
<el-radio-button label="3"></el-radio-button>
<el-radio-button label="2"></el-radio-button>
<el-radio-button label="1"></el-radio-button>
</el-radio-group>
<el-button style="margin-left:30px;" type="primary" size="mini">导出</el-button>
</span>
<el-col :span="12" style="height:90%;">
<div class="operation-volume-echarts">
<operation-volume-echarts v-if="operationVolumeHeight" id-name="operation-volume"
:chart-data="operationVolumeList" :height="operationVolumeHeight" ref="operaRef" />
</div>
</el-col>
<el-col :span="12" style="height:90%;">
<el-table :data="operaCensusDataList" :height="operationVolumeHeight1 - 45">
<el-table-column prop="doctorName" label="医生姓名" width="90"></el-table-column>
<el-table-column prop="operaDate" label="手术时间" width="110"></el-table-column>
<el-table-column prop="operaName" label="手术名称"></el-table-column>
<el-table-column prop="patientName" label="患者姓名" width="90"></el-table-column>
<el-table-column prop="patientId" label="PID" width="120"></el-table-column>
</el-table>
<el-pagination background layout="total, prev, pager, next" :total="opearTotal" :page-size="operaTj.limit" style="margin-top:10px;"
:current-page.sync="operaTj.page" @current-change="operaPageCurrentChangeHandle" />
</el-col>
</el-row>
<div v-if="activeName == 2">
<cjcTj></cjcTj>
</div>
<div class="statics-bottom">
<el-row :gutter="16">
<span class="jzrc-title-date" style="margin-top:10px;">
<p style="margin-right:10px;font-size:20px;">就诊人次统计</p>
<el-select v-model="jzrcTj.doctorId" placeholder="医生" size="small" clearable @clear="jzrcRefresh()"
@change="jzrcRefresh()" style="margin-right:20px;">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorCode" />
</el-select>
<el-date-picker style="margin-right:20px;" v-model="jzrcStartEndTime" size="small" type="daterange"
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd"
@change="jzrcDateChange" />
<el-radio-group v-model="jzrcTj.type" size="mini" @change="radioJzrcTypeChange">
<el-radio-button label="3">本周</el-radio-button>
<el-radio-button label="2">本月</el-radio-button>
<el-radio-button label="1">本年</el-radio-button>
</el-radio-group>
<el-button style="margin-left:30px;" type="primary" size="mini">导出</el-button>
</span>
<el-col :span="12">
<div class="jzrc">
<div class="jzrc-echearts">
<jzrc-echarts v-if="jzrcEchartsHeight" id-name="jzrc-bar" :chart-data="jzrcCensusList"
:height="jzrcEchartsHeight" />
</div>
</div>
</el-col>
<el-col :span="12">
<el-table :data="jzrcCensusDataList" :height="jzrcEchartsHeight1 - 45">
<el-table-column prop="patientId" label="PID"></el-table-column>
<el-table-column prop="patientName" label="患者姓名" ></el-table-column>
<el-table-column prop="patientSex" label="患者性别"></el-table-column>
<el-table-column prop="patientBirthday" label="患者生日" ></el-table-column>
<el-table-column prop="doctorName" label="医生姓名"></el-table-column>
</el-table>
<el-pagination background layout="total, prev, pager, next" :total="jzrcTotal" :page-size="jzrcTj.limit" style="margin-top:10px;"
:current-page.sync="jzrcTj.page" @current-change="jzrcPageCurrentChangeHandle" />
</el-col>
</el-row>
<div v-if="activeName == 3">
<yuyTj></yuyTj>
</div>
<div v-if="activeName == 4">
<mzJcsjExport></mzJcsjExport>
</div>
<div v-if="activeName == 5">
<operaedJcsjExport></operaedJcsjExport>
</div>
</div>
</template>
<script>
import operationVolumeEcharts from './operation-volume-echarts.vue'
import tableAutoHeight from '@/mixins/tableAutoHeight'
import ssfxEcharts from './ssfx-echarts.vue'
import jzrcEcharts from './jzrc-echarts.vue'
import wjtjEcharts from './wjtj-echarts.vue'
import yuyTj from './yuyTj.vue'
import cjcTj from './cucTj.vue'
import mzJcsjExport from './mzJcsjExport.vue'
import operaedJcsjExport from './operaedJcsjExport.vue'
export default {
components: {
operationVolumeEcharts,
ssfxEcharts,
jzrcEcharts,
wjtjEcharts
wjtjEcharts,
yuyTj,
cjcTj,
mzJcsjExport,
operaedJcsjExport
},
mixins: [tableAutoHeight],
data() {
return {
todayShow: false,
operationVolumeHeight: '',
operationVolumeHeight1:'',
operationVolumeHeight1: '',
ssfxEchartsHeight: '',
jzrcEchartsHeight: '',
jzrcEchartsHeight1:'',
jzrcEchartsHeight1: '',
wjtjEchartsHeight: '',
todayCensusList: {},
operationVolumeList: [],
@ -186,7 +221,7 @@ export default {
limit: 5,
page: 1
},
jzrcStartEndTime:'',
jzrcStartEndTime: '',
jzrcTj: {
beginDate: '',
endDate: '',
@ -197,7 +232,8 @@ export default {
},
ssfxRadioValue: '1',
wjtjRadioValue: '1',
doctorList: {}
doctorList: {},
activeName: '1',
}
},
created() {
@ -226,6 +262,9 @@ export default {
this.$message.error(res.msg)
}
},
handleClick(tab, event) {
console.log(tab, event);
},
//
async getTodayCensus() {
this.todayShow = false
@ -290,11 +329,29 @@ export default {
this.operaTj.page = val
this.getOperaCensusDataList()
},
//
async exproDate(url, text) {
// this.operaTj
const { data: res } = await this.$http({
method: 'post',
url: url,
responseType: 'blob',
data: text === '就诊人次统计表' ? this.jzrcTj : this.operaTj
})
const link = document.createElement('a') // aa
const blob = new Blob([res], { type: 'application/vnd.ms-excel' }) // type
link.style.display = 'none'
link.href = URL.createObjectURL(blob) // URL.createObjectURLURLahref
link.setAttribute('download', text) //
document.body.appendChild(link) //
link.click() //
document.body.removeChild(link) //
},
// -
jzrcRefresh() {
this.getJzrcCensus()
this.getJzrcCensusDataList()
},
},
// -
radioJzrcTypeChange() {
this.jzrcTj.beginDate = ''
@ -341,6 +398,11 @@ export default {
this.operaTj.page = val
this.getJzrcCensusDataList()
},
// - ,
yuyPageCurrentChangeHandle(val) {
this.operaTj.page = val
// this.getJzrcCensusDataList()
},
}
}
</script>
@ -351,6 +413,7 @@ export default {
flex-direction: column;
height: calc(100vh - 80px);
overflow: hidden;
// background: red;
.el-col-today {
background: #fff;
@ -414,7 +477,7 @@ export default {
.statics-bottom {
// height: 260px;
background: #fff;
height: 50%;
height: 55%;
.el-row,
.el-col {
height: 100%;
@ -431,7 +494,7 @@ export default {
.wjtj-echarts {
height: 90%;
}
.el-radio-button--mini .el-radio-button__inner {
.el-col-today .el-radio-button--mini .el-radio-button__inner {
padding: 7px;
}
.el-radio-button__inner {
@ -447,10 +510,13 @@ export default {
border-left: none;
}
.el-pagination {
margin-top:0;
margin-top: 0;
}
.el-table--medium .el-table__cell {
padding: 6px 0;
}
.el-form-item {
margin-bottom: 0;
}
}
</style>

254
src/page-subspecialty/views/modules/statisticalManagement/mzJcsjExport.vue

@ -0,0 +1,254 @@
<template>
<div class="mzJcsjFather">
<div class="flex margin-bottom-10">
<el-form :inline="true" :model="dataForm" class="demo-form-inline">
<el-form-item label="PID:" class="inner100">
<el-input v-model="dataForm.patientId" size="small" clearable placeholder="" @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientId')" />
</el-form-item>
<el-form-item label="患者姓名:" label-width="90px" class="min-width-90 inner100">
<el-input v-model="dataForm.patientName" placeholder="" size="small" clearable @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientName')" />
</el-form-item>
<el-form-item prop="dateRange" label="就诊日期" class="min-width-80 inner220" label-width="80px">
<el-date-picker v-model="startEndTime" size="small" type="daterange" range-separator="-"
start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" @change="dateChange" />
</el-form-item>
<el-form-item label="就诊类型:" label-width="90px" class="min-width-90 inner100">
<el-select v-model="dataForm.jzType" placeholder="" size="small" clearable @clear="getDataListInitial()"
@change="getDataListInitial()">
<el-option v-for="(item,index) in jzTypeList" :key="index" :label="item.name" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="病历医生:" label-width="90px" class="min-width-90 inner120" v-show="dataForm.jzType">
<el-select v-model="dataForm.blDoctorName" placeholder="" size="small" clearable @clear="getDataListInitial()"
@change="getDataListInitial()">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorName" />
</el-select>
</el-form-item>
<el-form-item style="flex:1">
<el-button type="primary" icon="el-icon-search" size="mini" @click="getDataListInitial()">查询
</el-button>
</el-form-item>
</el-form>
<el-button style="margin-left:30px;" type="warning" size="small" @click="exproDate">导出</el-button>
</div>
<el-table ref="multipleTable" :data="dataList" tooltip-effect="dark" style="width: 100%" :height="tableHeight">
<el-table-column prop="patientId" label="PID " header-align="center" align="center" />
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" />
<el-table-column prop="patientSex" label="性别" header-align="center" align="center" />
<el-table-column prop="patientPhone" label="手机号" header-align="center" align="center" />
<el-table-column label="出生日期" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.patientBirthday ? $options.filters.dateFilterTwo( scope.row.patientBirthday): '- ' }}
</template>
</el-table-column>
<el-table-column label="就诊时间" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.jzDate ?scope.row.jzDate : '-' }}
</template>
</el-table-column>
<el-table-column label="初病保存人" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.czEmrSaveName ?scope.row.czEmrSaveName : '-' }}
</template>
</el-table-column>
<el-table-column label="初病保存时间" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.czEmrSaveDate ? scope.row.czEmrSaveDate : '-' }}
</template>
</el-table-column>
<el-table-column label="复病保存人" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.fzEmrSaveName ?scope.row.fzEmrSaveName : '-' }}
</template>
</el-table-column>
<el-table-column label="复病保存时间" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.fzEmrSaveDate ? scope.row.fzEmrSaveDate : '-' }}
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.remark ? scope.row.remark : '- ' }}
</template>
</el-table-column>
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="60">
<template slot-scope="scope">
<span style="color: #1890ff; padding-right: 8px" class="cursor" @click="browseClick(scope.row)">病历</span>
</template>
</el-table-column>
</el-table>
<el-pagination background layout="total,prev, pager, next" :total="total" :current-page.sync="page"
@current-change="pageCurrentChangeHandle" style="margin-top:10px;" />
</div>
</template>
<script>
import tableAutoHeight from '@/mixins/tableAutoHeight'
import mixinViewModule from '@/mixins/view-module'
export default {
components: {
},
mixins: [mixinViewModule, tableAutoHeight],
data() {
return {
mixinViewModuleOptions: {
getDataListURL: '/hz_quguang/tj/getMzPatientPage',
getDataListIsPage: true
},
jzrcStartEndTime: '',
doctorList: {},
yuyList: [],
dataForm: {
beginDate: '',
endDate: '',
patientId: '',
patientName: '',
patientIdNumber: '',
patientPhone: '',
blDoctorName: '', //
employeeId: '',
jzType: '', // 12
},
// 123
jzTypeList: [{
name: '全部',
value: ''
}, {
name: '初诊',
value: 1
}, {
name: '复诊',
value: 2
}],
noOperaTotal: '',
operaTotal: '',
startEndTime: ''
}
},
mounted() {
this.getDoctorList()
},
methods: {
//
async getDoctorList() {
const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList',{
params:{
type: 3 // 1 2 3
}
})
if (res.code === 0) {
this.doctorList = res.data
} else {
this.$message.error(res.msg)
}
},
//
dateChange(e) {
this.dataForm.beginDate = e ? e[0] : ''
this.dataForm.endDate = e ? e[1] : ''
this.getDataListInitial()
},
//
async exproDate(url, text) {
if(this.total>1000) {
return this.$message.error('请导出小于1000患者的数据')
}
// this.operaTj
const { data: res } = await this.$http({
method: 'post',
url: '/hz_quguang/tj/exportMzPatient',
responseType: 'blob',
data: this.dataForm
})
const link = document.createElement('a') // aa
const blob = new Blob([res], { type: 'application/vnd.ms-excel' }) // type
link.style.display = 'none'
link.href = URL.createObjectURL(blob) // URL.createObjectURLURLahref
link.setAttribute('download', '门诊患者检查数据') //
document.body.appendChild(link) //
link.click() //
document.body.removeChild(link) //
},
//
browseClick(scopeRow) {
window.sessionStorage.removeItem('itemCurrentIndex')
window.sessionStorage.removeItem('itemListIndex')
this.$router.push({
path: '/seeDoctor',
query: {
info: this.$Base64.encode(JSON.stringify({
patientIdNumber: scopeRow.patientIdNumber,
patientCentreId: scopeRow.patientCentreId,
title: '门诊'
}))
}
})
},
}
}
</script>
<style lang="scss" scoped>
.mzJcsjFather {
background: #fff;
padding: 10px;
.yuyPeople {
height: 50px;
line-height: 50px;
border-radius: 5px;
font-size: 18px;
color: #fff;
text-align: center;
padding: 0 10px;
}
.yuyPeople1 {
background: #f5222d;
}
.yuyPeople2 {
background: #67c23a;
}
}
</style>
<style lang="scss">
.mzJcsjFather {
.el-col-today .el-radio-button--mini .el-radio-button__inner {
padding: 7px;
}
.el-radio-button__inner {
border: none;
}
.el-radio-button__orig-radio:checked + .el-radio-button__inner {
background: #e0e8ff;
border-color: #e0e8ff;
box-shadow: none;
color: #5048e5;
}
.el-radio-button:first-child .el-radio-button__inner {
border-left: none;
}
.el-pagination {
margin-top: 0;
}
.el-table--medium .el-table__cell {
padding: 6px 0;
}
.inner100 {
.el-input__inner {
width: 100px !important;
}
}
.inner120 {
.el-input__inner {
width: 120px !important;
}
}
.inner220 {
.el-input__inner {
width: 200px !important;
}
}
}
</style>

212
src/page-subspecialty/views/modules/statisticalManagement/operaedJcsjExport.vue

@ -0,0 +1,212 @@
<template>
<div class="mzJcsjFather">
<div class="flex margin-bottom-10">
<el-form :inline="true" :model="dataForm" class="demo-form-inline">
<el-form-item label="PID:" class="inner100">
<el-input v-model="dataForm.patientId" size="small" clearable placeholder="" @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientId')" />
</el-form-item>
<el-form-item label="患者姓名:" label-width="90px" class="min-width-90 inner100">
<el-input v-model="dataForm.patientName" placeholder="" size="small" clearable @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientName')" />
</el-form-item>
<el-form-item prop="dateRange" label="手术日期" class="min-width-80 inner220" label-width="80px">
<el-date-picker v-model="startEndTime" size="small" type="daterange" range-separator="-"
start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" @change="dateChange" />
</el-form-item>
<el-form-item label="主刀医生:" label-width="90px" class="min-width-90 inner120">
<el-select v-model="dataForm.mainDoctorCode" placeholder="" size="small" clearable @clear="getDataListInitial()"
@change="getDataListInitial()">
<el-option v-for="(item,index) in doctorList" :key="index" :label="item.doctorName"
:value="item.doctorCode" />
</el-select>
</el-form-item>
<el-form-item style="flex:1">
<el-button type="primary" icon="el-icon-search" size="mini" @click="getDataListInitial()">查询
</el-button>
</el-form-item>
</el-form>
<el-button style="margin-left:30px;" type="warning" size="small" @click="exproDate">导出</el-button>
</div>
<el-table ref="multipleTable" :data="dataList" tooltip-effect="dark" style="width: 100%" :height="tableHeight">
<el-table-column prop="patientId" label="PID " header-align="center" align="center" />
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" />
<el-table-column prop="patientSex" label="性别" header-align="center" align="center" />
<el-table-column prop="patientPhone" label="手机号" header-align="center" align="center" />
<el-table-column label="出生日期" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.patientBirthday ? $options.filters.dateFilterTwo( scope.row.patientBirthday): '- ' }}
</template>
</el-table-column>
<el-table-column prop="mainDoctorName" label="主刀医生" header-align="center" align="center" />
<el-table-column prop="operaNameList" label="手术名称" header-align="center" align="center" />
<el-table-column prop="operaDate" label="手术时间" header-align="center" align="center" />
<el-table-column prop="operaRoom" label="手术间" header-align="center" align="center" />
<el-table-column label="备注" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.patientRemark ? scope.row.patientRemark : '- ' }}
</template>
</el-table-column>
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="60">
<template slot-scope="scope">
<span style="color: #1890ff; padding-right: 8px" class="cursor" @click="browseClick(scope.row)">病历</span>
</template>
</el-table-column>
</el-table>
<el-pagination background layout="total,prev, pager, next" :total="total" :current-page.sync="page"
@current-change="pageCurrentChangeHandle" style="margin-top:10px;" />
</div>
</template>
<script>
import tableAutoHeight from '@/mixins/tableAutoHeight'
import mixinViewModule from '@/mixins/view-module'
export default {
components: {
},
mixins: [mixinViewModule, tableAutoHeight],
data() {
return {
mixinViewModuleOptions: {
getDataListURL: '/hz_quguang/tj/getOperaAfterPatientPage',
getDataListIsPage: true
},
jzrcStartEndTime: '',
doctorList: {},
yuyList: [],
dataForm: {
beginDate: '',
endDate: '',
patientId: '',
patientName: '',
mainDoctorCode:'', //
},
noOperaTotal: '',
operaTotal: '',
startEndTime: ''
}
},
mounted() {
this.getDoctorList()
},
methods: {
//
async getDoctorList() {
const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList',{
params:{
type: 1 // 1 2 3
}
})
if (res.code === 0) {
this.doctorList = res.data
} else {
this.$message.error(res.msg)
}
},
//
dateChange(e) {
this.dataForm.beginDate = e ? e[0] : ''
this.dataForm.endDate = e ? e[1] : ''
this.getDataListInitial()
},
//
async exproDate(url, text) {
if(this.total>1000) {
return this.$message.error('请导出小于1000患者的数据')
}
// this.operaTj
const { data: res } = await this.$http({
method: 'post',
url: '/hz_quguang/tj/exportOperaAfterPatient',
responseType: 'blob',
data: this.dataForm
})
const link = document.createElement('a') // aa
const blob = new Blob([res], { type: 'application/vnd.ms-excel' }) // type
link.style.display = 'none'
link.href = URL.createObjectURL(blob) // URL.createObjectURLURLahref
link.setAttribute('download', '术后患者检查数据') //
document.body.appendChild(link) //
link.click() //
document.body.removeChild(link) //
},
//
browseClick(scopeRow) {
window.sessionStorage.removeItem('itemCurrentIndex')
window.sessionStorage.removeItem('itemListIndex')
this.$router.push({
path: '/seeDoctor',
query: {
info: this.$Base64.encode(JSON.stringify({
patientIdNumber: scopeRow.patientIdNumber,
patientCentreId: scopeRow.patientCentreId,
title: '门诊'
}))
}
})
},
}
}
</script>
<style lang="scss" scoped>
.mzJcsjFather {
background: #fff;
padding: 10px;
.yuyPeople {
height: 50px;
line-height: 50px;
border-radius: 5px;
font-size: 18px;
color: #fff;
text-align: center;
padding: 0 10px;
}
.yuyPeople1 {
background: #f5222d;
}
.yuyPeople2 {
background: #67c23a;
}
}
</style>
<style lang="scss">
.mzJcsjFather {
.el-col-today .el-radio-button--mini .el-radio-button__inner {
padding: 7px;
}
.el-radio-button__inner {
border: none;
}
.el-radio-button__orig-radio:checked + .el-radio-button__inner {
background: #e0e8ff;
border-color: #e0e8ff;
box-shadow: none;
color: #5048e5;
}
.el-radio-button:first-child .el-radio-button__inner {
border-left: none;
}
.el-pagination {
margin-top: 0;
}
.el-table--medium .el-table__cell {
padding: 6px 0;
}
.inner100 {
.el-input__inner {
width: 100px !important;
}
}
.inner120 {
.el-input__inner {
width: 120px !important;
}
}
.inner220 {
.el-input__inner {
width: 200px !important;
}
}
}
</style>

23
src/page-subspecialty/views/modules/statisticalManagement/operation-volume-echarts.vue

@ -78,7 +78,7 @@ export default {
}
},
grid: {
top: '8%',
top: '14%',
left: '4%',
right: '6%',
bottom: '8%',
@ -136,7 +136,7 @@ export default {
// smooth: true, //
showAllSymbol: true,
symbol: 'circle',
symbolSize: 0,
symbolSize: 6,
lineStyle: {
normal: {
color: '#48B3FF'
@ -159,6 +159,25 @@ export default {
tooltip: {
show: true
},
markPoint: {
symbol: 'pin', //
symbolSize: 40,
label: {
show: true,
formatter: '{c}',
color: '#fff',
fontWeight: 'bold',
fontSize: 12
},
itemStyle: {
color: '#3E7EFF'
},
data: this.dataY.map((val, idx) => ({
value: val,
xAxis: this.dataX[idx], // 使
yAxis: val
}))
},
areaStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{

195
src/page-subspecialty/views/modules/statisticalManagement/yuyTj.vue

@ -0,0 +1,195 @@
<template>
<div class="yuyFather">
<div class="flex margin-bottom-10">
<el-form :inline="true" :model="dataForm" class="demo-form-inline">
<el-form-item label="PID:">
<el-input v-model="dataForm.patientId" size="small" clearable placeholder="" @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientId')" />
</el-form-item>
<el-form-item label="患者姓名:" label-width="90px" class="min-width-90">
<el-input v-model="dataForm.patientName" placeholder="" size="small" clearable @clear="getDataListInitial()"
@keyup.enter.native="getDataListInitial('patientName')" />
</el-form-item>
<el-form-item label="预约状态:" label-width="90px" class="min-width-90">
<el-select v-model="dataForm.operaFlag" placeholder="" size="small" @change="getDataListInitial()">
<el-option v-for="(item,index) in yyStatusList" :key="index" :label="item.name" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item style="flex:1">
<el-button type="primary" icon="el-icon-search" size="mini" @click="getDataListInitial()">查询
</el-button>
</el-form-item>
</el-form>
<div class="flex">
<div class="yuyPeople yuyPeople1 margin-right-20">
<span>未约人数</span>
<span>{{noOperaTotal}}</span>
</div>
<div class="yuyPeople yuyPeople2">
<span>已约人数</span>
<span>{{operaTotal}}</span>
</div>
</div>
</div>
<el-table ref="multipleTable" :data="dataList" tooltip-effect="dark" style="width: 100%" :height="tableHeight">
<el-table-column prop="patientId" label="PID " header-align="center" align="center" />
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" />
<el-table-column prop="patientSex" label="性别" header-align="center" align="center" />
<el-table-column prop="patientPhone" label="手机号" header-align="center" align="center" />
<el-table-column label="出生日期" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.patientBirthday ? $options.filters.dateFilterTwo( scope.row.patientBirthday): '- ' }}
</template>
</el-table-column>
<el-table-column label="就诊时间" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.jzDate ?scope.row.jzDate : '-' }}
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" align="center">
<template slot-scope="scope">
{{ scope.row.remark ? scope.row.remark : '- ' }}
</template>
</el-table-column>
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="60">
<template slot-scope="scope">
<span style="color: #1890ff; padding-right: 8px" class="cursor" @click="browseClick(scope.row)">病历</span>
</template>
</el-table-column>
</el-table>
<el-pagination background layout="total,prev, pager, next" :total="total" :current-page.sync="page"
@current-change="pageCurrentChangeHandle" style="margin-top:10px;" />
</div>
</template>
<script>
import tableAutoHeight from '@/mixins/tableAutoHeight'
import mixinViewModule from '@/mixins/view-module'
export default {
components: {
},
mixins: [mixinViewModule, tableAutoHeight],
data() {
return {
mixinViewModuleOptions: {
getDataListURL: '/hz_quguang/tj/czOperaPatientPage',
getDataListIsPage: true
},
jzrcStartEndTime: '',
doctorList: {},
yuyList: [],
dataForm: {
beginDate: '',
endDate: '',
doctorId: '',
operaFlag: '1', // 1:2:
patientId: '',
patientName: ''
},
noOperaTotal: '',
operaTotal: '',
yyStatusList: [{
name: '未预约',
value: '1'
}, {
name: '已预约',
value: '2'
}]
}
},
mounted() {
this.getDoctorList()
this.getOperaQkPatientTotal()
},
methods: {
//
async getDoctorList() {
const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList',{
params:{
type: 3 // 1 2 3
}
})
if (res.code === 0) {
this.doctorList = res.data
} else {
this.$message.error(res.msg)
}
},
//
async getOperaQkPatientTotal() {
const { data: res } = await this.$http.get('/hz_quguang/tj/getCzOperaPatientTotal')
if (res.code === 0) {
this.noOperaTotal = res.data.noOperaTotal
this.operaTotal = res.data.operaTotal
} else {
this.$message.error(res.msg)
}
},
//
browseClick(scopeRow) {
window.sessionStorage.removeItem('itemCurrentIndex')
window.sessionStorage.removeItem('itemListIndex')
this.$router.push({
path: '/seeDoctor',
query: {
info: this.$Base64.encode(JSON.stringify({
patientIdNumber: scopeRow.patientIdNumber,
patientCentreId: scopeRow.patientCentreId,
title: '门诊'
}))
}
})
},
}
}
</script>
<style lang="scss" scoped>
.yuyFather {
background: #fff;
padding: 10px;
.yuyPeople {
height: 40px;
line-height: 40px;
border-radius: 5px;
font-size: 18px;
color: #fff;
text-align: center;
padding: 0 10px;
}
.yuyPeople1 {
background: #f5222d;
}
.yuyPeople2 {
background: #67c23a;
}
}
</style>
<style lang="scss">
.yuyFather {
.el-col-today .el-radio-button--mini .el-radio-button__inner {
padding: 7px;
}
.el-radio-button__inner {
border: none;
}
.el-radio-button__orig-radio:checked + .el-radio-button__inner {
background: #e0e8ff;
border-color: #e0e8ff;
box-shadow: none;
color: #5048e5;
}
.el-radio-button:first-child .el-radio-button__inner {
border-left: none;
}
.el-pagination {
margin-top: 0;
}
.el-table--medium .el-table__cell {
padding: 6px 0;
}
.el-input__inner {
width: 120px !important;
}
}
</style>

60
src/page-subspecialty/views/modules/surgicalManagement/operationList/index.vue

@ -45,6 +45,7 @@
<el-table-column type="index" width="50" :index="indexMethod"></el-table-column>
<el-table-column label="PID" header-align="center" align="center" class="boldColumn">
<template slot-scope="scope">
<!-- {{ scope.row.patientId }} -->
<span class="boldColumn">{{ scope.row.patientId }}</span>
</template>
</el-table-column>
@ -66,7 +67,7 @@
</el-table-column>
<el-table-column label="拟施手术" prop="operaNameList" header-align="center" align="center" width="300px">
<template slot-scope="scope">
<div v-for="(item,index) in scope.row.operaTypeList" :key="index" class="boldColumn">
<div v-for="(item,index) in getSortedItems(scope.row.operaTypeList)" :key="item.eyeType" class="boldColumn">
<span>{{ item.eyeType }} : </span>
<span v-for="(itex,i) in item.operaEntityList" :key="i">
{{ itex.operationName }}
@ -75,10 +76,15 @@
</template>
</el-table-column>
<!-- 缴费状态 0:未缴费1:已缴费 -->
<el-table-column label="缴费金额" prop="operaMoney" header-align="center" align="center">
<!-- <el-table-column label="缴费金额" prop="operaMoney" header-align="center" align="center">
<template slot-scope="scope">
<span>{{ scope.row.operaMoney}}</span>
</template>
</el-table-column> -->
<el-table-column label="顺序备注" prop="sxRemark" header-align="center" align="center">
<template slot-scope="scope">
<span>{{ scope.row.sxRemark}}</span>
</template>
</el-table-column>
<el-table-column label="手术状态" sortable="OS.STATUS" prop="status" header-align="center" align="center">
<template slot-scope="scope">
@ -128,7 +134,7 @@
<span
v-show="scope.row.status===-4 && scope.row.syncStatus===1 && today === $options.filters.dateFilterTwo( scope.row.operaDate )"
class="call" @click="signHandle(scope.row)">签到</span>
<span class="call" @click="ytFinish(scope.row)" v-show="scope.row.status == -3">验谈完毕</span>
<span class="call" @click="ytFinish(scope.row)" v-show="scope.row.status == -3 && scope.row.syncStatus===1 ">验谈完毕</span>
<span class="call" @click="browseClick(scope.row)">档案</span>
<!-- 已预约syncStatus的排程同步状态0:未同步1:已同步 0的时候可修改 1的时候不可修改 -->
<span
@ -154,6 +160,7 @@
<el-dropdown-item command="取消手术" v-if="positionName.join().includes('护士长')">取消手术</el-dropdown-item>
<el-dropdown-item command="状态回滚" v-if="positionName.join().includes('护士长')">状态回滚</el-dropdown-item>
<el-dropdown-item command="打印">条码</el-dropdown-item>
<el-dropdown-item command="顺序备注">顺序备注</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</template>
@ -162,9 +169,10 @@
<el-pagination background layout="total,prev,pager,next" :total="total" :current-page.sync="page"
@current-change="pageCurrentChangeHandle" />
</div>
<dialogForm v-if="dialogFormVisible" ref="dialogFormRef" title="手术列表" :current-info="currentPatientInfo" :operaShowConfigList="operaShowConfigList"
:patient-id="currentPatientInfo.patientId" :opera-id="currentPatientInfo.id"
:dialog-form-vlisble-title="dialogFormVlisbleTitle" @closeformDialog="closeformDialog" />
<dialogForm v-if="dialogFormVisible" ref="dialogFormRef" title="手术列表" :current-info="currentPatientInfo"
:operaShowConfigList="operaShowConfigList" :patient-id="currentPatientInfo.patientId"
:opera-id="currentPatientInfo.id" :dialog-form-vlisble-title="dialogFormVlisbleTitle"
@closeformDialog="closeformDialog" />
<el-dialog title="生命体征录入" :visible.sync="lifeDialogVlisble" width="40%" class="life-dialog"
@close="closelifeDialog">
<life v-if="dialogFormVlisbleTitle==='生命体征录入'" ref="lifeRef" :current-patient-info="currentPatientInfo" />
@ -181,6 +189,14 @@
<el-button type="primary" @click="sureCancleHandle"> </el-button>
</div>
</el-dialog>
<!-- <printCode id="printPID" /> -->
<el-dialog title="顺序备注" :visible.sync="sxBzVisible">
<el-input v-model="sxRemark" autocomplete="off" />
<div slot="footer" class="dialog-footer">
<el-button @click="sxBzVisible = false"> </el-button>
<el-button type="primary" @click="sxCancleHandle"> </el-button>
</div>
</el-dialog>
<hotPrint v-if="hotPrintVisible" ref="hotPrintRef" :patient-info-obj="currentPatientInfo"
@closeDialog="hotPrintVisible = false" />
</div>
@ -211,6 +227,7 @@ export default {
createdIsNeed: false
},
dialogFormVisible: false,
sxBzVisible: false,
// orderType: 'asc',
// orderColumn: 'OS.STATUS',
nextVisitTime: [],
@ -273,12 +290,13 @@ export default {
userData: {},
doctorNamePy: '',
remark: '',
sxRemark: '',
orderCancleVisible: false,
hotPrintVisible: false,
operaStatus: '',
userData: {},
positionName: [],
operaShowConfigList:[]
operaShowConfigList: []
}
},
watch: {
@ -360,6 +378,12 @@ export default {
)
this.getDataListInitial()
},
//
getSortedItems(operaTypeList) {
return operaTypeList.slice().sort((a, b) => {
return a.eyeType === 'OD' ? -1 : 1
})
},
//
sortChange(e) {
console.log(e)
@ -415,6 +439,9 @@ export default {
this.$nextTick(() => {
this.$refs.hotPrintRef.bmPrinter()
})
} else if (e === '顺序备注') {
this.sxRemark = this.currentPatientInfo.sxRemark
this.sxBzVisible = true
}
},
// --
@ -453,6 +480,23 @@ export default {
this.$message.error(res.msg)
}
},
//
async sxCancleHandle() {
const { data: res } = await this.$http.post('/hz_quguang/opera/reservation/updateSxRemark', {
operaPatientId: this.currentPatientInfo.id,
sxRemark: this.sxRemark
})
if (res.code === 0) {
this.$message({
message: '填写顺序备注成功',
type: 'success'
})
this.sxBzVisible = false
this.getDataList()
} else {
this.$message.error(res.msg)
}
},
//
pinyingMatch(val) {
this.doctorNamePy = val
@ -573,7 +617,7 @@ export default {
async getShowConfigList() {
const { data: res } = await this.$http.get('/hz_quguang/opera/record/conf/getList')
if (res.code === 0) {
this.operaShowConfigList = res.data
this.operaShowConfigList = res.data
} else {
this.$message.error(res.msg)
}

9
src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-order.vue

@ -74,12 +74,12 @@
<div class="margin-bottom-10">
<span>主术式</span>
<el-radio-group v-model="dataForm.mainOperaEye" size="medium">
<el-radio-button v-for="(item,index) in patientInfo.operaTypeList" :key="index"
<el-radio-button v-for="(item,index) in patientInfo.operaTypeList" :key="item.eyeType"
:label="item.eyeType" />
</el-radio-group>
</div>
<div class="opera-fs">
<div v-for="(item,index) in patientInfo.operaTypeList" :key="index" class="opera-tag">
<div v-for="(item,index) in patientInfo.operaTypeList" :key="item.eyeType" class="opera-tag">
<div class="opera-eye">
<span class="text-span">{{ item.eyeType }}</span>
<span v-if="item.operaEntityList.length>0" class="opera-tag-OD">
@ -339,7 +339,7 @@ export default {
hisOperaId: '', // id
mainOperaEye: '', // ismaintrue
cutGradeId: '', // ID
patientRemark:'',
patientRemark: '',
// remark: '',
examine: '' //
},
@ -535,6 +535,9 @@ export default {
this.dataForm.operaDuration = res.data.operaDuration ? res.data.operaDuration : '10'
this.dataForm.patientRemark = res.data.patientRemark ? res.data.patientRemark : ''
res.data.narcosisCode ? this.dataForm.narcosisCode = res.data.narcosisCode : ''
this.patientInfo.operaTypeList = res.data.operaTypeList.sort((a, b) => {
return a.eyeType === 'OD' ? -1 : 1
})
this.patientInfo.operaTypeList ? this.patientInfo.operaTypeList.forEach(item => {
if (item.operaEntityList[0].cutGradeId) {
this.operatlevelValue[item.eyeType].cutGradeId = item.operaEntityList[0].cutGradeId

34
src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-tab.vue

@ -52,16 +52,16 @@
:row-class-name="tableRowClassName" @selection-change="handleSelectionChange" @sort-change="sortChange">
<template v-if="status == 1">
<el-table-column type="selection" width="55" />
<el-table-column sortable="OP.APPOINTMENT_DATE" label="日期" prop="appointmentDate" header-align="center" align="center" />
<el-table-column label="时间" prop="appointmentTime" header-align="center" align="center" />
<el-table-column sortable="OP.APPOINTMENT_DATE" label="日期" prop="appointmentDate" header-align="center" align="center" width="110"/>
<el-table-column label="时间" prop="appointmentTime" header-align="center" align="center" width="90"/>
</template>
<el-table-column prop="patientId" label="PID" width="100px" />
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" />
<el-table-column v-if="status !== 2" label="性别" prop="patientSex" header-align="center" align="center" />
<el-table-column v-if="status !== 2" label="年龄" prop="patientAge" header-align="center" align="center" />
<el-table-column v-if="status !== 2" label="出生日期" prop="patientBirthday" header-align="center" align="center" />
<el-table-column v-if="status !== 2" label="电话号码" prop="patientPhone" header-align="center" align="center" />
<el-table-column sortable="OP.MAIN_DOCTOR_NAME" v-if="status == 1 || status == 2" prop="mainDoctorName" label="主刀医生" header-align="center"
<el-table-column prop="patientId" label="PID" width="110px"/>
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center"/>
<el-table-column v-if="status !== 2" label="性别" prop="patientSex" header-align="center" align="center"/>
<el-table-column v-if="status !== 2" label="年龄" prop="patientAge" header-align="center" align="center"/>
<el-table-column v-if="status !== 2" label="出生日期" prop="patientBirthday" header-align="center" align="center" width="110"/>
<el-table-column v-if="status !== 2" label="电话号码" prop="patientPhone" header-align="center" align="center" width="120"/>
<el-table-column sortable="OP.MAIN_DOCTOR_NAME" v-if="status == 1 || status == 2" prop="mainDoctorName" label="主刀" header-align="center"
align="center" />
<el-table-column sortable="OP.APPOINTMENT_DATE" v-if="status == 2" label="手术日期" prop="appointmentDate" header-align="center" align="center" />
<el-table-column v-if="status == 2" label="手术时间" prop="appointmentTime" header-align="center" align="center" />
@ -82,9 +82,9 @@
</el-table-column>
<el-table-column v-if="status == 1 || status == 2" label="手术间" prop="operaRoom" header-align="center"
align="center" />
<el-table-column label="拟施手术" header-align="center" align="center">
<el-table-column label="拟施手术" header-align="center" align="center" width="130">
<template slot-scope="scope">
<div v-for="(item,index) in scope.row.operaTypeList" :key="index">
<div v-for="(item,index) in getSortedItems(scope.row.operaTypeList)" :key="item.eyeType">
<span>{{ item.eyeType }} : </span>
<span v-for="(itex,i) in item.operaEntityList" :key="i">
{{ itex.bieMing ? itex.bieMing : itex.operationName}}
@ -92,7 +92,7 @@
</div>
</template>
</el-table-column>
<el-table-column v-if="status == 1" label="麻醉方式" prop="narcosis" header-align="center" align="center" />
<el-table-column v-if="status == 1" label="麻醉方式" prop="narcosis" header-align="center" align="center" width="90"/>
<el-table-column label="备注" prop="patientRemark" header-align="center" align="center" />
<!-- <el-table-column v-if="status == 2" label="核查日期" prop="checkDate" header-align="center" align="center" />
<el-table-column v-if="status == 2" label="核查时间" prop="checkTime" header-align="center" align="center" /> -->
@ -147,7 +147,7 @@
</div>
<!-- 底部全选反选 -->
<checked-footer v-if="status == 1" ref="checkfooter" table-ref="multipleTable"
<!-- <checked-footer v-if="status == 1" ref="checkfooter" table-ref="multipleTable"
:current-table-list="currentTableList" :data-list="dataList">
<div class="batch_button">
<div class="batch_button">
@ -155,7 +155,7 @@
<el-button type="primary" size="small" @click="examineHandle(1)">通过</el-button>
</div>
</div>
</checked-footer>
</checked-footer> -->
<el-dialog title="审核意见" :visible.sync="examineReviewVisible" width="50%">
<el-input v-model="examine" placeholder="请输入审核意见" type="textarea" :rows="5" />
@ -272,6 +272,12 @@ export default {
this.page = 1
this.getList()
this.getDataList(text)
},
//
getSortedItems(operaTypeList) {
return operaTypeList.slice().sort((a, b) => {
return a.eyeType === 'OD' ? -1 : 1
})
},
//
sortChange(e) {

6
src/page-subspecialty/views/modules/systemManagement/formSet/addPay.vue

@ -33,6 +33,9 @@
<el-form-item label="金额:" label-width="100px" prop="je">
<el-input-number v-model="dataForm.je" label="描述文字" :disabled="true" />
</el-form-item>
<el-form-item label="排序:" label-width="100px" prop="px">
<el-input-number v-model="dataForm.px" label="排序"/>
</el-form-item>
</el-form>
<template slot="footer">
<el-button @click="visible = false">{{ $t('cancel') }}</el-button>
@ -60,7 +63,8 @@ export default {
sfxm: '',
dj: '',
sl: '',
je: ''
je: '',
px:''
},
operaList: []
}

10
src/page-subspecialty/views/modules/systemManagement/formSet/operaRecordSet.vue

@ -148,6 +148,16 @@
<span>{{ item.zssjOd1 ? item.zssjOd1 : '-' }}</span> min
<span>{{ item.zssjOd2 ? item.zssjOd2 : '-' }}</span> s
</div>
<!-- 核黄素浸泡时间 -->
<div :style="{ order: iten.sort }" v-show="iten.bieMing==='hhsjpsj' && iten.checked" class="margin-bottom-10 width-160 left">
<span>核黄素浸泡时间</span>
<span>{{ item.hhsjpsjOd ? item.hhsjpsjOd : '-' }}</span> J/cm
</div>
<!-- UVA能量密度 -->
<div :style="{ order: iten.sort }" v-show="iten.bieMing==='uvanl' && iten.checked" class="margin-bottom-10 width-160 left">
<span>UVA能量密度</span>
<span>{{ item.uvanlOd ? item.uvanlOd : '-' }}</span> J/cm
</div>
<!-- 总能量 -->
<div :style="{ order: iten.sort }" v-show="iten.bieMing==='znengl' && iten.checked" class="margin-bottom-10 width-160 left">
<span>总能量</span>

5
src/page-subspecialty/views/modules/systemManagement/formSet/payDemandNoteSet.vue

@ -27,6 +27,11 @@
width="100px"
label="金额"
/>
<el-table-column
prop="px"
width="100px"
label="排序"
/>
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="100px">
<template slot-scope="scope">
<span

10
src/page-subspecialty/views/modules/systemManagement/formSet/showConfig.vue

@ -165,6 +165,16 @@ export default {
sortIndex: 26,
checked: false,
}, {
name: '核黄素浸泡时间',
bieMing:'hhsjpsj',
sortIndex: 26,
checked: false,
},{
name: 'UVA能量密度',
bieMing:'uvanl',
sortIndex: 26,
checked: false,
},{
name: '总能量',
bieMing:'znengl',
sortIndex: 27,

14
vue.config.js

@ -110,13 +110,13 @@ module.exports = {
{ from: path.resolve(__dirname, 'static'), to: 'static' }
]
}),
new CompressionPlugin({
test: /\.(js|css|html|svg)$/, // 压缩类型
threshold: 10240, // 超过 10kb 的文件才压缩
minRatio: 0.8, // 压缩比大于 0.8 才压缩
algorithm: 'gzip',
deleteOriginalAssets: false // 保留源文件
})
// new CompressionPlugin({
// test: /\.(js|css|html|svg)$/, // 压缩类型
// threshold: 10240, // 超过 10kb 的文件才压缩
// minRatio: 0.8, // 压缩比大于 0.8 才压缩
// algorithm: 'gzip',
// deleteOriginalAssets: false // 保留源文件
// })
],
// externals: {
// 'pdfjs-dist': 'pdfjsLib'

Loading…
Cancel
Save