| | |
| | | width="480px" |
| | | > |
| | | <el-form :model="param" :rules="rules" ref="ruleForm" label-width="100px"> |
| | | <el-form-item label="运输单号" prop="name"> |
| | | <el-form-item label="入园原因" prop="name"> |
| | | <el-input v-model="param.aaa" placeholder="请输入"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="合同号" prop="name"> |
| | | <el-input v-model="param.aaa" placeholder="请输入"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="到场时间" prop="name"> |
| | | <el-input v-model="param.aaa" placeholder="请输入"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="车前牌照号" prop="name"> |
| | |
| | | <script> |
| | | import Pagination from '@/components/common/Pagination' |
| | | import QueryForm from '@/components/common/QueryForm' |
| | | import { platformJobPage } from '@/api' |
| | | export default { |
| | | components: { |
| | | Pagination, |
| | |
| | | return { |
| | | loading: false, |
| | | pagination: { |
| | | capacity: 10, |
| | | page: 1 |
| | | pageSize: 10, |
| | | page: 1, |
| | | total: 0 |
| | | }, |
| | | filters: {}, |
| | | list: [], |
| | | total: 0, |
| | | isShowEdit: false, |
| | | param: {}, |
| | | rules: {}, |
| | | queryFormConfig: { |
| | | formItems: [ |
| | | { |
| | | filed: 'aaaa', |
| | | filed: 'carCodeFront', |
| | | type: 'input', |
| | | label: '车牌号' |
| | | }, |
| | | { |
| | | filed: 'bbb', |
| | | filed: 'driverName', |
| | | type: 'input', |
| | | label: '驾驶员' |
| | | }, |
| | | { |
| | | filed: 'cc', |
| | | filed: 'code', |
| | | type: 'input', |
| | | label: '运输单号' |
| | | }, |
| | |
| | | }, |
| | | } |
| | | }, |
| | | created() { |
| | | this.getList() |
| | | }, |
| | | methods: { |
| | | handleSub () { |
| | | this.$refs.ruleForm.validate((valid) => { |
| | |
| | | } |
| | | }) |
| | | }, |
| | | getList (page) { }, |
| | | clear () { }, |
| | | getList (page) { |
| | | const { pagination, filters } = this |
| | | this.loading = true |
| | | platformJobPage({ |
| | | model: { ...filters, jobType: 0 }, |
| | | capacity: pagination.pageSize, |
| | | page: pagination.page, |
| | | }).then(res => { |
| | | this.loading = false |
| | | this.list = res.records || [] |
| | | this.pagination.total = res.total || 0 |
| | | }, () => { |
| | | this.loading = false |
| | | }) |
| | | }, |
| | | clear () { |
| | | this.pagination.page = 1 |
| | | this.filters = {} |
| | | this.getList() |
| | | }, |
| | | handleEdit (row) { |
| | | this.isShowEdit = true |
| | | }, |
| | | handleDel () { }, |
| | | handleSizeChange (capacity) { |
| | | this.pagination.capacity = capacity |
| | | this.pagination.pageSize = capacity |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |