|
@@ -253,16 +253,24 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- teamPayOrderUrlApi({ orderId: this.orderId }).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: res.msg
|
|
|
- });
|
|
|
- this.copyToClipboard(res.data.url)
|
|
|
- }
|
|
|
- });
|
|
|
- }).catch(() => { }).finally(() => {
|
|
|
+ this.loadingText = "生成并复制链接中..."
|
|
|
+ this.loading = true
|
|
|
+ teamPayOrderUrlApi({ orderId: this.orderId }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.msg
|
|
|
+ });
|
|
|
+ this.copyToClipboard(res.data.url)
|
|
|
+ }
|
|
|
+ }).catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ this.payStatus = null
|
|
|
+ })
|
|
|
+ }).catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ this.payStatus = null
|
|
|
+ }).finally(() => {
|
|
|
});
|
|
|
},
|
|
|
/** 复制内容 */
|
|
@@ -274,6 +282,9 @@ export default {
|
|
|
tempInput.select();
|
|
|
document.execCommand('copy');
|
|
|
document.body.removeChild(tempInput);
|
|
|
+ this.loading = false
|
|
|
+ this.rebookDialog = false
|
|
|
+
|
|
|
},
|
|
|
// 跳转取票界面
|
|
|
goTicketingCollections(){
|