|
@@ -191,27 +191,29 @@ export default {
|
|
|
// },
|
|
|
//获取执行反馈
|
|
|
getExecuteFeedback() {
|
|
|
- dynamicExecuteFeedback('', res => {
|
|
|
- this.allApplyClose()
|
|
|
- let response = res.Content[0]
|
|
|
- if (response.Completed == 'Processing') {
|
|
|
- this.isPending = true;
|
|
|
- this.tipsType = 0;
|
|
|
- setTimeout(() => {
|
|
|
- this.getExecuteFeedback()
|
|
|
- }, 2500)
|
|
|
- } else {
|
|
|
- setTimeout(() => {
|
|
|
- this.isPending = false;
|
|
|
- this.getPrompt()
|
|
|
- }, 2500)
|
|
|
- }
|
|
|
- })
|
|
|
+ setTimeout(() =>{
|
|
|
+ dynamicExecuteFeedback('', res => {
|
|
|
+ this.allApplyClose()
|
|
|
+ let response = res.Content[0]
|
|
|
+ if (response.Completed == 'Processing') {
|
|
|
+ this.isPending = true;
|
|
|
+ this.tipsType = 0;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getExecuteFeedback()
|
|
|
+ }, 2000)
|
|
|
+ } else {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.isPending = false;
|
|
|
+ this.getPrompt()
|
|
|
+ }, 2000)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },2000)
|
|
|
},
|
|
|
//取消执行
|
|
|
- cancelApply(){
|
|
|
+ cancelApply(x){
|
|
|
this.isPending = false;
|
|
|
- this.getPrompt()
|
|
|
+ this.tipsType = 1;
|
|
|
}
|
|
|
},
|
|
|
watch: {
|