dedsudiyu 1 éve
szülő
commit
d5dfda5053

+ 1 - 0
src/views/comprehensive/personnel/visitor/index.vue

@@ -110,6 +110,7 @@
             <!--</div>-->
           <!--</template>-->
         <!--</el-table-column>-->
+        <el-table-column label="访客账号" align="left" prop="userName" show-overflow-tooltip width="200"/>
         <el-table-column label="性别" align="left" prop="sex" show-overflow-tooltip width="100">
           <template slot-scope="scope">
             {{scope.row.sex ==0?'男':'女'}}

+ 1 - 1
src/views/home.vue

@@ -36,7 +36,7 @@
       this.routeData = JSON.parse(localStorage.getItem("routeData"))
       if(localStorage.getItem('initPage') == 'true'){
         console.log("true")
-        if(localStorage.getItem('userType') == '22'){
+        if(localStorage.getItem('userType') == '22'||localStorage.getItem('userType') == '33'){
           for(let i=0;i<self.routeData.length;i++){
             if(!self.routeData[i].hidden&&self.routeData[i].name != 'Https://www.sxitdlc.com'){
               if (self.routeData[i].children){