Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
e4c0eba1
Commit
e4c0eba1
authored
Jan 18, 2022
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逻辑库 日志
parent
7d65f738
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
src/store/modules/ljk.js
+3
-1
src/views/SystemManage/systemLog.vue
+9
-7
No files found.
src/store/modules/ljk.js
View file @
e4c0eba1
...
...
@@ -62,6 +62,7 @@ const actions = {
params
.
userId
=
userInfo
.
user
.
id
params
.
userGroupIds
=
userInfo
.
groupIds
_axios
.
post
(
'/api/code/caseLogic'
,
params
).
then
(
res
=>
{
console
.
log
(
res
,
'/api/code/caseLogic luojiku '
)
if
(
res
.
data
.
code
==
0
&&
res
.
data
.
message
==
"success"
)
{
context
.
commit
(
'ljkAj'
,
res
.
data
.
ret
);
}
...
...
@@ -75,7 +76,8 @@ const actions = {
}
params
.
userId
=
userInfo
.
user
.
id
params
.
userGroupIds
=
userInfo
.
groupIds
_axios
.
get
(
'/api/code/allLogicName'
,
params
).
then
(
res
=>
{
_axios
.
post
(
'/api/code/allLogicName'
,
params
).
then
(
res
=>
{
console
.
log
(
res
,
'/api/code/allLogicName luojiku '
)
if
(
res
.
data
.
code
==
0
&&
res
.
data
.
message
==
"success"
)
{
context
.
commit
(
'ljkAll'
,
res
.
data
.
ret
);
}
...
...
src/views/SystemManage/systemLog.vue
View file @
e4c0eba1
...
...
@@ -40,7 +40,7 @@
>
清空
</el-button>
<el-button
class=
"cx"
@
click=
"getLogList"
@
click=
"getLogList
(1)
"
>
查询
</el-button>
</el-form-item>
</div>
...
...
@@ -154,7 +154,9 @@ export default {
this
.
width5
=
(
this
.
width5
*
w2
)
/
w1
;
},
methods
:
{
getLogList
()
{
getLogList
(
page
=
1
)
{
console
.
log
(
page
,
' getLogList (page = 1)'
)
this
.
systemLogParam
.
currPage
=
page
;
this
.
getParam
()
this
.
$axios
.
post
(
'/api/log/logList'
,
this
.
systemLogParam
)
...
...
@@ -174,8 +176,8 @@ export default {
},
// 筛选前页数为1
backNumOne
()
{
this
.
systemLogParam
.
currPage
=
1
// 当前页码
this
.
$forceUpdate
()
//
this.systemLogParam.currPage = 1// 当前页码
//
this.$forceUpdate()
},
// 格式化时间参数
getParam
()
{
...
...
@@ -211,9 +213,9 @@ export default {
},
// currentPage 改变时会触发
handleCurrentChange
(
page
)
{
this
.
systemLogParam
.
currPage
=
page
;
//console.log("当前页", this.reqParam.page.currP
age);
this
.
getLogList
();
//
this.systemLogParam.currPage = page;
console
.
log
(
"当前页"
,
p
age
);
this
.
getLogList
(
page
);
},
}
}
...
...
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