修复班组管理产线下拉和时间文案
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
sheng
2026-06-25 23:43:36 +08:00
parent 2ba84edae3
commit ec3b031670
3 changed files with 6 additions and 2 deletions

View File

@@ -591,6 +591,8 @@
"production_line": "Production Line", "production_line": "Production Line",
"select_area_then_line": "Please select the plant area first, then the production line.", "select_area_then_line": "Please select the plant area first, then the production line.",
"last_create_time": "Latest Creation Time", "last_create_time": "Latest Creation Time",
"start_time": "Start Time",
"end_time": "End Time",
"select_create_time": "Please select creation time", "select_create_time": "Please select creation time",
"download_task_created": "Download task created successfully", "download_task_created": "Download task created successfully",
"affiliated_factory": "Plant Area", "affiliated_factory": "Plant Area",

View File

@@ -591,6 +591,8 @@
"production_line": "产线", "production_line": "产线",
"select_area_then_line": "请选择先所属厂区,再选择所属产线", "select_area_then_line": "请选择先所属厂区,再选择所属产线",
"last_create_time": "最后创建时间", "last_create_time": "最后创建时间",
"start_time": "开始时间",
"end_time": "结束时间",
"select_create_time": "请选择创建时间", "select_create_time": "请选择创建时间",
"download_task_created": "创建下载任务成功", "download_task_created": "创建下载任务成功",
"affiliated_factory": "所属厂区", "affiliated_factory": "所属厂区",

View File

@@ -107,7 +107,7 @@ import { i18nMixin } from '@/composables/useI18n'
import { confirmMixin } from '@/composables/useConfirmHandle' import { confirmMixin } from '@/composables/useConfirmHandle'
import PageTable from '@/components/page-table' import PageTable from '@/components/page-table'
import { getFactoryAreaALL } from '@/api/production-master-data/factory-area' 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 { getUserList } from '@/api/system-administration/user'
import { downloadRename, readExcel } from '@/utils/file' import { downloadRename, readExcel } from '@/utils/file'
import { getTeamList, createTeam, editTeam, deleteTeam, getTeamImportTemplate, importTeamData, exportTeamTask, getTeamMemberList, deleteTeamMember } from '@/api/production-master-data/team-management' 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) { async loadLines (areaId, target) {
if (!areaId) { this[target] = []; return } 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) const { list } = readPageData(res)
this[target] = list.map(item => ({ label: item.name, value: item.id })) this[target] = list.map(item => ({ label: item.name, value: item.id }))
}, },