Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_sys_web
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
张伯涛
91isoft_sys_web
Commits
4d15ad62
Commit
4d15ad62
authored
Jul 07, 2022
by
zhuangxinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
e1005206
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
26 deletions
+38
-26
menu.js
src/api/system/menu.js
+1
-1
index.vue
src/views/monitor/errorLog/index.vue
+1
-0
index.vue
src/views/monitor/loginInfo/index.vue
+2
-1
index.vue
src/views/monitor/operLog/index.vue
+1
-1
index.vue
src/views/system/dept/index.vue
+13
-4
index.vue
src/views/system/dict/index.vue
+14
-14
index.vue
src/views/system/menu/index.vue
+6
-5
No files found.
src/api/system/menu.js
View file @
4d15ad62
...
...
@@ -89,7 +89,7 @@ export function updateMenu(data) {
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/system/menu/update/'
+
businessId
,
url
:
'/system/menu/update/'
+
businessId
,
method
:
'put'
,
data
,
headers
:
{
...
...
src/views/monitor/errorLog/index.vue
View file @
4d15ad62
...
...
@@ -210,6 +210,7 @@ export default {
if
(
response
.
code
===
200
)
{
this
.
list
=
[]
this
.
total
=
0
this
.
$message
.
error
(
response
.
message
)
this
.
loading
=
false
}
else
{
this
.
list
=
response
.
rows
.
map
(
item
=>
{
...
...
src/views/monitor/loginInfo/index.vue
View file @
4d15ad62
...
...
@@ -171,7 +171,7 @@ export default {
ipaddr
:
undefined
,
username
:
undefined
,
status
:
undefined
,
loginTime
:
''
loginTime
:
undefined
}
}
},
...
...
@@ -207,6 +207,7 @@ export default {
if
(
response
.
code
===
200
)
{
this
.
list
=
[]
this
.
total
=
0
this
.
$message
.
error
(
response
.
message
)
this
.
loading
=
false
}
else
{
this
.
list
=
response
.
rows
...
...
src/views/monitor/operLog/index.vue
View file @
4d15ad62
...
...
@@ -147,7 +147,6 @@
<
script
>
import
{
list
,
delOperLog
,
cleanOperLog
,
exportOperLog
}
from
'@/api/monitor/operLog'
import
{
delErrLog
}
from
'@/api/monitor/errorLog'
export
default
{
name
:
'Operlog'
,
...
...
@@ -219,6 +218,7 @@ export default {
if
(
response
.
code
===
200
)
{
this
.
list
=
[]
this
.
total
=
0
this
.
$message
.
error
(
response
.
message
)
this
.
loading
=
false
}
else
{
this
.
list
=
response
.
rows
.
map
(
item
=>
{
...
...
src/views/system/dept/index.vue
View file @
4d15ad62
...
...
@@ -186,7 +186,16 @@ export default {
// 是否显示弹出层
open
:
false
,
// 状态数据字典
statusOptions
:
[],
statusOptions
:
[
{
dictLabel
:
'正常'
,
dictValue
:
'1'
},
{
dictLabel
:
'停用'
,
dictValue
:
'0'
}
],
// 查询参数
queryParams
:
{
deptName
:
undefined
,
...
...
@@ -235,9 +244,9 @@ export default {
this
.
queryParams
=
{
...
param
}
}
this
.
getList
()
this
.
getDicts
(
'sys_normal_disable'
.
toUpperCase
()).
then
(
response
=>
{
this
.
statusOptions
=
response
.
data
})
//
this.getDicts('sys_normal_disable'.toUpperCase()).then(response => {
//
this.statusOptions = response.data
//
})
},
methods
:
{
/** 查询部门列表 */
...
...
src/views/system/dict/index.vue
View file @
4d15ad62
...
...
@@ -305,7 +305,7 @@ export default {
return
{
showSearch
:
''
,
getOptions
:
''
,
statusOptions
:
''
,
//
statusOptions: '',
//状态默认选择
radio
:
'1'
,
test
:
''
,
...
...
@@ -328,16 +328,16 @@ export default {
// 是否显示弹出层
open
:
false
,
// 状态数据字典
//
statusOptions: [
//
{
//
dictLabel: '正常',
//
dictValue: '1'
//
},
//
{
//
dictLabel: '停用',
//
dictValue: '0'
//
}
//
],
statusOptions
:
[
{
dictLabel
:
'正常'
,
dictValue
:
'1'
},
{
dictLabel
:
'停用'
,
dictValue
:
'0'
}
],
// 日期范围
dateRange
:
[],
// 查询参数
...
...
@@ -387,9 +387,9 @@ export default {
this
.
queryParams
=
{
...
param
}
}
this
.
getList
()
this
.
getDicts
(
dictCons
[
'NORMAL_DISABLE'
]).
then
(
response
=>
{
this
.
statusOptions
=
response
.
data
})
//
this.getDicts(dictCons['NORMAL_DISABLE']).then(response => {
//
this.statusOptions = response.data
//
})
// optionselect().then(response => {
// this.options = response.data
// })
...
...
src/views/system/menu/index.vue
View file @
4d15ad62
...
...
@@ -507,18 +507,19 @@ export default {
})
},
handleStatusChange
(
row
)
{
row
.
children
=
[]
const
text
=
row
.
flag
===
'0'
?
'停用'
:
'启用'
this
.
$confirm
(
'确认要'
+
text
+
'该菜单吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
function
()
{
return
updateMenu
(
row
)
}).
then
(()
=>
{
updateMenu
(
row
).
then
(()
=>
{
this
.
$message
({
message
:
text
+
'成功'
,
type
:
'success'
})
})
}).
catch
(
function
()
{
row
.
flag
=
row
.
flag
===
'0'
?
'1'
:
'0'
})
...
...
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