| | |
| | | <div slot="search-form"> |
| | | <el-form ref="searchForm" :model="searchForm" label-width="100px" inline> |
| | | <el-form-item label="" prop="inOrOut"> |
| | | <el-select v-model="searchForm.type" style="width: 130px" clearable @change="search" placeholder="事件类型"> |
| | | <el-option label="车辆事件" value="0">车辆事件</el-option> |
| | | <el-option label="人员事件" value="1">人员事件</el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="" prop="inOrOut"> |
| | | <el-select v-model="searchForm.inOrOut" style="width: 130px" clearable @change="search" placeholder="进出类型"> |
| | | <el-option label="进" value="0"></el-option> |
| | | <el-option label="出" value="1"></el-option> |
| | |
| | | @click="exportExcel">导出</el-button> |
| | | </li> |
| | | </ul> |
| | | <el-table |
| | | :height="tableHeightNew" |
| | | <el-table :height="tableHeightNew+10" |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | | stripe |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="carCode" label="车牌号" min-width="100px"></el-table-column> |
| | | <!-- <el-table-column prop="carBizType" label="车辆业务类型" min-width="100px"> |
| | | <!-- <el-table-column prop="carBizType" label="车辆业务类型" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <template v-if="row.carCode"> |
| | | <span v-if="row.carBizType ==0">访客车辆</span> |
| | |
| | | <script> |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import SearchFormCollapse from '@/components/common/SearchFormCollapse' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaInoutRecordWindow from '@/components/business/OperaInoutRecordWindow' |
| | | import { timeForMat } from '@/utils/util' |
| | | export default { |
| | | name: 'InoutRecord', |
| | | extends: BaseTable, |
| | | components: { SearchFormCollapse, TableLayout, Pagination, OperaInoutRecordWindow }, |
| | | components: { TableLayout, Pagination, OperaInoutRecordWindow }, |
| | | data () { |
| | | return { |
| | | // 搜索 |
| | |
| | | companyName: '', |
| | | startDate: null, |
| | | endDate: null, |
| | | radio: '0' |
| | | radio: '0', |
| | | type: null |
| | | }, |
| | | time: [], |
| | | bizTypeList: [{ key: 0, name: '访客车辆' }, |
| | | { key: 1, name: '外协运输车辆' }, |
| | | { key: 2, name: '市公司卸货车辆' }, |
| | | { key: 3, name: '加工烟卸货车辆' }, |
| | | { key: 4, name: '安泰物流公务用车' }, |
| | | { key: 5, name: '安泰物流货运车辆' }, |
| | | { key: 4, name: '自有公务车' }, |
| | | { key: 5, name: '自有货运车辆' }, |
| | | { key: 6, name: '未知车辆' } |
| | | ] |
| | | } |