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
5b2e76f2
authored
2022-09-05 09:40:18 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:字典
1 parent
316edede
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
34 deletions
src/components/dialogBox/dialogBox.scss
src/views/system/dictionaries/components/editDialog.vue
src/views/system/sqywgz/components/clgzsd.vue
src/views/system/sqywgz/components/djqxsd.vue
src/components/dialogBox/dialogBox.scss
View file @
5b2e76f
...
...
@@ -25,6 +25,7 @@
.el-dialog__body
{
max-height
:
88vh
;
overflow-x
:
hidden
;
overflow-y
:
hidden
;
}
.dialog_footer
{
...
...
src/views/system/dictionaries/components/editDialog.vue
View file @
5b2e76f
...
...
@@ -45,11 +45,11 @@ export default {
column
:
[],
columns
:
[
{
width
:
'
6
0'
,
width
:
'
7
0'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
this
.
details
.
isenable
==
2
?
this
.
details
.
isenable
==
=
'0'
?
<
span
>
序号
<
/span>
:
<
i
class
=
"el-icon-plus"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
style
=
"cursor:pointer;color:#409EFF"
><
/i
>
}
...
...
@@ -68,14 +68,14 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
scope
.
row
.
codeShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
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
}}
><
/el-input
>
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
maxlength
=
'8'
><
/el-input
>
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
!
scope
.
row
.
codeShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
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
}}
><
/el-input
>
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
==
2
}
v
-
show
=
{
scope
.
row
.
nameShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"字典项编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
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
==
2
}
v
-
show
=
{
!
scope
.
row
.
nameShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"字典项名称"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
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
>
...
...
@@ -98,32 +98,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
:
'normcode'
,
label
:
'部标编码'
,
width
:
'100'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"部标编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
scope
.
row
.
nam
eShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
n
am
eShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
el
-
input
placeholder
=
"部标编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
scope
.
row
.
normcod
eShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
n
ormcod
eShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
maxlength
=
'8'
><
/el-input
>
<
el
-
input
placeholder
=
"部标编码"
disabled
=
{
this
.
details
.
isenable
==
2
}
v
-
show
=
{
!
scope
.
row
.
nam
eShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
n
am
eShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
el
-
input
placeholder
=
"部标编码"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
!
scope
.
row
.
normcod
eShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
n
ormcod
eShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
maxlength
=
'8'
><
/el-input
>
<
/div
>
)
}
...
...
@@ -134,18 +121,31 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
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
;
}}
<
el
-
input
placeholder
=
"部标名称"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
scope
.
row
.
norm
nameShow
}
v
-
fo
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
n
ormn
ameShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
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
;
}}
<
el
-
input
placeholder
=
"部标名称"
disabled
=
{
this
.
details
.
isenable
==
=
'0'
}
v
-
show
=
{
!
scope
.
row
.
norm
nameShow
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
n
ormn
ameShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
/div
>
)
}
},
{
prop
:
'isenable'
,
width
:
'160'
,
label
:
'是否禁用'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
radio
-
group
disabled
=
{
this
.
details
.
isenable
===
'0'
}
v
-
model
=
{
scope
.
row
.
isenable
}
>
<
el
-
radio
label
=
"1"
>
启用
<
/el-radio
>
<
el
-
radio
label
=
"0"
>
禁用
<
/el-radio
>
<
/el-radio-group
>
)
}
},
{
width
:
'130'
,
label
:
'移动'
,
render
:
(
h
,
scope
)
=>
{
...
...
@@ -197,9 +197,14 @@ export default {
data
.
forEach
((
item
,
index
)
=>
{
if
(
index
==
0
)
{
item
.
codeShow
=
true
item
.
nameShow
=
false
item
.
normcodeShow
=
false
item
.
normnameShow
=
false
}
else
{
item
.
codeShow
=
false
item
.
nameShow
=
false
item
.
normcodeShow
=
false
item
.
normnameShow
=
false
}
if
(
isAdd
)
{
item
.
index
=
index
+
1
...
...
@@ -213,6 +218,8 @@ export default {
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
.
codeShow
=
false
item
.
nameShow
=
false
item
.
normcodeShow
=
false
item
.
normnameShow
=
false
})
},
handleMinus
(
index
,
row
)
{
...
...
src/views/system/sqywgz/components/clgzsd.vue
View file @
5b2e76f
...
...
@@ -17,7 +17,7 @@
</el-col>
</el-row>
</el-form>
<lb-table
:column=
"column"
border
:key=
"key"
:heightNum=
"405"
:pagination=
"false"
:data=
"tableData"
>
<lb-table
:column=
"column"
border
:key=
"key"
heightNumSetting
:pagination=
"false"
:data=
"tableData"
>
</lb-table>
</div>
</
template
>
...
...
src/views/system/sqywgz/components/djqxsd.vue
View file @
5b2e76f
...
...
@@ -17,8 +17,7 @@
</el-col>
</el-row>
</el-form>
<lb-table
:column=
"column"
border
:key=
"key"
:heightNum=
"390"
:pagination=
"false"
heightNumSetting
:data=
"tableData"
>
<lb-table
:column=
"column"
border
:key=
"key"
:pagination=
"false"
heightNumSetting
:data=
"tableData"
>
</lb-table>
</div>
</
template
>
...
...
Please
register
or
sign in
to post a comment