refactor(shipping-notice): 移除废弃的履约策略模型与相关逻辑
- 删除 `ShippingFulfillmentPolicy` 模型及其依赖,简化字段治理逻辑 - 更新相关服务与 API,确保自动建单策略通过 Schema 草稿管理 - 调整文档与代码注释,反映新的固定履约契约逻辑 - 增强事件审计功能,记录任务状态变化与操作人信息
This commit is contained in:
1 parent
aa8fb2616c
commit
c85997884b
81 files changed
+2625
-1965
No files matched your search
+6
-7
@@ -8,7 +8,7 @@
|
||||
import { computed, onMounted, reactive, ref, watch } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { ArrowUpRight, Check, CircleDotDashed, CircleHelp, FileCheck2, Layers3, Plus, Send, Tags, Workflow } from 'lucide-vue-next';
|
||||
import { ArrowUpRight, Check, CircleDotDashed, CircleHelp, FileCheck2, Layers3, Plus, Send, Tags } from 'lucide-vue-next';
|
||||
import { BusinessError } from '@/shared/api/client';
|
||||
import { useMessage } from '@/shared/composables/useMessage';
|
||||
import {
|
||||
@@ -211,9 +211,8 @@ onMounted(() => { void load(); });
|
||||
<section class="identity-rules-page">
|
||||
<header class="identity-hero">
|
||||
<div>
|
||||
<p class="identity-kicker"><Workflow class="h-4 w-4" />{{ t('admin.shippingIdentityRules.eyebrow') }}</p>
|
||||
<h2>{{ t('admin.shippingIdentityRules.title') }}</h2>
|
||||
<p>{{ t('admin.shippingIdentityRules.subtitle') }}</p>
|
||||
<h1 class="section-title">{{ t('admin.shippingIdentityRules.title') }}</h1>
|
||||
<p class="section-desc mt-1">{{ t('admin.shippingIdentityRules.subtitle') }}</p>
|
||||
</div>
|
||||
<div class="identity-hero__meta">
|
||||
<div class="identity-hero__status">
|
||||
@@ -313,9 +312,9 @@ onMounted(() => { void load(); });
|
||||
<style scoped>
|
||||
.identity-rules-page { max-width: 1380px; margin: 0 auto; display: grid; gap: 1.25rem; color: #183253; }
|
||||
.identity-hero { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: .5rem .25rem .75rem; }
|
||||
.identity-kicker, .identity-panel__eyebrow { display: flex; align-items: center; gap: .45rem; color: #0d8ac6; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
|
||||
.identity-hero h2 { margin: .35rem 0; color: #102a43; font-size: clamp(1.65rem, 2.5vw, 2.2rem); font-weight: 800; letter-spacing: -.045em; }
|
||||
.identity-hero p:not(.identity-kicker) { max-width: 760px; color: #6d829c; font-size: .93rem; line-height: 1.65; }
|
||||
.identity-panel__eyebrow { display: flex; align-items: center; gap: .45rem; color: #475569; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
|
||||
.identity-hero h1 { margin: 0; }
|
||||
.identity-hero p { max-width: 760px; }
|
||||
.identity-hero__meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
|
||||
.identity-hero__status { display: inline-flex; align-items: center; gap: .48rem; padding: .5rem .75rem; border: 1px solid #bfe7f8; border-radius: 999px; background: #effaff; color: #087aaa; font-size: .78rem; font-weight: 700; white-space: nowrap; }
|
||||
.identity-pulse { width: .5rem; height: .5rem; border-radius: 50%; background: #18b17c; box-shadow: 0 0 0 4px #dff8ed; }.identity-pulse--draft { background: #e09b22; box-shadow: 0 0 0 4px #fff2d5; }
|
||||
|
||||
Reference in new issue
Block a user