|
|
|
@ -492,7 +492,10 @@ export class GetOutOfLineDetailsComponent implements OnInit {
|
|
|
|
|
appeal() { |
|
|
|
|
this.isAppeal = true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
isOkLoading = false; |
|
|
|
|
handleOk() { |
|
|
|
|
this.isOkLoading = true; |
|
|
|
|
let body = { |
|
|
|
|
appealReason: this.appealValue, |
|
|
|
|
appealAttachments: this.fileList, |
|
|
|
@ -507,10 +510,12 @@ export class GetOutOfLineDetailsComponent implements OnInit {
|
|
|
|
|
(data: any) => { |
|
|
|
|
this.message.create("success", "申诉提交成功"); |
|
|
|
|
this.isAppeal = false; |
|
|
|
|
this.isOkLoading = false; |
|
|
|
|
this.data.appealStatus = 1; |
|
|
|
|
this.data.appealLog = data.result.appealLog; |
|
|
|
|
}, |
|
|
|
|
(err) => { |
|
|
|
|
this.isOkLoading = false; |
|
|
|
|
this.message.create("warning", "申诉提交失败,请联系管理员!"); |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
@ -518,6 +523,7 @@ export class GetOutOfLineDetailsComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
handleCancel(): void { |
|
|
|
|
this.isAppeal = false; |
|
|
|
|
this.isOkLoading = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Unappeal() { |
|
|
|
|