Browse Source

所有单链接和科室质控和终末质控数据增加show_correction用于区分已整改数据是否显示

liyanyan 6 days ago
parent
commit
1e79edf71c

+ 1 - 0
src/views/allcase/components/CaseQualityBox2.vue

@@ -370,6 +370,7 @@ import { examineAppeal, getAppealData, getBrry } from '@/api/qc';
       getTableData(isRender = false){
         const params = {
           id: this.$props.MED_REC_ID,
+          show_correction:  this.$route.path == '/whitelist-caseControl' ? 2 : 1,
           isNeedLoading: isRender ? true : false
         };
         this.$axios2.post('/get_case_quality_v2', params).then(res => {

+ 4 - 1
src/views/recordsRoom/qc/components/CaseQualityBox2.vue

@@ -554,6 +554,7 @@ export default {
     getData() {
       const params = {
         ZYH: this.MEDRECID,
+        show_correction:  this.$route.path == '/whitelist-bmyQualityResult' ? 2 : 1
       };
       this.$axios.post('/home_bmy_quality/bmyQualityResult', params).then(res => {
         console.log('编码员数据', res.data);
@@ -618,7 +619,8 @@ export default {
     // 获取病案首页
     getQualityResult() {
       this.$axios.post('/home_quality/getQualityResult', {
-        id: this.MEDRECID
+        id: this.MEDRECID,
+        show_correction:  this.$route.path == '/whitelist-qualityResults' ? 2 : 1
       }).then(res => {
         this.resultsList = res.data; // 清空结果
         if(this.resultsList && this.resultsList.list && Array.isArray(this.resultsList.list)) {
@@ -634,6 +636,7 @@ export default {
     qualityBazb() {
       const params = {
         id: this.MEDRECID,
+        show_correction: 1
       };
       getCaseQualityBazb(params).then(res => {
         if (res && res.data) {