whj hai 1 ano
pai
achega
f827a006e6
Modificáronse 1 ficheiros con 18 adicións e 2 borrados
  1. 18 2
      src/views/check/checkstatistics/CheckStatistics.vue

+ 18 - 2
src/views/check/checkstatistics/CheckStatistics.vue

@@ -32,7 +32,21 @@
                 />
               </a-form-item>
             </a-col>
-            <a-col :md="24" :sm="24">
+            <a-col :md="6" :sm="24">
+              <a-form-item label="周期类型">
+                <a-select
+                  v-model="queryParam.periodType"
+                  placeholder="请选择">
+                  <a-select-option
+                    v-for="(label,value) in periodTypeMap"
+                    :key="value"
+                    :label="label"
+                    :value="parseInt(value)">{{ label }}
+                  </a-select-option>
+                </a-select>
+              </a-form-item>
+            </a-col>
+            <a-col :md="6" :sm="24">
               <span class="table-page-search-submitButtons">
                 <a-button type="primary" @click="handleOk">查询</a-button>
                 <a-button style="margin-left: 8px" @click="resetSearchForm">重置</a-button>
@@ -141,12 +155,14 @@ export default {
           .then(res => {
             return res.data
           })
-      }
+      },
+      periodTypeMap: {}
 
     }
   },
   created () {
     // 下拉框map
+    this.periodTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.PERIOD_TYPE)
   },
   methods: {