|
@@ -33,7 +33,8 @@
|
|
|
</div>
|
|
|
<!-- 质控依据 -->
|
|
|
<div v-for="(yjItem, yjIndex) of item.basis" :key="'yj'+yjIndex">
|
|
|
- <div class="zkyj" @click="toJump(yjItem, item, index)">质控依据:{{ yjItem.desc }}</div>
|
|
|
+ <!-- <div class="zkyj" @click="toJump(yjItem, item, index)">质控依据:{{ yjItem.desc }}</div> -->
|
|
|
+ <div class="zkyj">质控依据:{{ yjItem.desc }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-scrollbar>
|
|
@@ -53,89 +54,89 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- // controls: {
|
|
|
- // ZYH: '',
|
|
|
- // score: {
|
|
|
- // score: 100
|
|
|
- // },
|
|
|
- // list: []
|
|
|
- // },
|
|
|
controls: {
|
|
|
- ZYH: '809257',
|
|
|
+ ZYH: '',
|
|
|
score: {
|
|
|
- score: 99,
|
|
|
- level: 0,
|
|
|
+ score: 100
|
|
|
},
|
|
|
- list: [
|
|
|
- {
|
|
|
- error_rule: 1457,
|
|
|
- level: 1,
|
|
|
- field_name: '主要诊断编码',
|
|
|
- category: 0,
|
|
|
- down: 0,
|
|
|
- desc: '诊断编码出现S00-S09,颅内损伤昏迷时间6个空必填一个数字昏迷时间6个空必填一个数字昏迷时间6个空必填一个数字',
|
|
|
- basis: [
|
|
|
- {
|
|
|
- desc: '诊断编码出现【S00-S09】颅内损伤昏迷时间不能全部为空',
|
|
|
- location: {
|
|
|
- user: ['AAA26C', 'TYSHXYDM', 'D18', 'AAA03', 'AAA26C', 'D20X01', 'ZA03'],
|
|
|
- zd: [
|
|
|
- {
|
|
|
- ZZPB: 1,
|
|
|
- DIA_ORDER: 1,
|
|
|
- field: 'ICD10_ID1',
|
|
|
- },
|
|
|
- {
|
|
|
- ZZPB: 0,
|
|
|
- DIA_ORDER: 1,
|
|
|
- field: 'ICD10_ID1',
|
|
|
- },
|
|
|
- {
|
|
|
- ZZPB: 0,
|
|
|
- DIA_ORDER: 2,
|
|
|
- field: 'ICD10_ID1',
|
|
|
- },
|
|
|
- ],
|
|
|
- ss: [
|
|
|
- {
|
|
|
- OPE_ORDER: 1,
|
|
|
- field: 'ICD9_ID1',
|
|
|
- },
|
|
|
- {
|
|
|
- ZZPB: 2,
|
|
|
- field: 'ICD9_ID1',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- error_rule: 6,
|
|
|
- level: 0,
|
|
|
- field_name: '健康卡号',
|
|
|
- category: 3,
|
|
|
- down: 0.5,
|
|
|
- desc: '健康卡号未填写',
|
|
|
- basis: [
|
|
|
- {
|
|
|
- desc: '尚未发送“健康卡”的地区填写“-”',
|
|
|
- location: {
|
|
|
- user: ['JKKH'],
|
|
|
- zd: [
|
|
|
- {
|
|
|
- ZZPB: 1,
|
|
|
- DIA_ORDER: 1,
|
|
|
- field: 'ICD10_ID1',
|
|
|
- }
|
|
|
- ],
|
|
|
- ss: []
|
|
|
- },
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
+ list: []
|
|
|
},
|
|
|
+ // controls: {
|
|
|
+ // ZYH: '809257',
|
|
|
+ // score: {
|
|
|
+ // score: 99,
|
|
|
+ // level: 0,
|
|
|
+ // },
|
|
|
+ // list: [
|
|
|
+ // {
|
|
|
+ // error_rule: 1457,
|
|
|
+ // level: 1,
|
|
|
+ // field_name: '主要诊断编码',
|
|
|
+ // category: 0,
|
|
|
+ // down: 0,
|
|
|
+ // desc: '诊断编码出现S00-S09,颅内损伤昏迷时间6个空必填一个数字昏迷时间6个空必填一个数字昏迷时间6个空必填一个数字',
|
|
|
+ // basis: [
|
|
|
+ // {
|
|
|
+ // desc: '诊断编码出现【S00-S09】颅内损伤昏迷时间不能全部为空',
|
|
|
+ // location: {
|
|
|
+ // user: ['AAA26C', 'TYSHXYDM', 'D18', 'AAA03', 'AAA26C', 'D20X01', 'ZA03'],
|
|
|
+ // zd: [
|
|
|
+ // {
|
|
|
+ // ZZPB: 1,
|
|
|
+ // DIA_ORDER: 1,
|
|
|
+ // field: 'ICD10_ID1',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // ZZPB: 0,
|
|
|
+ // DIA_ORDER: 1,
|
|
|
+ // field: 'ICD10_ID1',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // ZZPB: 0,
|
|
|
+ // DIA_ORDER: 2,
|
|
|
+ // field: 'ICD10_ID1',
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // ss: [
|
|
|
+ // {
|
|
|
+ // OPE_ORDER: 1,
|
|
|
+ // field: 'ICD9_ID1',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // ZZPB: 2,
|
|
|
+ // field: 'ICD9_ID1',
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // error_rule: 6,
|
|
|
+ // level: 0,
|
|
|
+ // field_name: '健康卡号',
|
|
|
+ // category: 3,
|
|
|
+ // down: 0.5,
|
|
|
+ // desc: '健康卡号未填写',
|
|
|
+ // basis: [
|
|
|
+ // {
|
|
|
+ // desc: '尚未发送“健康卡”的地区填写“-”',
|
|
|
+ // location: {
|
|
|
+ // user: ['JKKH'],
|
|
|
+ // zd: [
|
|
|
+ // {
|
|
|
+ // ZZPB: 1,
|
|
|
+ // DIA_ORDER: 1,
|
|
|
+ // field: 'ICD10_ID1',
|
|
|
+ // }
|
|
|
+ // ],
|
|
|
+ // ss: []
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
zkcodeIndex: 0,
|
|
|
zk_codes: {
|
|
|
qz: [],
|
|
@@ -167,40 +168,40 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
- // this.getData();
|
|
|
- this.controls.list.map(item => {
|
|
|
- item.basis.map(bItem => {
|
|
|
- const { user, zd, ss } = bItem.location
|
|
|
- user.map(uItem => {
|
|
|
- if (item.level) {
|
|
|
- // 建议
|
|
|
- this.zk_codes.jy.push(uItem)
|
|
|
- } else {
|
|
|
- // 强制
|
|
|
- this.zk_codes.qz.push(uItem)
|
|
|
- }
|
|
|
- })
|
|
|
- zd.map(zItem => {
|
|
|
- if (item.level) {
|
|
|
- // 建议
|
|
|
- this.zk_codes.jy.push(zItem.field)
|
|
|
- } else {
|
|
|
- // 强制
|
|
|
- this.zk_codes.qz.push(zItem.field)
|
|
|
- }
|
|
|
- })
|
|
|
- ss.map(sItem => {
|
|
|
- if (item.level) {
|
|
|
- // 建议
|
|
|
- this.zk_codes.jy.push(sItem.field)
|
|
|
- } else {
|
|
|
- // 强制
|
|
|
- this.zk_codes.qz.push(sItem.field)
|
|
|
- }
|
|
|
- })
|
|
|
- })
|
|
|
- })
|
|
|
- this.$emit('codes', this.zk_codes)
|
|
|
+ this.getData();
|
|
|
+ // this.controls.list.map(item => {
|
|
|
+ // item.basis.map(bItem => {
|
|
|
+ // const { user, zd, ss } = bItem.location
|
|
|
+ // user.map(uItem => {
|
|
|
+ // if (item.level) {
|
|
|
+ // // 建议
|
|
|
+ // this.zk_codes.jy.push(uItem)
|
|
|
+ // } else {
|
|
|
+ // // 强制
|
|
|
+ // this.zk_codes.qz.push(uItem)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // zd.map(zItem => {
|
|
|
+ // if (item.level) {
|
|
|
+ // // 建议
|
|
|
+ // this.zk_codes.jy.push(zItem.field)
|
|
|
+ // } else {
|
|
|
+ // // 强制
|
|
|
+ // this.zk_codes.qz.push(zItem.field)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // ss.map(sItem => {
|
|
|
+ // if (item.level) {
|
|
|
+ // // 建议
|
|
|
+ // this.zk_codes.jy.push(sItem.field)
|
|
|
+ // } else {
|
|
|
+ // // 强制
|
|
|
+ // this.zk_codes.qz.push(sItem.field)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // })
|
|
|
+ // })
|
|
|
+ // this.$emit('codes', this.zk_codes)
|
|
|
},
|
|
|
methods: {
|
|
|
// 跳转锚点及高亮
|
|
@@ -256,7 +257,6 @@ export default {
|
|
|
level_arr.qz.push(sItem.field)
|
|
|
}
|
|
|
})
|
|
|
- console.log(level_arr, 'level_arr')
|
|
|
const maxIndex = arr.length - 1
|
|
|
this.$emit('zk', { level: 0, anchor: arr[this.zkcodeIndex], codes: level_arr })
|
|
|
if (this.zkcodeIndex === maxIndex) {
|