|
@@ -15,6 +15,7 @@
|
|
|
import SearchBoxVue from './components/errors/SearchBox.vue'
|
|
|
import TableBoxVue from './components/errors/TableBox.vue'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
+import { encoderErrorExport } from '@/api/excel'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
@@ -27,27 +28,32 @@ export default {
|
|
|
formInline: {
|
|
|
AAA28: '',
|
|
|
AAC11N: '',
|
|
|
- time: []
|
|
|
+ AAC01: [],
|
|
|
+ AEE04: '',
|
|
|
+ AEE08: '',
|
|
|
+ ICD9_ID1: '',
|
|
|
+ ICD9_NAME: '',
|
|
|
+ ICD10_ID1: '',
|
|
|
+ ICD10_NAME: ''
|
|
|
},
|
|
|
tableData: [
|
|
|
{
|
|
|
- "error_rule": 16,
|
|
|
- "auth": "AAA17C",
|
|
|
- "field": "现住址邮政编码",
|
|
|
- "ZYH": "722801",
|
|
|
- "AAA28": "",
|
|
|
+ "field_name": "健康卡号",
|
|
|
+ "desc": "健康卡号未填写",
|
|
|
+ "AAA28": "00260972",
|
|
|
"AAA01": "",
|
|
|
- "AAC01": "2022-04-16 09:00:00",
|
|
|
- "AAC11N": "",
|
|
|
+ "ZYH": "809257",
|
|
|
+ "AAC01": "2023-08-07 09:15:00",
|
|
|
+ "AAC11N": "神经外科",
|
|
|
+ "AEE08": "张三",
|
|
|
+ "AEE03": "李一",
|
|
|
+ "AEE04": "周一",
|
|
|
+ "ICD10_ID1": "S06.500x002",
|
|
|
+ "ICD10_NAME": "创伤性硬脑膜下血肿",
|
|
|
+ "ICD9_ID1": "01.2408",
|
|
|
+ "ICD9_NAME": "颅内血肿清除术",
|
|
|
"level": "强制",
|
|
|
- "type": "患者基本信息",
|
|
|
- "desc": "现住址邮政编码未填写",
|
|
|
- "coder_name": "编码员姓名",
|
|
|
- "ZYYS": "住院医师姓名",
|
|
|
- "ICD10_NAME": "主要诊断名称",
|
|
|
- "ICD10_ID1": "主要诊断编码",
|
|
|
- "ICD9_NAME": "主要手术名称",
|
|
|
- "ICD9_ID1": "主要手术编码"
|
|
|
+ "type": "患者基本信息"
|
|
|
}
|
|
|
],
|
|
|
paginationData: {
|
|
@@ -58,32 +64,33 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ const { start_time, end_time } = this.$route.query
|
|
|
+ this.$set(this.formInline, 'AAC01', [start_time, end_time])
|
|
|
this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
getList() {
|
|
|
const {
|
|
|
- AAA28,
|
|
|
- AAC11N,
|
|
|
- time
|
|
|
+ AAC01
|
|
|
} = this.formInline
|
|
|
const {
|
|
|
page,
|
|
|
page_size
|
|
|
} = this.paginationData
|
|
|
const params = {
|
|
|
- error_rule: this.$route.query.error_rule,
|
|
|
+ hospital_name: '',
|
|
|
+ bl_type: 2,
|
|
|
+ is_export: 0,
|
|
|
+ rule_id: this.$route.query.rule_id,
|
|
|
page,
|
|
|
page_size,
|
|
|
- AAA28,
|
|
|
- AAC11N,
|
|
|
- is_export: 0
|
|
|
+ ...this.formInline
|
|
|
}
|
|
|
- if (time && time.length) {
|
|
|
- params.start_time = time[0]
|
|
|
- params.end_time = time[1]
|
|
|
+ if (AAC01 && AAC01.length) {
|
|
|
+ params.start_time = AAC01[0]
|
|
|
+ params.end_time = AAC01[1]
|
|
|
}
|
|
|
- this.$axios.post('/home_bmy_quality/bmyErrorDetailsList', params).then(res => {
|
|
|
+ this.$axios.post('/bmy/bmyQualityList', params).then(res => {
|
|
|
this.tableData = res.data.list
|
|
|
this.paginationData.total = res.data.count
|
|
|
});
|
|
@@ -96,7 +103,13 @@ export default {
|
|
|
this.formInline = {
|
|
|
AAA28: '',
|
|
|
AAC11N: '',
|
|
|
- time: []
|
|
|
+ AAC01: [],
|
|
|
+ AEE04: '',
|
|
|
+ AEE08: '',
|
|
|
+ ICD9_ID1: '',
|
|
|
+ ICD9_NAME: '',
|
|
|
+ ICD10_ID1: '',
|
|
|
+ ICD10_NAME: ''
|
|
|
}
|
|
|
},
|
|
|
handlePagination(val) {
|
|
@@ -107,19 +120,18 @@ export default {
|
|
|
},
|
|
|
handleExport() {
|
|
|
const {
|
|
|
- AAA28,
|
|
|
- AAC11N,
|
|
|
- time
|
|
|
+ AAC01
|
|
|
} = this.formInline
|
|
|
const params = {
|
|
|
- error_rule: this.$route.query.error_rule,
|
|
|
- AAA28,
|
|
|
- AAC11N,
|
|
|
- is_export: 1
|
|
|
+ hospital_name: '',
|
|
|
+ bl_type: 2,
|
|
|
+ is_export: 0,
|
|
|
+ rule_id: this.$route.query.rule_id,
|
|
|
+ ...this.formInline
|
|
|
}
|
|
|
- if (time && time.length) {
|
|
|
- params.start_time = time[0]
|
|
|
- params.end_time = time[1]
|
|
|
+ if (AAC01 && AAC01.length) {
|
|
|
+ params.start_time = AAC01[0]
|
|
|
+ params.end_time = AAC01[1]
|
|
|
}
|
|
|
encoderErrorExport(params).then(res => {
|
|
|
const content = res.data; // 后台返回二进制数据
|