|
@@ -133,7 +133,7 @@ import NoFormatText from './components/NoFormatText.vue'
|
|
|
import OutHospitalRecord from './components/OutHospitalRecord.vue'
|
|
|
import CaseQualityBox from './components/CaseQualityBox2.vue'
|
|
|
import DeathText from './components/DeathText.vue'
|
|
|
-import { getBlMenuList, getCaseQuality } from '@/api/qc'
|
|
|
+import { getBlMenuList, getCaseQuality, getCasePlatform, getAllCase, getLong, getTemporary, getPacsData, getBcData, getHomeData, getSurgeryData } from '@/api/qc'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
@@ -256,7 +256,7 @@ export default {
|
|
|
mounted() {
|
|
|
this.valData = localStorage.getItem('getData')
|
|
|
if (this.valData) {
|
|
|
- // this.funQuery()
|
|
|
+ this.funQuery()
|
|
|
this.getCaseQualityResults()
|
|
|
}
|
|
|
this.getTree()
|
|
@@ -302,8 +302,8 @@ export default {
|
|
|
if (this.$route.query.status) {
|
|
|
params.is_tm = 1
|
|
|
}
|
|
|
- this.$axios.post('/medical_record', params).then(res => {
|
|
|
- this.mainHomeData = res.data
|
|
|
+ getHomeData(params).then(res => {
|
|
|
+ this.mainHomeData = res.p
|
|
|
})
|
|
|
},
|
|
|
|
|
@@ -329,7 +329,7 @@ export default {
|
|
|
} else if (b == 294) {
|
|
|
that.is_active = event.target.id
|
|
|
} else if (b == 303) {
|
|
|
- that.is_active = event.target.id
|
|
|
+ that.is_active = b
|
|
|
} else {
|
|
|
that.is_active = b
|
|
|
}
|
|
@@ -342,9 +342,9 @@ export default {
|
|
|
if (this.$route.query.status) {
|
|
|
params.is_tm = 1
|
|
|
}
|
|
|
- that.$axios.post('/getAllCase', params).then(res => {
|
|
|
- that.text = res.data
|
|
|
- that.dataObj = res.data
|
|
|
+ getAllCase(params).then(res => {
|
|
|
+ that.text = res.p
|
|
|
+ that.dataObj = res.p
|
|
|
that.reload()
|
|
|
})
|
|
|
} else if (b == 292) {
|
|
@@ -356,8 +356,8 @@ export default {
|
|
|
if (this.$route.query.status) {
|
|
|
params.is_tm = '1'
|
|
|
}
|
|
|
- that.$axios.post('/get_case_platform', params).then(res => {
|
|
|
- this.admissionRecord = res.data
|
|
|
+ getCasePlatform(params).then(res => {
|
|
|
+ this.admissionRecord = res.p
|
|
|
})
|
|
|
} else if (b == 1) {
|
|
|
// 获取详情
|
|
@@ -368,8 +368,8 @@ export default {
|
|
|
if (this.$route.query.status) {
|
|
|
params.is_tm = 1
|
|
|
}
|
|
|
- that.$axios.post('/get_case_platform', params).then(res => {
|
|
|
- this.outHospitalRecordData = res.data
|
|
|
+ getCasePlatform(params).then(res => {
|
|
|
+ this.outHospitalRecordData = res.p
|
|
|
})
|
|
|
}
|
|
|
if (that.is_active == '长期医嘱') {
|
|
@@ -380,8 +380,8 @@ export default {
|
|
|
if (this.$route.query.status) {
|
|
|
params.is_tm = 1
|
|
|
}
|
|
|
- that.$axios.post('/long', params).then(res => {
|
|
|
- this.longAdvice = res.data
|
|
|
+ getLong(params).then(res => {
|
|
|
+ this.longAdvice = res.p
|
|
|
})
|
|
|
}
|
|
|
if (that.is_active == '临时医嘱') {
|
|
@@ -392,8 +392,8 @@ export default {
|
|
|
if (this.$route.query.status) {
|
|
|
params.is_tm = 1
|
|
|
}
|
|
|
- that.$axios.post('/temporary', params).then(res => {
|
|
|
- this.happensAdvice = res.data
|
|
|
+ getTemporary(params).then(res => {
|
|
|
+ this.happensAdvice = res.p
|
|
|
})
|
|
|
}
|
|
|
if (that.parentType == '2000002' && that.is_active != '') {
|
|
@@ -411,8 +411,8 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
|
|
|
- that.$axios.post('/get_pacs_data', parm).then(res => {
|
|
|
- this.pacsDetail = res.data
|
|
|
+ getPacsData(parm).then(res => {
|
|
|
+ this.pacsDetail = res.p
|
|
|
})
|
|
|
}
|
|
|
// 病程记录
|
|
@@ -424,9 +424,9 @@ export default {
|
|
|
if (this.$route.query.status) {
|
|
|
parm.is_tm = 1
|
|
|
}
|
|
|
- that.$axios.post('/get_bc_data', parm).then(res => {
|
|
|
- that.caseRecodeInfo = res.data[0].bc_data
|
|
|
- that.caseRecodeInfo.is_format = res.data[0].is_format
|
|
|
+ getBcData(parm).then(res => {
|
|
|
+ that.caseRecodeInfo = res.p[0].bc_data
|
|
|
+ that.caseRecodeInfo.is_format = res.p[0].is_format
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -439,9 +439,9 @@ export default {
|
|
|
if (this.$route.query.status) {
|
|
|
parm.is_tm = 1
|
|
|
}
|
|
|
- that.$axios.post('/get_surgery_data', parm).then(res => {
|
|
|
- that.surgeryData = res.data[0].surgery_data
|
|
|
- that.surgeryData.is_format = res.data[0].is_format
|
|
|
+ getSurgeryData(parm).then(res => {
|
|
|
+ that.surgeryData = res.p[0].surgery_data
|
|
|
+ that.surgeryData.is_format = res.p[0].is_format
|
|
|
})
|
|
|
}
|
|
|
}
|