Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
f71561e3
authored
2022-09-09 14:41:06 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:字典
1 parent
079f16be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
src/views/system/dictionaries/components/editDialog.vue
src/views/system/dictionaries/dictionaries.vue
src/views/system/dictionaries/components/editDialog.vue
View file @
f71561e
...
...
@@ -68,12 +68,12 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
scope
.
row
.
codeShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
scope
.
row
.
codeShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
codeShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
maxlength
=
'8'
><
/el-input
>
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
!
scope
.
row
.
codeShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
!
scope
.
row
.
codeShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
codeShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
maxlength
=
'8'
><
/el-input
>
<
/div
>
...
...
@@ -86,11 +86,11 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
scope
.
row
.
nameShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
scope
.
row
.
nameShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
nameShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
el
-
input
placeholder
=
"字典项名称"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
!
scope
.
row
.
nameShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"字典项名称"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
!
scope
.
row
.
nameShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
nameShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
/div
>
...
...
@@ -104,11 +104,11 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"部标编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
scope
.
row
.
normcodeShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"部标编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
scope
.
row
.
normcodeShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
normcodeShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
maxlength
=
'8'
><
/el-input
>
<
el
-
input
placeholder
=
"部标编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
!
scope
.
row
.
normcodeShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"部标编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
!
scope
.
row
.
normcodeShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
normcodeShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
maxlength
=
'8'
><
/el-input
>
<
/div
>
...
...
@@ -121,11 +121,11 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"部标名称"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
scope
.
row
.
normnameShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"部标名称"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
scope
.
row
.
normnameShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
normnameShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
el
-
input
placeholder
=
"部标名称"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
!
scope
.
row
.
normnameShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"部标名称"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
!
scope
.
row
.
normnameShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
normnameShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
/div
>
...
...
@@ -138,7 +138,7 @@ export default {
label
:
'是否禁用'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
radio
-
group
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
model
=
{
scope
.
row
.
isenable
}
>
<
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
>
...
...
@@ -188,7 +188,6 @@ export default {
this
.
ruleForm
=
newValue
.
rowData
this
.
addIndexes
()
this
.
key
++
console
.
log
(
1111111
);
},
deep
:
true
}
...
...
src/views/system/dictionaries/dictionaries.vue
View file @
f71561e
...
...
@@ -82,6 +82,7 @@ export default {
this
.
details
.
rowData
=
{}
this
.
details
.
rowData
=
row
this
.
details
.
isenable
=
val
console
.
log
(
this
.
details
.
isenable
);
getChildDictList
(
row
.
bsmDict
).
then
(
res
=>
{
this
.
isDialog
=
true
let
{
result
}
=
res
...
...
Please
register
or
sign in
to post a comment