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
3c42c895
authored
2022-12-02 10:56:59 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:抵押信息
1 parent
bbf83756
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
41 deletions
src/views/workflow/components/InformationTable.vue
src/views/workflow/components/addQlr.vue
src/views/workflow/mixin/public.js
src/views/ywbl/diyaq/slxx.vue
src/views/workflow/components/InformationTable.vue
View file @
3c42c89
<
template
>
<div>
<lb-table
:column=
"column"
border
:maxHeight=
"300"
heightNumSetting
:pagination=
"false"
:key=
"key"
:data=
"tableDataList"
>
<lb-table
:column=
"column"
:maxHeight=
"300"
heightNumSetting
:pagination=
"false"
:key=
"key"
:data=
"tableDataList"
>
</lb-table>
<addQlr
v-model=
"dialog"
:details=
"details"
@
updateDetail=
"updateDetail"
/>
<addQlr
v-model=
"dialog"
:details=
"details"
@
updateDetail=
"
handle
updateDetail"
/>
</div>
</
template
>
<
script
>
...
...
@@ -67,7 +67,14 @@ export default {
},
{
prop
:
"zjzl"
,
label
:
"证件种类"
label
:
"证件种类"
,
render
:
(
h
,
scope
)
=>
{
return
this
.
dictData
[
'A30'
].
map
(
option
=>
{
if
(
option
.
dcode
==
scope
.
row
.
zjzl
)
{
return
<
span
>
{
option
.
dname
}
<
/span
>
}
})
}
},
{
prop
:
"zjh"
,
...
...
@@ -96,25 +103,27 @@ export default {
}
}
],
column
:
this
.
InformationTable
column
:
[]
}
},
watch
:
{
tableData
:
{
handler
:
function
(
val
,
oldVal
)
{
let
that
=
this
if
(
val
.
length
==
0
||
!
val
)
{
that
.
tableDataList
=
_
.
cloneDeep
([{
sqrmc
:
''
,
dlrzjlx
:
''
,
dlrzjh
:
''
,
fr
:
''
}])
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
}
this
.
$nextTick
(()
=>
{
if
(
val
.
length
==
0
||
!
val
)
{
that
.
tableDataList
=
_
.
cloneDeep
([{
sqrmc
:
''
,
dlrzjlx
:
''
,
dlrzjh
:
''
,
fr
:
''
}])
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
}
this
.
column
=
this
.
InformationTable
})
},
immediate
:
true
,
deep
:
true
},
gyfs
:
{
...
...
@@ -122,7 +131,7 @@ export default {
let
dataList
=
_
.
cloneDeep
(
this
.
InformationTable
)
if
(
newVal
==
'0'
)
{
this
.
column
=
_
.
cloneDeep
(
dataList
).
slice
(
1
,
dataList
.
length
)
}
else
if
((
newVal
==
'1'
||
newVal
==
'3'
))
{
}
else
if
((
newVal
==
'1'
||
newVal
==
'3'
))
{
this
.
column
=
dataList
}
else
{
this
.
column
=
_
.
cloneDeep
(
dataList
)
...
...
@@ -137,13 +146,14 @@ export default {
}
},
methods
:
{
updateDetail
(
value
)
{
this
.
tableDataList
[
this
.
dataIndex
]
=
value
;
console
.
log
(
this
.
tableDataList
);
this
.
key
++
this
.
$emit
(
'upDateQlrxxList'
,
this
.
tableDataList
)
handleupdateDetail
(
value
)
{
if
(
!
_
.
isEqual
(
value
,
this
.
tableData
))
{
this
.
tableDataList
[
this
.
dataIndex
]
=
_
.
cloneDeep
(
value
);
// this.key++
this
.
$emit
(
'upDateQlrxxList'
,
this
.
tableDataList
)
}
},
// 新增
addClick
()
{
this
.
dialog
=
true
...
...
src/views/workflow/components/addQlr.vue
View file @
3c42c89
...
...
@@ -196,18 +196,6 @@ export default {
this
.
$refs
[
"ruleForm"
].
resetFields
();
},
submitForm
()
{
// this.$refs['ruleForm'].validate((valid) => {
// if (valid) {
// this.$message({
// message: '修改成功!',
// type: 'success'
// })
// } else {
// this.$message.error('请完善必填项');
// }
// })
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$emit
(
"input"
,
false
);
...
...
src/views/workflow/mixin/public.js
View file @
3c42c89
...
...
@@ -20,6 +20,7 @@ export default {
},
//切换选项卡内容组件
getFromRouter
(
tabname
)
{
console
.
log
(
tabname
);
this
.
componentTag
=
getForm
(
tabname
,
this
.
$route
.
query
.
sqywbm
);
}
}
...
...
src/views/ywbl/diyaq/slxx.vue
View file @
3c42c89
...
...
@@ -207,8 +207,8 @@
抵押人信息
<div
class=
"triangle"
></div>
</div>
<InformationTable
:tableData=
"ruleForm.ywrList"
@
upDateQlrxxList=
"upDateYwrxxList"
:viewtype=
"$route.query.viewtype"
/>
<
!--
<
InformationTable
:tableData=
"ruleForm.ywrList"
@
upDateQlrxxList=
"upDateYwrxxList"
:viewtype=
"$route.query.viewtype"
/>
-->
<div
class=
"slxx_title title-block"
>
登记原因
...
...
@@ -249,7 +249,7 @@ export default {
this
.
ruleForm
=
res
.
result
;
this
.
ruleForm
.
diyaq
.
sfczjzhxz
=
"0"
;
}
})
;
})
},
components
:
{
InformationTable
},
computed
:
{
...
...
@@ -291,13 +291,17 @@ export default {
// 更新权利人信息
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
if
(
!
_
.
isEqual
(
val
,
this
.
ruleForm
.
qlrList
))
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
}
},
// 更新义务人信息
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
},
if
(
!
_
.
isEqual
(
val
,
this
.
ruleForm
.
ywrList
))
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
}
}
}
};
</
script
>
<
style
scoped
lang=
'scss'
>
...
...
Please
register
or
sign in
to post a comment