chengxiangling
2025-05-13 7e9e0bff3ef15366693648f25810723ec557ed62
src/views/mainPlan/pipeProduceStatics/index.vue
@@ -9,10 +9,11 @@
      :label-width="locale === 'zh' ? '68px' : '134px'"
    >
      <el-row type="flex" justify="left">
        <el-col :span="locale === 'zh' ? 5 : 7">
        <el-form-item :label="$t('plan.query.statistical')">
          <el-select
            v-model="queryParams.searchType"
            style="width: 200px"
              :style="{ width: locale === 'zh' ? '120px' : '160px' }"
            placeholder="Select"
            @change="handleChangeSelectType"
          >
@@ -24,9 +25,12 @@
            />
          </el-select>
        </el-form-item>
        </el-col>
        <el-col :span="locale === 'zh' ? 5 : 8">
        <el-form-item :label="$t('plan.query.selectDateRange')">
          <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')"
@@ -36,13 +40,15 @@
          </div>
          <div v-else>
            <el-date-picker
                :style="{ width: locale === 'zh' ? '200px' : '220px' }"
              v-model="queryParams.monthDays"
              type="month"
              :placeholder="$t('plan.placeholder.selectMonth')"
            />
          </div>
        </el-form-item>
        </el-col>
        <el-col :span="locale === 'zh' ? 14 : 9" style="text-align: right">
        <el-form-item class="column-with-margin">
          <el-button type="primary" icon="Search" @click="handleQuery">{{
            $t("common.common.query")
@@ -51,6 +57,7 @@
            $t("common.common.reset")
          }}</el-button>
        </el-form-item>
        </el-col>
      </el-row>
    </el-form>
    <el-row :gutter="10" class="mb8">
@@ -442,6 +449,9 @@
// getList();
</script>
<style lang="scss" scoped>
.column-with-margin {
  margin-right: 0px;
}
.box_container {
  width: 100%;
  margin: 20px auto;