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
dd67c29b
authored
2023-01-17 14:30:27 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
字典管理模块部分字段移除
1 parent
7be1a7cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
28 deletions
src/views/system/dictionaries/components/editDialog.vue
src/views/system/dictionaries/dictionaries.js
src/views/system/dictionaries/components/editDialog.vue
View file @
dd67c29
...
...
@@ -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 @
dd67c29
...
...
@@ -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