Browse Source

接口修改

luolei 4 years ago
parent
commit
742bef1055
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/js/api.js
  2. 1 1
      src/js/nursing.js

+ 1 - 0
src/js/api.js

@@ -137,6 +137,7 @@ const api = {
     medicalCheckTitle:'/console/medicalCheckTitle',//稽查表头
     medicalCheckTitle:'/console/medicalCheckTitle',//稽查表头
     medicalCheckForm:'/console/medicalCheckForm',//稽查表格
     medicalCheckForm:'/console/medicalCheckForm',//稽查表格
     medicalCheckExport:'/console/export/medicalCheckExport',//稽查表导出
     medicalCheckExport:'/console/export/medicalCheckExport',//稽查表导出
+    getMedNursePage:'/qc/medNurse/getMedNursePage',//护理信息
 }
 }
 module.exports = {
 module.exports = {
     api
     api

+ 1 - 1
src/js/nursing.js

@@ -215,7 +215,7 @@ function getTabData(activePage){
     }
     }
     $('.pagination').html("")
     $('.pagination').html("")
     $('.tbody').html(emptyBox('努力加载中...','',1))
     $('.tbody').html(emptyBox('努力加载中...','',1))
-    post(api.getPage,param).then(res =>{
+    post(api.getMedNursePage,param).then(res =>{
         if(res.data.code == '0'){
         if(res.data.code == '0'){
             const data = res.data.data.records
             const data = res.data.data.records
             const totalPage = res.data.data.pages
             const totalPage = res.data.data.pages