caojunjie 3 years ago
parent
commit
c08e6b3eb6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/landTransportation/bulkCargo/index.vue

+ 4 - 0
src/views/landTransportation/bulkCargo/index.vue

@@ -1041,12 +1041,16 @@ export default {
     // this.option = this.optionListTwo
     // this.option = this.optionListTwo
     // this.option = this.optionListThree
     // this.option = this.optionListThree
     if (this.roleName.indexOf('客户') !== -1 || this.roleName.indexOf('admin') !== -1){
     if (this.roleName.indexOf('客户') !== -1 || this.roleName.indexOf('admin') !== -1){
+      this.activeName = '0'
       this.optionList = this.optionListOne
       this.optionList = this.optionListOne
     }else if (this.roleName.indexOf('平台') !== -1){
     }else if (this.roleName.indexOf('平台') !== -1){
+      this.activeName = '0'
       this.optionList = this.optionListTwo
       this.optionList = this.optionListTwo
     }else if (this.roleName.indexOf('车队') !== -1){
     }else if (this.roleName.indexOf('车队') !== -1){
+      this.activeName = '2'
       this.optionList = this.optionListThree
       this.optionList = this.optionListThree
     }else {
     }else {
+      this.activeName = '3'
       this.optionList = this.optionListFour
       this.optionList = this.optionListFour
     }
     }
     this.option = await this.getColumnData(this.getColumnName(85.7), this.optionList);
     this.option = await this.getColumnData(this.getColumnName(85.7), this.optionList);