From f6ba33b0a2fae7b95ed35471ec4b7dcd400e0a01 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Wed, 23 Aug 2023 16:26:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=98=B2=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mine.js | 7 ++ src/components/commonBtn.vue | 4 +- src/components/twoBtnCommon.vue | 6 +- src/utils/http.js | 34 +++++---- src/views/index/invoicingDetail.vue | 6 +- src/views/index/invoicingNotify.vue | 4 +- src/views/index/reporting.vue | 4 +- src/views/index/toDoList.vue | 8 +- src/views/index/vehicleAdd.vue | 110 +++++++++++----------------- src/views/index/vehicleManage.vue | 12 +-- src/views/index/workOrderDetail.vue | 7 +- 11 files changed, 95 insertions(+), 107 deletions(-) diff --git a/src/api/mine.js b/src/api/mine.js index 55f410fc..b9c5ee05 100644 --- a/src/api/mine.js +++ b/src/api/mine.js @@ -42,6 +42,13 @@ export function vehicleTypeList(){ url:'/supplierAppV2/dispatchApp/user/vehicleTypeList', method:'POST' }) +} + // 服务商服务能力 +export function supplierServiceTree(){ + return request({ + url:'/supplierAppV2/dispatchApp/user/supplierServiceTree', + method:'POST' + }) } //司机列表 export function driverList(data){ diff --git a/src/components/commonBtn.vue b/src/components/commonBtn.vue index c3f1c2bc..72cbedea 100644 --- a/src/components/commonBtn.vue +++ b/src/components/commonBtn.vue @@ -1,12 +1,14 @@ diff --git a/src/views/index/reporting.vue b/src/views/index/reporting.vue index f2d08a50..7a9f003f 100644 --- a/src/views/index/reporting.vue +++ b/src/views/index/reporting.vue @@ -90,12 +90,12 @@ export default { reportingItem:this.radio ? this.radio : "", reportingDesc:this.decscripTxt ? this.decscripTxt : "" }) - if(result.code === 200){ + // if(result.code === 200){ this.$toast(result.msg) setTimeout(()=>{ window.android.sendMessage("goBack"); },2000) - } + // } }else{ this.$toast("报备事项和报备描述必填一项") } diff --git a/src/views/index/toDoList.vue b/src/views/index/toDoList.vue index 3c3a1728..e701fc70 100644 --- a/src/views/index/toDoList.vue +++ b/src/views/index/toDoList.vue @@ -37,15 +37,15 @@ export default { methods:{ async getList(){ let result=await getToDoList(); - if(result.code === 200){ + // if(result.code === 200){ this.todolist=result.data; - if(this.todolist.length === 0){ + if(this.todolist?.length === 0){ this.show=true }else { this.show=false } - console.log("this.todolist",this.todolist.length) - } + // console.log("this.todolist",this.todolist?.length) + // } }, async noPass(item){ let result=await toDoAudit({ diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index 953076a1..addc91e0 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -57,68 +57,28 @@
-
+
- 拖车服务: + {{ item.name }}:
- - 故障——平板拖车 - - - - 事故——平板拖车 - - - -
-
-
- 小修服务: - -
- - - 换胎 - - - - 搭电 - - - - 送油 - - - - 送水 + + {{item2.name }} + + + + + + + +
@@ -129,7 +89,7 @@