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
365018b6
authored
2023-01-09 16:20:19 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:table样式修改完成
1 parent
5c4fe127
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
18 deletions
src/api/sbbwcx.js
src/styles/public.scss
src/views/sbbwcx/index.vue
src/api/sbbwcx.js
View file @
365018b
...
...
@@ -4,7 +4,7 @@ import SERVER from './config'
// 数据上报分页
export
function
getDataReportPage
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/sjsb/DataReport/getDataReportPage'
,
url
:
SERVER
.
SERVERAPI
+
'/
rest/
sjsb/DataReport/getDataReportPage'
,
method
:
'post'
,
data
})
...
...
src/styles/public.scss
View file @
365018b
.tableClass
{
/
deep
/
.el-table
{
border
:
none
!
important
;
border-radius
:
0
!
important
;
.el-table__header-wrapper
{
border-right
:
1px
solid
#103E99
;
}
.cell
{
color
:
#FFFFFF
!
important
;
...
...
@@ -108,6 +113,11 @@
color
:
#FFFFFF
;
border
:
none
;
}
.el-pager
li
{
background
:
#1F357A
;
color
:
#FFFFFF
;
}
}
/
deep
/
.btn-next
,
...
...
src/views/sbbwcx/index.vue
View file @
365018b
...
...
@@ -51,7 +51,7 @@
<!-- 操作按钮 -->
<el-col
:span=
"12"
class=
"btnColRight"
>
<btn
nativeType=
"cz"
@
click=
"resetForm('ruleForm')"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"
featchData
"
>
查询
</btn>
<btn
nativeType=
"cx"
@
click=
"
queryClick
"
>
查询
</btn>
<btn
nativeType=
"sb"
@
click=
"handleEscalation"
>
上报
</btn>
</el-col>
</el-row>
...
...
@@ -59,13 +59,12 @@
</div>
<!-- 列表 -->
<div
class=
"from-clues-content"
>
<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
:page-size=
"pageData.pageSize"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total
"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns
"
:data=
"tableData.data"
>
</lb-table>
</div>
<!-- 引入详情组件 -->
<!--
<detailDialog
v-model=
"isShow"
/>
-->
<!-- 编辑 -->
<dataDetails
ref=
"editLog"
/>
</div>
...
...
@@ -75,14 +74,14 @@
// 引入表头数据
import
data
from
"./data"
// 引入表格混入方法
import
table
Mixin
from
'@/mixins/tableMixin.js'
import
table
from
"@/utils/mixin/table"
// 引入详情弹框
import
dataDetails
from
'@/components/dataDetails/edit-dialog'
import
{
getDataReportPage
}
from
"@/api/sbbwcx.js"
;
export
default
{
name
:
"sbbwcx"
,
mixins
:
[
table
Mixin
],
mixins
:
[
table
],
// 注册组件
components
:
{
dataDetails
...
...
@@ -130,8 +129,8 @@ export default {
return
(
<
div
>
<
el
-
button
type
=
"text"
size
=
"mini"
type
=
"primary"
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
)
}}
>
详情
...
...
@@ -142,13 +141,7 @@ export default {
}
]),
total
:
0
,
data
:
[],
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
data
:
[{}],
},
// 行政区
xzqOptions
:
[
...
...
@@ -177,7 +170,7 @@ export default {
this
.
$refs
.
ruleForm
.
resetFields
();
},
// 初始化数据
featchData
()
{
queryClick
()
{
getDataReportPage
({
...
this
.
form
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
...
...
@@ -188,7 +181,6 @@ export default {
},
// 多选
handleSelectionChange
(
val
)
{
},
// 上报
handleEscalation
()
{
},
...
...
Please
register
or
sign in
to post a comment