优化
This commit is contained in:
@@ -35,6 +35,8 @@ describe('InboundTaskList measurement scope', () => {
|
||||
|
||||
expect(source).toContain(':tenant-id="selectedInbound.tenantId"')
|
||||
expect(source).toContain(':customer-id="selectedInbound.tenantId"')
|
||||
expect(source).toContain(':customer-name="selectedInbound.customerName || selectedInbound.companyName"')
|
||||
expect(source).toContain(':channel-name="selectedInbound.channelName"')
|
||||
expect(source).not.toContain('selectedInbound.customerId || selectedInbound.tenantId')
|
||||
})
|
||||
|
||||
|
||||
@@ -361,6 +361,9 @@ onBeforeUnmount(() => { disposed = true; requestSerial += 1; optionsRequestSeria
|
||||
v-if="selectedInbound"
|
||||
:tenant-id="selectedInbound.tenantId"
|
||||
:inbound-id="selectedInbound.id"
|
||||
:customer-name="selectedInbound.customerName || selectedInbound.companyName"
|
||||
:channel-name="selectedInbound.channelName"
|
||||
:channel-code="selectedInbound.channelCode"
|
||||
@changed="handleTaskChanged"
|
||||
/>
|
||||
</el-dialog>
|
||||
|
||||
@@ -38,6 +38,8 @@ describe('InboundWorkflowWorkspace', () => {
|
||||
expect(source).toContain('@click="measurementDialogOpen = true"')
|
||||
expect(source).toContain('@click="reviewDialogOpen = true"')
|
||||
expect(source).toContain(':key="`review-dialog-${revision}`"')
|
||||
expect(source).toContain(':customer-name="detail?.summary.customerName || detail?.summary.companyName"')
|
||||
expect(source).toContain(':channel-name="detail?.summary.channelName"')
|
||||
expect(source).toContain('@changed="handleReviewChanged"')
|
||||
expect(source).not.toContain('<template #footer>')
|
||||
expect(source).toContain('@updated="handleDomainChanged"')
|
||||
|
||||
@@ -210,6 +210,9 @@ onBeforeUnmount(() => {
|
||||
:key="`review-dialog-${revision}`"
|
||||
:tenant-id="customerId"
|
||||
:inbound-id="inboundId"
|
||||
:customer-name="detail?.summary.customerName || detail?.summary.companyName"
|
||||
:channel-name="detail?.summary.channelName"
|
||||
:channel-code="detail?.summary.channelCode"
|
||||
@changed="handleReviewChanged"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user