|
@@ -502,6 +502,17 @@ $(function () {
|
|
|
if (flag === '0') { //申诉
|
|
|
const flawsList = formatFlawKeys(global_flawData);
|
|
|
const info = flawsList[global_activeTab] && flawsList[global_activeTab][i];
|
|
|
+ if (info.appealOperationType == 1) {
|
|
|
+ if (info.exampleStatus == 2) {
|
|
|
+ info.appealOperationType = 0
|
|
|
+ } else {
|
|
|
+ info.appealOperationType = 1
|
|
|
+ }
|
|
|
+ } else if (info.appealOperationType == 3) {
|
|
|
+ info.appealOperationType = 0
|
|
|
+ }else if(info.isDeleted == 'Y'){
|
|
|
+ info.appealOperationType = 3
|
|
|
+ }
|
|
|
$("#delModal .title").text("申诉");
|
|
|
$("#delModal .modal-box").css("margin-top", "-215px");
|
|
|
$("#editTmpl").tmpl(info).appendTo("#delModal .modal-body");
|
|
@@ -523,15 +534,7 @@ $(function () {
|
|
|
return;
|
|
|
}
|
|
|
});
|
|
|
- if (info.appealOperationType == 1) {
|
|
|
- if (info.exampleStatus == 2) {
|
|
|
- info.appealOperationType = 0
|
|
|
- } else {
|
|
|
- info.appealOperationType = 1
|
|
|
- }
|
|
|
- } else if (info.appealOperationType == 3) {
|
|
|
- info.appealOperationType = 0
|
|
|
- }
|
|
|
+
|
|
|
$("#delModal .confirm").unbind("click").click(function () {
|
|
|
if ($(".edit-box .warning").is(":visible")) {
|
|
|
return;
|