<!-- 搜索表单 -->
<template>
  <seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
</template>

<script>
  export default {
    data() {
      return {
        // 表格列配置
        seekList:[
            {
              label: '参数名称:',
              value: 'inspectionName',
              type: 'input',
              placeholder: '请输入'
            },

            {
              label: '状态:',
              value: 'status',
              type: 'select',
              placeholder: '请选择',
              planList: [
                {
                  value: 0,
                  label: '停用'
                },
                {
                  value: 1,
                  label: '启用'
                }
              ]
            },
            {
              label: '标准类型:',
              value: 'qualityStandardType',
              type: 'DictSelection',
              dictName: '质检标准类型',
              placeholder: '请选择'
            },
            {
              label: '标准名称:',
              value: 'qualityStandardName',
              type: 'input',
              placeholder: '请输入'
            }
          ]
      };
    },
    computed: {},
    methods: {
      /* 搜索 */
      search(e) {
        this.$emit('search', {...e});
      }
    }
  };
</script>
