收口项目分析弹窗右侧主区节奏
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
<div class="abnormal-card__title">{{ group.groupName || "异常明细" }}</div>
|
<div class="abnormal-card__title">{{ group.groupName || "异常明细" }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="abnormal-card__content">
|
||||||
<el-table
|
<el-table
|
||||||
v-if='group.groupType === "BANK_STATEMENT"'
|
v-if='group.groupType === "BANK_STATEMENT"'
|
||||||
:data="getStatementPageRecords(group)"
|
:data="getStatementPageRecords(group)"
|
||||||
@@ -104,6 +105,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
<el-empty v-else :image-size="80" description="暂无异常明细" />
|
<el-empty v-else :image-size="80" description="暂无异常明细" />
|
||||||
@@ -186,7 +188,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.abnormal-card__header {
|
.abnormal-card__header {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.abnormal-card__title {
|
.abnormal-card__title {
|
||||||
@@ -195,6 +197,11 @@ export default {
|
|||||||
color: #0f172a;
|
color: #0f172a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.abnormal-card__content {
|
||||||
|
display: grid;
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.abnormal-card__subtitle {
|
.abnormal-card__subtitle {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #64748b;
|
color: #64748b;
|
||||||
|
|||||||
@@ -302,6 +302,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.project-analysis-tabs {
|
.project-analysis-tabs {
|
||||||
margin-top: -4px;
|
margin-top: -8px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="project-analysis-placeholder-tab">
|
<section class="project-analysis-placeholder-tab placeholder-panel">
|
||||||
<div class="placeholder-title">{{ tabData.label }}</div>
|
<div class="placeholder-title placeholder-panel__title">{{ tabData.label }}</div>
|
||||||
<div class="placeholder-text">{{ tabData.description }}</div>
|
<div class="placeholder-text placeholder-panel__text">{{ tabData.description }}</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -22,9 +22,10 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.project-analysis-placeholder-tab {
|
.project-analysis-placeholder-tab {
|
||||||
min-height: 560px;
|
min-height: 0;
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
border: 1px solid #e2e8f0;
|
border: 1px solid #e2e8f0;
|
||||||
|
border-radius: 16px;
|
||||||
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
|
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,18 +16,28 @@ const abnormalTab = fs.readFileSync(
|
|||||||
),
|
),
|
||||||
"utf8"
|
"utf8"
|
||||||
);
|
);
|
||||||
|
const placeholderTab = fs.readFileSync(
|
||||||
|
path.resolve(
|
||||||
|
__dirname,
|
||||||
|
"../../src/views/ccdiProject/components/detail/ProjectAnalysisPlaceholderTab.vue"
|
||||||
|
),
|
||||||
|
"utf8"
|
||||||
|
);
|
||||||
|
|
||||||
[
|
[
|
||||||
"<project-analysis-abnormal-tab",
|
"<project-analysis-abnormal-tab",
|
||||||
':detail-data="dialogData.abnormalDetail"',
|
':detail-data="dialogData.abnormalDetail"',
|
||||||
"source-summary",
|
'class="project-analysis-tabs"',
|
||||||
].forEach((token) => assert(dialog.includes(token), token));
|
].forEach((token) => assert(dialog.includes(token), token));
|
||||||
|
|
||||||
|
assert(!dialog.includes("project-analysis-layout__main-scroll"), "主区不应再有独立滚动容器");
|
||||||
|
|
||||||
[
|
[
|
||||||
"detailData.groups",
|
"detailData.groups",
|
||||||
'group.groupType === "BANK_STATEMENT"',
|
'group.groupType === "BANK_STATEMENT"',
|
||||||
'group.groupType === "OBJECT"',
|
'group.groupType === "OBJECT"',
|
||||||
"group.groupName",
|
"group.groupName",
|
||||||
|
"abnormal-card__content",
|
||||||
"statementPageSize: 5",
|
"statementPageSize: 5",
|
||||||
"statementPageMap",
|
"statementPageMap",
|
||||||
"slice(startIndex, startIndex + this.statementPageSize)",
|
"slice(startIndex, startIndex + this.statementPageSize)",
|
||||||
@@ -48,3 +58,9 @@ const abnormalTab = fs.readFileSync(
|
|||||||
"extraFields",
|
"extraFields",
|
||||||
"grid-template-columns: minmax(0, 1fr)",
|
"grid-template-columns: minmax(0, 1fr)",
|
||||||
].forEach((token) => assert(abnormalTab.includes(token), token));
|
].forEach((token) => assert(abnormalTab.includes(token), token));
|
||||||
|
|
||||||
|
[
|
||||||
|
"placeholder-panel",
|
||||||
|
"placeholder-panel__title",
|
||||||
|
"placeholder-panel__text",
|
||||||
|
].forEach((token) => assert(placeholderTab.includes(token), token));
|
||||||
|
|||||||
Reference in New Issue
Block a user