|
@@ -36,23 +36,19 @@
|
|
|
<div class="home-right">
|
|
|
<span
|
|
|
@click="dumpLegend"
|
|
|
- v-show="
|
|
|
- permissions ? permissions.includes('GLSMS_SYMBOL_MANAGE') : false
|
|
|
- "
|
|
|
+ v-show="permissions ? permissions.includes('GLSMS_SYMBOL_MANAGE') : false"
|
|
|
>
|
|
|
<img class="img1" src="../assets/imgs/scj.png" alt />
|
|
|
- <span class="span1" :style="showStyle?'color:#fff':''">图例库</span>
|
|
|
+ <span class="span1" :style="showStyle ? 'color:#fff' : ''">图例库</span>
|
|
|
</span>
|
|
|
|
|
|
<span
|
|
|
@click="toDrafts"
|
|
|
class="span-out"
|
|
|
- v-show="
|
|
|
- permissions ? permissions.includes('GLSMS_PLANARGRAPH_MANAGE') : false
|
|
|
- "
|
|
|
+ v-show="permissions ? permissions.includes('GLSMS_PLANARGRAPH_MANAGE') : false"
|
|
|
>
|
|
|
<img class="img2" src="../assets/imgs/cgx.png" alt />
|
|
|
- <span class="span2" :style="showStyle?'color:#fff':''">草稿箱</span>
|
|
|
+ <span class="span2" :style="showStyle ? 'color:#fff' : ''">草稿箱</span>
|
|
|
<span class="span2-num" v-if="draftNum && draftNum <= 99">{{
|
|
|
draftNum
|
|
|
}}</span>
|
|
@@ -65,7 +61,9 @@
|
|
|
</span>
|
|
|
<span>
|
|
|
<img class="img3" src="../assets/imgs/clock.png" alt />
|
|
|
- <span class="span3" :style="showStyle?'color:#fff':''">{{ times }}</span>
|
|
|
+ <span class="span3" :style="showStyle ? 'color:#fff' : ''">{{
|
|
|
+ times
|
|
|
+ }}</span>
|
|
|
</span>
|
|
|
<div class="checkkout" v-show="showStyleBtn">
|
|
|
<img
|
|
@@ -153,6 +151,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ setTimeout(()=>{
|
|
|
+ console.log('permissions',this.permissions)
|
|
|
+ },5000)
|
|
|
this.handleRoute(this.$route);
|
|
|
// 定时查询草稿箱数量
|
|
|
this.getDraftNum(); //首次查询
|
|
@@ -371,6 +372,7 @@ export default {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
background: linear-gradient(180deg, #103979 0%, #162653 100%);
|
|
|
+ margin-right: 0px;
|
|
|
.downright {
|
|
|
position: absolute;
|
|
|
width: 0;
|
|
@@ -407,8 +409,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.btnlist-style {
|
|
|
-
|
|
|
- flex: 1;
|
|
|
display: flex;
|
|
|
align-content: center;
|
|
|
& > div {
|
|
@@ -416,7 +416,7 @@ export default {
|
|
|
text-align: center;
|
|
|
background: url("../assets/imgs/btn-rect.png") no-repeat;
|
|
|
float: left;
|
|
|
- max-width:142px;
|
|
|
+ max-width: 142px;
|
|
|
min-width: 100px;
|
|
|
height: 48px;
|
|
|
margin: 0 8px;
|
|
@@ -432,7 +432,7 @@ export default {
|
|
|
}
|
|
|
.home-right {
|
|
|
float: right;
|
|
|
- margin-right: 20px;
|
|
|
+ margin-right: 40px;
|
|
|
line-height: 48px;
|
|
|
color: #646c73;
|
|
|
font-size: 14px;
|
|
@@ -473,6 +473,7 @@ export default {
|
|
|
.menu-style {
|
|
|
background: #0c102c;
|
|
|
display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
}
|
|
|
.checkkout {
|
|
|
display: flex;
|