From f8c9334e988856559be6a96d2cb60e34e51035e6 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Wed, 21 Oct 2026 17:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppointmentCalendarPanel.test.ts | 3 +- .../AppointmentCalendarPanel.vue | 4 +- .../AppointmentCalendarView.test.ts | 8 +--- .../AppointmentCalendarView.vue | 11 +++-- .../WorkCreateAppointmentForm.test.ts | 2 +- .../WorkCreateAppointmentForm.vue | 4 +- src/modules/overseas-warehouse/AGENTS.md | 44 +++++++++++-------- .../overseas-warehouse/PROTOTYPE_MATRIX.md | 12 ++--- .../DispatchDocumentsDialog.test.ts | 6 +-- .../components/DispatchDocumentsDialog.vue | 11 ++--- .../components/DispatchEvidenceFiles.test.ts | 32 ++++++++++++++ .../components/DispatchEvidenceFiles.vue | 28 +++++++++--- .../components/DispatchLoadingDocuments.vue | 1 + .../components/DispatchWorkflowDialog.vue | 2 +- .../dispatchCommandRecovery.test.ts | 11 +++++ .../dispatchCommandRecovery.ts | 2 +- .../pages/DispatchesView.vue | 2 +- src/styles/adminDensity.test.ts | 5 ++- 18 files changed, 129 insertions(+), 59 deletions(-) diff --git a/src/modules/appointment-calendar/AppointmentCalendarPanel.test.ts b/src/modules/appointment-calendar/AppointmentCalendarPanel.test.ts index 4cb691ee..13399974 100644 --- a/src/modules/appointment-calendar/AppointmentCalendarPanel.test.ts +++ b/src/modules/appointment-calendar/AppointmentCalendarPanel.test.ts @@ -108,7 +108,8 @@ describe('four-type appointment calendar', () => { expect(wrapper.text()).toContain('正在读取安排') expect(wrapper.text()).not.toContain('当天暂无安排') await wrapper.setProps({ loading: false, incomplete: true }) - expect(wrapper.text()).toContain('部分数据不可用') + expect(wrapper.get('[aria-label="当天安排"] header').text()).toContain('当前已加载 0 项安排') + expect(wrapper.text()).not.toContain('部分数据不可用') expect(wrapper.text()).not.toContain('当天暂无安排') }) }) diff --git a/src/modules/appointment-calendar/AppointmentCalendarPanel.vue b/src/modules/appointment-calendar/AppointmentCalendarPanel.vue index 76913418..abf1a7e5 100644 --- a/src/modules/appointment-calendar/AppointmentCalendarPanel.vue +++ b/src/modules/appointment-calendar/AppointmentCalendarPanel.vue @@ -70,9 +70,9 @@ function changeMode(next: CalendarMode) {