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
f970daaa
authored
2023-01-17 10:20:34 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
字典管理样式调整
1 parent
9a6eb326
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
20 deletions
src/components/Button/src/button.vue
src/views/system/dictionaries/dictionaries.js
src/views/system/dictionaries/dictionaries.vue
src/components/Button/src/button.vue
View file @
f970daa
...
...
@@ -21,7 +21,7 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
.button
{
width
:
77px
;
width
:
80px
;
//适配4字按钮样式
height
:
32px
;
color
:
#ffffff
;
margin
:
0
5px
;
...
...
src/views/system/dictionaries/dictionaries.js
View file @
f970daa
...
...
@@ -44,23 +44,6 @@ class data extends filter {
<
/div
>
)
}
},
{
label
:
'操作'
,
width
:
'150'
,
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
isenable
==
'1'
?
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit-outline"
onClick
=
{()
=>
{
vm
.
editClick
(
scope
.
row
,
1
)
}}
>
修改
<
/el-button>
:
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
editClick
(
scope
.
row
,
2
)
}}
>
查看
<
/el-button
>
}
<
/div
>
)
}
}
]
}
...
...
src/views/system/dictionaries/dictionaries.vue
View file @
f970daa
...
...
@@ -2,7 +2,7 @@
<div
class=
"from-clues"
>
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
@
submit
.
native
.
prevent
:model=
"ruleForm"
>
<el-form
@
submit
.
native
.
prevent
:model=
"ruleForm"
label-width=
"120px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"字典类型编码"
>
...
...
@@ -62,7 +62,23 @@ export default {
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
columns
:
datas
.
columns
().
concat
([
{
label
:
"操作"
,
width
:
170
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
isenable
==
'1'
?
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit-outline"
onClick
=
{()
=>
{
this
.
editClick
(
scope
.
row
,
1
)
}}
>
修改
<
/el-button>
:
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
this
.
editClick
(
scope
.
row
,
2
)
}}
>
查看
<
/el-button
>
}
<
/div
>
);
},
},
]),
data
:
[]
}
}
...
...
Please
register
or
sign in
to post a comment