From af8cab142a6b15c06e131a8474574dd5b00df982 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 04 十二月 2025 22:09:58 +0800
Subject: [PATCH] feat: 改造微信accesstoken存放在系统配置表中
---
ruoyi-ui/src/views/system/payInfoTest/index.vue | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/ruoyi-ui/src/views/system/payInfoTest/index.vue b/ruoyi-ui/src/views/system/payInfoTest/index.vue
index 8bbcb4d..1ff528c 100644
--- a/ruoyi-ui/src/views/system/payInfoTest/index.vue
+++ b/ruoyi-ui/src/views/system/payInfoTest/index.vue
@@ -23,6 +23,9 @@
<el-descriptions-item label="浜ゆ槗娴佹按鍙�">
{{ transactionNo }}
</el-descriptions-item>
+ <el-descriptions-item label="鏀粯鏂瑰紡">
+ {{ payType }}
+ </el-descriptions-item>
</el-descriptions>
</el-card>
</div>
@@ -38,7 +41,8 @@
errorMessage: '',
payAmount: '',
orderNo: '',
- transactionNo: ''
+ transactionNo: '',
+ payType: ''
}
},
created() {
@@ -48,20 +52,16 @@
initData() {
// 浠嶶RL鍙傛暟涓幏鍙栨暟鎹�
const query = this.$route.query;
- if (!query.payAmount || !query.orderNo || !query.transactionNo) {
- this.errorMessage = '缂哄皯蹇呰鐨勫弬鏁颁俊鎭�';
- return;
- }
-
- // 璁剧疆鏁版嵁
- this.payAmount = query.payAmount;
- this.orderNo = query.orderNo;
- this.transactionNo = query.transactionNo;
-
- // 妯℃嫙鍔犺浇寤惰繜
- setTimeout(() => {
- this.validated = true;
- }, 500);
+
+ // 璁剧疆鏁版嵁锛屼娇鐢ㄧ┖瀛楃涓蹭綔涓洪粯璁ゅ��
+ this.payAmount = query.PayMoney || '0';
+ this.orderNo = query.ServiceOrdID || '--';
+ this.transactionNo = query.DispatchOrdID || '--';
+ this.payType = query.payType === '寰俊' ? '寰俊' :
+ query.payType === '鏀粯瀹�' ? '鏀粯瀹�' : '--';
+
+ // 鐩存帴鏄剧ず鏁版嵁锛屼笉鍋氬繀濉牎楠�
+ this.validated = true;
}
}
}
--
Gitblit v1.9.1