|
@@ -6,7 +6,7 @@
|
|
|
<el-col :span="12">
|
|
|
<div class="logo-title">
|
|
|
<!-- <img src="../assets/images/mes412.png" alt="" class="imgg" /> -->
|
|
|
- <img :src="logo" alt="" class="imgg"/>
|
|
|
+ <img :src="logo" alt="" class="imgg" />
|
|
|
<span class="title">{{ title }}</span>
|
|
|
<!-- <img src="../assets/images/comlo.png" alt="" class="imgg" /> -->
|
|
|
</div>
|
|
@@ -20,7 +20,7 @@
|
|
|
<span style="">
|
|
|
<span class="jianbiase">{{ username || "默认用户" }}</span>
|
|
|
</span>
|
|
|
- <img :src="avatar" class="user-avatar"/>
|
|
|
+ <img :src="avatar" class="user-avatar" />
|
|
|
<!-- <i class="el-icon-caret-bottom" /> -->
|
|
|
</div>
|
|
|
<el-dropdown-menu slot="dropdown" style="margin-top: -20px">
|
|
@@ -61,11 +61,11 @@
|
|
|
>
|
|
|
<div :class="{ 'fixed-header': fixedHeader }">
|
|
|
<!-- <navbar /> -->
|
|
|
- <tags-view v-if="needTagsView"/>
|
|
|
+ <tags-view v-if="needTagsView" />
|
|
|
</div>
|
|
|
- <app-main/>
|
|
|
+ <app-main />
|
|
|
<right-panel>
|
|
|
- <settings/>
|
|
|
+ <settings />
|
|
|
</right-panel>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -73,17 +73,17 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import {mapGetters} from "vuex";
|
|
|
+import { mapGetters } from "vuex";
|
|
|
import RightPanel from "@/components/RightPanel";
|
|
|
-import {AppMain, Navbar, Settings, Sidebar, TagsView} from "./components";
|
|
|
+import { AppMain, Navbar, Settings, Sidebar, TagsView } from "./components";
|
|
|
import ResizeMixin from "./mixin/ResizeHandler";
|
|
|
-import {mapState} from "vuex";
|
|
|
+import { mapState } from "vuex";
|
|
|
import variables from "@/assets/styles/variables.scss";
|
|
|
import mes412 from "@/assets/images/mes412.svg";
|
|
|
import mecLogoLogin from "@/assets/images/mec-logo-login.svg";
|
|
|
import mecosLogo1 from "@/assets/images/mecosLogo1.svg";
|
|
|
|
|
|
-import {refreshToken} from "@/api/login";
|
|
|
+import { refreshToken } from "@/api/login";
|
|
|
|
|
|
export default {
|
|
|
name: "Layout",
|
|
@@ -168,11 +168,10 @@ export default {
|
|
|
// this.$router.push({path: "/login", query: {tenantCode: tenantCode}});
|
|
|
// });
|
|
|
})
|
|
|
- .catch(() => {
|
|
|
- });
|
|
|
+ .catch(() => {});
|
|
|
},
|
|
|
handleClickOutside() {
|
|
|
- this.$store.dispatch("app/closeSideBar", {withoutAnimation: false});
|
|
|
+ this.$store.dispatch("app/closeSideBar", { withoutAnimation: false });
|
|
|
},
|
|
|
getlogo() {
|
|
|
let logo = sessionStorage.getItem("logo");
|
|
@@ -295,7 +294,7 @@ export default {
|
|
|
.imgg {
|
|
|
/* width: 553px; */
|
|
|
|
|
|
- width: 270px;
|
|
|
+ width: 200px;
|
|
|
height: 80px;
|
|
|
// float: left;
|
|
|
margin-top: 7px;
|