feat(project): show presign counts as a statistics column
Group presign counts by project and team, include totals and unassigned rows, and reuse count drill-down. Remove the standalone footer while retaining presignTotal compatibility and the four formal business types. Related to issue #13. Independent source review completed; no tests or builds run under user self-test arrangement.
This commit is contained in:
1 parent
ce8babcb7b
commit
79ca01ac0d
5 files changed
+66
-9
No files matched your search
@@ -47,7 +47,7 @@
|
||||
min-width="150"
|
||||
/>
|
||||
<el-table-column
|
||||
v-for="key in formalTypes"
|
||||
v-for="key in statisticsTypes"
|
||||
:key="key"
|
||||
:label="bizLabels[key]"
|
||||
min-width="130"
|
||||
@@ -56,8 +56,8 @@
|
||||
><el-icon><View /></el-icon>{{ row[key] || 0 }}</el-button
|
||||
></template
|
||||
></el-table-column
|
||||
> </el-table
|
||||
><p class="form-tip">预签约:{{ data.presignTotal }} 单(单独计数)</p></div
|
||||
>
|
||||
</el-table></div
|
||||
>
|
||||
<el-dialog
|
||||
v-model="detailsVisible"
|
||||
@@ -91,7 +91,8 @@
|
||||
unassignedTotals: ProjectRecord
|
||||
presignTotal: number
|
||||
}>({ items: [], totals: {}, unassignedTotals: {}, presignTotal: 0 })
|
||||
const formalTypes: BizType[] = [
|
||||
const statisticsTypes: BizType[] = [
|
||||
'presign',
|
||||
'cell_storage',
|
||||
'research_donation',
|
||||
'pilot_service',
|
||||
|
||||
Reference in new issue
Block a user