xiezhiming 8 ヶ月 前
コミット
b56a5c073d
3 ファイル変更690 行追加30 行削除
  1. 20 0
      src/js/api.js
  2. 668 28
      src/js/qcScore.js
  3. 2 2
      webpack.config.js

+ 20 - 0
src/js/api.js

@@ -247,6 +247,26 @@ const api = {
 
   sendHomePageIng: "qc/data/sendHomePageIng",//病例首页修改
   editFirstRecordInfos: "/str/FirstRecord/infos", //病例编辑功能接口
+  editAdmissionNoteInfos: "/str/AdmissionNote/infos",//入院记录编辑功能接口
+  editLeaveHospitalInfos: "/str/LeaveHospital/infos",//出院小结编辑功能接口
+  editWardRecordInfos: "/str/WardRecord/infos", //查房记录编辑功能接口
+  editConsultationApplyInfos: "/str/ConsultationApply/infos",// 会诊申请单编辑功能接口
+  editConsultationResultInfos: "/str/ConsultationResult/infos", // 会诊结果单编辑功能接口
+  editOperativeFirstRecordInfos: "/str/OperativeFirstRecord/infos", // 术后首次病程及谈话记录编辑功能接口
+  editDeathDiscussionInfos: "/str/DeathDiscussion/infos",// 死亡病历讨论记录编辑功能
+  editPreoperativeDiscussionInfos: "/str/PreoperativeDiscussion/infos", // 术前讨论、术前小结编辑功能
+  editOperativeNoteInfos: "/str/OperativeNote/infos",//手术记录编辑功能
+  editIllCriticallyInfos: "/str/IllCritically/infos", //  病危通知书
+  editDeathNoteInfos: "/str/DeathNote/infos",//  死亡记录
+  editCrisisNoteInfos: "/str/CrisisNote/infos",//危急值记录
+  editRescueNoteInfos: "/str/RescueNote/infos",//抢救记录
+  editTransferOutNoteInfos: "/str/TransferOutNote/infos",//转出记录
+  editTransferInNoteInfos: "/str/TransferInNote/infos",//转入记录
+  editInvasiveOperativeNoteInfos: "/str/InvasiveOperativeNote/infos",//有创操作记录
+  editDifficultCaseInfos: "/str/DifficultCase/infos",//疑难病例讨论记录
+  editBloodResultInfos: "/str/BloodResult/infos",//输血记录
+  editPeriodConclusionInfos: "/str/PeriodConclusion/infos",//阶段小结
+  editIllSeriousInfos: "/str/IllSeriousl/infos",//病重通知单
 
   doctorAverageStatistics: '/consoleByDoctor/doctorAverageStatistics', //各科室平均分列表
   doctorAverageStatisticsExport: '/consoleByDoctor/doctorAverageStatisticsExport', //各科室平均分列表导出

+ 668 - 28
src/js/qcScore.js

@@ -205,6 +205,7 @@ $(function () {
     post(api.getRecordDetail, { 'behospitalCode': global_id }).then(function (res) {
       if (res.data.code === '0') {
         const data = res.data.data;
+        console.log("@@@", data);
         const { beHospital, result, msg, checkStatus, drgs, mrStatus, checkShow, checkOperationWithAppeal } = data;
         global_check = checkStatus
         global_check_home = mrStatus
@@ -244,6 +245,7 @@ $(function () {
       $.alerModal({ "message": '接口出错', type: "tip", time: '1000', isFather: true, win: 'default', fatherWrapper: $("#mainBox", parent.document) });
     });
   }
+  /**更新页面数据*/
   function getRecordDetailUpdate() {
     return new Promise((resolve, reject) => {
       post(api.getRecordDetail, { 'behospitalCode': global_id }).then(function (res) {
@@ -387,6 +389,8 @@ $(function () {
         moduleId = info.mode_id;
         if (global_modules[moduleId]) {
           hml = initModuleData(moduleId, obj[k]);
+          console.log("hml", hml)
+          console.log("info", info)
           // hml:模板 info:数据。
           $.tmpl(hml, info).appendTo("#contentInfo");
         } else {
@@ -1017,6 +1021,8 @@ $(function () {
 
   //初始化模板
   function initModuleData(mid, obj) {
+    console.log("mid:", mid);
+    console.log("obj:", obj)
     const n = obj.length;
     const module = global_modules[mid].moduleDetail;
     const key = global_modules[mid].modeName.replace(/[^\u4e00-\u9fa5|a-zA-Z0-9]+/g, '');
@@ -1225,28 +1231,57 @@ $(function () {
             }).catch(err => {
               hideLoading()
             })
+
           }).catch(err => {
-            hideLoading()
-            $.alerModal({ "message": err, type: "tip", time: '1000', win: 'default' });
+            // err !== "_Failed"表示输入的数据验证没通过
+            if (err !== "_Failed") {
+              hideLoading()
+              $.alerModal({ "message": err, type: "tip", time: '1000', win: 'default' });
+            }
+
           })
           break
         case "入院记录":
           admissionRecordUpdate().then(res => {
-            hideLoading()
-            $(this).text('编辑');
-            isEditing[global_activeTab] = false
-            editStatus = false
+
+            getRecordDetailUpdate().then(res => {
+              hideLoading()
+              $(this).text('编辑');
+              isEditing[global_activeTab] = false
+              editStatus = false
+            }).catch(err => {
+              hideLoading()
+            })
+
+          }).catch(err => {
+            if (err !== "_Failed") {
+              hideLoading()
+              $.alerModal({ "message": err, type: "tip", time: '1000', win: 'default' });
+            }
           })
 
           break
         case "查房记录":
-          hideLoading()
-          isEditing[global_activeTab][index] = false
-          editStatus = false
-          $(this).text('编辑');
+          roomRecordUpdate(index).then(res => {
+            getRecordDetailUpdate().then(res => {
+              hideLoading()
+              $.alerModal({ "message": "保存成功", type: "tip", time: '1000', win: true });
+              isEditing[global_activeTab][index] = false
+              editStatus = false
+              $(this).text('编辑');
+            }).catch(err => {
+              console.log(err);
+              if (err !== "_Failed") {
+                hideLoading()
+                $.alerModal({ "message": "err", type: "tip", time: '1000', win: true });
+              }
+
+            })
+          })
           break
         case "首次病程录":
           firstRecordUpdate().then(res => {
+
             getRecordDetailUpdate().then(res => {
               hideLoading()
               $.alerModal({ "message": "保存成功", type: "tip", time: '1000', win: true });
@@ -1256,11 +1291,34 @@ $(function () {
             }).catch(err => {
               hideLoading()
             })
+
           }).catch(err => {
-            hideLoading()
-            $.alerModal({ "message": err, type: "tip", time: '1000', win: 'default' });
+            if (err !== "_Failed") {
+              hideLoading()
+              $.alerModal({ "message": err, type: "tip", time: '1000', win: 'default' });
+            }
           })
           break
+        case "出院小结":
+          dischargeSummaryUpdate().then(
+            res => {
+              getRecordDetailUpdate().then(res => {
+                hideLoading()
+                $.alerModal({ "message": "保存成功", type: "tip", time: '1000', win: true });
+                isEditing[global_activeTab] = false
+                editStatus = false
+                $(this).text('编辑');
+              }).catch(err => {
+                hideLoading()
+              })
+            },
+            err => {
+              if (err !== "_Failed") {
+                hideLoading()
+                $.alerModal({ "message": err, type: "tip", time: '1000', win: 'default' });
+              }
+            })
+          break
         default:
           hideLoading()
           isEditing[global_activeTab] = false
@@ -1271,8 +1329,10 @@ $(function () {
     $(this).parents(".content-item").find('p, .embed-table .table-1 td, .opera-table td,.embed-table .table-2 td,.inner-table td').attr('contenteditable', editStatus);
   });
 
-  /**验证首次病程录更新*/
-  let validateFirstRecordUpdate = true
+
+
+  /**验证修改*/
+  let validateEdit = true
 
   /**时间格式化
    * @param {string} dateName 时间的名称 
@@ -1297,20 +1357,288 @@ $(function () {
         return `${year}-${month}-${day} ${hour}:${minute}:${second}`
       } else {
         hideLoading()
-        validateFirstRecordUpdate = false
+        validateEdit = false
         // 清除alerModal,防止多个重叠
         $('.divModal').remove()
-        $.alerModal({ "message": dateName + "格式不正确", type: "tip", time: '2000', win: 'default' });
+        $.alerModal({ "message": dateName + "格式不正确", type: "tip", time: '1000', win: 'default' });
         return ""
       }
     }
     return ""
 
   }
+  /**出院小结更新*/
+  function dischargeSummaryUpdate() {
+    validateEdit = true
+
+    /**医院ID*/
+    const hospitalId = global_hid;
+
+    /**病历号*/
+    const behospitalCode = global_id;
+
+    /**姓名*/
+    const name = $("#anchor1758 p").text();
+
+    /**性别*/
+    const sex = $("#anchor1758 p").text();
+
+    /**年龄*/
+    const age = $("#anchor1793 p").text();
+
+    /**床号*/
+    const bedNo = "";
+
+    /**科别*/
+    const deptName = $("#anchor1797 p").text();
+
+    /**病历日期*/
+    const recordDate = $("#anchor1796 p").text();
+
+    /**标题*/
+    const recTitle = "";
+
+    /**入院日期*/
+    const behospitalDate = $("#anchor1796 p").text();
+
+    /**出院日期*/
+    const leaveHospitalDate = $("#anchor1798 p").text();
+
+    /**入院诊断*/
+    const tentativeDiagnosis = $("#anchor1772 p").text();
+
+    /**出院诊断*/
+    const leaveDiagnosis = $("#anchor1776 p").text();
+
+    /**住院天数*/
+    const behospitalDayNum = "";
+
+    /**入院原因*/
+    const behospitalReason = $("#anchor1786 p").text();
+
+    /**入院情况*/
+    const behospitalSituation = $("#anchor1800 p").text();
+
+    /**诊治经过*/
+    const treatmentProcess = $("#anchor1802 p").text();
+
+    /**出院情况*/
+    const leaveHospitalSituation = $("#anchor1803 p").text();
+
+    /**出院医嘱*/
+    const leaveHospitalDoctoradvice = "";
+
+    /**记录医生*/
+    const recDoctor = $("#anchor1836 p").text();
+
+    /**记录时间*/
+    const recDate = $("#anchor1837 p").text();
+
+    /**审核医生*/
+    const auditDoctor = $("#anchor1839 p").text();
+
+    /**审核时间*/
+    const auditDate = $("#anchor1840 p").text();
+
+    /**主诊医生*/
+    const chiefDoctor = $("#anchor1799 p").text();
+
+    /**出院诊断(中医)*/
+    const leaveDiagnosisCh = $("#anchor2144 p").text();
+
+    /**出院状态*/
+    const leaveHospitalCondition = $("#anchor1804 p").text();
+
+    /**出院去向*/
+    const leaveHospitalDisposition = $("#anchor1805 p").text();
+
+    /**出院带药*/
+    const leaveHospitalMedication = $("#anchor1806 p").text();
+
+    /**食物药物相互作用指导*/
+    const foodMedicationAdvice = $("#anchor1814 p").text();
+
+    /**饮食指导*/
+    const foodAdvice = $("#anchor1816 p").text();
+
+    /**特殊饮食指导*/
+    const foodAdviceSpecial = $("#anchor1817 p").text();
+
+    /**植入物指导*/
+    const implantAdvice = $("#anchor1818 p").text();
+
+    /**其他指导*/
+    const otherAdvice = $("#anchor1876 p").text();
+
+    /**复诊时间*/
+    const followDateRecord = $("#anchor2150 p").text();
+
+    /**复诊地点*/
+    const followPlace = $("#anchor1823 p").text();
+
+    /**复诊目的*/
+    const followPurpose = $("#anchor1825 p").text();
+
+    /**复诊科室*/
+    const followDept = $("#anchor1828 p").text();
+
+    /**NRS2002评分*/
+    const followScore = $("#anchor1877 p").text();
+
+    /**复诊紧急就医*/
+    const followEmergency = $("#anchor1830 p").text();
+
+    const params = {
+      "hospitalId": hospitalId,
+      "behospitalCode": behospitalCode,
+      "name": name,
+      "sex": sex,
+      "age": age,
+      "bedNo": bedNo,
+      "deptName": deptName,
+      "recordDate": recordDate,
+      "recTitle": recTitle,
+      "behospitalDate": behospitalDate,
+      "leaveHospitalDate": leaveHospitalDate,
+      "tentativeDiagnosis": tentativeDiagnosis,
+      "leaveDiagnosis": leaveDiagnosis,
+      "behospitalDayNum": behospitalDayNum,
+      "behospitalReason": behospitalReason,
+      "behospitalSituation": behospitalSituation,
+      "treatmentProcess": treatmentProcess,
+      "leaveHospitalSituation": leaveHospitalSituation,
+      "leaveHospitalDoctoradvice": leaveHospitalDoctoradvice,
+      "recDoctor": recDoctor,
+      "recDate": recDate,
+      "auditDoctor": auditDoctor,
+      "auditDate": auditDate,
+      "chiefDoctor": chiefDoctor,
+      "leaveDiagnosisCh": leaveDiagnosisCh,
+      "leaveHospitalCondition": leaveHospitalCondition,
+      "leaveHospitalDisposition": leaveHospitalDisposition,
+      "leaveHospitalMedication": leaveHospitalMedication,
+      "foodMedicationAdvice": foodMedicationAdvice,
+      "foodAdvice": foodAdvice,
+      "foodAdviceSpecial": foodAdviceSpecial,
+      "implantAdvice": implantAdvice,
+      "otherAdvice": otherAdvice,
+      "followDateRecord": followDateRecord,
+      "followPlace": followPlace,
+      "followPurpose": followPurpose,
+      "followDept": followDept,
+      "followScore": followScore,
+      "followEmergency": followEmergency
+    }
+
+    return new Promise((resolve, reject) => {
+      if (validateEdit) {
+        post1(api.editLeaveHospitalInfos, params).then(res => {
+          if (res.data.code === 0) {
+            resolve(true)
+          } else {
+            reject(res.data.msg)
+          }
+        }).catch(err => {
+          reject(err.msg)
+        })
+      } else {
+        reject("_Failed")
+      }
+
+    })
+
+  }
+  /**查房记录数据更新*/
+  function roomRecordUpdate(index) {
+    validateEdit = true
+    const this_item = $(".content-item[code='查房记录']").eq(index)
+    /**病人住院ID*/
+    const behospitalCode = global_id;
+    /**医院ID*/
+    const hospitalId = global_hid;
+    /**记录编号*/
+    const recId = $('#text').text().slice(6, 8);
+    /**姓名*/
+    const name = "";
+    /**年龄*/
+    const age = "";
+    /**床号*/
+    const bedNo = "";
+    /**科别*/
+    const deptName = "";
+    /**性别*/
+    const sex = "";
+    /**病例日期*/
+    const recordDate = this_item.find('#anchor2118 p').text();
+    /**查房日期*/
+    const wardDate = this_item.find('#anchor2118 p').text();
+    /**查房医生*/
+    const wardDoctor = this_item.find('#anchor2815 p').text();
+    /**标题*/
+    const wardTitle = this_item.find('#anchor2119 p').text();
+    /**病情记录*/
+    const wardContent = "";
+    /**S*/
+    const wardS = this_item.find('#anchor2122 p').text();
+    /**O*/
+    const wardO = this_item.find('#anchor2123 p').text();
+    /**A*/
+    const wardA = this_item.find('#anchor2124 p').text();
+    /**P*/
+    const wardP = this_item.find('#anchor2125 p').text();
+    /**记录医生*/
+    const recDoctor = this_item.find('#anchor2126 p').text();
+    /**记录时间*/
+    const recDate = this_item.find('#anchor2127 p').text();
+    /**审核医生*/
+    const auditDoctor = this_item.find('#anchor2128 p').text();
+    /**审核时间*/
+    const auditDate = this_item.find('#anchor2129 p').text();
+
+    const param = {
+      "behospitalCode": behospitalCode,//病人住院ID
+      "hospitalId": hospitalId,//医院ID
+      "recId": recId,//记录编号
+      "name": name,//姓名
+      "age": age,//年龄
+      "bedNo": bedNo,//床号
+      "deptName": deptName,//科别
+      "sex": sex,//性别
+      "recordDate": recordDate,//病例日期
+      "wardDate": wardDate,//查房日期
+      "wardDoctor": wardDoctor,//查房医生
+      "wardTitle": wardTitle,//标题
+      "wardContent": wardContent,//病情记录
+      "wardS": wardS,//S
+      "wardO": wardO,//O
+      "wardA": wardA,//A
+      "wardP": wardP,//P
+      "recDoctor": recDoctor,//记录医生
+      "recDate": recDate,//记录时间
+      "auditDoctor": auditDoctor,//审核医生
+      "auditDate": auditDate//审核时间
+    }
+    return new Promise((resolve, reject) => {
+      if (validateEdit) {
+        post1(api.editWardRecordInfos, param).then(res => {
+          if (res.data.code === 0) {
+            resolve(true)
+          } else {
+            reject(res.data.msg)
+          }
+        }).catch((err) => {
+          reject(err.msg)
+        })
+      } else {
+        reject("_Failed")
+      }
+
+    });
+  }
 
   /**首次病程录更新*/
   function firstRecordUpdate() {
-    validateFirstRecordUpdate = true
+    validateEdit = true
 
     /**病人住院ID*/
     const behospitalCode = global_id
@@ -1404,7 +1732,7 @@ $(function () {
     };
 
     return new Promise((resolve, reject) => {
-      if (validateFirstRecordUpdate) {
+      if (validateEdit) {
         post(api.editFirstRecordInfos, params).then(res => {
           if (res.data.code === '0') {
             resolve(true)
@@ -1415,22 +1743,334 @@ $(function () {
           reject(err.msg)
         })
       } else {
-        // reject("验证失败")
+        reject("_Failed")
       }
     })
+
   }
 
+
+
   /**保存入院记录数据更新*/
   function admissionRecordUpdate() {
     /**入院记录编号*/
     const homePageId = $(`.content-item[code=${global_activeTab}] .title`).text().match(/\d+/)[0]
+
+
     /**医院ID*/
-    const hospitalId = getUrlArgObject("hid")
-    /**病人住院ID*/
-    const behospitalCode = getUrlArgObject("id")
-    /**病人年龄*/
-    const age = $('#anchor22325 p').text().replace("岁", "")
-    return true
+    const hospitalId = global_hid;
+
+    /**病历号*/
+    const behospitalCode = global_id;
+
+    /**姓名*/
+    const name = $('#anchor1716 p').text();
+
+    /**性别*/
+    const sex = $('#anchor1718 p').text();
+
+    /**年龄*/
+    const age = "";
+
+    /**床号*/
+    const bedNo = "";
+
+    /**科别*/
+    const deptName = "";
+
+    /**病历日期*/
+    const recordDate = "";
+
+    /**标题*/
+    const recTitle = "";
+
+    /**出生日期*/
+    const birthday = $('#anchor1720 p').text();
+
+    /**婚姻状况*/
+    const marriage = $('#anchor1722 p').text();
+
+    /**职业*/
+    const jobType = $('#anchor1717 p').text();
+
+    /**民族*/
+    const nation = $('#anchor1726 p').text();
+
+    /**联系电话*/
+    const phone = $('#anchor1723 p').text();
+
+    /**工作单位*/
+    const workplace = $('#anchor1719 p').text();
+
+    /**户口地址*/
+    const registerAddress = $('#anchor1721 p').text();
+
+    /**出生地*/
+    const bornAddress = $('#anchor1724 p').text();
+
+    /**预产期*/
+    const expectDate = "";
+
+    /**末次月经*/
+    const lastMenstrual = "";
+
+    /**孕/产次*/
+    const pregnantNum = "";
+
+    /**入院日期*/
+    const behospitalDate = $('#anchor1725 p').text();
+
+    /**病史陈述者*/
+    const historyTeller = $('#anchor1727 p').text();
+
+    /**主诉*/
+    const chief = $('#anchor1728 p').text();
+
+    /**现病史*/
+    const present = $('#anchor1729 p').text();
+
+    /**既往史(过去史)*/
+    const pastHistory = $('#anchor1730 p').text();
+
+    /**个人史*/
+    const personalHistory = "";
+
+    /**婚育史(婚姻史)*/
+    const maritalHistory = "";
+
+    /**月经史*/
+    const menstrualHistory = $('#anchor1847').text();
+
+    /**家族史*/
+    const familyHistory = "";
+
+    /**喂养史*/
+    const feedingHistory = "";
+
+    /**手术外伤史*/
+    const operationHistory = $('#anchor1740 p').text();
+
+    /**输血史*/
+    const bloodHistory = $('#anchor1741 p').text();
+
+    /**传染病史*/
+    const infectionHistory = "";
+
+    /**专科检查*/
+    const specialVital = $('#anchor1801 p').text();
+
+    /**辅助检查*/
+    const assistantExam = $('#anchor1809 p').text();
+
+    /**实验室检查*/
+    const lisExam = $('#anchor1811 p').text();
+
+    /**影像学检查*/
+    const pacsExam = $('#anchor1813 p').text();
+
+    /**初步诊断*/
+    const tentativeDiagnosis = $('#anchor1820 p').text();
+
+    /**补充诊断*/
+    const supplyDiagnosis = "";
+
+    /**修正诊断*/
+    const revisedDiagnosis = $('#anchor1821 p').text();
+
+    /**记录医生*/
+    const recDoctor = $('#anchor1824 p').text();
+
+    /**记录时间*/
+    const recDate = $('#anchor1826 p').text();
+
+    /**审核医生*/
+    const auditDoctor = $('#anchor1827 p').text();
+
+    /**审核时间*/
+    const auditDate = $('#anchor1829 p').text();
+
+    /**体温*/
+    const temperature = $('#anchor1773').text();
+
+    /**脉搏*/
+    const pulse = $('#anchor1774').text();
+
+    /**呼吸*/
+    const breathe = $('#anchor1775').text();
+
+    /**血压*/
+    const bloodPressure = $('#anchor1777').text();
+
+    /**疼痛*/
+    const pain = $('#anchor1778').text();
+
+    /**体重*/
+    const weight = $('#anchor1788').text();
+
+    /**身高*/
+    const height = $('#anchor1787').text();
+
+    /**BMI*/
+    const bmi = $('#anchor1790').text();
+
+    /**发热*/
+    const fever = $('#anchor1990 p').text();
+
+    /**咳嗽等呼吸道症状*/
+    const coughSymptom = $('#anchor1991 p').text();
+
+    /**一般健康状态*/
+    const healthStatus = $('#anchor2085 p').text();
+
+    /**内科疾病史*/
+    const internalHistory = "";
+
+    /**药物、食物中毒史*/
+    const poisoningHistory = $('#anchor1742 p').text();
+
+    /**长期用药*/
+    const chronicMedication = $('#anchor1747 p').text();
+
+    /**预防接种史*/
+    const vaccinationHistory = $('#anchor1751 p').text();
+
+    /**个人习惯史*/
+    const habitHistory = "";
+
+    /**生命体征*/
+    const vitalSigns = "";
+
+    /**一般情况*/
+    const generalCondition = "";
+
+    /**皮肤*/
+    const skin = "";
+
+    /**浅表淋巴结*/
+    const lymphNodes = "";
+
+    /**头部*/
+    const head = "";
+
+    /**眼*/
+    const eyes = "";
+
+    /**瞳孔*/
+    const pupil = "";
+
+    /**耳*/
+    const ear = "";
+
+    /**鼻*/
+    const nose = "";
+
+    /**口腔*/
+    const oralCavity = "";
+
+    /**颈部*/
+    const neck = "";
+
+    /**甲状腺检查*/
+    const thyroid = "";
+
+    /**胸部视诊*/
+    const chestInspection = "";
+
+    /**胸部触诊*/
+    const chestPalpation = "";
+
+    /**胸部叩诊*/
+    const chestPercussion = "";
+
+    /**胸部听诊*/
+    const chestAuscultation = "";
+
+    /**乳房*/
+    const breast = "";
+
+    /**心脏视诊*/
+    const cardiacInspection = "";
+
+    /**心脏触诊*/
+    const cardiacPalpation = "";
+
+    /**心脏叩诊*/
+    const cardiacPercussion = "";
+
+    /**心脏听诊*/
+    const cardiacAuscultation = "";
+
+    /**周围血管*/
+    const peripheralVessels = "";
+
+    /**腹部视诊*/
+    const abdominalInspection = "";
+
+    /**腹部触诊*/
+    const abdominalPalpation = "";
+
+    /**肝触诊*/
+    const liverPalpation = "";
+
+    /**胆囊触诊*/
+    const gallbladderPalpation = "";
+
+    /**脾触诊*/
+    const spleenPalpation = "";
+
+    /**肾触诊*/
+    const kidneyPalpation = "";
+
+    /**腹部叩诊*/
+    const abdominalPercussion = "";
+
+    /**腹部听诊*/
+    const abdominalAuscultation = "";
+
+    /**脊柱*/
+    const spine = "";
+
+    /**四肢*/
+    const theFourLimbs = "";
+
+    /**颅神经*/
+    const cranialNerve = $('#anchor2799 p').text();
+
+    /**感觉*/
+    const feeling = "";
+
+    /**运动*/
+    const sports = "";
+
+    /**病理征*/
+    const pathologicalSign = $('#anchor2810 p').text();
+
+    /**脑膜刺激征*/
+    const meningealSign = $('#anchor2811 p').text();
+
+    /**颅神经其它*/
+    const nerveOthers = $('#anchor2812 p').text();
+
+    /**修正医生*/
+    const revisedDoctor = $('#anchor2090 p').text();
+
+    /**修正日期*/
+    const revisedTime = $('#anchor2092 p').text();
+
+    const params = {
+    }
+    return new Promise((resolve, reject) => {
+      post1(api.editAdmissionNoteInfos, params).then(res => {
+        if (res.data.code === 0) {
+          resolve(true)
+        } else {
+          resolve(res.data.msg)
+        }
+      }).catch(err => {
+        reject(err.msg)
+      })
+
+    })
   }
 
   /**保存病案首页数据更新*/
@@ -1708,9 +2348,9 @@ $(function () {
 
     //耗材类 
     let str_anchor2300 = $('#anchor2300 p').text()
-    let matchs_anchor2300_1 = str_anchor2300.match(/检查用一次性医用材费[\s:]*(\d+\.?\d+)/)
-    let matchs_anchor2300_2 = str_anchor2300.match(/治疗用一次性医用材费[\s:]*(\d+\.?\d+)/)
-    let matchs_anchor2300_3 = str_anchor2300.match(/手术用一次性医用材费[\s:]*(\d+\.?\d+)/)
+    let matchs_anchor2300_1 = str_anchor2300.match(/检查用一次性医用材费[\s:]*(\d+\.?\d+)/)
+    let matchs_anchor2300_2 = str_anchor2300.match(/治疗用一次性医用材费[\s:]*(\d+\.?\d+)/)
+    let matchs_anchor2300_3 = str_anchor2300.match(/手术用一次性医用材费[\s:]*(\d+\.?\d+)/)
     /** 检查用一次性医用材料费 */
     const checkMaterialFee = matchs_anchor2300_1 ? matchs_anchor2300_1[1] : "";
     /** 治疗用一次性医用材料费 */

+ 2 - 2
webpack.config.js

@@ -7,9 +7,9 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
 const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
 const webpack = require('webpack');
 const glob = require('glob');
-// const proxyHost = "http://173.18.12.195:5858";
+const proxyHost = "http://173.18.12.195:5858";
 // const proxyHost = "http://172.16.8.60:5858";
-const proxyHost = "http://172.16.8.64:5858";
+// const proxyHost = "http://172.16.8.64:5858";
 // const proxyHost = "http://173.18.12.195:5656";
 // const proxyHost = "http://192.168.2.241:5858";
 // const proxyHost = "http://192.168.4.222:5858";