Commit a191c75a authored by Asjoker's avatar Asjoker

不备注

parent 273c668e
...@@ -443,6 +443,7 @@ function getSaveData() { ...@@ -443,6 +443,7 @@ function getSaveData() {
}) })
img_DIV_List_Show(); img_DIV_List_Show();
if (result.data.reviews) {
$(document).ready(function () { $(document).ready(function () {
$('[name*="question_"]').each(function () { $('[name*="question_"]').each(function () {
var tempOption = $(this).attr('name').replace('question_', ''); var tempOption = $(this).attr('name').replace('question_', '');
...@@ -453,6 +454,8 @@ function getSaveData() { ...@@ -453,6 +454,8 @@ function getSaveData() {
}) })
}) })
}); });
}
$('#rejectReason').val(result.data.reason) $('#rejectReason').val(result.data.reason)
}); });
} }
...@@ -509,7 +512,7 @@ function saveQuestionnaire(){ ...@@ -509,7 +512,7 @@ function saveQuestionnaire(){
async:false, async:false,
contentType:'application/json;charset=UTF-8', contentType:'application/json;charset=UTF-8',
success : function(result) { success : function(result) {
swal("成功!", '暂存成功', "error"); swal("成功!", '暂存成功', "success");
} }
}); });
} }
...@@ -546,7 +549,7 @@ function passQuestionnaire(){ ...@@ -546,7 +549,7 @@ function passQuestionnaire(){
contentType:'application/json;charset=UTF-8', contentType:'application/json;charset=UTF-8',
success : function(result) { success : function(result) {
if(result.result==true){ if(result.result==true){
swal("成功!", '通过成功', "error"); swal("成功!", '通过成功', "success");
history.go(-1); history.go(-1);
}else{ }else{
swal("失败!", result.msg, "error"); swal("失败!", result.msg, "error");
...@@ -593,7 +596,7 @@ function rejectQuestionnaire(){ ...@@ -593,7 +596,7 @@ function rejectQuestionnaire(){
contentType:'application/json;charset=UTF-8', contentType:'application/json;charset=UTF-8',
success : function(result) { success : function(result) {
if(result.result==true){ if(result.result==true){
swal("成功!", '驳回成功', "error"); swal("成功!", '驳回成功', "success");
history.go(-1); history.go(-1);
}else{ }else{
swal("失败!", result.msg, "error"); 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