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
64206d0c
authored
2022-08-24 10:23:42 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:业务
1 parent
12c7157f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
30 deletions
src/views/ywbl/ywsq/components/selectql.vue
src/views/ywbl/ywsq/components/selectql.vue
View file @
64206d0
...
...
@@ -44,8 +44,7 @@
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.pageSize"
heightNumSetting
:current-page
.
sync=
"pageData.currentPage"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
...
...
@@ -56,8 +55,10 @@
</
template
>
<
script
>
import
{
datas
}
from
"../ywsqdata.js"
;
import
table
from
"@/utils/mixin/table"
;
import
{
getselectBdcdy
}
from
"@/api/ywbl.js"
export
default
{
mixins
:
[
table
],
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
},
...
...
@@ -69,31 +70,22 @@ export default {
bdcdyh
:
""
,
ywh
:
""
,
bdcqzh
:
""
,
sqywbm
:
'A03100'
sqywbm
:
'A03100'
},
qllxs
:
[],
pageData
:
{
pageSize
:
10
,
currentPage
:
1
,
total
:
0
,
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[
]
data
:
[]
}
}
},
created
(){
this
.
list
()
},
methods
:
{
list
(
data
)
{
getselectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
,...
data
}).
then
(
res
=>
{
fetchData
()
{
getselectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
this
.
pag
eData
.
total
=
total
;
this
.
tabl
eData
.
total
=
total
;
this
.
tableData
.
data
=
records
}
})
...
...
@@ -105,19 +97,7 @@ export default {
},
closeDialog
()
{
this
.
$emit
(
'input'
,
false
)
},
handleSizeChange
(
val
)
{
this
.
list
({
pageSize
:
val
,
currentPage
:
this
.
pageData
.
currentPage
,
});
},
handleCurrentChange
(
val
)
{
this
.
list
({
pageSize
:
this
.
pageData
.
pageSize
,
currentPage
:
val
});
},
handleSelectionChange
(
val
){
},
}
}
}
</
script
>
...
...
Please
register
or
sign in
to post a comment