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 @@