|
|
@ -7,7 +7,7 @@ |
|
|
|
<div style="height: 40px;font-weight: 600; font-size: 16px;line-height: 40px"> |
|
|
|
<div style="height: 40px;font-weight: 600; font-size: 16px;line-height: 40px"> |
|
|
|
待办 |
|
|
|
待办 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div id="todoDiv" style="height: 250px;overflow-y: auto;margin: 10px 0 0 0;" @scroll="heightScrollTodo()"> |
|
|
|
<div id="todoDiv" style="height: 250px;overflow-y: auto;margin: 0 0 0 0;" @scroll="heightScrollTodo()"> |
|
|
|
<a-table |
|
|
|
<a-table |
|
|
|
rowKey="id" |
|
|
|
rowKey="id" |
|
|
|
:loading="loading" |
|
|
|
:loading="loading" |
|
|
@ -25,7 +25,7 @@ |
|
|
|
<div style="height: 40px;font-weight: 600; font-size: 16px;line-height: 40px"> |
|
|
|
<div style="height: 40px;font-weight: 600; font-size: 16px;line-height: 40px"> |
|
|
|
站内消息 |
|
|
|
站内消息 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div id="messageDiv" style="height: 250px;overflow-y: auto;margin: 10px 0 0 0;" @scroll="heightScrollMessage()"> |
|
|
|
<div id="messageDiv" style="height: 250px;overflow-y: auto;margin: 0 0 0 0;" @scroll="heightScrollMessage()"> |
|
|
|
<a-table |
|
|
|
<a-table |
|
|
|
rowKey="id" |
|
|
|
rowKey="id" |
|
|
|
:loading="loading" |
|
|
|
:loading="loading" |
|
|
@ -43,7 +43,7 @@ |
|
|
|
<div style="height: 40px;font-weight: 600; font-size: 16px;line-height: 40px"> |
|
|
|
<div style="height: 40px;font-weight: 600; font-size: 16px;line-height: 40px"> |
|
|
|
登录日志 |
|
|
|
登录日志 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div id="logDiv" style="height: 250px;overflow-y: auto;margin: 10px 0 0 0;" @scroll="heightScroll()"> |
|
|
|
<div id="logDiv" style="height: 250px;overflow-y: auto;margin: 0 0 0 0;" @scroll="heightScroll()"> |
|
|
|
<a-table |
|
|
|
<a-table |
|
|
|
rowKey="id" |
|
|
|
rowKey="id" |
|
|
|
:loading="loading" |
|
|
|
:loading="loading" |
|
|
@ -52,6 +52,9 @@ |
|
|
|
:dataSource="loginLogs" |
|
|
|
:dataSource="loginLogs" |
|
|
|
:pagination="false" |
|
|
|
:pagination="false" |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
<span slot="post" slot-scope="text, record"> |
|
|
|
|
|
|
|
<j-ellipsis :value="text" :length="5"/> |
|
|
|
|
|
|
|
</span> |
|
|
|
</a-table> |
|
|
|
</a-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-card> |
|
|
|
</a-card> |
|
|
@ -59,7 +62,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!--全部应用--> |
|
|
|
<!--全部应用--> |
|
|
|
<a-card class="bottom-card" title="全部应用" style="width: 100%; height:60%; margin-top: 11px; overflow-y: hidden" :headStyle="{}" :bodyStyle="{height:'100%' , overflow:'hidden'}" > |
|
|
|
<a-card class="bottom-card" title="全部应用" style="width: 100%; height:60%; margin-top: 11px; overflow-y: hidden" :headStyle="{}" :bodyStyle="{height:'100%' , overflow:'hidden'}" > |
|
|
|
<div style="max-height: 370px;overflow-y: auto;"> |
|
|
|
<div style="max-height: 380px;overflow-y: auto;"> |
|
|
|
<span class="ant-col-md-3" v-for="(item,index) in userChildren" @click="goRouteView(item.path)" :title="item.meta.title" |
|
|
|
<span class="ant-col-md-3" v-for="(item,index) in userChildren" @click="goRouteView(item.path)" :title="item.meta.title" |
|
|
|
style="display: inline-block; margin: 20px;"> |
|
|
|
style="display: inline-block; margin: 20px;"> |
|
|
|
<a-icon :type="item.meta.icon" :style="{'color':item.color}" style="font-size: 25px"></a-icon> {{ item.meta.title }} |
|
|
|
<a-icon :type="item.meta.icon" :style="{'color':item.color}" style="font-size: 25px"></a-icon> {{ item.meta.title }} |
|
|
@ -86,11 +89,6 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
//登录日志查询条件 |
|
|
|
|
|
|
|
queryParam:{ |
|
|
|
|
|
|
|
logType:1, |
|
|
|
|
|
|
|
keyWord:'登录成功', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
isorter:{ |
|
|
|
isorter:{ |
|
|
|
column: 'createTime', |
|
|
|
column: 'createTime', |
|
|
|
order: 'desc', |
|
|
|
order: 'desc', |
|
|
@ -98,7 +96,7 @@ export default { |
|
|
|
//待办 登录日志 站内消息查询地址 |
|
|
|
//待办 登录日志 站内消息查询地址 |
|
|
|
url: { |
|
|
|
url: { |
|
|
|
todoManger: '/actTask/todoList', |
|
|
|
todoManger: '/actTask/todoList', |
|
|
|
lists: '/sys/log/list', |
|
|
|
lists: '/sys/log/listHomePage', |
|
|
|
listMseeage: '/sys/sysAnnouncementSend/getMyAnnouncementSend', |
|
|
|
listMseeage: '/sys/sysAnnouncementSend/getMyAnnouncementSend', |
|
|
|
}, |
|
|
|
}, |
|
|
|
//待办显示内容 |
|
|
|
//待办显示内容 |
|
|
@ -125,13 +123,14 @@ export default { |
|
|
|
loginColumns:[ |
|
|
|
loginColumns:[ |
|
|
|
{ |
|
|
|
{ |
|
|
|
align:"left", |
|
|
|
align:"left", |
|
|
|
dataIndex: 'logType_dictText', |
|
|
|
scopedSlots: { customRender: 'post' }, |
|
|
|
|
|
|
|
dataIndex: 'post', |
|
|
|
ellipsis: true, |
|
|
|
ellipsis: true, |
|
|
|
sorter: true |
|
|
|
sorter: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
align:"left", |
|
|
|
align:"left", |
|
|
|
dataIndex: 'username', |
|
|
|
dataIndex: 'userName', |
|
|
|
ellipsis: true, |
|
|
|
ellipsis: true, |
|
|
|
sorter: true |
|
|
|
sorter: true |
|
|
|
}, |
|
|
|
}, |
|
|
@ -209,7 +208,7 @@ export default { |
|
|
|
//登录日志无限滚动 |
|
|
|
//登录日志无限滚动 |
|
|
|
heightScroll() { |
|
|
|
heightScroll() { |
|
|
|
if (document.getElementById("logDiv").scrollTop + document.getElementById("logDiv").offsetHeight >= document.getElementById("logDiv").scrollHeight) { |
|
|
|
if (document.getElementById("logDiv").scrollTop + document.getElementById("logDiv").offsetHeight >= document.getElementById("logDiv").scrollHeight) { |
|
|
|
let param = Object.assign({}, this.queryParam, this.isorter); |
|
|
|
let param = Object.assign({}); |
|
|
|
this.pageSizeLog=this.pageSizeLog+1; |
|
|
|
this.pageSizeLog=this.pageSizeLog+1; |
|
|
|
param.pageNo=this.pageSizeLog; |
|
|
|
param.pageNo=this.pageSizeLog; |
|
|
|
getAction(this.url.lists,param).then((res) => { |
|
|
|
getAction(this.url.lists,param).then((res) => { |
|
|
@ -318,8 +317,7 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
// 登录日志查询 |
|
|
|
// 登录日志查询 |
|
|
|
loginList(){ |
|
|
|
loginList(){ |
|
|
|
let param = Object.assign({}, this.queryParam, this.isorter); |
|
|
|
let param = Object.assign({} ); |
|
|
|
|
|
|
|
|
|
|
|
getAction(this.url.lists,param).then((res) => { |
|
|
|
getAction(this.url.lists,param).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
if (res.success) { |
|
|
|
console.log("resnew") |
|
|
|
console.log("resnew") |
|
|
|