Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-system
/
system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7e2b96b8
authored
Nov 12, 2020
by
冒粤蓉
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/micro-system/system
2 parents
3fd02a18
6b3e42d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
7 deletions
src/views/dictionaryManage/dictionaryData/index.vue
src/views/menuManage/index.vue
src/views/orginizaManage/index.vue
src/views/dictionaryManage/dictionaryData/index.vue
View file @
7e2b96b
...
@@ -184,7 +184,7 @@ export default {
...
@@ -184,7 +184,7 @@ export default {
{
label
:
'字典类型:'
,
prop
:
'dictType'
,
type
:
'input'
,
readonly
:
true
},
{
label
:
'字典类型:'
,
prop
:
'dictType'
,
type
:
'input'
,
readonly
:
true
},
{
label
:
'字典标签:'
,
prop
:
'dictLabel'
,
type
:
'input'
,
maxlength
:
20
},
{
label
:
'字典标签:'
,
prop
:
'dictLabel'
,
type
:
'input'
,
maxlength
:
20
},
{
label
:
'字典键值:'
,
prop
:
'dictValue'
,
type
:
'input'
,
maxlength
:
50
},
{
label
:
'字典键值:'
,
prop
:
'dictValue'
,
type
:
'input'
,
maxlength
:
50
},
{
label
:
'字典排序:'
,
prop
:
'dictSort'
,
type
:
'input'
},
{
label
:
'字典排序:'
,
prop
:
'dictSort'
,
type
:
'input'
,
maxlength
:
5
},
{
label
:
'状态'
,
prop
:
'enableStatus'
,
type
:
'switch'
},
{
label
:
'状态'
,
prop
:
'enableStatus'
,
type
:
'switch'
},
{
label
:
'备注'
,
prop
:
'remark'
,
type
:
'input'
,
inputText
:
'textarea'
,
maxlength
:
200
,
showWordLimit
:
true
}
{
label
:
'备注'
,
prop
:
'remark'
,
type
:
'input'
,
inputText
:
'textarea'
,
maxlength
:
200
,
showWordLimit
:
true
}
],
],
...
@@ -350,4 +350,9 @@ export default {
...
@@ -350,4 +350,9 @@ export default {
}
}
}
}
}
}
</
script
>
\ No newline at end of file
\ No newline at end of file
</
script
>
<
style
lang=
""
>
.el-table__indent
{
padding-left
:
16px
;
}
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/menuManage/index.vue
View file @
7e2b96b
...
@@ -224,7 +224,7 @@ export default {
...
@@ -224,7 +224,7 @@ export default {
{
label
:
'菜单名称'
,
prop
:
'menuName'
,
type
:
'input'
,
maxlength
:
20
},
{
label
:
'菜单名称'
,
prop
:
'menuName'
,
type
:
'input'
,
maxlength
:
20
},
{
label
:
'权限标识'
,
prop
:
'permissionTag'
,
type
:
'input'
},
{
label
:
'权限标识'
,
prop
:
'permissionTag'
,
type
:
'input'
},
{
label
:
'前端路由'
,
prop
:
'frontRoute'
,
type
:
'input'
},
{
label
:
'前端路由'
,
prop
:
'frontRoute'
,
type
:
'input'
},
{
label
:
'显示排序'
,
prop
:
'orderNum'
,
type
:
'input'
},
{
label
:
'显示排序'
,
prop
:
'orderNum'
,
type
:
'input'
,
maxlength
:
5
},
{
label
:
'显示状态'
,
prop
:
'enableStatus'
,
type
:
'switch'
},
{
label
:
'显示状态'
,
prop
:
'enableStatus'
,
type
:
'switch'
},
{
label
:
'图标'
,
prop
:
'icon'
,
type
:
'input'
,
hidden
:
false
}
{
label
:
'图标'
,
prop
:
'icon'
,
type
:
'input'
,
hidden
:
false
}
],
],
...
...
src/views/orginizaManage/index.vue
View file @
7e2b96b
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
lazy
lazy
stripe
stripe
:load=
"load"
:load=
"load"
:row-style=
"tableRowClassName"
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}"
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}"
>
>
<el-table-column
<el-table-column
...
@@ -184,7 +185,7 @@ export default {
...
@@ -184,7 +185,7 @@ export default {
orginizaData
:
[
orginizaData
:
[
{
label
:
'上级组织'
,
prop
:
'superiorName'
,
type
:
'input'
,
hidden
:
false
,
readonly
:
true
},
{
label
:
'上级组织'
,
prop
:
'superiorName'
,
type
:
'input'
,
hidden
:
false
,
readonly
:
true
},
{
label
:
'组织名称'
,
prop
:
'departmentName'
,
type
:
'input'
,
maxlength
:
20
},
{
label
:
'组织名称'
,
prop
:
'departmentName'
,
type
:
'input'
,
maxlength
:
20
},
{
label
:
'显示排序'
,
prop
:
'orderNum'
,
type
:
'input'
},
{
label
:
'显示排序'
,
prop
:
'orderNum'
,
type
:
'input'
,
maxlength
:
5
},
{
label
:
'组织状态'
,
prop
:
'enableStatus'
,
type
:
'switch'
}
{
label
:
'组织状态'
,
prop
:
'enableStatus'
,
type
:
'switch'
}
],
],
orginizaRules
:
{
orginizaRules
:
{
...
@@ -246,7 +247,7 @@ export default {
...
@@ -246,7 +247,7 @@ export default {
message
:
'操作成功'
message
:
'操作成功'
})
})
if
(
this
.
isRoot
)
{
if
(
this
.
isRoot
)
{
this
.
getList
()
this
.
search
()
}
else
{
}
else
{
getChildren
({
rootId
:
params
.
superiorId
}).
then
(
res
=>
{
getChildren
({
rootId
:
params
.
superiorId
}).
then
(
res
=>
{
const
nodes
=
res
.
data
const
nodes
=
res
.
data
...
@@ -300,7 +301,9 @@ export default {
...
@@ -300,7 +301,9 @@ export default {
this
.
editEvent
(
scope
)
this
.
editEvent
(
scope
)
break
break
case
'delete'
:
case
'delete'
:
this
.
deleteEvent
(
scope
)
organizaInfo
({
id
:
scope
.
id
}).
then
(
res
=>
{
this
.
deleteEvent
(
res
.
data
)
})
break
break
}
}
},
},
...
@@ -334,7 +337,7 @@ export default {
...
@@ -334,7 +337,7 @@ export default {
message
:
'删除成功!'
message
:
'删除成功!'
})
})
if
(
!
row
.
superiorId
)
{
if
(
!
row
.
superiorId
)
{
this
.
getList
()
this
.
search
()
}
else
{
}
else
{
getChildren
({
rootId
:
row
.
superiorId
}).
then
(
res
=>
{
getChildren
({
rootId
:
row
.
superiorId
}).
then
(
res
=>
{
const
nodes
=
res
.
data
const
nodes
=
res
.
data
...
@@ -387,6 +390,9 @@ export default {
...
@@ -387,6 +390,9 @@ export default {
this
.
page
.
pageNumber
=
value
this
.
page
.
pageNumber
=
value
this
.
search
()
this
.
search
()
},
},
tableRowClassName
()
{
return
'padding-left: 16px;'
}
}
}
}
}
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment