| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <!-- 搜索表单 -->
- <template>
- <seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
- </template>
- <script>
- import { reviewStatusSelect, vehicleState, reviewStatusEnum } from '@/enum/dict';
- export default {
- data() {
- return {};
- },
- computed: {
- // 表格列配置
- seekList() {
- return [
- {
- label: '关键字:',
- value: 'searchName',
- type: 'input',
- placeholder: '工单单号/状态/计划编号/车牌号/负责人/司机'
- },
- {
- label: '工单单号:',
- value: 'code',
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '状态:',
- value: 'status',
- type: 'select',
- placeholder: '请选择',
- planList: [
- { value: 0, label: '待接收' },
- { value: 1, label: '执行中' },
- { value: 2, label: '待验收' },
- // { value: 3, label: '待验收' },
- { value: 4, label: '已验收' }
- ]
- },
- {
- label: '计划编号:',
- value: 'planCode',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '计划名称:',
- value: 'planName',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '预计开始时间:',
- value: 'planTimeStart',
- width: 360,
- labelWidth:130,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '预计结束时间:',
- value: 'planTimeEnd',
- width: 360,
- labelWidth:130,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '开始时间:',
- value: 'realStartTime',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '完成时间:',
- value: 'realEndTime',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '负责部门:',
- value: 'responsibleDeptName',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '负责人:',
- value: 'responsiblePersonName',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '车牌号:',
- value: 'trakNumber',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '司机:',
- value: 'driverName',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '司机联系电话:',
- value: 'phone',
- width: 360,
- labelWidth:130,
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '创建时间:',
- value: 'createTime',
- width: 380,
- type: 'input',
- placeholder: '请输入'
- },
- ];
- }
- },
- methods: {
- /* 搜索 */
- search(e) {
- this.$emit('search', {
- ...e
- });
- }
- }
- };
- </script>
|