1178232204@qq.com 3 年之前
父节点
当前提交
2459fe8cb1
共有 3 个文件被更改,包括 41 次插入4 次删除
  1. 13 0
      src/js/api.js
  2. 13 2
      src/js/appealUserPage.js
  3. 15 2
      src/js/qcScore.js

+ 13 - 0
src/js/api.js

@@ -230,10 +230,23 @@ const api = {
   getMedRecordOtherPage:'/qc/medRecordOther/getMedRecordOtherPage', //其他信息列表
   getMedRecordContentOther:'/qc/medRecordOther/getMedRecordContentOther', //文书内容展示
 
+  doctorAverageStatistics:'/consoleByDoctor/doctorAverageStatistics', //各科室平均分列表
+  doctorAverageStatisticsExport:'/consoleByDoctor/doctorAverageStatisticsExport', //各科室平均分列表导出
+  getDoctorDetailPage:'/consoleByDoctor/getDoctorDetailPage', //各科室缺陷列表
+  getDoctorDetailPageExport:'/consoleByDoctor/getDoctorDetailPageExport', //缺陷列表导出
+  getDetailRecordListPage:'/consoleByDoctor/getDetailRecordListPage', //各科室平均分病历列表
+  getDetailRecordListPageExport:'/consoleByDoctor/getDetailRecordListPageExport', //各科室平均分病历列表导出缺陷进入
+  doctorAverageLevelExport:'/consoleByDoctor/doctorAverageLevelExport', //各科室平均分病历列表导出
+  doctorAverageLevelPage:'/consoleByDoctor/doctorAverageLevelPage', //各科室平均分病历列表等级跳转
+  
+
   newsNoticePage:'/medNewsNotice/newsNoticePage', //消息通知列表
   getNewsCount:'/medNewsNotice/getNewsCount', //消息数量
   getNewsDropDownBox:'/medNewsNotice/getNewsDropDownBox', //消息通知-获取通知类型、阅读状态下拉框内容
   getNewsNoticeInfoById:'/medNewsNotice/getNewsNoticeInfoById',//消息通知详情
+
+  supplementData:'/qc/supplement/supplementData',//刷新
+  
 }
 const ywCheckApi = {
   addMedCheckInfo: '/qc/medCheckInfo/addMedCheckInfo',   //核查

+ 13 - 2
src/js/appealUserPage.js

@@ -46,8 +46,8 @@ $(function () {
     showModal('2');
   });
   $("body").on("click", ".refreshBtn", function () {
-    $("#contentInfo").html('')
-    getRecordDetailUpdate2();
+    
+    supplementData()
   });
   function showAppealDetailEvent() {
     //申诉状态点击事件
@@ -237,6 +237,17 @@ $(function () {
       }
     });
   }
+  function supplementData() {
+    post(api.supplementData, { 'behospitalCode': global_id,'behospitalNum':1 }).then(function (res) {
+      if (res.data.code === '0') {
+        $("#contentInfo").html('')
+        getRecordDetailUpdate2()
+      }else{
+        $.alerModal({ "message": '刷新失败,请重试~', type: "tip", time: '1000', isFather: true, win: 'default', fatherWrapper: $("#mainBox", parent.document) });
+      }
+    });
+  }
+
   function changePay() {
     $(document).on('click', ".titleSpecial span", function () {
       let type = $(this).attr("data-type")

+ 15 - 2
src/js/qcScore.js

@@ -48,9 +48,10 @@ $(function () {
     // $(".flaw-box").html('')
     // $(".patient-info").html('')
     // $("#subMenu").html('')
-    $("#contentInfo").html('')
+    
     // console.log(global_activeTab);
-    getRecordDetailUpdate2()
+    // getRecordDetailUpdate2()
+    supplementData()
   });
   function showAppealDetailEvent() {
     //申诉状态点击事件
@@ -252,6 +253,18 @@ $(function () {
       }
     });
   }
+  function supplementData() {
+    post(api.supplementData, { 'behospitalCode': global_id,'behospitalNum':1 }).then(function (res) {
+      if (res.data.code === '0') {
+        $("#contentInfo").html('')
+        getRecordDetailUpdate2()
+      }else{
+        $.alerModal({ "message": '刷新失败,请重试~', type: "tip", time: '1000', isFather: true, win: 'default', fatherWrapper: $("#mainBox", parent.document) });
+      }
+    });
+  }
+
+  
   function changePay() {
     $(document).on('click', ".titleSpecial span", function () {
       let type = $(this).attr("data-type")