fix(project): add list row numbers and align search actions
Keep project management lists and related detail, preview and audit dialogs consistent with existing table and filter styles. Number paginated rows continuously and align statistics and assignment searches to the right.
This commit is contained in:
1 parent
f41e6f60d6
commit
b510d18439
4 files changed
+48
-6
No files matched your search
@@ -8,6 +8,8 @@
|
||||
|
||||
菜单调整验收:两租户 MySQL 迁移各重复执行通过,四子页/原 ID/祖先权限/无额外授权/移动根不变/无重复均核对;后端17项、Web5项测试和定向 ESLint 通过,Web生产构建通过。浏览器确认项目平级、市场移除四菜单及旧地址携带查询参数跳转;独立审查无P1/P2。
|
||||
|
||||
列表样式补齐:四个主列表及业务明细、关联预览、归属审计表格增加序号,分页列表按页码连续编号;业务统计、历史归属维护及业务明细的检索按钮复用全局样式右对齐。浏览器逐页和弹窗检查通过,Web5项测试、定向 ESLint、生产构建及独立源码审查通过;仍保留待真机验收状态。
|
||||
|
||||
- [x] 读取完整工单、确认范围与Figma v1,创建隔离分支。
|
||||
- [x] 固定 design.md 接口契约;按文件边界划分任务。
|
||||
- [x] 后端新模块:先写 tenant/member/disabled/statistics/assignment 链路测试,运行确认失败;实现 models/project_management.py、services/project_management.py、api/project_management.py、增量SQL及菜单种子;运行测试验证。
|
||||
|
||||
@@ -58,6 +58,14 @@
|
||||
>
|
||||
<div class="list-body list-wrap"
|
||||
><el-table :data="rows" v-loading="loading" class="list-table" stripe>
|
||||
<el-table-column
|
||||
type="index"
|
||||
label="序号"
|
||||
min-width="68"
|
||||
align="center"
|
||||
header-align="center"
|
||||
:index="(index) => (query.page - 1) * query.pageSize + index + 1"
|
||||
/>
|
||||
<el-table-column
|
||||
:prop="isTeam ? 'teamName' : 'projectName'"
|
||||
:label="isTeam ? '项目组' : '项目名称'"
|
||||
|
||||
@@ -38,14 +38,24 @@
|
||||
><el-checkbox v-model="query.unassigned">仅未归属</el-checkbox></el-form-item
|
||||
> </div
|
||||
><div class="filter-actions-row"
|
||||
><el-button type="primary" @click="search"
|
||||
><el-icon><Search /></el-icon>搜索</el-button
|
||||
><div class="filter-actions-end"
|
||||
><el-button type="primary" @click="search"
|
||||
><el-icon><Search /></el-icon>搜索</el-button
|
||||
></div
|
||||
></div
|
||||
></el-form
|
||||
>
|
||||
</div>
|
||||
<div class="list-body list-wrap"
|
||||
><el-table :data="rows" v-loading="loading" class="list-table" stripe>
|
||||
<el-table-column
|
||||
type="index"
|
||||
label="序号"
|
||||
min-width="68"
|
||||
align="center"
|
||||
header-align="center"
|
||||
:index="(index) => (query.page - 1) * query.pageSize + index + 1"
|
||||
/>
|
||||
<el-table-column prop="bizNo" label="单据编号" min-width="180" />
|
||||
<el-table-column prop="teamName" label="项目组" min-width="140" />
|
||||
<el-table-column prop="projectName" label="项目" min-width="160"
|
||||
@@ -103,7 +113,13 @@
|
||||
:closable="false"
|
||||
/>
|
||||
<el-table :data="previewRows" class="list-table" stripe
|
||||
><el-table-column prop="bizNo" label="关联单据" min-width="200" /><el-table-column
|
||||
><el-table-column
|
||||
type="index"
|
||||
label="序号"
|
||||
min-width="68"
|
||||
align="center"
|
||||
header-align="center" />
|
||||
<el-table-column prop="bizNo" label="关联单据" min-width="200" /><el-table-column
|
||||
prop="projectName"
|
||||
label="原项目"
|
||||
min-width="160"
|
||||
@@ -129,7 +145,14 @@
|
||||
append-to-body
|
||||
class="dialog-form-layout"
|
||||
><el-table :data="historyRows" class="list-table" stripe
|
||||
><el-table-column prop="oldProjectName" label="原项目" min-width="140" /><el-table-column
|
||||
><el-table-column
|
||||
type="index"
|
||||
label="序号"
|
||||
min-width="68"
|
||||
align="center"
|
||||
header-align="center"
|
||||
/>
|
||||
<el-table-column prop="oldProjectName" label="原项目" min-width="140" /><el-table-column
|
||||
prop="newProjectName"
|
||||
label="新项目"
|
||||
min-width="140"
|
||||
|
||||
@@ -24,8 +24,10 @@
|
||||
end-placeholder="结束日期"
|
||||
/></el-form-item> </div
|
||||
><div class="filter-actions-row"
|
||||
><el-button type="primary" @click="load"
|
||||
><el-icon><Search /></el-icon>查询</el-button
|
||||
><div class="filter-actions-end"
|
||||
><el-button type="primary" @click="load"
|
||||
><el-icon><Search /></el-icon>查询</el-button
|
||||
></div
|
||||
></div
|
||||
></el-form
|
||||
></div
|
||||
@@ -37,6 +39,13 @@
|
||||
/>
|
||||
<div class="list-body list-wrap"
|
||||
><el-table :data="displayRows" v-loading="loading" class="list-table" stripe>
|
||||
<el-table-column
|
||||
type="index"
|
||||
label="序号"
|
||||
min-width="68"
|
||||
align="center"
|
||||
header-align="center"
|
||||
/>
|
||||
<el-table-column prop="name" label="项目组 / 项目" min-width="200" /><el-table-column
|
||||
prop="teamName"
|
||||
label="所属项目组"
|
||||
|
||||
Reference in new issue
Block a user