DESKTOP-Q87JERS\YiGe 5 yıl önce
ebeveyn
işleme
a3f2cc545f

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
web/index.html


Dosya farkı çok büyük olduğundan ihmal edildi
+ 2 - 2
web/js/app.f1ea08ec.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
web/js/app.f1ea08ec.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 1
web/js/chunk-1d8e8d5c.294e5b2a.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 2 - 2
web/js/chunk-1d8e8d5c.294e5b2a.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
web/js/chunk-1d8e8d5c.561118e4.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 2 - 2
web/js/chunk-e1487306.e8ac5ebe.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
web/js/chunk-e1487306.7bfa0170.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 1
web/js/chunk-e1487306.e8ac5ebe.js.map


+ 2 - 2
webConfig/src/components/sideBar_idcol.vue

@@ -43,7 +43,7 @@
                         </p>
                         <div v-if="obj.isOpen" class="sideBar_project_box">
                             <div v-for="item in obj.sectionList"  :key="item.id" class="sideBar_project">
-                                <div class="sideBar_project_text" :class="{'sideBar_project_select':roadId==item.name}" @click.stop="click5(obj,item)">
+                                <div class="sideBar_project_text" :class="{'sideBar_project_select':roadId==item.name}" @click.stop="click5(obj,item,{})">
                                     <span :title="item.name">
                                         <span class="span1">{{item.name}}</span> 
                                     </span>
@@ -68,7 +68,7 @@
                                     <i class="el-icon-arrow-up" :style="{'transform':item.isOpen?'rotate(180deg)':''}"></i>
                                 </div>
                                 <template v-if="item.isOpen">
-                                    <div v-for="d in item.sectionList" :key="d.id" class="sideBar_road_text" :class="{'sideBar_road_select':roadId==d.name}" @click.stop="click5(item,d,obj)">
+                                    <div v-for="d in item.sectionList" :key="d.id" class="sideBar_road_text" :class="{'sideBar_road_select':roadId==d.name}" @click.stop="click5(obj,item,d)">
                                         <span>{{d.name}}</span>
                                     </div>
                                 </template>

+ 25 - 11
webConfig/src/views/projectManagement.vue

@@ -2231,9 +2231,11 @@
                 }
                 console.log(type,data)
                 storage.setItem('projectId',data.id);
-                if(d.cId != this.companyId){
-                    this.companyId = d.cId;
-                    storage.setItem('companyId',d.cId);
+                if(this.sideBarCompanyType != 0){
+                    if(d.cId != this.companyId){
+                        this.companyId = d.cId;
+                        storage.setItem('companyId',d.cId);
+                    }
                 }
                 this.projectId = data.id;
                 this.roadId = '';
@@ -2242,15 +2244,27 @@
             },
             roadSelectFun(data,obj,d){
                 var storage = window.localStorage;
-                if(d.cId != this.companyId){
-                    this.companyId = d.cId;
-                    storage.setItem('companyId',d.cId);
-                }
-                if(data.id != this.projectId){
-                    storage.setItem('projectId',data.id);
-                    this.projectId = data.id;
+                if(this.sideBarCompanyType == 0){
+                    // if(data.cId != this.companyId){
+                    //     this.companyId = d.cId;
+                    //     storage.setItem('companyId',d.cId);
+                    // }
+                    if(data.id != this.projectId){
+                        storage.setItem('projectId',data.id);
+                        this.projectId = data.id;
+                    }
+                    this.roadId = obj.name;
+                }else{
+                    if(data.cId != this.companyId){
+                        this.companyId = data.cId;
+                        storage.setItem('companyId',data.cId);
+                    }
+                    if(obj.id != this.projectId){
+                        storage.setItem('projectId',obj.id);
+                        this.projectId = obj.id;
+                    }
+                    this.roadId = d.name;
                 }
-                this.roadId = obj.name;
                 this.getLightList(this.currentPage);
                 this.getProjectData(this.projectId)