|
@@ -109,7 +109,7 @@
|
|
|
<!-- status 不存在 意味着不脱敏、医院自助查询 -->
|
|
|
<template v-if="!$route.query.status">
|
|
|
<!-- 住院病案质控 -->
|
|
|
- <CaseQualityBox :data="results" :clickAppealBtn="clickAppealBtn" :width="340" :height="820" />
|
|
|
+ <CaseQualityBox :data="results" v-if="results.data" @clickAppealBtn="clickAppealBtn" :width="340" :height="820" />
|
|
|
</template>
|
|
|
<!-- 添加质控结果 -->
|
|
|
<CreateControlResultDialogVue v-if="dialogData.bSwitch" :data="dialogData" @refresh="handelRefreshResults" />
|
|
@@ -389,23 +389,25 @@ export default {
|
|
|
// 获取新病案指控结果
|
|
|
getCaseQualityResults() {
|
|
|
let that = this;
|
|
|
- // const params = {
|
|
|
- // ZYH: Number(this.valData)
|
|
|
- // }
|
|
|
- // getCaseQuality(params).then(res => {
|
|
|
- // const { p } = res
|
|
|
- // this.results = p
|
|
|
- // })
|
|
|
- that.axios({
|
|
|
- url:'http://10.10.11.65:8081/bazb/get_case_quality_v2',
|
|
|
- method: 'post',
|
|
|
- headers: { 'content-type': 'application/json', 'token': getToken() },
|
|
|
- data: {
|
|
|
- ZYH: Number(that.valData)
|
|
|
- }
|
|
|
- }).then(res => {
|
|
|
- this.results = res.data
|
|
|
+ const params = {
|
|
|
+ id: Number(that.valData)
|
|
|
+ }
|
|
|
+ getCaseQuality(params).then(res => {
|
|
|
+ that.results = null;
|
|
|
+ that.$nextTick(() =>{
|
|
|
+ that.results = res.data;
|
|
|
+ })
|
|
|
})
|
|
|
+ // that.axios({
|
|
|
+ // url:'http://10.10.11.65:8081/bazb/get_case_quality_v2',
|
|
|
+ // method: 'post',
|
|
|
+ // headers: { 'content-type': 'application/json', 'token': getToken() },
|
|
|
+ // data: {
|
|
|
+ // ZYH: Number(that.valData)
|
|
|
+ // }
|
|
|
+ // }).then(res => {
|
|
|
+ // this.results = res.data
|
|
|
+ // })
|
|
|
},
|
|
|
reload() {
|
|
|
// 移除组件
|