|
@@ -45,7 +45,12 @@ $(function () {
|
|
|
});
|
|
|
}
|
|
|
$("body").on("click", ".refreshBtn", function () {
|
|
|
- getRecordDetailUpdate2();
|
|
|
+ // $(".flaw-box").html('')
|
|
|
+ // $(".patient-info").html('')
|
|
|
+ // $("#subMenu").html('')
|
|
|
+ $("#contentInfo").html('')
|
|
|
+ // console.log(global_activeTab);
|
|
|
+ getRecordDetailUpdate2()
|
|
|
});
|
|
|
function showAppealDetailEvent() {
|
|
|
//申诉状态点击事件
|
|
@@ -104,7 +109,7 @@ $(function () {
|
|
|
$(".check").css('display', 'block').text(global_check == 1 ? '重新核查' : '病历核查')
|
|
|
}
|
|
|
}
|
|
|
- if (title === "缺陷总览" || title === "谈话告知书" || title === "知情同意书" || title === '医嘱信息' || title === '检验信息' || title === '检查信息' || title === '护理信息' || title === '其他信息') {
|
|
|
+ if (title === "缺陷总览" || title === "谈话告知书" || title === "知情同意书" || title === '医嘱信息' || title === '检验信息' || title === '检查信息' || title === '护理信息' || title === '其他信息') {
|
|
|
if (title === "缺陷总览") {
|
|
|
getRecordDetailUpdate()
|
|
|
}
|
|
@@ -179,7 +184,7 @@ $(function () {
|
|
|
return false;
|
|
|
}
|
|
|
//获取病例明细
|
|
|
- function getRecordDetail() {
|
|
|
+ function getRecordDetail(type) {
|
|
|
post(api.getRecordDetail, { 'behospitalCode': global_id }).then(function (res) {
|
|
|
if (res.data.code === '0') {
|
|
|
const data = res.data.data;
|
|
@@ -191,17 +196,24 @@ $(function () {
|
|
|
const info = Object.assign(beHospital, result);
|
|
|
initMenu(JSON.parse(result.menuData));
|
|
|
// $(".sub-menu>ul>li:first-child.page,.menu-mini>ul>li:first-child.page").addClass("active");
|
|
|
- $(".subMenu >li:first-child.page,.menu-mini>ul>li:first-child.page").addClass("active");
|
|
|
- global_activeTab = $(".sub-menu .page.active").attr("code");
|
|
|
+ if (type) {
|
|
|
+ $(".sub-menu .page[code=" + global_activeTab + "]").parents(".list-1").click();
|
|
|
+ $(".sub-menu .page[code=" + global_activeTab + "],.menu-mini .page[code=" + global_activeTab + "").click();
|
|
|
+ }else{
|
|
|
+ $(".subMenu >li:first-child.page,.menu-mini>ul>li:first-child.page").addClass("active");
|
|
|
+ global_activeTab = $(".sub-menu .page.active").attr("code");
|
|
|
+ }
|
|
|
+
|
|
|
$(".operation").show()
|
|
|
initPatientInfo(info);
|
|
|
- initContent(result.pageData);
|
|
|
+ initContent(result.pageData,2);
|
|
|
initList(msg);
|
|
|
initScoreItem(msg);
|
|
|
global_flawData = msg;
|
|
|
global_flawDataPay = drgs;
|
|
|
setBoxHeight();
|
|
|
changePay()
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@@ -237,7 +249,7 @@ $(function () {
|
|
|
// $(".subMenu >li:first-child.page,.menu-mini>ul>li:first-child.page").addClass("active");
|
|
|
// global_activeTab=$(".sub-menu .page.active").attr("code");
|
|
|
// initPatientInfo(info);
|
|
|
- // initContent(result.pageData);
|
|
|
+ initContent(result.pageData,1);
|
|
|
initScoreItem(msg);
|
|
|
global_flawData = msg;
|
|
|
global_flawDataPay = drgs;
|
|
@@ -269,12 +281,15 @@ $(function () {
|
|
|
})
|
|
|
}
|
|
|
//显示病例模块明细
|
|
|
- function initContent(data) {
|
|
|
+ function initContent(data,type) {
|
|
|
const obj = JSON.parse(data);
|
|
|
let info = [];
|
|
|
let hml = '', moduleId = '';
|
|
|
- formatSpecPage(obj["谈话告知书"], "谈话告知书");
|
|
|
- formatSpecPage(obj["知情同意书"], "知情同意书");
|
|
|
+ if(type == 2){
|
|
|
+ formatSpecPage(obj["谈话告知书"], "谈话告知书");
|
|
|
+ formatSpecPage(obj["知情同意书"], "知情同意书");
|
|
|
+ }
|
|
|
+
|
|
|
// formatSpecPage(obj["医嘱信息"],"医嘱信息");
|
|
|
$(".content-box").show();
|
|
|
for (let k in obj) {
|