按钮loading-手机端-外部标准化协会参会流程

This commit is contained in:
zyn
2023-11-07 09:33:10 +08:00
parent f8c61e854e
commit 7670fd9cbf
4 changed files with 28 additions and 20 deletions
@@ -104,7 +104,7 @@
show-back
backBTNTexts="不涉及"
:submitLoading="isSubmit"
:isSubmitBack="isBack"
:isSubmitBack="isSubmit"
@back="handleSubmitNo"
@submit="handleSubmit"
>
@@ -207,7 +207,7 @@ export default {
}
this.$refs['ch_pageData'].validate((valid) => {
if (valid) {
this.isBack = true
this.isSubmit = true
const params = new FormData();
params.set('json', JSON.stringify(json))
params.set('userId', this.$store.getters.userInfo.account)
@@ -219,8 +219,9 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
this.isBack = false
});
}).finally(() => {
this.isSubmit = false
})
}
})
}
@@ -249,8 +250,9 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
}).finally(() => {
this.isSubmit = false
});
})
}
})
@@ -108,7 +108,7 @@
show-submit
show-back
:submitLoading="isSubmit"
:isSubmitBack="isBack"
:isSubmitBack="isSubmit"
@back="handleSubmitNo"
@submit="handleSubmit"
>
@@ -203,7 +203,7 @@ export default {
}
this.$refs['ch_pageData'].validate((valid) => {
if (valid) {
this.isBack = true
this.isSubmit = true
const params = new FormData();
params.set('json', JSON.stringify(json))
params.set('userId', this.$store.getters.userInfo.account)
@@ -215,8 +215,9 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
this.isBack = false
});
}).finally(() => {
this.isSubmit = false
})
}
})
}
@@ -245,8 +246,9 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
}).finally(() => {
this.isSubmit = false
});
})
}
})
},
@@ -110,7 +110,7 @@
v-if="taskInfo !== '标准法规工程师修订完毕'"
show-submit
show-back
:isSubmitBack="isBack"
:isSubmitBack="isSubmit"
:submitLoading="isSubmit"
@back="handleSubmitNo"
@submit="handleSubmit"
@@ -253,7 +253,7 @@ export default {
}
this.$refs['ch_pageData'].validate((valid) => {
if (valid) {
this.isBack = true
this.isSubmit = true
const params = new FormData();
params.set('json', JSON.stringify(json))
params.set('userId', this.$store.getters.userInfo.account)
@@ -265,8 +265,9 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
this.isBack = false
});
}).finally(() => {
this.isSubmit = false
})
}
})
}
@@ -307,8 +308,9 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
}).finally(() => {
this.isSubmit = false
});
})
}
})
@@ -126,7 +126,7 @@
show-back
show-submit
:submitLoading="isSubmit"
:isSubmitBack="isBack"
:isSubmitBack="isSubmit"
@back="handleSubmitNo"
@submit="handleSubmit"
/>
@@ -276,7 +276,7 @@ export default {
}
this.$refs['hh_pageData'].validate((valid) => {
if (valid) {
this.isBack = true
this.isSubmit = true
const params = new FormData();
params.set('json', JSON.stringify(json))
params.set('userId', this.$store.getters.userInfo.account)
@@ -288,8 +288,9 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
this.isBack = false
});
}).finally(() => {
this.isSubmit = false
})
}
})
},
@@ -314,8 +315,9 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
}).finally(() => {
this.isSubmit = false
});
})
}
})
}