|
@@ -68,13 +68,13 @@ function initMenu(data){
|
|
const title = $(this).attr("code");
|
|
const title = $(this).attr("code");
|
|
if(title == '缺陷总览'){ //质控核查页进来隐藏原核查按钮
|
|
if(title == '缺陷总览'){ //质控核查页进来隐藏原核查按钮
|
|
$(".check,.ywCheck").css('display','none')
|
|
$(".check,.ywCheck").css('display','none')
|
|
- }else if(title == '病案首页'){
|
|
|
|
|
|
+ }/*else if(title == '病案首页'){
|
|
if(showCheckBtns){
|
|
if(showCheckBtns){
|
|
$(".ywCheck").show();
|
|
$(".ywCheck").show();
|
|
}else{
|
|
}else{
|
|
$(".check").css('display','block').text(global_check_home==1?'重新核查':'病案首页核查')
|
|
$(".check").css('display','block').text(global_check_home==1?'重新核查':'病案首页核查')
|
|
}
|
|
}
|
|
- }else{
|
|
|
|
|
|
+ }*/else{
|
|
if(showCheckBtns){
|
|
if(showCheckBtns){
|
|
$(".ywCheck").show();
|
|
$(".ywCheck").show();
|
|
}else {
|
|
}else {
|
|
@@ -207,16 +207,12 @@ function changePay(){
|
|
}
|
|
}
|
|
//填充患者信息
|
|
//填充患者信息
|
|
function initPatientInfo(data){
|
|
function initPatientInfo(data){
|
|
- let hasCheck = false
|
|
|
|
- if(showCheckBtns&&hasData("FUNC000014")){
|
|
|
|
- hasCheck = true
|
|
|
|
- }
|
|
|
|
- const obj=Object.assign({},data,{age:!global_age||global_age=="null"?"-":global_age,hasCheck,showCheckBtns,checkState:global_check,checkStateHome:global_check_home});
|
|
|
|
|
|
+ const obj=Object.assign({},data,{age:!global_age||global_age=="null"?"-":global_age,showCheckBtns,checkState:global_check,checkStateHome:global_check_home});
|
|
|
|
|
|
$("#infoTmpl").tmpl(obj).appendTo("#patientInfo");
|
|
$("#infoTmpl").tmpl(obj).appendTo("#patientInfo");
|
|
- $(".check").on("click", function(){
|
|
|
|
|
|
+ /*$(".check").on("click", function(){
|
|
checkQc()
|
|
checkQc()
|
|
- })
|
|
|
|
|
|
+ })*/
|
|
$(".ywCheck").on("click", function(){
|
|
$(".ywCheck").on("click", function(){
|
|
checkYwQc()
|
|
checkYwQc()
|
|
})
|
|
})
|
|
@@ -372,6 +368,7 @@ function initScoreItem(data){
|
|
$(".edit-flaw").css({"display":hasAu?"inline":"none"});
|
|
$(".edit-flaw").css({"display":hasAu?"inline":"none"});
|
|
$(".del-flaw").css({"display":hasAu2?"inline":"none"});
|
|
$(".del-flaw").css({"display":hasAu2?"inline":"none"});
|
|
$(".add-flaw").css({"display":hasAu3?"inline":"none"});
|
|
$(".add-flaw").css({"display":hasAu3?"inline":"none"});
|
|
|
|
+ $(".recover-flaw").css({"display":hasAu2?"inline":"none"});
|
|
$(".flaw-item .title a[href]").click(function(){
|
|
$(".flaw-item .title a[href]").click(function(){
|
|
const id = $(this).attr("href");
|
|
const id = $(this).attr("href");
|
|
const anchors=$(this).attr("anchors").split(",");
|
|
const anchors=$(this).attr("anchors").split(",");
|
|
@@ -825,7 +822,7 @@ function formatFlawKeys(data){
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- function checkQc(){
|
|
|
|
|
|
+ /*function checkQc(){
|
|
const param={
|
|
const param={
|
|
behospitalCode:getUrlArgObject("id"),
|
|
behospitalCode:getUrlArgObject("id"),
|
|
hospitalId:getUrlArgObject("hid"),
|
|
hospitalId:getUrlArgObject("hid"),
|
|
@@ -844,7 +841,7 @@ function formatFlawKeys(data){
|
|
$.alerModal({"message":res.data.msg ||"核查失败",type:"tip",time:'1000',isFather: false});
|
|
$.alerModal({"message":res.data.msg ||"核查失败",type:"tip",time:'1000',isFather: false});
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
function checkYwQc(){
|
|
function checkYwQc(){
|
|
const param={
|
|
const param={
|
|
behospitalCode:getUrlArgObject("id"),
|
|
behospitalCode:getUrlArgObject("id"),
|