diff --git a/api/task.js b/api/task.js index f163838..d2e84bf 100644 --- a/api/task.js +++ b/api/task.js @@ -15,3 +15,13 @@ export const taskInformationgist = (data) => oahttp.get('/task/informationg_list * 任务:片区交易 */ export const taskOrderDetail = (data) => oahttp.get('/task/order_detail', data) + +/** + * 任务:三轮游走获取地址 + */ +export const taskTricycleDetail = (data) => oahttp.get('/task/tricycle_detail', data) + +/** + * 任务:三轮游走上传位置 + */ +export const taskAddTricycleCoordinate = (data) => oahttp.post('/task/add_tricycle_coordinate', data) diff --git a/components/task/taskItem.vue b/components/task/taskItem.vue index dcf2e98..df60e02 100644 --- a/components/task/taskItem.vue +++ b/components/task/taskItem.vue @@ -122,16 +122,16 @@ }, clickTask() { // console.log('点击', this.$props.datas); - if ((this.$props.datas.type != 31) && this.$props.datas.status !== 2 && this.$props.datas.status !== 1) { - return this.$props.datas.status == 3 ? Toast('任务已完成!') : Toast('任务已结束!'); - } + // if ((this.$props.datas.type != 31) && this.$props.datas.status !== 2 && this.$props.datas.status !== 1) { + // return this.$props.datas.status == 3 ? Toast('任务已完成!') : Toast('任务已结束!'); + // } if (this.$props.datas.type == 31) { // this.navTo('/subpkg/fileTask/fileTask?id=' + JSON.stringify(this.$props.datas?.extend?.informationg?.arr)) if(this.$store.state.app.userInfo.admin_id)this.navTo(`/subpkg/captain/captain?task_id=${this.$props.datas?.id}`); else this.navTo(`/subpkg/archives/archives?task_id=${this.$props.datas?.id}`); } else if (this.$props.datas.type == 32) { // this.navTo('/subpkg/fileTask/fileTask?id=' + JSON.stringify(this.$props.datas?.extend?.informationg?.arr)) - this.navTo(`/subpkg/vehicle/vehicle?task_id=${this.$props.datas?.id}`) + this.navTo(`/subpkg/property/vehicle?task_id=${this.$props.datas?.id}`) } else if(this.$props.datas.type == 33){ this.navTo(`/subpkg/blockTransaction/blockTransaction?task_id=${this.$props.datas?.id}`) } diff --git a/pages.json b/pages.json index 9e8874f..80bd26c 100644 --- a/pages.json +++ b/pages.json @@ -498,7 +498,7 @@ "path": "property/vehicle", "style": { "navigationBarTitleText": "三轮车游走", - "enablePullDownRefresh": true, + "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#0122C7", "navigationBarTextStyle": "white" } diff --git a/subpkg/property/vehicle.vue b/subpkg/property/vehicle.vue index d661588..99fae93 100644 --- a/subpkg/property/vehicle.vue +++ b/subpkg/property/vehicle.vue @@ -10,52 +10,55 @@ - - - - - 中转站:  恐惧发现不舒服1还得上课讲话方式打开就 + + + + 中转站: + + {{address.terminus.address}} - + - 车辆状态:已完成 + 车辆状态:已完成 进行中 - - - 终 点:  恐惧发现不舒服1还得上课讲话方式打开就 - - + + + + 终 点: + + {{address.transfer.address}} + + - 车辆状态:已完成 + 车辆状态:已完成 进行中 - - + - + +