feat: 完善双端演示注册与红娘服务闭环

This commit is contained in:
WorkBuddy
2026-10-21 23:41:47 +08:00
parent afee993626
commit 39a18a50ee
63 changed files with 1298 additions and 217 deletions
+19
View File
@@ -0,0 +1,19 @@
const assert = require('node:assert/strict')
const fs = require('node:fs')
const path = require('node:path')
const root = path.resolve(__dirname, '..')
const read = (file) => fs.readFileSync(path.join(root, file), 'utf8')
const workbench = read('src/pages/operator/OperatorWorkbenchPage.vue')
const notifications = read('src/pages/settings/NotificationsPage.vue')
assert.match(workbench, /待处理/)
assert.match(workbench, /进行中/)
assert.match(workbench, /已完成/)
assert.match(workbench, /active|assigned|in_service|completed/)
assert.match(workbench, /注册演示用户|创建演示用户/)
assert.match(notifications, /matchmaker|appointment|counseling|premarital|review|account|activity|match|system/)
assert.match(notifications, /businessId|businessType/)
assert.match(notifications, /router\.(push|replace)/)
console.log('PASS: demo flow UI contract')