|
|
@@ -9,18 +9,12 @@ |
|
|
|
<i class="icon-navicon" @click="setCollapse" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="top-bar__title"> |
|
|
|
<div v-if="showMenu" class="top-bar__item top-bar__item--show"> |
|
|
|
<top-menu /> |
|
|
|
<div |
|
|
|
style=" |
|
|
|
margin-top: 15px; |
|
|
|
display: flex; |
|
|
|
line-height: 30px; |
|
|
|
cursor: pointer; |
|
|
|
" |
|
|
|
> |
|
|
|
<div class="daili " @click="goChange"> |
|
|
|
<div class="top-bar__title" style="display: flex;align-items: center;"> |
|
|
|
<div @click="goChange" style="line-height: 64px;cursor: pointer; display: flex;align-items: center;height:64px;"> |
|
|
|
<div class="daili2"> |
|
|
|
<img class="daili2img" src="/img/qh2.png" alt="" /> |
|
|
|
</div> |
|
|
|
<div class="daili "> |
|
|
|
{{ |
|
|
|
orgType == 0 |
|
|
|
? "系统后台" |
|
|
@@ -31,21 +25,18 @@ |
|
|
|
: "楼盘后台" |
|
|
|
}} |
|
|
|
</div> |
|
|
|
<span style="font-size: 16px; margin-left: 20px">{{ |
|
|
|
companyName |
|
|
|
}}</span> |
|
|
|
<span class="change" @click="goBack">切换</span> |
|
|
|
<!-- <span style="color:#fff; margin-right:10px;">楼盘选择:</span> |
|
|
|
<el-select v-model="value" placeholder="请选择" @change="selectChange"> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.id" |
|
|
|
:label="item.propertyName" |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> --> |
|
|
|
</div> |
|
|
|
<div v-if="companyName" @click="goBack" style="line-height: 64px;cursor: pointer; display: flex;align-items: center;height:64px;margin-left: 20px;"> |
|
|
|
<div class="daili2"> |
|
|
|
<img class="daili2img" src="/img/qh1.png" alt="" /> |
|
|
|
</div> |
|
|
|
<div class="daili "> |
|
|
|
{{ |
|
|
|
companyName |
|
|
|
}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="top-bar__right"> |
|
|
|
<el-tooltip |
|
|
@@ -196,20 +187,6 @@ export default { |
|
|
|
handleScreen() { |
|
|
|
fullscreenToggel(); |
|
|
|
}, |
|
|
|
selectChange(e) { |
|
|
|
console.log(e); |
|
|
|
this.$emit("selectChange"); //关闭所有 |
|
|
|
localStorage.setItem("houseId", e); |
|
|
|
}, |
|
|
|
// getHouseList(){ |
|
|
|
// this.$api.api.queryHouseByUsername() |
|
|
|
// .then(res=>{ |
|
|
|
// // console.log(res); |
|
|
|
// this.options=res.data |
|
|
|
// this.value=res.data[0].id |
|
|
|
// localStorage.setItem('houseId',this.value) |
|
|
|
// }) |
|
|
|
// }, |
|
|
|
goBack() { |
|
|
|
// 判断后退是否退回去选择页面 |
|
|
|
let idx = localStorage.getItem("orgType"); |
|
|
@@ -422,16 +399,19 @@ export default { |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
.daili { |
|
|
|
// width: 100px; |
|
|
|
height: 30px; |
|
|
|
// background: #2671e2; |
|
|
|
border-radius: 4px; |
|
|
|
line-height: 30px; |
|
|
|
text-align: center; |
|
|
|
color: #ffffff; |
|
|
|
font-size: 14px; |
|
|
|
padding: 0 10px; |
|
|
|
font-size: 15px; |
|
|
|
margin-left: 4px; |
|
|
|
} |
|
|
|
.daili2{ |
|
|
|
height: 100%; |
|
|
|
line-height: 58px; |
|
|
|
.daili2img{ |
|
|
|
width: 15px; |
|
|
|
height: 14px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.change { |
|
|
|
font-size: 16px; |
|
|
|
// color: #2671e2; |
|
|
|