feat(M08-D): 补支付退款与分账运营

This commit is contained in:
Codex
2026-08-10 12:00:02 +08:00
parent 041146460d
commit 4eac99dd87
6 changed files with 412 additions and 3 deletions
+22
View File
@@ -12,9 +12,11 @@ for (const pattern of [
"activeModule = 'cleaning'",
"activeModule = 'stores'",
"activeModule = 'orders'",
"activeModule = 'payments'",
'平台运营总览',
'StoresRoomsPanel',
'OrdersPanel',
'PaymentsPanel',
'运营总览',
'savedToken',
'loadCleaningWorkspace'
@@ -100,6 +102,24 @@ for (const pattern of [
assert.match(orders, new RegExp(pattern));
}
const payments = read('admin/src/components/PaymentsPanel.vue');
for (const pattern of [
'支付、退款与分账',
'getProfitSharingSnapshot',
'saveCollectionAccount',
'saveProfitShareReceiver',
'saveProfitSharePolicy',
'createWechatRefund',
'requestWechatReconciliation',
'executeProfitSharing',
'凭据只保存环境引用',
'clientRequestId',
'生产 API',
'非生产 Mock'
]) {
assert.match(payments, new RegExp(pattern));
}
const routes = read('backend/src/routes/business-statistics.ts');
assert.match(routes, /'\/app-api\/management\/statistics', '\/admin-api\/statistics'/);
@@ -129,6 +149,8 @@ for (const pattern of [
'.hours-editor',
'.order-page-summary',
'.history-card',
'.payment-metrics',
'.payment-tools-grid',
'@media (max-width: 980px)',
'@media (max-width: 560px)'
]) {