From 0d7ae49a10e4198cfa93e572f06214dc7b3f8633 Mon Sep 17 00:00:00 2001 From: hwj Date: Mon, 11 May 2026 15:55:55 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=A8=A1=E5=85=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E6=B7=BB=E5=8A=A0=E2=80=9C=E5=B1=95=E5=BC=80/?= =?UTF-8?q?=E6=94=B6=E8=B5=B7=E2=80=9D=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/moldget/index.vue | 19 ++++++++++++++---- src/views/mes/moldreturn/index.vue | 19 ++++++++++++++---- src/views/mold/inspectionItems/index.vue | 11 +++++++++++ src/views/mold/inspectionPlan/index.vue | 12 +++++++++++ src/views/mold/moldrepair/index.vue | 23 ++++++++++++++++------ src/views/mold/repairItems/index.vue | 13 +++++++++++- src/views/mold/taskConfiguration/index.vue | 11 +++++++++++ src/views/mold/workOrderInquiry/index.vue | 13 +++++++++++- 8 files changed, 105 insertions(+), 16 deletions(-) diff --git a/src/views/mes/moldget/index.vue b/src/views/mes/moldget/index.vue index 663349ef..e5ab245b 100644 --- a/src/views/mes/moldget/index.vue +++ b/src/views/mes/moldget/index.vue @@ -61,7 +61,7 @@ /> --> - + - + - + - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -297,6 +303,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 +const showAllFilters = ref(false) +const filterCount = 7 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const productList = ref([]) // 产品列表 const warehouseList = ref([]) // 仓库列表 const customerList = ref([]) // 客户列表 diff --git a/src/views/mes/moldreturn/index.vue b/src/views/mes/moldreturn/index.vue index b434c5b8..77993fb8 100644 --- a/src/views/mes/moldreturn/index.vue +++ b/src/views/mes/moldreturn/index.vue @@ -60,7 +60,7 @@ /> --> - + - + - + - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -292,6 +298,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 +const showAllFilters = ref(false) +const filterCount = 7 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const productList = ref([]) // 产品列表 const warehouseList = ref([]) // 仓库列表 const customerList = ref([]) // 客户列表 diff --git a/src/views/mold/inspectionItems/index.vue b/src/views/mold/inspectionItems/index.vue index 1790b36e..46ef5d94 100644 --- a/src/views/mold/inspectionItems/index.vue +++ b/src/views/mold/inspectionItems/index.vue @@ -17,6 +17,12 @@ v-model="queryParams.subjectName" :placeholder="t('MoldManagement.MoldInspection v-model="queryParams.judgmentCriteria" :placeholder="t('MoldManagement.MoldInspectionItems.placeholderJudgmentCriteria')" clearable @keyup.enter="handleQuery" class="!w-240px" /> + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} @@ -138,6 +144,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 +const showAllFilters = ref(false) +const filterCount = 3 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const getTagDict = (dictType: string, value: any) => { if (!dictReady.value) return undefined diff --git a/src/views/mold/inspectionPlan/index.vue b/src/views/mold/inspectionPlan/index.vue index 3b0b0434..2663506f 100644 --- a/src/views/mold/inspectionPlan/index.vue +++ b/src/views/mold/inspectionPlan/index.vue @@ -30,6 +30,12 @@ class="!w-240px" /> + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -213,6 +219,12 @@ const list = ref([]) const total = ref(0) const exportLoading = ref(false) +const showAllFilters = ref(false) +const filterCount = 3 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} + const queryParams = reactive({ pageNo: 1, pageSize: 10, diff --git a/src/views/mold/moldrepair/index.vue b/src/views/mold/moldrepair/index.vue index 631dfdda..582b9255 100644 --- a/src/views/mold/moldrepair/index.vue +++ b/src/views/mold/moldrepair/index.vue @@ -28,7 +28,7 @@ /> - + - + - + - + - + - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('MoldManagement.MoldRepair.search') }} @@ -196,6 +202,11 @@ const { t } = useI18n() const loading = ref(true) const list = ref([]) const total = ref(0) +const showAllFilters = ref(false) +const filterCount = 9 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const queryParams = reactive({ pageNo: 1, pageSize: 10, diff --git a/src/views/mold/repairItems/index.vue b/src/views/mold/repairItems/index.vue index b8236365..a663a49a 100644 --- a/src/views/mold/repairItems/index.vue +++ b/src/views/mold/repairItems/index.vue @@ -28,7 +28,7 @@ class="!w-240px" /> - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('MoldManagement.MoldRepairItems.search') }} {{ t('MoldManagement.MoldRepairItems.reset') }} @@ -130,6 +136,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() +const showAllFilters = ref(false) +const filterCount = 4 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const tableRef = ref() const selectedIds = ref([]) const formRef = ref() diff --git a/src/views/mold/taskConfiguration/index.vue b/src/views/mold/taskConfiguration/index.vue index 00a2df8d..3ce9e7a1 100644 --- a/src/views/mold/taskConfiguration/index.vue +++ b/src/views/mold/taskConfiguration/index.vue @@ -38,6 +38,12 @@ + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -167,6 +173,11 @@ const queryParams = reactive({ projectForm: [] as string[] }) const queryFormRef = ref() +const showAllFilters = ref(false) +const filterCount = 3 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const parseIdsValue = (value: any): string[] => { if (!value) return [] diff --git a/src/views/mold/workOrderInquiry/index.vue b/src/views/mold/workOrderInquiry/index.vue index a0fb91e7..fb6e65f3 100644 --- a/src/views/mold/workOrderInquiry/index.vue +++ b/src/views/mold/workOrderInquiry/index.vue @@ -30,7 +30,7 @@ - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('MoldManagement.MoldWorkOrderInquiry.reset') }} @@ -142,6 +148,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() +const showAllFilters = ref(false) +const filterCount = 4 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const getList = async () => { loading.value = true