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
d518cff5
authored
2022-11-17 16:38:55 +0800
by
jiaozeping@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
04bbc29e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
156 additions
and
80 deletions
src/views/ywbl/ywsq/components/bdcql.vue
src/views/ywbl/ywsq/components/bdcqlMain.vue
src/views/ywbl/ywsq/components/diyaq.vue
src/views/ywbl/ywsq/components/bdcql.vue
View file @
d518cff
...
...
@@ -97,7 +97,7 @@ export default {
},
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
selectQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}
,
{
'target'
:
'#bdcql'
}
)
selectQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
src/views/ywbl/ywsq/components/bdcqlMain.vue
View file @
d518cff
...
...
@@ -7,27 +7,52 @@
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"权利类型"
>
<el-select
v-model=
"queryForm.qllx"
filterable
clearable
placeholder=
"请选择权利类型"
>
<el-option
v-for=
"item in qllxs"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-select
v-model=
"queryForm.qllx"
filterable
clearable
placeholder=
"请选择权利类型"
>
<el-option
v-for=
"item in qllxs"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"不动产单元号"
>
<el-input
placeholder=
"请输入不动产单元号"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width200px"
>
<el-input
placeholder=
"请输入不动产单元号"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width200px"
>
</el-input>
</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=
"6"
>
<el-form-item
label=
"不动产权证号"
>
<el-input
placeholder=
"请输入不动产权证号"
v-model=
"queryForm.bdcqzh"
clearable
class=
"width200px"
>
<el-input
placeholder=
"请输入不动产权证号"
v-model=
"queryForm.bdcqzh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
...
...
@@ -41,10 +66,19 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:heightNum=
"400"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:heightNum=
"400"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<div
class=
"submit_button"
>
...
...
@@ -63,14 +97,14 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
''
},
djywbm
:
{
type
:
String
,
default
:
""
},
djqxObj
:
{
type
:
Object
,
default
:
{}
default
:
{}
,
},
bsmSqyw
:
{
type
:
String
,
default
:
''
}
bsmSqyw
:
{
type
:
String
,
default
:
""
},
},
data
()
{
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
...
...
@@ -79,33 +113,32 @@ export default {
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
bdcdysz
:
[]
,
};
},
mounted
()
{
sendThis
(
this
)
mounted
()
{
sendThis
(
this
)
;
},
methods
:
{
//点击行选中或取消复选框
handleRowClick
(
row
,
column
,
event
)
{
handleRowClick
(
row
,
column
,
event
)
{
//通过ref绑定后这里使用$refs.table来操作bom元素
this
.
$refs
.
table
.
toggleRowSelection
(
row
);
},
closeDialog
()
{
this
.
$emit
(
"closeDialog"
)
closeDialog
()
{
this
.
$emit
(
"closeDialog"
)
;
},
fetchData
()
{
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
selectQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
})
selectQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
});
},
submitForm
()
{
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
...
...
@@ -114,22 +147,31 @@ export default {
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
djqxmc
:
this
.
djqxObj
?.
djqxmc
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
jump
(
res
.
result
)
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
}
else
{
this
.
$emit
(
'updateDialog'
,
true
)
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
item
.
ybdcqzsh
=
item
.
bdcqzh
})
this
.
bdcdysz
=
val
}
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
})
;
this
.
bdcdysz
=
val
;
}
,
},
};
</
script
>
...
...
src/views/ywbl/ywsq/components/diyaq.vue
View file @
d518cff
<
template
>
<!-- 抵押权利信息查询 -->
<div
class=
"from-clues"
>
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
label-width=
"1
2
0px"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
label-width=
"1
0
0px"
>
<el-row>
<el-col
:span=
"
10
"
>
<el-col
:span=
"
5
"
>
<el-form-item
label=
"权利类型"
>
<el-select
v-model=
"queryForm.qllx"
filterable
clearable
placeholder=
"请选择权利类型"
class=
"width300px"
>
<el-option
v-for=
"item in qllxs"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-select
v-model=
"queryForm.qllx"
filterable
clearable
placeholder=
"请选择权利类型"
>
<el-option
v-for=
"item in qllxs"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"
10
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"不动产单元号"
>
<el-input
placeholder=
"请输入不动产单元号"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width300px"
>
<el-input
placeholder=
"请输入不动产单元号"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"10"
>
<el-col
:span=
"5"
>
<el-form-item
label=
"业务号"
>
<el-input
placeholder=
"请输入业务号"
v-model=
"queryForm.ywh"
clearable
class=
"width300px"
>
<el-input
placeholder=
"请输入业务号"
v-model=
"queryForm.ywh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
10
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"不动产权证号"
>
<el-input
placeholder=
"请输入不动产权证号"
v-model=
"queryForm.bdcqzh"
clearable
class=
"width300px"
>
<el-input
placeholder=
"请输入不动产权证号"
v-model=
"queryForm.bdcqzh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
...
...
@@ -42,20 +66,30 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:heightNum=
"400"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:heightNum=
"400"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<div
class=
"submit_button"
>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
>
发起申请
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitFormClick()"
>
发起申请
</el-button
>
</div>
</div>
</
template
>
<
script
>
//抵押权首次登记
import
{
datas
,
sendThis
}
from
"../javascript/diyaq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
...
...
@@ -65,14 +99,14 @@ export default {
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
''
},
djywbm
:
{
type
:
String
,
default
:
""
},
djqxObj
:
{
type
:
Object
,
default
:
{}
default
:
{}
,
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
bsmSqyw
:
{
type
:
String
,
default
:
""
},
},
data
()
{
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
...
...
@@ -81,22 +115,22 @@ export default {
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
bdcdysz
:
[]
,
};
},
mounted
()
{
mounted
()
{
sendThis
(
this
);
},
methods
:
{
//点击行选中或取消复选框
handleRowClick
(
row
,
column
,
event
)
{
handleRowClick
(
row
,
column
,
event
)
{
//通过ref绑定后这里使用$refs.table来操作bom元素
this
.
$refs
.
table
.
toggleRowSelection
(
row
);
},
closeDialog
()
{
closeDialog
()
{
this
.
$emit
(
"closeDialog"
);
},
fetchData
()
{
fetchData
()
{
this
.
queryForm
.
sqywbm
=
this
.
djywbm
;
selectDiyaq
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -104,9 +138,9 @@ export default {
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
})
})
;
},
submitForm
()
{
submitForm
Click
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
...
...
@@ -115,33 +149,33 @@ export default {
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
djqxObj
?.
djqxbm
,
djqxmc
:
this
.
djqxObj
?.
djqxmc
djqxmc
:
this
.
djqxObj
?.
djqxmc
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
message
:
"发起申请成功"
,
type
:
"success"
,
})
;
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
this
.
jump
(
res
.
result
,
this
.
djywbm
)
;
}
else
{
this
.
$emit
(
'updateDialog'
,
true
)
this
.
$emit
(
"updateDialog"
,
true
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
item
.
ybdcqzsh
=
item
.
bdcqzh
})
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
})
;
this
.
bdcdysz
=
val
;
}
}
}
}
,
}
,
}
;
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
...
...
Please
register
or
sign in
to post a comment