Commit 8bd75631 authored by Mac's avatar Mac

1

parent 058dbaf4
......@@ -144,9 +144,12 @@ export default {
this.$emit('close')
},
goUrlgeren(){//个人资料
this.$router.push({
path: '/user/personalData',
})
this.$root.$emit("goworkobj")
this.$router.push({
path: '/user/personalData',
})
},
undefinedGongneng() {
this.$q.dialog({
......
......@@ -6,7 +6,7 @@
.summaryInfo .box_t_item {
background: #FFF;
height: 468px;
height: 368px;
border-radius: 6px;
padding: 30px 20px;
}
......@@ -29,6 +29,7 @@
padding: 20px;
display: flex;
align-items: flex-start;
border-bottom: 1px solid #e2e2e2;
}
......@@ -53,7 +54,7 @@
display: flex;
align-items: center;
justify-content: center;
background: #E1E9FF;
background: #F2F3F9;
}
.summaryInfo .noticeitem_l_img{
background: url('../../assets/images/Noticen.png');
......@@ -62,11 +63,20 @@
width: 41px;
height: 39px;
}
.summaryInfo .noticeitem:hover .noticeitem_l {
width: 82px;
height: 82px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
background: #E1E9FF;
}
.summaryInfo .noticeitem:hover .gonggaoName{
font-size: 16px;font-family: PingFang SC;font-weight: 800;color: #2961FE;
font-size: 16px;font-family: PingFang SC;font-weight: 800;color: #2961FE;width: 1px;flex: 1;overflow: hidden;white-space: nowrap; text-overflow: ellipsis
}
.summaryInfo .gonggaoName{
font-size: 16px;font-family: PingFang SC;font-weight: 800;color: #3F4254;
font-size: 16px;font-family: PingFang SC;font-weight: 800;color: #3F4254;width: 1px;flex: 1;overflow: hidden;white-space: nowrap; text-overflow: ellipsis
}
.summaryInfo .box_c {
......@@ -169,31 +179,30 @@
<span class="box_t_itext">公告</span>
</div>
</div>
<div class="scrollbox" v-if='noticeList.length>0' style="margin-top: 10px;background: #fff;height: 368px; width: 100%;overflow-y: auto;cursor: pointer;padding: 2px;">
<div class="scrollbox" v-if='noticeList.length>0' style="margin-top: 10px;background: #fff;height: 268px; width: 100%;overflow-y: auto;cursor: pointer;padding: 2px;">
<div v-if='noticeList.length>0'>
<div v-for="(item,index) in noticeList" :key='index' class="noticeitem"
@click="goNoticeDetail(item)">
<div class="noticeitem_l">
<!-- <div class="noticeitem_l">
<div class="noticeitem_l_img"></div>
<!-- <img src="../../assets/images/Noticen.png"
style="width: 41px;height: 39px; " /> -->
</div>
<div style="width: 1px;flex: 1;margin-left: 20px;">
</div> -->
<div style="width: 1px;flex: 1;">
<div style="width: 100%;display: flex;align-items: flex-start;justify-content: space-between;">
<span class="gonggaoName" >{{item.UpdateByName}}</span>
<span class="gonggaoName" >{{item.Title}}</span>
<span style="font-size: 14px;font-weight: 500;color: #C4C6D1;">{{item.DayStr}}</span>
</div>
<div style="font-size: 14px; font-family: PingFang SC;font-weight: 400;color: #9A9DAB;margin-top: 10px;overflow: hidden;white-space: nowrap; text-overflow: ellipsis">
{{item.Title}}
<div style="font-size: 14px; font-family: PingFang SC;font-weight: 400;color: #9A9DAB;margin-top: 10px;display: flex;align-items: center;">
<span>{{item.UpdateByName}}</span> <span style="margin-left: 20px;">编号:{{item.Number}}</span>
</div>
<div style="font-size: 14px; font-family: PingFang SC;font-weight: 400;color: #9A9DAB;margin-top: 10px;"> 编号:{{item.Number}}</div>
</div>
</div>
<div class="notifyLoadMore" style="text-align: center;margin-top: 10px;" v-if="noticeMsg.pageSize<Count" @click="getMoreNotify()">
<span>加载更多</span>
</div>
</div>
<div v-else style="width: 100%;height: 80px;text-align: center;line-height: 80px;color: #9A9DAB;">暂无数据</div>
<div v-else class="q-mt-lg flex column justify-center items-center">
<span class="q-mt-md remark-font">没有找到相关数据信息</span>
</div>
</div>
</div>
......@@ -208,7 +217,7 @@
</div>
</div>
<div class="scrollbox"
style="margin-top: 10px;background: #fff;height: 368px; width: 100%;overflow-y: auto;cursor: pointer;padding: 2px;">
style="margin-top: 10px;background: #fff;height: 268px; width: 100%;overflow-y: auto;cursor: pointer;padding: 2px;">
<q-list v-if="socektArr.length>0" >
<q-item class="q-my-sm q-pa-xs items-start" v-for="(x,i) in socektArr" :key="i" style="padding: 10px 0;"
clickable v-ripple @click="goMsgDetail(x.JumpUrl,x),readMsgLog(x.Id,i)">
......@@ -227,7 +236,9 @@
</q-item-section>
</q-item>
</q-list>
<div v-else style="width: 100%;height: 80px;text-align: center;line-height: 80px;color: #9A9DAB;">暂无数据</div>
<div v-else class="q-mt-lg flex column justify-center items-center">
<span class="q-mt-md remark-font">没有找到相关数据信息</span>
</div>
</div>
</div>
......
......@@ -178,15 +178,10 @@
if (this.userInfo && this.userInfo.MenuList) {
this.secondNavs = this.userInfo.MenuList.length > 0 ? this.userInfo.MenuList[i].SubList : []
}
// this.MsgBus.$on('add',(payload) => {
// let that= this
// that.userInfo.AccountName = payload.EmployeeName
// that.userInfo.UserIcon = payload.UserIcon
// that.userInfo.Email = payload.Email
// that.userInfo.SchoolName = payload.SchoolName
// // location.reload();
// });
this.$root.$on("goworkobj", (data)=>{
// this.setNavs(0)
this.secondNavs=[]
});
this.getLogList();
this.getMsg();
},
......
......@@ -51,6 +51,7 @@
padding-left: 39px;
/* margin-top: 55px; */
margin-top: 8px;
cursor: pointer;
}
.personalData .box_l_cen {
......@@ -63,6 +64,7 @@
color: #3F4254;
padding-left: 39px;
margin-top: 8px;
cursor: pointer;
justify-content: space-between;
}
......@@ -131,7 +133,7 @@
<span class="box_l_t_l">部门:</span>
<span>{{showObj.DeptName}}</span>
</div>
<!-- <div :class="rightType==0?'box_l_title':'box_l_cen'" @click='rightType=0'>概要信息</div> -->
<div :class="rightType==0?'box_l_title':'box_l_cen'" @click='rightType=0'>概要信息</div>
<!-- <div :class="rightType==3?'box_l_title':'box_l_cen'" @click='rightType=3'>预警信息</div> -->
<div :class="rightType==1?'box_l_title':'box_l_cen'" @click='rightType=1'>账户资料</div>
<div :class="rightType==2?'box_l_title':'box_l_cen'" @click='rightType=2'>密码修改</div>
......@@ -237,7 +239,7 @@
loading1: false,
loading2:false,
showObj: {},
rightType: 1,//右边显示类型
rightType: 0,//右边显示类型
datamodify: {},
CompanyList: [],
passwordMsg:Object.assign({},defaultpassword),
......
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