|
@@ -52,7 +52,7 @@ function getApprovedView() {
|
|
|
if (res.data.code == '0') {
|
|
|
data = res.data.data.data
|
|
|
appealExamineRecordDTOList = {
|
|
|
- casesEntryName:data.qcresultDetailMsg,
|
|
|
+ casesEntryName: data.qcresultDetailMsg,
|
|
|
value: data.qcresultDetaiValue,
|
|
|
msg: data.appealExamineRecordDTOList[0].msg,
|
|
|
explainInfo: data.appealExamineRecordDTOList[0].appealExplain,
|
|
@@ -152,8 +152,8 @@ function getHistory(data) {
|
|
|
<p class="con-title">操作类型:${item.appealOperationType == 0 ? '删改条目' : item.appealOperationType == 1 ? '新增已有条目' : item.appealOperationType == 2 ? '新增缺失条目' : '恢复条目'}</p>
|
|
|
<p class="con-title">申诉说明:${item.appealExplain || '-'}</p>
|
|
|
${item.exampleStatus == 2 ?
|
|
|
- `<p class="con-title" style="border-top: 1px solid #333;margin-top: 10px;padding-top: 10px;">审核时间:${item.appealExamineDate || '-'}</p>
|
|
|
- <p class="con-title">申诉结果:审核通过</p>
|
|
|
+ `<p class="con-title" style="border-top: 1px solid #333;margin-top: 10px;padding-top: 10px;"><span>审核时间:${item.appealExamineDate || '-'}</span><span>审核人:${item.checkName || '-'}</span></p>
|
|
|
+ <p class="con-title">审核结果:审核通过</p>
|
|
|
<p class="con-title">处理方式:${item.exampleOperation == 1 ? '修改' : item.exampleOperation == 2 ? '删除' : item.exampleOperation == 3 ? '新增已有' : item.exampleOperation == 4 ? '新增缺失' : '恢复条目'}</p>
|
|
|
<p class="con-title">质控条目:${item.casesEntryName || '-'}</p>
|
|
|
<p class="con-title">提示信息:${item.msg || '-'}</p>
|
|
@@ -242,12 +242,26 @@ function approved(type) {
|
|
|
appealInfo.qcResultAlgVO.score = $('.score').val()
|
|
|
appealInfo.qcResultAlgVO.explainInfo = $('.explainInfo').val()
|
|
|
appealInfo.qcResultAlgVO.msg = $('.msg').val()
|
|
|
+ if (/^[0-9]\d*$|^[0-9]\d*(.\d)?$/.test(appealInfo.qcResultAlgVO.score) && appealInfo.qcResultAlgVO.score <= 100) {
|
|
|
+ $(".appealDel .warning").hide();
|
|
|
+ } else {
|
|
|
+ $(".appealDel .warning .red").text("支持≥0且≤100的数字输入,最多保留小数点后1位~");
|
|
|
+ $(".appealDel .warning").show();
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
} else if (type == 2) {
|
|
|
appealInfo.exampleOperation = 3
|
|
|
appealInfo.qcResultAlgVO.score = $('.score').val()
|
|
|
appealInfo.qcResultAlgVO.explainInfo = $('.explainInfo').val()
|
|
|
appealInfo.qcResultAlgVO.msg = $('.msg').val()
|
|
|
+ if (/^[0-9]\d*$|^[0-9]\d*(.\d)?$/.test(appealInfo.qcResultAlgVO.score) && appealInfo.qcResultAlgVO.score <= 100) {
|
|
|
+ $(".appealAdd .warning").hide();
|
|
|
+ } else {
|
|
|
+ $(".appealAdd .warning .red").text("支持≥0且≤100的数字输入,最多保留小数点后1位~");
|
|
|
+ $(".appealAdd .warning").show();
|
|
|
+ return;
|
|
|
+ }
|
|
|
} else if (type == 3) {
|
|
|
appealInfo.exampleOperation = 4
|
|
|
appealInfo.processResult = $(".textarea").val()
|
|
@@ -262,8 +276,11 @@ function approved(type) {
|
|
|
$(".appealDef .warning").show();
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
} else if (type == 4) {
|
|
|
appealInfo.exampleOperation = 5
|
|
|
+ appealInfo.qcResultAlgVO.score = $('.score').val()
|
|
|
+
|
|
|
}
|
|
|
const param = {
|
|
|
'id': id,
|
|
@@ -324,10 +341,10 @@ function getAuditNumber() {
|
|
|
return post(api.getAuditNumber, {}).then(res => {
|
|
|
if (res.data.code == '0') {
|
|
|
auditNumber = res.data.data.data > 99 ? '99+' : res.data.data.data
|
|
|
- if(auditNumber == 0){
|
|
|
+ if (auditNumber == 0) {
|
|
|
$(".menu .page", parent.document).children('.reds').hide()
|
|
|
$(".menu .dian", parent.document).hide()
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$(".menu .page", parent.document).children('.reds').html(auditNumber)
|
|
|
}
|
|
|
} else {
|