feat(mes): 新增 CAL 模块班组前端页面及修复班组选择下拉

新增 views/mes/cal/team 及对应 API:
- api/mes/cal/team/{index,member,shift}.ts:班组/成员/排班三个 API 模块
- views/mes/cal/team/index.vue:班组列表页(搜索/分页/导出)
- views/mes/cal/team/CalTeamForm.vue:班组表单弹窗(编辑时内嵌成员管理 Tab)
- views/mes/cal/team/CalTeamMemberPanel.vue:班组成员管理面板

修复 CalPlanTeamPanel.vue:
- 班组选择从 el-input-number 改为 el-select 下拉(对接 CalTeamApi.getTeamList)
pull/871/MERGE
YunaiV 2026-02-18 11:21:22 +08:00
parent 3b43e9e463
commit ecd21a5dbd
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<el-button type="primary" plain size="small" @click="openForm()" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加成员
</el-button>
<!-- TODO @AI这里展示的时候没去读取相关字段可能后端接口需要修复下 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" border>
<el-table-column label="用户编号" align="center" prop="userId" width="100" />
<el-table-column label="用户名称" align="center" prop="userName" min-width="120" />
@ -18,6 +19,7 @@
</el-table>
<!-- 添加成员弹窗 -->
<!-- TODO @AI拆分成一个 List一个 Form -->
<Dialog :title="dialogTitle" v-model="dialogVisible" width="500px">
<el-form
ref="formRef"
@ -26,6 +28,7 @@
label-width="80px"
v-loading="formLoading"
>
<!-- TODO @AI用户下拉选择 -->
<el-form-item label="用户" prop="userId">
<el-input-number v-model="formData.userId" placeholder="请输入用户编号" class="!w-1/1" />
</el-form-item>