feat(production-master-data): 新增班组管理功能模块

1. 新增班组管理路由配置,添加对应页面访问路径
2. 新建班组管理API接口文件,封装增删改查、导入导出等接口
3. 补充中英文多语言文案,适配页面所有交互文本
4. 新增班组管理页面组件,包含搜索、列表、新增/编辑、成员管理、导入导出全功能
5. 更新功能测试文档,补充35条班组管理测试用例并更新用例统计
6. 更新系统功能清单对照表,新增班组管理模块条目
This commit is contained in:
sheng
2026-06-22 14:27:18 +08:00
parent 3f546564cc
commit 248557a293
7 changed files with 1321 additions and 3 deletions

View File

@@ -417,6 +417,74 @@
"help": "Configure SPC data collection parameters and bind SCADA nodes"
}
},
"team_model": {
"team_management": {
"search": "Search",
"reset": "Reset",
"team_name": "Team Name",
"enter_team_name": "Please enter team name",
"area": "Area",
"select_area": "Please select area",
"production_line": "Production Line",
"select_area_then_line": "Please select the plant area first, then the production line.",
"last_create_time": "Latest Creation Time",
"select_create_time": "Please select creation time",
"download_task_created": "Download task created successfully",
"affiliated_factory": "Plant Area",
"affiliated_production_line": "Production Line",
"please_select": "Please select",
"please_select_factory_then_line": "Please select the plant area first, then the production line.",
"add_member": "Add Member",
"member_name": "Member Name",
"is_team_leader": "Is Team Leader",
"yes": "Yes",
"no": "No",
"operation": "Actions",
"delete": "Delete",
"cancel": "Cancel",
"confirm": "Confirm",
"production_team_data_import": "Team Data Import",
"upload_file_alert_title": "Files must be in .xls or .xlsx format and follow the template. Uploads will fail otherwise.",
"upload_file_alert_description": "To import multiple members, add rows with the same team name, plant, and production line. Differentiate them by member name.",
"production_team_data_import_table": "Team Import Table",
"select_file": "Select File",
"download_template": "Download Template",
"preview": "Preview",
"add": "Add",
"batch_delete": "Batch Delete",
"import": "Import",
"export": "Export",
"edit": "Edit",
"serial_number": "No.",
"create_time": "Create Time",
"update_time": "Update Time",
"select_affiliated_factory": "Please select plant area",
"select_affiliated_production_line": "Please select production line",
"please_enter_team_name": "Please enter team name",
"length_2_to_20_characters": "Length must be 2-20 characters.",
"please_select_affiliated_factory": "Please select plant area",
"please_select_affiliated_production_line": "Please select production line",
"please_select_team_leader": "Please select a team leader",
"add_team": "Add Team",
"edit_team": "Edit Team",
"export_confirm_message": "Exporting data requires creating a download task first. Track progress via the Download Tasks menu at the top. Continue?",
"prompt": "Notice",
"operation_cancelled": "Operation canceled",
"operation_success": "Operation succeeded",
"confirm_delete": "Are you sure to delete?",
"validation_fail": "Validation failed",
"select_rows_first": "Please select rows first",
"confirm_batch_delete": "Are you sure to delete selected data?",
"import_success": "Import succeeded",
"import_failed": "Import failed",
"export_failed": "Export failed",
"download_template_failed": "Download template failed",
"create_download_task": "Create download task",
"create_download_task_failed": "Create download task failed",
"team_members": "Team Members",
"upload_file": "Upload File"
}
},
"product_management": {
"product_list": {
"search": "Search",

View File

@@ -417,6 +417,74 @@
"help": "配置SPC数据采集参数绑定SCADA节点"
}
},
"team_model": {
"team_management": {
"search": "查询",
"reset": "重置",
"team_name": "班组名称",
"enter_team_name": "请输入班组名称",
"area": "所区",
"select_area": "请选择所区",
"production_line": "产线",
"select_area_then_line": "请选择先所属厂区,再选择所属产线",
"last_create_time": "最后创建时间",
"select_create_time": "请选择创建时间",
"download_task_created": "创建下载任务成功",
"affiliated_factory": "所属厂区",
"affiliated_production_line": "所属产线",
"please_select": "请选择",
"please_select_factory_then_line": "请选择先所属厂区,再选择所属产线",
"add_member": "添加成员",
"member_name": "成员名称",
"is_team_leader": "是否班组组长",
"yes": "是",
"no": "否",
"operation": "操作",
"delete": "删除",
"cancel": "取 消",
"confirm": "确 定",
"production_team_data_import": "生产班组数据导入",
"upload_file_alert_title": "上传的文件后辍必须是(xlsx/xls),且根据模板上传,否则不能上传成功!",
"upload_file_alert_description": "如需导入多个成员,在模板中增加一行相同班组名称、厂区、产线数据,成员名称不同即可",
"production_team_data_import_table": "生产班组数据导入表格",
"select_file": "选择文件",
"download_template": "下载模板",
"preview": "预览",
"add": "新增",
"batch_delete": "批量删除",
"import": "导入",
"export": "导出",
"edit": "编辑",
"serial_number": "序号",
"create_time": "创建时间",
"update_time": "修改时间",
"select_affiliated_factory": "请选择所属厂区",
"select_affiliated_production_line": "请选择所属产线",
"please_enter_team_name": "请输入班组名称",
"length_2_to_20_characters": "长度在 2 到 20 个字符",
"please_select_affiliated_factory": "请选择所属厂区",
"please_select_affiliated_production_line": "请选择所属产线",
"please_select_team_leader": "请选择班组负责人",
"add_team": "新增班组",
"edit_team": "编辑班组",
"export_confirm_message": "数据导出需要先创建下载任务(可在系统顶部系统下载任务中查看下载进度并下载文件),是否继续?",
"prompt": "提示",
"operation_cancelled": "已取消操作",
"operation_success": "操作成功",
"confirm_delete": "确定要执行该操作吗?",
"validation_fail": "校验失败",
"select_rows_first": "请先选择要操作的数据",
"confirm_batch_delete": "确定要删除所选数据吗?",
"import_success": "导入成功",
"import_failed": "导入失败",
"export_failed": "导出失败",
"download_template_failed": "下载模板失败",
"create_download_task": "创建下载任务",
"create_download_task_failed": "创建下载任务失败",
"team_members": "班组成员",
"upload_file": "上传文件"
}
},
"product_management": {
"product_list": {
"search": "查询",