完善客服工单详情空状态与关联展示
This commit is contained in:
@@ -23,6 +23,7 @@ const display = read('src/api/resource-display.ts');
|
||||
const detailContract = read('src/api/resource-detail-contract.ts');
|
||||
const detailPage = read('src/views/resource/ResourceDetailContent.vue');
|
||||
const listPage = read('src/views/shared/CrudListPage.vue');
|
||||
const listFieldDisplay = read('src/views/shared/resource-list-field-display.ts');
|
||||
const treePage = read('src/views/shared/TreePage.vue');
|
||||
const identityText = read('src/components/IdentityText.vue');
|
||||
|
||||
@@ -363,6 +364,13 @@ for (const ticketContract of [
|
||||
"unknownValueLabel: '未知工单分类'",
|
||||
"{ label: '普通', value: 'normal' }",
|
||||
"unknownValueLabel: '未知优先级'",
|
||||
"emptyText: '尚未分配配送点'",
|
||||
"emptyText: '尚未分配处理人员'",
|
||||
"staffRelation: { roles: ['installer', 'delivery', 'operations'] }",
|
||||
"emptyText: '尚未关联服务气站'",
|
||||
"emptyText: '尚未开始处理'",
|
||||
"emptyText: '尚未完成'",
|
||||
"emptyText: '尚未提交处理结果'",
|
||||
]) {
|
||||
assertIncludes(
|
||||
resources,
|
||||
@@ -370,6 +378,11 @@ for (const ticketContract of [
|
||||
`客服工单缺少用户关系或中文枚举契约:${ticketContract}`,
|
||||
);
|
||||
}
|
||||
assertIncludes(
|
||||
listFieldDisplay,
|
||||
'!field.listHidden',
|
||||
'仅用于详情的辅助字段不得扩张标准资源列表',
|
||||
);
|
||||
assertIncludes(
|
||||
detailPage,
|
||||
'!hasResourceFieldLabel(props.definition, actualKey)',
|
||||
|
||||
Reference in New Issue
Block a user