|
@@ -5,9 +5,10 @@
|
|
<div class="title">
|
|
<div class="title">
|
|
<span v-if="userinfo.orgName">{{userinfo.orgName}}</span >
|
|
<span v-if="userinfo.orgName">{{userinfo.orgName}}</span >
|
|
<span style="color: #0663FE;font-weight: 600;">{{ userinfo.schoolName }}</span>
|
|
<span style="color: #0663FE;font-weight: 600;">{{ userinfo.schoolName }}</span>
|
|
|
|
+ <span style="color: #0663FE;cursor: pointer;font-weight: 600;" v-if="isIndex2 == 2" @click="gotoli">返回校区</span>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<div class="person">
|
|
<div class="person">
|
|
- <el-button v-if="isIndex2 == 2" type="text" @click="gotoli" style="margin-right: 20px">返回校区</el-button>
|
|
|
|
<div class="person_name">
|
|
<div class="person_name">
|
|
<img
|
|
<img
|
|
@click="openData()"
|
|
@click="openData()"
|
|
@@ -28,7 +29,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="midBlo">
|
|
<div class="midBlo">
|
|
<div class="buttonArea">
|
|
<div class="buttonArea">
|
|
- <div style="width: 500px;display: flex;gap: 100px;">
|
|
|
|
|
|
+ <div :style="{width: '500px',display: 'flex',justifyContent : userinfo.role == 1 && userinfo.rrole == 1 && userinfo.type ==1? 'space-between' : 'center'}">
|
|
<div class="btnDiv" :class="{ active: isActive === 1 }" >
|
|
<div class="btnDiv" :class="{ active: isActive === 1 }" >
|
|
<div v-if="userinfo.role == 1 && userinfo.rrole == 1 && userinfo.type ==1" @click="setActive(1)">
|
|
<div v-if="userinfo.role == 1 && userinfo.rrole == 1 && userinfo.type ==1" @click="setActive(1)">
|
|
数据看板
|
|
数据看板
|
|
@@ -71,6 +72,7 @@ import AquickEntrance from './components/AquickEntrance';
|
|
import AschoolFeature from './components/AschoolFeature';
|
|
import AschoolFeature from './components/AschoolFeature';
|
|
import { mapGetters, mapActions } from 'vuex';
|
|
import { mapGetters, mapActions } from 'vuex';
|
|
import { loginOut } from '@/api/user';
|
|
import { loginOut } from '@/api/user';
|
|
|
|
+import store from '../../store'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name:'kanBan',
|
|
name:'kanBan',
|
|
@@ -110,7 +112,9 @@ export default {
|
|
logout: 'user/logout'
|
|
logout: 'user/logout'
|
|
}),
|
|
}),
|
|
// 返回首页
|
|
// 返回首页
|
|
- gotoli(){
|
|
|
|
|
|
+ async gotoli(){
|
|
|
|
+ await store.commit('user/SET_AppSIGN', '')
|
|
|
|
+
|
|
this.$router.push('/homepageL');
|
|
this.$router.push('/homepageL');
|
|
},
|
|
},
|
|
// 退出登录
|
|
// 退出登录
|
|
@@ -183,6 +187,7 @@ export default {
|
|
color: #969BA3;
|
|
color: #969BA3;
|
|
display: flex;
|
|
display: flex;
|
|
gap: 11px;
|
|
gap: 11px;
|
|
|
|
+ display: flex;
|
|
}
|
|
}
|
|
.person{
|
|
.person{
|
|
display: flex;
|
|
display: flex;
|
|
@@ -202,7 +207,7 @@ export default {
|
|
.personInfoTit{
|
|
.personInfoTit{
|
|
font-family: PingFang SC;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
- font-size: 16px;
|
|
|
|
|
|
+ font-size: 14px;
|
|
line-height: 100%;
|
|
line-height: 100%;
|
|
color: #000000;
|
|
color: #000000;
|
|
}
|
|
}
|
|
@@ -269,16 +274,14 @@ export default {
|
|
|
|
|
|
.btnDiv {
|
|
.btnDiv {
|
|
height: 48px;
|
|
height: 48px;
|
|
- width: 64px;
|
|
|
|
|
|
+ width: 72px;
|
|
text-align: center;
|
|
text-align: center;
|
|
line-height: 48px;
|
|
line-height: 48px;
|
|
- margin-left: 15px;
|
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ /* margin-left: 15px; */
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
|
|
-/* .btnDiv:hover {
|
|
|
|
- background-color: #d6d6e0;
|
|
|
|
-} */
|
|
|
|
|
|
|
|
.btnDiv.active {
|
|
.btnDiv.active {
|
|
font-weight: 600;
|
|
font-weight: 600;
|