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
abe24335
authored
2022-09-23 18:01:03 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
3b8cb699
c0b4e15c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
23 deletions
src/views/sqcx/jtfc/jtfc.vue
src/views/sqcx/jtfc/jtfc.vue
View file @
abe2433
...
...
@@ -6,33 +6,58 @@
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"查询编号"
>
<el-input
placeholder=
"请输入编号"
v-model=
"queryForm.cxbh"
clearable
>
<el-input
placeholder=
"请输入编号"
v-model=
"queryForm.cxbh"
clearable
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"申请人"
>
<el-input
placeholder=
"请输入申请人"
v-model=
"queryForm.sqr"
clearable
>
<el-input
placeholder=
"请输入申请人"
v-model=
"queryForm.sqr"
clearable
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"查询用途"
>
<el-select
v-model=
"queryForm.cxyt"
filterable
clearable
placeholder=
"请选择用途"
>
<el-option
v-for=
"item in cxytOption"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-select
v-model=
"queryForm.cxyt"
filterable
clearable
placeholder=
"请选择用途"
>
<el-option
v-for=
"item in cxytOption"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"业务号"
>
<el-input
placeholder=
"请输入业务号"
v-model=
"queryForm.ywh"
clearable
class=
"width200px"
>
<el-input
placeholder=
"请输入业务号"
v-model=
"queryForm.ywh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
class=
"btnCol"
>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"fetchData"
>
查询
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"fetchData"
>
查询
</el-button
>
<el-button
@
click=
"moreQueryClick()"
>
高级查询
</el-button>
</el-form-item>
</el-col>
...
...
@@ -41,25 +66,32 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
: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.size"
border
:current-page
.
sync=
"pageData.current"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./jtfcdata"
import
{
getJtfcPage
}
from
'@/api/sqcx'
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./jtfcdata"
;
import
{
getJtfcPage
}
from
"@/api/sqcx"
;
export
default
{
name
:
"jtfc"
,
components
:
{},
mixins
:
[
table
],
mounted
()
{
mounted
()
{
sendThis
(
this
);
},
data
()
{
data
()
{
return
{
sqrOption
:
[],
cxytOption
:
[],
...
...
@@ -89,18 +121,18 @@ export default {
},
methods
:
{
// 初始化数据
fetchData
()
{
getJtfcPage
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
let
{
records
,
total
}
=
res
.
result
fetchData
()
{
getJtfcPage
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
(
res
)
=>
{
let
{
records
,
total
}
=
res
.
result
;
// this.tableData.data = records
this
.
tableData
.
total
=
total
})
this
.
tableData
.
total
=
total
;
})
;
},
handleSort
(
name
,
sort
)
{
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
}
}
}
}
,
}
,
}
;
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
...
...
Please
register
or
sign in
to post a comment