feat(M08-B): 补微信转账预检
This commit is contained in:
@@ -40,6 +40,7 @@ for (const route of [
|
||||
'/cleaning/settlements?',
|
||||
'/cleaning/settlements',
|
||||
'/wechat-transfer',
|
||||
'/wechat-transfer/preflight',
|
||||
'/wechat-transfer/sync',
|
||||
'/payout-failure'
|
||||
]) {
|
||||
@@ -52,7 +53,16 @@ for (const pattern of ['指派', '验收', '驳回', '回收', 'photoUrls']) {
|
||||
}
|
||||
|
||||
const settlements = read('admin/src/components/CleaningSettlementsPanel.vue');
|
||||
for (const pattern of ['生成', '确认', '转账', '同步', '失败', 'MOCK']) {
|
||||
for (const pattern of [
|
||||
'生成',
|
||||
'确认',
|
||||
'转账',
|
||||
'同步',
|
||||
'失败',
|
||||
'微信转账预检',
|
||||
'preflightWechatTransfer',
|
||||
'MOCK'
|
||||
]) {
|
||||
assert.match(settlements, new RegExp(pattern.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
|
||||
}
|
||||
|
||||
@@ -60,4 +70,4 @@ const styles = read('admin/src/styles.css');
|
||||
assert.match(styles, /@media \(max-width: 980px\)/);
|
||||
assert.match(styles, /@media \(max-width: 560px\)/);
|
||||
|
||||
console.log('PASS: M08-B admin cleaning workspace uses fixed admin API and covers task, settlement and transfer controls.');
|
||||
console.log('PASS: M08-B admin cleaning workspace covers task, settlement, transfer and preflight controls.');
|
||||
|
||||
Reference in New Issue
Block a user