|
@@ -242,26 +242,12 @@ function approved(type) {
|
|
appealInfo.qcResultAlgVO.score = $('.score').val()
|
|
appealInfo.qcResultAlgVO.score = $('.score').val()
|
|
appealInfo.qcResultAlgVO.explainInfo = $('.explainInfo').val()
|
|
appealInfo.qcResultAlgVO.explainInfo = $('.explainInfo').val()
|
|
appealInfo.qcResultAlgVO.msg = $('.msg').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) {
|
|
} else if (type == 2) {
|
|
appealInfo.exampleOperation = 3
|
|
appealInfo.exampleOperation = 3
|
|
appealInfo.qcResultAlgVO.score = $('.score').val()
|
|
appealInfo.qcResultAlgVO.score = $('.score').val()
|
|
appealInfo.qcResultAlgVO.explainInfo = $('.explainInfo').val()
|
|
appealInfo.qcResultAlgVO.explainInfo = $('.explainInfo').val()
|
|
appealInfo.qcResultAlgVO.msg = $('.msg').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) {
|
|
} else if (type == 3) {
|
|
appealInfo.exampleOperation = 4
|
|
appealInfo.exampleOperation = 4
|
|
appealInfo.processResult = $(".textarea").val()
|
|
appealInfo.processResult = $(".textarea").val()
|