Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0ea195c7
authored
2023-01-17 16:52:46 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcjg-web
2 parents
e3fcf551
787da56b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
29 deletions
src/layout/components/Sidebar/sidebarLeft.vue
src/views/system/dictionaries/components/editDialog.vue
src/views/system/dictionaries/dictionaries.js
src/layout/components/Sidebar/sidebarLeft.vue
View file @
0ea195c
<
template
>
<el-menu
router
:default-active=
"activeMenu"
m
enu-trigger=
"click"
m
ode=
"horizontal"
>
<el-menu
router
:default-active=
"activeMenu"
mode=
"horizontal"
>
<!-- 权限菜单 -->
<sidebar-item
v-for=
"route in permission_routes.slice(1, 4)"
:key=
"route.path"
:item=
"route"
:base-path=
"route.path"
/>
...
...
src/views/system/dictionaries/components/editDialog.vue
View file @
0ea195c
...
...
@@ -132,19 +132,19 @@ export default {
// )
// }
// },
{
prop
:
'isenable'
,
width
:
'160'
,
label
:
'是否禁用'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
radio
-
group
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
model
=
{
scope
.
row
.
isenable
}
>
<
el
-
radio
label
=
"1"
>
启用
<
/el-radio
>
<
el
-
radio
label
=
"0"
>
禁用
<
/el-radio
>
<
/el-radio-group
>
)
}
},
//
{
//
prop: 'isenable',
//
width: '160',
//
label: '是否禁用',
//
render: (h, scope) => {
//
return (
//
<el-radio-group disabled={this.details.isenable == 2} v-model={scope.row.isenable}>
//
<el-radio label="1">启用</el-radio>
//
<el-radio label="0">禁用</el-radio>
//
</el-radio-group>
//
)
//
}
//
},
{
width
:
'130'
,
label
:
'移动'
,
...
...
src/views/system/dictionaries/dictionaries.js
View file @
0ea195c
...
...
@@ -30,21 +30,21 @@ class data extends filter {
prop
:
"DNAME"
,
label
:
"字典类型名称"
,
},
{
label
:
"是否允许修改"
,
width
:
'150'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
ISENABLE
==
'1'
?
<
div
class
=
'allow'
>
允许
<
/div>
:
<
div
class
=
'prohibit'
>
禁止
<
/div
>
}
<
/div
>
)
}
}
//
{
//
label: "是否允许修改",
//
width: '150',
//
render: (h, scope) => {
//
return (
//
<div>
//
{
//
scope.row.ISENABLE == '1' ?
//
<div class='allow'>允许</div> :
//
<div class='prohibit'>禁止</div>
//
}
//
</div>
//
)
//
}
//
}
]
}
...
...
Please
register
or
sign in
to post a comment