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
1b746301
authored
2022-08-24 10:29:58 +0800
by
liangyifan
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
4b8afd4d
026d25bc
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 @
1b74630
...
...
@@ -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