feat: 完善协议管理、师傅资质认证、分账配置并完成测试环境全量部署与同步
这个提交包含在:
@@ -268,6 +268,7 @@
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue';
|
||||
import api from '@/utils/api.js';
|
||||
import { executeOrderWxPay } from '@/utils/pay.js';
|
||||
import { isLogin, toLogin } from '@/utils/request.js';
|
||||
import { getNavBarMetrics } from '@/utils/system.js';
|
||||
import YjyfNavBar from '@/components/YjyfNavBar.vue';
|
||||
@@ -513,10 +514,13 @@
|
||||
if (!o || actingOrderId.value) return;
|
||||
actingOrderId.value = o.id;
|
||||
try {
|
||||
await api.orderPay({ order_id: o.id, pay_type: 'mock' });
|
||||
await executeOrderWxPay(api.orderPay, { order_id: o.id });
|
||||
uni.showToast({ title: '支付成功', icon: 'success' });
|
||||
await load();
|
||||
} catch (e) {
|
||||
if (e && e.code === undefined && !e.handledToast && !e.unsupportedEnv && e.message) {
|
||||
uni.showToast({ title: e.message, icon: 'none' });
|
||||
}
|
||||
} finally {
|
||||
actingOrderId.value = 0;
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户