Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
a37bc7cf
Commit
a37bc7cf
authored
Apr 01, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'kk_mes'
parents
48b6d070
54d8522b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
index.vue
pages/basicData/roleManagent/index.vue
+3
-3
index.vue
pages/basicData/systemlog/index.vue
+7
-6
No files found.
pages/basicData/roleManagent/index.vue
View file @
a37bc7cf
...
@@ -291,7 +291,7 @@ export default {
...
@@ -291,7 +291,7 @@ export default {
service
service
.
delete
(
`
${
systemUrl
}
/MyRole/Delete?id=
${
this
.
keyid
}
`
)
.
delete
(
`
${
systemUrl
}
/MyRole/Delete?id=
${
this
.
keyid
}
`
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
data
.
success
)
{
if
(
response
.
success
)
{
that
.
$Message
.
success
(
'删除成功'
)
that
.
$Message
.
success
(
'删除成功'
)
that
.
loaddata
()
that
.
loaddata
()
}
}
...
@@ -322,7 +322,7 @@ export default {
...
@@ -322,7 +322,7 @@ export default {
JSON
.
stringify
(
this
.
formValidate1
)
JSON
.
stringify
(
this
.
formValidate1
)
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
data
.
success
)
{
if
(
response
.
success
)
{
that
.
$Message
.
success
(
'保存成功'
)
that
.
$Message
.
success
(
'保存成功'
)
that
.
loaddata
()
that
.
loaddata
()
}
}
...
@@ -337,7 +337,7 @@ export default {
...
@@ -337,7 +337,7 @@ export default {
JSON
.
stringify
(
this
.
formValidate1
)
JSON
.
stringify
(
this
.
formValidate1
)
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
data
.
success
)
{
if
(
response
.
success
)
{
this
.
$Message
.
success
(
'保存成功'
)
this
.
$Message
.
success
(
'保存成功'
)
that
.
loaddata
()
that
.
loaddata
()
}
}
...
...
pages/basicData/systemlog/index.vue
View file @
a37bc7cf
...
@@ -18,9 +18,9 @@
...
@@ -18,9 +18,9 @@
<Input
v-model=
"model2"
placeholder=
"用户账户/姓名"
style=
"width: 240px"
></Input>
<Input
v-model=
"model2"
placeholder=
"用户账户/姓名"
style=
"width: 240px"
></Input>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
</div>
</div>
<div
style=
"float:right"
class=
"paddingbtn"
>
<
!--
<
div
style=
"float:right"
class=
"paddingbtn"
>
<Button
type=
"primary"
@
click=
"export2Excel"
style=
"margin-left:6px"
>
导出
</Button>
<Button
type=
"primary"
@
click=
"export2Excel"
style=
"margin-left:6px"
>
导出
</Button>
</div>
</div>
-->
</div>
</div>
<div
class=
"mt10"
>
<div
class=
"mt10"
>
<tb
:tbPro=
"tbPro"
ref=
"table"
></tb>
<tb
:tbPro=
"tbPro"
ref=
"table"
></tb>
...
@@ -183,8 +183,8 @@ export default {
...
@@ -183,8 +183,8 @@ export default {
})
})
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
//console.log(response)
//console.log(response)
this
.
total
=
response
.
data
.
result
.
totalCount
this
.
total
=
response
.
result
.
totalCount
this
.
tbPro
.
data
=
response
.
data
.
result
.
items
this
.
tbPro
.
data
=
response
.
result
.
items
this
.
tbPro
.
loading
=
false
this
.
tbPro
.
loading
=
false
})
})
},
},
...
@@ -196,7 +196,8 @@ export default {
...
@@ -196,7 +196,8 @@ export default {
this
.
pageSize
=
val
this
.
pageSize
=
val
this
.
lodata
()
this
.
lodata
()
},
},
// export2Excel() {
export2Excel
()
{
// require.ensure([], () => {
// require.ensure([], () => {
// const { export_json_to_excel } = require('@/vendor/Export2Excel')
// const { export_json_to_excel } = require('@/vendor/Export2Excel')
// const tHeader = [
// const tHeader = [
...
@@ -246,7 +247,7 @@ export default {
...
@@ -246,7 +247,7 @@ export default {
// export_json_to_excel(tHeader, data, '系统日志')
// export_json_to_excel(tHeader, data, '系统日志')
// })
// })
// })
// })
//
},
},
formatJson
(
filterVal
,
jsonData
)
{
formatJson
(
filterVal
,
jsonData
)
{
return
jsonData
.
map
((
v
)
=>
filterVal
.
map
((
j
)
=>
v
[
j
]))
return
jsonData
.
map
((
v
)
=>
filterVal
.
map
((
j
)
=>
v
[
j
]))
}
}
...
...
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