From 52e3605766d85b04f2952b537b3f6d8d6bd96a8b Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期四, 15 五月 2025 12:22:36 +0800
Subject: [PATCH] 提交计划运行的搜索样优化

---
 src/views/mainPlan/pipeProduceStatics/index.vue |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/src/views/mainPlan/pipeProduceStatics/index.vue b/src/views/mainPlan/pipeProduceStatics/index.vue
index 894df8b..d99e07c 100644
--- a/src/views/mainPlan/pipeProduceStatics/index.vue
+++ b/src/views/mainPlan/pipeProduceStatics/index.vue
@@ -6,14 +6,13 @@
       ref="queryRef"
       :inline="true"
       v-show="showSearch"
-      :label-width="locale === 'zh' ? '68px' : '134px'"
+      label-position="left"
     >
-      <el-row type="flex" justify="left">
-        <el-col :span="locale === 'zh' ? 5 : 7">
-          <el-form-item :label="$t('plan.query.statistical')">
+      <el-row :gutter="20">
+        <el-col :span="8">
+          <el-form-item :label="$t('plan.query.statistical')" :style="{ width: '100%' }">
             <el-select
               v-model="queryParams.searchType"
-              :style="{ width: locale === 'zh' ? '120px' : '160px' }"
               placeholder="Select"
               @change="handleChangeSelectType"
             >
@@ -26,11 +25,10 @@
             </el-select>
           </el-form-item>
         </el-col>
-        <el-col :span="locale === 'zh' ? 5 : 8">
-          <el-form-item :label="$t('plan.query.selectDateRange')">
+        <el-col :span="8">
+          <el-form-item :label="$t('plan.query.selectDateRange')" :style="{ width: '100%' }">
             <div v-if="!dayCom">
               <el-date-picker
-                :style="{ width: locale === 'zh' ? '200px' : '220px' }"
                 v-model="queryParams.monthRange"
                 type="monthrange"
                 :range-separator="$t('plan.placeholder.to')"
@@ -40,7 +38,6 @@
             </div>
             <div v-else>
               <el-date-picker
-                :style="{ width: locale === 'zh' ? '200px' : '220px' }"
                 v-model="queryParams.monthDays"
                 type="month"
                 :placeholder="$t('plan.placeholder.selectMonth')"
@@ -48,7 +45,7 @@
             </div>
           </el-form-item>
         </el-col>
-        <el-col :span="locale === 'zh' ? 14 : 9" style="text-align: right">
+        <el-col :span="8" style="text-align: right">
           <el-form-item class="column-with-margin">
             <el-button type="primary" icon="Search" @click="handleQuery">{{
               $t("common.common.query")

--
Gitblit v1.9.3