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
e3842fa8
authored
2023-01-05 10:21:58 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:列表样式修改
1 parent
759cc9f3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
39 additions
and
9 deletions
src/components/Button/src/button.vue
src/layout/components/Navbar.vue
src/styles/index.scss
src/styles/public.scss
src/views/dbrzcx/index.vue
src/views/jsbwcx/index.vue
src/views/sbbwcx/data/index.js
src/views/sbbwcx/index.vue
src/components/Button/src/button.vue
0 → 100644
View file @
e3842fa
<
template
>
<button
class=
"el-button"
:class=
"nativeType"
@
click=
"handleClick"
:type=
"nativeType"
>
<slot></slot>
</button>
</
template
>
<
script
>
export
default
{
name
:
'Button'
,
props
:
{
nativeType
:
{
type
:
String
,
default
:
'cx'
},
},
methods
:
{
handleClick
(
evt
)
{
this
.
$emit
(
'click'
,
evt
);
}
}
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/layout/components/Navbar.vue
View file @
e3842fa
...
...
@@ -6,7 +6,6 @@
</div>
<div
class=
"right-menu"
>
<div
class=
"dataView pointer"
@
click=
"handleDataView"
>
大屏展示
</div>
<svg-icon
class=
"function"
icon-class=
'function'
/>
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
trigger=
"hover"
@
command=
"handleCommand"
>
<div
class=
"avatar-wrapper"
>
<span
style=
"padding-right:10px"
>
{{
name
}}
</span>
...
...
src/styles/index.scss
View file @
e3842fa
...
...
@@ -147,6 +147,9 @@ div:focus {
padding-left
:
5px
;
}
.mt-10
{
margin-top
:
10px
;
}
//flex
.d-flex
{
display
:
flex
;
...
...
src/styles/public.scss
View file @
e3842fa
...
...
@@ -101,6 +101,10 @@
//修改表头的背景颜色横向渐变色
@extend
.tableClass
;
/
deep
/
.el-pagination__total
{
color
:
#FFFFFF
;
}
}
.el-form--inline
.el-form-item
{
...
...
src/views/dbrzcx/index.vue
View file @
e3842fa
...
...
@@ -35,9 +35,9 @@
</div>
<!-- 列表区域 -->
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
:
current-page
.
sync=
"pageData.current"
:total=
"pageData.total
"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns
"
:data=
"tableData.data"
>
<lb-table
:page-size=
"pageData.size"
:
heightNum=
"200"
:current-page
.
sync=
"pageData.current
"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange
"
:
column=
"tableData.columns"
:
data=
"tableData.data"
>
</lb-table>
</div>
</div>
...
...
src/views/jsbwcx/index.vue
View file @
e3842fa
...
...
@@ -31,7 +31,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-row
class=
"mt-10"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"业务名称"
prop=
"ywmc"
>
<el-select
v-model=
"form.ywmc"
class=
"width100"
clearable
placeholder=
"业务名称"
>
...
...
src/views/sbbwcx/data/index.js
View file @
e3842fa
...
...
@@ -35,7 +35,7 @@ class data extends filter {
return
(
<
div
>
{
!
scope
.
row
.
successflag
?
''
:
scope
.
row
.
successflag
==
'1'
?
<
el
-
tag
type
=
'success'
>
成功
<
/el-tag> : <el-tag type='primary'>失败</
el
-
tag
>
!
scope
.
row
.
successflag
?
''
:
scope
.
row
.
successflag
==
'1'
?
<
span
class
=
'adopt'
>
成功
<
/span> : <span class='warehousing'>失败</
span
>
}
<
/div
>
)
...
...
src/views/sbbwcx/index.vue
View file @
e3842fa
...
...
@@ -31,7 +31,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-row
class=
"mt-10"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"响应结果"
prop=
"state"
>
<el-select
v-model=
"form.state"
class=
"width100"
clearable
placeholder=
"响应结果"
>
...
...
@@ -59,7 +59,7 @@
</div>
<!-- 列表 -->
<div
class=
"from-clues-content"
>
<lb-table
ref=
"table"
:heightNum=
"300"
@
selection-change=
"handleSelectionChange"
:page-size=
"pageData.size"
<lb-table
ref=
"table"
@
selection-change=
"handleSelectionChange"
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
...
...
@@ -78,7 +78,7 @@ import data from "./data"
import
tableMixin
from
'@/mixins/tableMixin.js'
// 引入详情弹框
import
dataDetails
from
'@/components/dataDetails/edit-dialog'
import
{
getDataReportPage
}
from
"@/api/sbbwcx.js"
;
import
{
getDataReportPage
}
from
"@/api/sbbwcx.js"
;
export
default
{
name
:
"sbbwcx"
,
...
...
Please
register
or
sign in
to post a comment