|
@@ -12,7 +12,7 @@ $(function(){
|
|
|
let global_flawData = {}; //缺陷数据
|
|
|
const global_id=getUrlArgObject("id");
|
|
|
const global_age = getUrlArgObject("age");
|
|
|
- const global_check = getUrlArgObject("checkStatus");
|
|
|
+ let global_check = getUrlArgObject("checkStatus");
|
|
|
const global_code = getUrlArgObject("code");
|
|
|
let global_activeTab=$(".sub-menu .page.active").attr("code"); //当前激活菜单项
|
|
|
let global_modules ={}; //模板数据缓存
|
|
@@ -631,7 +631,10 @@ function formatFlawKeys(data){
|
|
|
};
|
|
|
post(api.checkQc,param).then((res)=>{
|
|
|
if(res.data.code==='0') {
|
|
|
+ global_check = 1
|
|
|
+ $(".check").text("重新核查")
|
|
|
$.alerModal({"message":`<div class="checkTipsBox"><img class="checkImg" src=${checkOk}><p class="checkTxt">审核成功</p></div>`,type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
|
|
|
+
|
|
|
}else{
|
|
|
$.alerModal({"message":'核查失败',type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
|
|
|
}
|