This commit is contained in:
张成
2025-11-28 16:38:46 +08:00
parent 37acdd48b0
commit e77f004dcc
4 changed files with 65 additions and 7 deletions

View File

@@ -189,6 +189,28 @@
<span class="value">{{ deliverConfig.exclude_keywords || '-' }}</span>
</div>
</Col>
<Col span="8">
<div class="detail-item">
<span class="label">投递开始时间</span>
<span class="value">{{ deliverConfig.deliver_start_time || '-' }}</span>
</div>
</Col>
<Col span="8">
<div class="detail-item">
<span class="label">投递结束时间</span>
<span class="value">{{ deliverConfig.deliver_end_time || '-' }}</span>
</div>
</Col>
<Col span="8">
<div class="detail-item">
<span class="label">是否仅工作日</span>
<span class="value">
<Tag :color="deliverConfig.deliver_workdays_only === 1 ? 'success' : 'default'">
{{ deliverConfig.deliver_workdays_only === 1 ? '仅工作日' : '包含周末' }}
</Tag>
</span>
</div>
</Col>
</Row>
</Card>
@@ -795,7 +817,10 @@ export default {
: (deliverConfig.filter_keywords || ''),
exclude_keywords: Array.isArray(deliverConfig.exclude_keywords)
? deliverConfig.exclude_keywords.join(',')
: (deliverConfig.exclude_keywords || '')
: (deliverConfig.exclude_keywords || ''),
deliver_start_time: deliverConfig.time_range?.start_time || '09:00',
deliver_end_time: deliverConfig.time_range?.end_time || '18:00',
deliver_workdays_only: deliverConfig.time_range?.workdays_only !== undefined ? deliverConfig.time_range.workdays_only : 1
}
} else {
this.deliverConfig = {
@@ -806,7 +831,10 @@ export default {
page_count: 3,
max_deliver: 10,
filter_keywords: '',
exclude_keywords: ''
exclude_keywords: '',
deliver_start_time: '09:00',
deliver_end_time: '18:00',
deliver_workdays_only: 1
}
}