| | |
| | | <script> |
| | | import combinedTitle from '@/components/combined-title/combined-title.vue' |
| | | import BigNumber from "bignumber.js" |
| | | import { BaseUrl } from '@/api/publicInterface.js' |
| | | import { BaseUrl } from '@/api/publicInterface.js'; |
| | | import {mapMutations} from 'vuex'; |
| | | export default { |
| | | components: { |
| | | combinedTitle |
| | |
| | | sendDate: '', |
| | | deptId: '', |
| | | filedId: '', |
| | | coalName:'', |
| | | isSpecial: null |
| | | } |
| | | }, |
| | |
| | | this.sendDate = params.sendDate || '' |
| | | this.deptId = params.deptId || '' |
| | | this.filedId = params.filedId || '' |
| | | this.coalName = params.coalName; |
| | | this.isSpecial = Number(params.isSpecial) |
| | | console.log(params.isSpecial, typeof params.isSpecial); |
| | | this.getTakeCoal() |
| | | }, |
| | | methods: { |
| | | ...mapMutations(['changeisUploadimg']), |
| | | getTakeCoal() { |
| | | uni.showLoading({ |
| | | title: '加载中' |
| | |
| | | }, |
| | | directAppointment() { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/appointment/appointment?takeCoalId=${this.orderPlanId}&filedId=${this.filedId}&deptId=${this.deptId}&sendDate=${this.sendDate}` |
| | | url: `/pages/driver-page/appointment/appointment?takeCoalId=${this.orderPlanId}&filedId=${this.filedId}&deptId=${this.deptId}&sendDate=${this.sendDate}&coalName=${this.coalName}` |
| | | }); |
| | | }, |
| | | submitOriginInfo() { |