| | |
| | | <span v-if="scope.row.type == '4'">市公司外协车卸货</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="createDate" label="创建时间" min-width="150" show-overflow-tooltip /> |
| | | <el-table-column prop="ioCreatedate" label="创建时间" min-width="150" show-overflow-tooltip /> |
| | | <el-table-column prop="name" label="作业状态" min-width="100" show-overflow-tooltip> |
| | | <template v-slot="scope"> |
| | | <span>{{ statusMap[scope.row.status] }}</span> |
| | |
| | | <Pagination @size-change="handleSizeChange" @current-change="getList" :pagination="pagination" /> |
| | | <!-- --> |
| | | <!-- --> |
| | | <DriverDetail v-if="isShowDriver" ref="DriverDetailRef" /> |
| | | <WaybillDetailRef v-if="isShowDetail" ref="WaybillDetailRef" /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import QueryForm from '@/components/common/QueryForm' |
| | | import { platformJobPage, platformJobExport, platformJobDel } from '@/api' |
| | | import { statusMap } from '../config' |
| | | import DriverDetail from "@/views/task/driverDetail" |
| | | import WaybillDetailRef from "../components/WaybillDetail.vue" |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import UploadFaceImg from '@/components/common/UploadFaceImg' |
| | | import { Message } from 'element-ui' |
| | |
| | | components: { |
| | | Pagination, |
| | | QueryForm, |
| | | DriverDetail, |
| | | WaybillDetailRef, |
| | | GlobalWindow, |
| | | UploadFaceImg |
| | | }, |
| | | data() { |
| | | return { |
| | | statusMap, |
| | | isShowDriver: false, |
| | | isShowDetail: false, |
| | | exLoading: false, |
| | | loading: false, |
| | | pagination: { |
| | |
| | | queryFormConfig: { |
| | | formItems: [ |
| | | { |
| | | filed: 'code', |
| | | filed: 'billCode', |
| | | type: 'input', |
| | | label: '运单号' |
| | | }, |
| | |
| | | filed: 'carCodeFront', |
| | | type: 'input', |
| | | label: '车牌号' |
| | | }, |
| | | { |
| | | filed: 'status', |
| | | type: 'select', |
| | | label: '作业状态', |
| | | options: [ |
| | | { value: 3, label: '入园等待' }, |
| | | { value: 4, label: '月台等待' }, |
| | | { value: 5, label: '作业中' }, |
| | | { value: 6, label: '作业完成' }, |
| | | { value: 7, label: '转移中' }, |
| | | { value: 8, label: '异常挂起' }, |
| | | { value: 9, label: '已授权离园' }, |
| | | { value: 10, label: '已离园' }, |
| | | { value: 11, label: '已过号' }, |
| | | { value: 12, label: '已取消' }, |
| | | ] |
| | | }, |
| | | { |
| | | filed: 'selDate', |
| | |
| | | this.getList() |
| | | }, |
| | | handleDetail(row) { |
| | | this.isShowDriver = true |
| | | this.isShowDetail = true |
| | | this.$nextTick(() => { |
| | | this.$refs.DriverDetailRef.id = row.id |
| | | this.$refs.DriverDetailRef.type = 6 |
| | | this.$refs.DriverDetailRef.getDetail() |
| | | this.$refs.DriverDetailRef.isShowModal = true |
| | | this.$refs.WaybillDetailRef.isShowModal = true |
| | | this.$refs.WaybillDetailRef.id = row.id |
| | | this.$refs.WaybillDetailRef.getDetail() |
| | | }) |
| | | }, |
| | | handleSizeChange(capacity) { |