| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <!-- 搜索表单 -->
- <template>
- <seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
- </template>
- <script>
- import { reviewStatusSelect } from '@/enum/dict';
- export default {
- data() {
- return {};
- },
- computed: {
- // 表格列配置
- seekList() {
- return [
- {
- label: '关键字:',
- value: 'searchName',
- type: 'input',
- placeholder: '编码/代号/客户名称/联系人电话'
- },
- {
- label: '编码/代号:',
- value: 'codeOrSerialNo',
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '客户名称:',
- value: 'name',
- type: 'input',
- placeholder: '请输入',
- },
- // {
- // label: '电话:',
- // value: 'phone',
- // width: 380,
- // type: 'input',
- // placeholder: '请输入'
- // },
- // {
- // label: '注册地址:',
- // value: 'addressName',
- // width: 380,
- // type: 'input',
- // placeholder: '请输入'
- // },
- // {
- // label: '联系地址:',
- // value: 'otherAddressName',
- // width: 380,
- // type: 'input',
- // placeholder: '请输入'
- // },
- // {
- // label: '联系人:',
- // value: 'linkName',
- // width: 380,
- // type: 'input',
- // placeholder: '请输入'
- // },
- // {
- // label: '状态',
- // value: 'targetTime',
- // width: 380,
- // type: 'select',
- // placeholder: '请选择状态',
- // planList:reviewStatusSelect
- // },
- // {
- // label: '部门:',
- // value: 'assessmentObject',
- // width: 380,
- // type: 'input',
- // placeholder: '请输入',
- // },
- // {
- // label: '创建人:',
- // value: 'createUsername',
- // width: 380,
- // type: 'input',
- // placeholder: '请输入姓名'
- // },
- {
- label: '创建时间:',
- value: 'createTime',
- type: 'date',
- dateType: 'datetimerange',
- placeholder: '',
- width: 380,
- valueAr: ['createTimeStart', 'createTimeEnd']
- },
- ];
- }
- },
- methods: {
- /* 搜索 */
- search(e) {
- this.$emit('search', {
- ...e
- });
- }
- }
- };
- </script>
|