Commit 0ce61037 authored by co_dengxiongwen's avatar co_dengxiongwen

tj

parent ff58e4ad
<template> <template>
<div class="d2-layout-header-aside-group" :style="styleLayoutMainGroup" :class="{ grayMode: grayActive }"> <div
class="d2-layout-header-aside-group"
:style="styleLayoutMainGroup"
:class="{ grayMode: grayActive }"
>
<!-- 半透明遮罩 --> <!-- 半透明遮罩 -->
<div class="d2-layout-header-aside-mask"></div> <div class="d2-layout-header-aside-mask"></div>
<!-- 主体内容 --> <!-- 主体内容 -->
<div class="d2-layout-header-aside-content" flex="dir:top"> <div class="d2-layout-header-aside-content" flex="dir:top">
<!-- 顶栏 --> <!-- 顶栏 -->
<div class="d2-theme-header" flex-box="0" flex> <div class="d2-theme-header" flex-box="0" flex>
<div class="logo-group" :style="{width: asideWidth}" flex-box="0"> <div class="logo-group" :style="{ width: asideWidth }" flex-box="0">
<img src="./imgs/train.png"> <img src="./imgs/train.png" />
<img src="./imgs/logo2x.png"> <img src="./imgs/logo2x.png" />
</div> </div>
<div style='width:100%;'> <div style="width: 100%">
<div flex-box="1"></div> <div flex-box="1"></div>
<!-- 顶栏右侧 --> <!-- 顶栏右侧 -->
<div class="d2-header-right"> <div class="d2-header-right">
...@@ -41,7 +45,12 @@ ...@@ -41,7 +45,12 @@
</div> </div>
</el-badge> --> </el-badge> -->
<d2-header-user /> <d2-header-user />
<div title="退出" class="msg-img" style="cursor: pointer;" @click="logOff"> <div
title="退出"
class="msg-img"
style="cursor: pointer"
@click="logOff"
>
<img src="./imgs/out.png" /> <img src="./imgs/out.png" />
</div> </div>
</div> </div>
...@@ -50,10 +59,15 @@ ...@@ -50,10 +59,15 @@
<!-- 下面 主体 --> <!-- 下面 主体 -->
<div class="d2-theme-container" flex-box="1" flex> <div class="d2-theme-container" flex-box="1" flex>
<!-- 主体 侧边栏 --> <!-- 主体 侧边栏 -->
<div flex-box="0" ref="aside" class="d2-theme-container-aside" :style="{ <div
width:asideWidth, flex-box="0"
ref="aside"
class="d2-theme-container-aside"
:style="{
width: asideWidth,
opacity: this.searchActive ? 0.5 : 1 opacity: this.searchActive ? 0.5 : 1
}"> }"
>
<d2-menu-side /> <d2-menu-side />
</div> </div>
<!-- 主体 --> <!-- 主体 -->
...@@ -72,8 +86,8 @@ ...@@ -72,8 +86,8 @@
</transition> </transition>
</div> </div>
</div> </div>
<div style="z-index:9999!important;user-select:none;" class="mfooter"> <div style="z-index: 9999 !important; user-select: none" class="mfooter">
Copyright (C) 2009-2010. XXXXX信息工程有限公司 蜀ICP备1202XXXX号-1 Copyright (C) 2021-2022. XXXXX信息工程有限公司 蜀ICP备1202XXXX号-1
电话:86-028-689XXXX 传真:86-028-6893XXXX 电话:86-028-689XXXX 传真:86-028-6893XXXX
</div> </div>
</div> </div>
...@@ -92,7 +106,6 @@ export default { ...@@ -92,7 +106,6 @@ export default {
'd2-menu-header': () => import('./components/menu-header'), 'd2-menu-header': () => import('./components/menu-header'),
'd2-header-theme': () => import('./components/header-theme'), 'd2-header-theme': () => import('./components/header-theme'),
'd2-header-user': () => import('./components/header-user') 'd2-header-user': () => import('./components/header-user')
}, },
data() { data() {
return { return {
...@@ -223,7 +236,7 @@ export default { ...@@ -223,7 +236,7 @@ export default {
.time-container { .time-container {
width: 93px; width: 93px;
text-align: center; text-align: center;
// border:1px solid red; // border:1px solid red;
padding: 2px; padding: 2px;
.current-time { .current-time {
font-size: 18px; font-size: 18px;
...@@ -256,8 +269,8 @@ export default { ...@@ -256,8 +269,8 @@ export default {
line-height: 37px; line-height: 37px;
text-align: center; text-align: center;
font-size: 14px; font-size: 14px;
color: #A0A8B4; color: #a0a8b4;
border: 1px solid #A0A8B4; border: 1px solid #a0a8b4;
border-radius: 50%; border-radius: 50%;
img { img {
width: 37px; width: 37px;
...@@ -269,8 +282,8 @@ export default { ...@@ -269,8 +282,8 @@ export default {
.weather-info { .weather-info {
width: 90px; width: 90px;
height: 36px; height: 36px;
border:1px solid; border: 1px solid;
border-color: #A0A8B4 #A0A8B4 #A0A8B4 transparent; border-color: #a0a8b4 #a0a8b4 #a0a8b4 transparent;
border-top-right-radius: 5px; border-top-right-radius: 5px;
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
transform: translateX(-19px); transform: translateX(-19px);
...@@ -311,7 +324,7 @@ export default { ...@@ -311,7 +324,7 @@ export default {
} }
// 注册主题 // 注册主题
@import "~@/assets/style/theme/register.scss"; @import '~@/assets/style/theme/register.scss';
// 左上角logo // 左上角logo
.d2-layout-header-aside-group .d2-layout-header-aside-group
.d2-layout-header-aside-content .d2-layout-header-aside-content
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
el-col(:span='24' ) el-col(:span='24' )
el-checkbox(v-model="formLogin.remember" checked) 记住密码 el-checkbox(v-model="formLogin.remember" checked) 记住密码
el-button(size="default" @click="submit" class='login-btn' :loading="loginLoad") 立即登录 el-button(size="default" @click="submit" class='login-btn' :loading="loginLoad") 立即登录
div.lFooter() Copyright (C) 2009-2010. XXXXX信息工程有限公司 蜀ICP备1202XXXX号-1 电话:86-028-6893XXXX 传真:86-028-6893XXXX div.lFooter() Copyright (C) 2021-2022. XXXXX信息工程有限公司 蜀ICP备1202XXXX号-1 电话:86-028-6893XXXX 传真:86-028-6893XXXX
</template> </template>
<script> <script>
......
...@@ -145,12 +145,12 @@ export default { ...@@ -145,12 +145,12 @@ export default {
// console.log(data) // console.log(data)
this.dataForm = data.user || {} this.dataForm = data.user || {}
this.dataForm.stationId = localStorage.getItem('stationId') this.dataForm.stationId = localStorage.getItem('stationId')
this.allJob.map(item => { this.allJob.map((item) => {
if (item.id === this.dataForm.job) { if (item.id === this.dataForm.job) {
this.dataForm.jobName = item.name this.dataForm.jobName = item.name
} }
}) })
this.nations.map(item => { this.nations.map((item) => {
if (item.id.toString() === this.dataForm.nation) { if (item.id.toString() === this.dataForm.nation) {
this.dataForm.nationName = item.name this.dataForm.nationName = item.name
} }
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
//获取民族信息 //获取民族信息
getNation() { getNation() {
this.$http({ this.$http({
url: this.$http.adornUrl('/emPerson/getAllNation'), url: this.$http.adornUrl('/sys/user/getAllNation'),
method: 'get' method: 'get'
}).then((data) => { }).then((data) => {
// console.log("data", data); // console.log("data", data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment