Commit a191c75a authored by Asjoker's avatar Asjoker

不备注

parent 273c668e
......@@ -443,16 +443,19 @@ function getSaveData() {
})
img_DIV_List_Show();
$(document).ready(function () {
$('[name*="question_"]').each(function () {
var tempOption = $(this).attr('name').replace('question_', '');
result.data.reviews.forEach(item => {
if (item.questionsId == tempOption) {
$(this).val(item.remark)
}
if (result.data.reviews) {
$(document).ready(function () {
$('[name*="question_"]').each(function () {
var tempOption = $(this).attr('name').replace('question_', '');
result.data.reviews.forEach(item => {
if (item.questionsId == tempOption) {
$(this).val(item.remark)
}
})
})
})
});
});
}
$('#rejectReason').val(result.data.reason)
});
}
......@@ -509,7 +512,7 @@ function saveQuestionnaire(){
async:false,
contentType:'application/json;charset=UTF-8',
success : function(result) {
swal("成功!", '暂存成功', "error");
swal("成功!", '暂存成功', "success");
}
});
}
......@@ -546,7 +549,7 @@ function passQuestionnaire(){
contentType:'application/json;charset=UTF-8',
success : function(result) {
if(result.result==true){
swal("成功!", '通过成功', "error");
swal("成功!", '通过成功', "success");
history.go(-1);
}else{
swal("失败!", result.msg, "error");
......@@ -593,7 +596,7 @@ function rejectQuestionnaire(){
contentType:'application/json;charset=UTF-8',
success : function(result) {
if(result.result==true){
swal("成功!", '驳回成功', "error");
swal("成功!", '驳回成功', "success");
history.go(-1);
}else{
swal("失败!", result.msg, "error");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment