|
@@ -45,7 +45,9 @@ $(function () {
|
|
|
$(".add-flaw").click(function () {
|
|
|
showModal('2');
|
|
|
});
|
|
|
-
|
|
|
+ $("body").on("click", ".refreshBtn", function () {
|
|
|
+ getRecordDetailUpdate2(1);
|
|
|
+ });
|
|
|
function showAppealDetailEvent() {
|
|
|
//申诉状态点击事件
|
|
|
$(".flaw-item").off("click").on("click", ".title .btn", function () {
|
|
@@ -214,6 +216,26 @@ $(function () {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+ function getRecordDetailUpdate2() {
|
|
|
+ post(api.getRecordDetail, { 'behospitalCode': global_id }).then(function (res) {
|
|
|
+ if (res.data.code === '0') {
|
|
|
+ const data = res.data.data;
|
|
|
+ const { beHospital, result, msg, checkStatus, drgs } = data;
|
|
|
+ // global_check = checkStatus
|
|
|
+ // const info=Object.assign(beHospital,result);
|
|
|
+ // initMenu(JSON.parse(result.menuData));
|
|
|
+ // $(".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);
|
|
|
+ initScoreItem(msg);
|
|
|
+ global_flawData = msg;
|
|
|
+ global_flawDataPay = drgs;
|
|
|
+ // setBoxHeight();
|
|
|
+ // changePay()
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
function changePay() {
|
|
|
$(document).on('click', ".titleSpecial span", function () {
|
|
|
let type = $(this).attr("data-type")
|