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
90ee6208
authored
2022-12-12 17:56:00 +0800
by
夏齐
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首次权利信息查询界面改造
1 parent
21b826f4
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
692 additions
and
5 deletions
src/api/workflow/zjgcdyFlow.js
src/api/ywbl.js
src/views/lpb/index.vue
src/views/workflow/flowform.js
src/views/ywbl/ywsq/components/fwsyq.vue
src/views/ywbl/ywsq/components/selectAllHInfo.vue
src/views/ywbl/ywsq/javascript/selectAllHInfo.js
src/views/ywbl/ywsq/slectBdcdata.js
src/views/ywbl/zjgcdy/slxx.vue
src/api/workflow/zjgcdyFlow.js
0 → 100644
View file @
90ee620
import
request
from
'@/utils/request'
import
SERVER
from
'../config'
// 初始化内容
export
function
Init
(
data
)
{
let
apiUrl
=
""
;
switch
(
data
.
get
(
"djlx"
))
{
case
"100"
:
apiUrl
=
"/rest/ywbl/zjgcdy/fristInit"
;
break
;
case
"200"
:
apiUrl
=
"/rest/ywbl/zjgcdy/transferInit"
;
break
;
case
"300"
:
apiUrl
=
"/rest/ywbl/zjgcdy/changeInit"
;
break
;
case
"400"
:
apiUrl
=
"/rest/ywbl/zjgcdy/logoutInit"
;
break
;
case
"500"
:
apiUrl
=
"/rest/ywbl/zjgcdy/riviseInit"
;
break
;
case
"901"
:
apiUrl
=
"/rest/ywbl/zjgcdy/renewalInit"
;
break
;
case
"902"
:
apiUrl
=
"/rest/ywbl/zjgcdy/replaceInit"
;
break
;
}
return
request
({
url
:
SERVER
.
SERVERAPI
+
apiUrl
,
method
:
'post'
,
data
})
}
// 受理信息保存
export
function
saveData
(
data
,
djlx
)
{
let
apiUrl
=
"/rest/ywbl/zjgcdy/saveData"
;
if
(
djlx
==
"400"
){
apiUrl
=
"/rest/ywbl/zjgcdy/saveLogoutData"
;
}
return
request
({
url
:
SERVER
.
SERVERAPI
+
apiUrl
,
method
:
'post'
,
data
})
}
// 流程图
export
function
getWorkFlowImage
(
bsmSlsq
,
bestepid
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/business/workFlow/getWorkFlowImage'
,
method
:
'get'
,
params
:
{
bsmSlsq
:
bsmSlsq
,
bestepid
:
bestepid
}
})
}
// 上传单个文件
export
function
sjClmxUpload
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/zhcx/sjClmx/upload'
,
method
:
'post'
,
data
})
}
// 删除上传文件
export
function
sjClmxDelete
(
bsmClmx
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/zhcx/sjClmx/delete?bsmClmx='
+
bsmClmx
,
method
:
'delete'
})
}
src/api/ywbl.js
View file @
90ee620
...
...
@@ -279,3 +279,15 @@ export function selectYgdy (data) {
data
})
}
/**
* 根据自然幢查询房屋信息
* @param data
* @returns {*}
*/
export
function
selectAllHInfo
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/ywsq/selectAllHInfo'
,
method
:
'post'
,
data
})
}
...
...
src/views/lpb/index.vue
View file @
90ee620
<
template
>
<div
class=
"edit"
>
<el-tabs
type=
"card"
v-model=
"activeName"
v-if=
"!isJump"
>
<el-tab-pane
label=
"楼盘页面"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"单元列表页面"
name=
"second"
></el-tab-pane>
</el-tabs>
<!--
<div
class=
"tab-header"
>
<el-row
class=
"searchContent"
>
<el-col
:span=
"24"
style=
"margin:0 0 10px 18px;"
>
...
...
@@ -13,7 +17,7 @@
</el-col>
</el-row>
</div>
-->
<div
class=
"tab-content"
ref=
"tabContent"
:style=
"
{ height: lpbContentHight + 'px' }" v-show="bjztFlag">
<div
class=
"tab-content"
v-if=
"activeName=='first'"
ref=
"tabContent"
:style=
"
{ height: lpbContentHight + 'px' }" v-show="bjztFlag">
<!-- 楼盘表主体 -->
<div
class=
"lp-overview"
:style=
"
{ width: lpbContentwidth + 'px' }">
<lpbContent
ref=
"lpbContent"
:zrzbsm=
"formData.bsm"
:key=
"time"
></lpbContent>
...
...
@@ -113,11 +117,14 @@
</div>
</div>
</div>
<!-- 单元列表页面-->
<selectAllHInfo
v-else
:sqywInfo=
"formData"
/>
</div>
</
template
>
<
script
>
import
lpbContent
from
"./lpbContent/index"
;
import
selectAllHInfo
from
"../ywbl/ywsq/components/selectAllHInfo"
export
default
{
name
:
"lpb"
,
props
:
{
...
...
@@ -127,10 +134,12 @@ export default {
}
},
components
:
{
lpbContent
lpbContent
,
selectAllHInfo
},
data
()
{
return
{
activeName
:
"first"
,
bsms
:
[],
dialogVisible
:
false
,
scyclx
:
"0"
,
//1是实测 0是预测
...
...
@@ -206,6 +215,7 @@ export default {
},
created
()
{
window
.
addEventListener
(
"resize"
,
this
.
getHeight
);
console
.
log
(
this
.
formData
);
this
.
getHeight
();
},
mounted
()
{
...
...
@@ -219,7 +229,17 @@ export default {
},
100
);
},
methods
:
{
/* handleTabClick(event){
if(event.name=="first"){
this.$router.push({
path:"/lpb/index",
})
}else if(event.name=="second"){
this.$router.push({
path:"/ywbl/ywsq/components/selectAllHInfo",
})
}
},*/
loading
()
{
this
.
getLpbMenuTree
(
this
.
$store
.
state
.
zrzbsm
);
},
...
...
src/views/workflow/flowform.js
View file @
90ee620
...
...
@@ -35,7 +35,6 @@ export function getForm (tabName, djywbm) {
case
"diyaqSlxx300"
:
form
=
require
(
"@/views/ywbl/diyaq/slxx200.vue"
);
break
;
case
"clxx"
:
form
=
require
(
"@/views/workflow/components/clxxUnify.vue"
);
break
;
...
...
@@ -55,6 +54,9 @@ export function getForm (tabName, djywbm) {
case
"ygdy300"
:
form
=
require
(
"@/views/ywbl/ygdy/slxx.vue"
);
break
;
case
"zjgcdyqSlxx"
:
form
=
require
(
"@/views/ywbl/zjgcdy/slxx.vue"
);
break
;
case
"cfdjxx"
:
form
=
require
(
"@/views/registerBook/cfdj.vue"
);
break
;
...
...
src/views/ywbl/ywsq/components/fwsyq.vue
View file @
90ee620
...
...
@@ -157,6 +157,7 @@ export default {
return
;
}
if
(
!
this
.
isJump
)
{
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
fwlx
:
this
.
activeName
,
...
...
@@ -194,13 +195,19 @@ export default {
}
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
zdbsm
})
this
.
bdcdysz
=
val
},
handleLpbClick
(
item
)
{
this
.
$popup
(
'楼盘表'
,
'lpb/index'
,
{
width
:
'85%'
,
formData
:
{
bsm
:
item
.
bsm
bsm
:
item
.
bsm
,
bsmSqyw
:
this
.
bsmSqyw
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}
})
}
...
...
src/views/ywbl/ywsq/components/selectAllHInfo.vue
0 → 100644
View file @
90ee620
<
template
>
<!-- 主体权利信息查询 -->
<div
class=
"from-clues"
>
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"自然幢号"
>
<el-input
placeholder=
"请输入自然幢号"
v-model=
"queryForm.zrzh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"不动产单元号"
>
<el-input
placeholder=
"请输入不动产单元号"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目名称"
>
<el-input
placeholder=
""
v-model=
"queryForm.xmmc"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"2"
class=
"btnColRight"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"queryClick"
>
查询
</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</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>
</div>
<div
class=
"submit_button"
>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
>
发起申请
</el-button>
</div>
</div>
</
template
>
<
script
>
import
{
datas
,
sendThis
}
from
"../javascript/selectAllHInfo.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectAllHInfo
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
//点击行选中或取消复选框
handleRowClick
(
row
,
column
,
event
)
{
//通过ref绑定后这里使用$refs.table来操作bom元素
this
.
$refs
.
table
.
toggleRowSelection
(
row
);
},
closeDialog
()
{
this
.
$emit
(
"closeDialog"
);
},
queryClick
()
{
selectAllHInfo
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
this
.
$emit
(
'updateDialog'
,
true
)
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
src/views/ywbl/ywsq/javascript/selectAllHInfo.js
0 → 100644
View file @
90ee620
import
filter
from
'@/utils/filter.js'
let
vm
=
null
const
sendThis
=
(
_this
)
=>
{
vm
=
_this
}
class
data
extends
filter
{
constructor
()
{
super
()
}
columns
()
{
return
[
{
type
:
'selection'
,
label
:
'全选'
},
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{(
vm
.
pageData
.
currentPage
-
1
)
*
vm
.
pageData
.
pageSize
+
scope
.
$index
+
1
}
<
/div
>
)
}
},
{
prop
:
"status"
,
label
:
"状态"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
/* <a v-on:click="doSomething"></a> */
}
<
a
style
=
'color:#3498db;'
v
-
show
=
{
scope
.
row
.
djblzt
==
1
}
>
正在办理
<
/a
>
<
span
v
-
show
=
{
scope
.
row
.
zjgcdyzt
==
1
}
>
,
在建工程抵押
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
ycfzt
==
1
}
>
,
已预查封
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
ycfzt
==
1
}
>
,
已预查封
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
cfzt
==
1
}
>
,
已查封
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
diyizt
==
1
}
>
,
已地役
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
yyzt
==
1
}
>
,
异议中
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
xzzt
==
1
}
>
,
已限制
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
ygmmzt
==
1
}
>
,
已预告买卖
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
ygdyzt
==
1
}
>
,
已预告抵押
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
dyzt
==
1
}
>
,
已抵押
<
/span
>
<
/div
>
)
}
},
{
prop
:
"xmmc"
,
label
:
"项目名称"
,
},
{
prop
:
"zrzh"
,
label
:
"自然幢号"
,
},
{
prop
:
"bdcdyh"
,
label
:
"不动产单元号"
,
},
{
prop
:
"fwxz"
,
label
:
"房屋性质"
,
},
{
prop
:
"fwjgmc"
,
label
:
"房屋结构"
,
},
{
prop
:
"mj"
,
label
:
"面积"
,
},
{
prop
:
"showTdyt"
,
label
:
"用途"
,
},
{
prop
:
"zl"
,
label
:
"坐落"
,
}
]
}
}
let
datas
=
new
data
()
export
{
datas
,
sendThis
}
src/views/ywbl/ywsq/slectBdcdata.js
View file @
90ee620
...
...
@@ -20,6 +20,7 @@ export function queueDjywmc(djywbm) {
case
"A04100"
:
//国有建设用地使用权/房屋所有权(首次登记)
case
"A06100"
:
case
"A08100"
:
case
"B37100"
:
vm
=
"fwsyq"
;
break
;
case
"A04200"
:
...
...
src/views/ywbl/zjgcdy/slxx.vue
0 → 100644
View file @
90ee620
<
template
>
<!-- 受理信息 -->
<div
class=
"slxx"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
:label-position=
"flag ? 'top' : ''"
:inline=
"flag"
label-width=
"140px"
>
<div
class=
"slxx_con"
>
<div
class=
"slxx_title title-block"
>
受理信息
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"业务号:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.ywh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"受理人员:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.slry"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"受理时间:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.slsj"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"权利类型:"
prop=
"qllx"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.qllxmc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"登记类型:"
prop=
"djlx"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.djlxmc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"登记情形:"
prop=
"djqx"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.djqxmc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<div
class=
"slxx_title title-block"
>
抵押房屋信息情况
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"权利人:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.qlrmc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"证件号:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.qlrzjhm"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"证件种类:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.qlrzjzl"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"权利类型:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.qllxmc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"不动产权证号:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.bdcqzh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"坐落:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.zl"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"不动产单元号:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.bdcdyh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"面积:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.mj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"用途:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.ytmc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<div
class=
"slxx_title title-block"
>
抵押信息
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"抵押方式:"
>
<!--
<el-input
disabled
v-model=
"ruleForm.slywxx.djqxmc"
></el-input>
-->
<el-radio-group
disabled
v-model=
"ruleForm.diyaq.dyfs"
>
<el-radio
label=
"1"
>
一般抵押
</el-radio>
<el-radio
label=
"2"
>
最高额抵押
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"是否存在禁止或者限制转让抵押不动产的约定:"
label-width=
"350px"
>
<el-radio-group
v-model=
"ruleForm.diyaq.sfczjzhxz"
>
<el-radio
label=
"1"
>
启用
</el-radio>
<el-radio
label=
"0"
>
禁用
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
v-show=
"ruleForm.diyaq.dyfs == 1"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"被担保主债权数额:"
>
<el-input
v-model=
"ruleForm.diyaq.bdbzzqse"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
v-show=
"ruleForm.diyaq.dyfs == 2"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"最高债权额:"
>
<el-input
v-model=
"ruleForm.diyaq.zgzqse"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"债务履行起始时间:"
>
<el-date-picker
v-model=
"ruleForm.diyaq.zwlxqssj"
type=
"date"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"债务履行结束时间:"
>
<el-date-picker
v-model=
"ruleForm.diyaq.zwlxjssj"
type=
"date"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"担保范围:"
>
<el-input
v-model=
"ruleForm.diyaq.dbfw"
:disabled=
"$route.query.viewtype == 1 || ruleForm.slywxx.djlx == '300'"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"最高债权确定事实和数额:"
>
<el-input
v-model=
"ruleForm.diyaq.zgzqqdss"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"附记:"
prop=
"fj"
>
<el-input
type=
"textarea"
v-model=
"ruleForm.diyaq.fj"
:disabled=
"$route.query.viewtype == 1"
></el-input>
</el-form-item>
</el-col>
</el-row>
<div
class=
"slxx_title title-block"
>
抵押权人信息
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"14"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"共有方式:"
>
<el-radio-group
:disabled=
"$route.query.viewtype == 1"
v-model=
"ruleForm.slywxx.gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
<el-radio
label=
"1"
>
共同共有
</el-radio>
<el-radio
label=
"2"
>
按份所有
</el-radio>
<el-radio
label=
"3"
>
其它共有
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col
:span=
"5"
v-show=
"ruleForm.gyfs == '2'"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"是否分别持证:"
>
<el-radio-group
v-model=
"ruleForm.slywxx.sffbcz"
>
<el-radio
label=
"1"
>
是
</el-radio>
<el-radio
label=
"0"
>
否
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col
:span=
"5"
v-show=
"ruleForm.gyfs == '2'"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"持证人:"
>
<el-select
v-model=
"ruleForm.czr"
placeholder=
"持证人"
>
<el-option
v-for=
"item in czrOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable
:tableData=
"ruleForm.qlrList"
@
upDateQlrxxList=
"upDateQlrxxList"
:viewtype=
"$route.query.viewtype"
:gyfs=
"ruleForm.slywxx.gyfs"
/>
<div
class=
"slxx_title title-block"
>
抵押人信息
<div
class=
"triangle"
></div>
</div>
<qlrCommonTable
:tableData=
"ruleForm.ywrList"
@
upDateQlrxxList=
"upDateYwrxxList"
:viewtype=
"$route.query.viewtype"
/>
<div
class=
"slxx_title title-block"
>
登记原因
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
v-if=
"ruleForm.slywxx.djlx == '400'"
:class=
"flag ? 'marginBot0' : ''"
label=
"注销抵押原因:"
prop=
"djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
:disabled=
"$route.query.viewtype == 1"
v-model=
"ruleForm.diyaq.zxdyyy"
>
</el-input>
</el-form-item>
<el-form-item
v-else
:class=
"flag ? 'marginBot0' : ''"
label=
"登记原因:"
prop=
"djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
:disabled=
"$route.query.viewtype == 1"
v-model=
"ruleForm.diyaq.djyy"
>
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row
class=
"btn"
v-if=
"!$route.query.viewtype"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
>
<el-button
type=
"primary"
@
click=
"onSubmitClick()"
>
保存
</el-button>
</el-form-item>
</el-row>
</el-form>
</div>
</
template
>
<
script
>
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/zjgcdyFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
async
created
()
{
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"bsmSlsq"
,
this
.
$route
.
query
.
bsmSlsq
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
res
.
result
;
this
.
ruleForm
.
diyaq
.
sfczjzhxz
=
"0"
;
}
})
},
components
:
{
qlrCommonTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
data
()
{
return
{
disabled
:
true
,
czrOptions
:
[],
ruleForm
:
{
slywxx
:
{},
qlxxold
:
{},
diyaq
:
{},
gyfs
:
""
,
},
//传递参数
propsParam
:
{},
rules
:
{},
};
},
methods
:
{
onSubmitClick
()
{
saveData
(
this
.
ruleForm
,
this
.
propsParam
.
djlx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
});
},
// 更新权利人信息
upDateQlrxxList
(
val
)
{
if
(
!
_
.
isEqual
(
val
,
this
.
ruleForm
.
qlrList
))
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
}
},
// 更新义务人信息
upDateYwrxxList
(
val
)
{
if
(
!
_
.
isEqual
(
val
,
this
.
ruleForm
.
ywrList
))
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
}
}
}
};
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/slxx/slxx.scss"
;
</
style
>
Please
register
or
sign in
to post a comment