Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Starter Web Vue
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
product
kim3-web-vue
Starter Web Vue
Commits
787c4982
Commit
787c4982
authored
Jul 04, 2021
by
陈浩玮
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/chw' into 'master'
todo See merge request product/kim3-web-vue/starter-web-vue!26
parents
fcfc93d2
3c1c398e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
39 deletions
+1
-39
src/pages/user/components/todo.vue
src/pages/user/components/todo.vue
+1
-39
No files found.
src/pages/user/components/todo.vue
View file @
787c4982
<
template
>
<Table
url=
"/api/v1/logger/login"
rowKey=
"logId"
addBtn
:actions=
"actions"
ref=
"table"
>
<template
#search
="
{query}">
<my-form-item
label=
"开始时间"
>
<a-date-picker
class=
"tw-w-full"
show-time
v-model=
"query.startTime"
valueFormat=
"YYYY-MM-DD HH:mm:ss"
/>
</my-form-item>
</
template
>
<
template
#drawer=
"{hidden}"
>
<Form
:hidden=
"hidden"
/>
</
template
>
<a-table-column
title=
"用户Id"
data-index=
"userId"
/>
<a-table-column
title=
"登录用户"
data-index=
"userName"
/>
<a-table-column
title=
"登录IP"
data-index=
"loginIp"
/>
<a-table-column
title=
"事件类型"
data-index=
"loginTypeName"
/>
<a-table-column
title=
"事件状态"
data-index=
"isSuccessName"
/>
<a-table-column
title=
"登录时间"
data-index=
"loginTime"
/>
<a-table-column
title=
"说明"
data-index=
"logResultContent"
/>
</Table>
<h1>
TODO
</h1>
</
template
>
<
script
>
import
Table
from
'
@/components/table/table.vue
'
;
import
Form
from
'
./form.vue
'
;
export
default
{
components
:
{
Table
,
Form
},
data
:
()
=>
({
addBtn
:
{
text
:
'
新增
'
,
},
actions
:
[],
}),
};
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment