diff --git a/src/locales/en.json b/src/locales/en.json index 18fe17da..9f7440ed 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -591,6 +591,8 @@ "production_line": "Production Line", "select_area_then_line": "Please select the plant area first, then the production line.", "last_create_time": "Latest Creation Time", + "start_time": "Start Time", + "end_time": "End Time", "select_create_time": "Please select creation time", "download_task_created": "Download task created successfully", "affiliated_factory": "Plant Area", diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 46cac62f..726501c0 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -591,6 +591,8 @@ "production_line": "产线", "select_area_then_line": "请选择先所属厂区,再选择所属产线", "last_create_time": "最后创建时间", + "start_time": "开始时间", + "end_time": "结束时间", "select_create_time": "请选择创建时间", "download_task_created": "创建下载任务成功", "affiliated_factory": "所属厂区", diff --git a/src/views/production-master-data/team-model/team-management/index.vue b/src/views/production-master-data/team-model/team-management/index.vue index c3b40cd3..847f2073 100644 --- a/src/views/production-master-data/team-model/team-management/index.vue +++ b/src/views/production-master-data/team-model/team-management/index.vue @@ -107,7 +107,7 @@ import { i18nMixin } from '@/composables/useI18n' import { confirmMixin } from '@/composables/useConfirmHandle' import PageTable from '@/components/page-table' import { getFactoryAreaALL } from '@/api/production-master-data/factory-area' -import { getProductionLineList } from '@/api/production-master-data/production-line' +import { getProductionLineALL } from '@/api/production-master-data/production-line' import { getUserList } from '@/api/system-administration/user' import { downloadRename, readExcel } from '@/utils/file' import { getTeamList, createTeam, editTeam, deleteTeam, getTeamImportTemplate, importTeamData, exportTeamTask, getTeamMemberList, deleteTeamMember } from '@/api/production-master-data/team-management' @@ -201,7 +201,7 @@ export default { }, async loadLines (areaId, target) { if (!areaId) { this[target] = []; return } - const res = await getProductionLineList({ area_id: areaId, page_no: 1, page_size: 10000 }) + const res = await getProductionLineALL({ area_id: areaId }) const { list } = readPageData(res) this[target] = list.map(item => ({ label: item.name, value: item.id })) },