No Branch/Tag Specified
main
fix/355-syb-list-timeout
feat/353-syb-shop-multiselect
fix/354-syb-top-pagination
fix/352-syb-source-created
fix/348-reveal-swipe
feat/340-syb-excluded-products
fix/351-inner-code-apply-selection
fix/350-match-layout
fix/350-inner-code-matching
feat/349-batch-return-use
feat/347-batch-return-cancel
feat/345-yeeke-reship
fix/346-root-serves-spa
fix/344-inner-code-stall-match
fix/343-syb-writeback-session
feat/339-syb-page-size
feat/338-return-match
feat/337-yeeke-admin-ui
feat/336-yeeke-return-sync
fix/335-bottom-submit-node
fix/334-spec-probe-top-swipe
fix/333-purchaser-device-owner
fix/331-spec-panel-recognition
fix/330-syb-writeback-session
feat/327-syb-writeback-filter
feat/326-order-information
fix/325-order-result
feat/316-chrome-order-backfill
fix/307-backfill-entry
feat/305-syb-order-writeback
feat/306-order-paid-amount
release/283
fix/283-purchase-mapping-consistency
fix/230-horizontal-spec-selection
feat/263-spec-rematch
fix/262-purchase-handoff
fix/260-261-purchase-readiness
fix/259-partial-collection-link
feat/258-one-click-replace
fix/257-color-normalized-match
fix/256-collection-single-dimension
fix/255-current-page-reidentify
feat/253-one-click-link
fix/254-match-loading
fix/251-syb-spec-candidates
feat/250-continuous-collection
fix/249-local-purchase-diagnostics
fix/248-bottom-submit
fix/247-short-address-panel
fix/246-address-return-panel
fix/245-purchase-failure-diagnostics
fix/244-selected-card-duplicates
fix/243-spec-entry-recovery
feat/242-agent-order-backfill
feat/241-order-backfill-endpoint
fix/239-syb-partial-sync
fix/238-spec-panel-preswipe
feat/237-client-api-keys
feat/236-purchaser-syb-sync
fix/235-syb-pagination-overlap
release/234-integrated
fix/229-address-entry-dedup
fix/228-selection-proof-panel-transition
fix/227-address-panel-return
fix/226-reopen-pdd-on-manual-retry
fix/225-in-place-purchase-retry
fix/224-final-spec-revalidation
fix/223-probed-confirmed-mapping
chore/221-devharness-sync
feat/218-purchase-result-bubble
fix/217-agent-retry-current-spec
fix/216-syb-spec-role-order
feat/215-mandatory-live-spec-probe
feat/214-verified-purchase-actions
fix/212-syb-sync-shop-snapshot
feat/211-spec-entry-ready-wait
feat/210-order-result-payment-transition
feat/209-pdd-bottom-spec-entry
feat/200-ai-match-result-purchase-ready
feat/199-job-execution-logs
feat/198-syb-ai-parse
feat/195-scheduled-spec-auto-match
fix/197-ai-write-timeout
feat/190-syb-inline-correction
fix/193-address-entry-reveal
feat/194-one-click-spec-match
fix/192-order-result-scroll
No results found.
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OPC/goauto#354
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
来源与范围(2026-10-05)
用户反馈:SYB 商品页默认每页 200 条,现有分页仅在表格最下方,不便操作;希望移除表格上方的长提示,在该位置增加完整分页。用户确认:仅 SYB 商品页增加顶部分页,其他页面不变;本单独立于 #353 店铺多选。2026-10-05 用户授权先实施本单再实施 #353;未授权合并或发布。
page、pageSize、total与加载逻辑。当前代码事实与设计证据(已确认低保真 v1,用户于 2026-10-05 确认)
核对
fix/352-syb-source-created提交1f3ce61的web/src/views/goauto/syb-products/index.vue:表格上方是不可关闭的长el-alert,底部已有<pagination>,每页选项[20, 50, 100, 200, 500],默认 200;load()清空selectedProducts并调用表格clearSelection()。实施前以最新 main 复核。设计取舍:删除原长提示;“表头全选仅当前页”缩为靠近已选数量的「本页选择」文案,不保留整行说明。沿用现有分页组件和页面视觉样式,不新建全局组件。两个实例均用组件原生
v-model:page/v-model:limit,不继续把current-page/page-size透传到包装组件。顶部用页面局部紧凑样式覆盖组件默认 32px 上下内边距,并设:auto-scroll="false",不改全局样式。顶部和底部均显示完整控件;总数为 0 时按现有分页隐藏规则处理。窄屏时分页行允许换行,不覆盖筛选或表格;加载中/请求失败保持当前状态和可见反馈。用户于 2026-10-05 确认布局与实施顺序;本低保真 v1 为已确认设计范围。验收与验证
load;处理另一个实例因页数收缩产生的事件,不能重复请求。不要直接把组件@pagination的对象参数传给load(allowNetworkRetry, waitForReadiness)。网络面板/测试核对每次换页或改页大小只有一次列表请求。交付、风险与文档影响
仅 Web 页面布局;无 Server、Android、API、数据库、权限或状态机变更。主要风险是两个分页控件状态不同步、换页遗留勾选、窄屏拥挤;按上述验收验证。无长期 Wiki 文档影响:分页入口位置属于本页局部布局,不改变长期产品契约;工单记录实现、验证、提交哈希并待用户验收。发布线上需单独授权。Gitea MCP 本会话不可用,按仓库规则回退配置的 Gitea API 建单。
本次发布授权(2026-10-05)
用户要求将 #353、#354、#355 更新到线上服务,授权合并并配套发布 Server/Web 至 122.228.200.167。无需数据库迁移或 Android 更新;保留任务和定时任务原状态。发布前排除运行中的任务,发布证据完成后回写;用户未明确验收前不关闭。当前会话仍无 Gitea MCP,沿用已记录的 REST API 回退。
方案审核意见(2026-10-05,基于 origin/main
1f3ce61)工单所述代码事实核对无误。以下四点需补入方案与验收:
1. 两个分页实例会产生重复请求
核对 Element Plus 2.14.4
pagination.mjs:改每页条数时先size-change加载一次;若当前页超过新的总页数,每个分页实例会各自把页码收回范围并再触发current-change。两个实例时,一次改每页条数约发 3 次列表请求(每次 200~500 行,并附带采购就绪检查)。loadGeneration会丢弃旧响应,数据不会错,但违反验收「无重复请求」。page=1并只调用一次load;另一个实例只做状态同步显示,不触发加载。验收时用网络面板确认每次操作仅一次列表请求。2. 不要照抄现有绑定
现页面写
v-model:current-page/v-model:page-size,而web/src/components/Pagination/index.vue的 props 是page/limit,目前只是经$attrs透传给el-pagination才生效。顶部分页应使用v-model:page/v-model:limit(底部可一并改正,属本页范围)。3. 布局
.pagination-container自带padding: 32px 16px,顶部需本页局部紧凑样式,不改全局组件。scrollTo(0)(autoScroll);顶部实例应设:auto-scroll="false",避免页面跳动。4. 长提示处理(用户 2026-10-05 确认)
删除表格上方长提示,不需要把「先保存规格匹配才能创建采购」等采购前提改放到按钮提示;仅按原方案保留简短的「本页选择」文案。
实施顺序
与 #353 同改
syb-products/index.vue,建议本单先实施,#353 在其后串行整合。#354 implementation: top pagination, synced page/size state, one list request after size change, and selection count. Removed long notice; no business filter change. Branch fix/354-syb-top-pagination, commit
c6c7fbepushed; not merged or deployed. Vite build, page ESLint, and 2 targeted Playwright tests passed. Related E2E: 23/24 passed; one pre-existing stale assertion expects collection creation enabled above its existing 100-item limit. No long-term documentation impact: page-local layout only. Pending user acceptance.验收前复核意见(2026-10-05,Claude Code)
复核对象:
fix/354-syb-top-pagination@c6c7fbe(基于 main1f3ce61)。结论:功能达标,可进入用户人工验收
page/pageSize/total;两处均改用组件原生v-model:page/v-model:limit,同时修正了原底部靠$attrs透传生效的写法。:auto-scroll="false",本页局部紧凑样式,未改全局组件。onPagination合并两实例的事件);新增 E2E 用请求计数验证。复核验证(本人实际执行)
syb-product-layout、syb-return-cancel、syb-return-confirm三个 E2E 文件:24 通过,1 失败。1f3ce61上单独运行同样失败,确认为既有问题,与本单无关。待补手续