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
15a8cb4c
authored
2022-11-07 17:47:10 +0800
by
夏齐
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首次登记和注销登记代码优化
1 parent
9c222fd6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
98 deletions
src/views/ywbl/fdcq2/slxx.vue
src/views/ywbl/fdcq2/slxx300.vue
src/views/ywbl/fdcq2/slxx400.vue
src/views/ywbl/fdcq2/slxxCompareDetai.vue
src/views/ywbl/fdcq2/slxx.vue
View file @
15a8cb4
...
...
@@ -229,25 +229,10 @@ export default {
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
list
(
bsmSldy
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
bsmSldy
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
zdjbxxdatas
,
...
res
.
result
.
qlxxdatas
,
...
res
.
result
.
jsydsyqdatas
,
};
}
});
},
onSubmit
()
{
saveBatchData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
console
.
log
(
res
);
//this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
}
});
},
...
...
src/views/ywbl/fdcq2/slxx300.vue
View file @
15a8cb4
...
...
@@ -188,7 +188,6 @@
import
InformationTable
from
"@/views/workflow/components/InformationTable"
;
import
{
Init
,
saveGZBatchData
}
from
"@/api/fwsyqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
import
SERVER
from
"@/api/config"
;
export
default
{
async
created
()
{
this
.
propsParam
=
this
.
$attrs
;
...
...
@@ -257,9 +256,9 @@ export default {
this
.
$popup
({
titleStyle
:
"left"
,
title
:
"登记簿详情"
,
// 弹窗标题
editItem
:
SERVER
.
SERVERAPI
+
"/rest/
ywbl/fdcq2/slxxCompareDetai"
,
// 弹窗内容
editItem
:
"
ywbl/fdcq2/slxxCompareDetai"
,
// 弹窗内容
formData
:
{
bsmSl
sq
:
this
.
propsParam
.
bsmSldy
,
bsmSl
dy
:
this
.
propsParam
.
bsmSldy
,
qllx
:
this
.
propsParam
.
qllx
},
width
:
"1220px"
,
...
...
@@ -282,20 +281,7 @@ export default {
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
list
(
bsmSldy
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
bsmSldy
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
zdjbxxdatas
,
...
res
.
result
.
qlxxdatas
,
...
res
.
result
.
jsydsyqdatas
,
};
}
});
},
onSubmit
()
{
saveGZBatchData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
...
...
src/views/ywbl/fdcq2/slxx400.vue
View file @
15a8cb4
...
...
@@ -190,9 +190,8 @@
</
template
>
<
script
>
import
InformationTable
from
"@/views/workflow/components/InformationTable"
;
import
{
Init
,
saveData
}
from
"@/api/fwsyqFlow.js"
;
import
{
Init
,
saveData
,
saveLogoutData
}
from
"@/api/fwsyqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
import
{
logoutReg
}
from
"@/api/jsydsyqFlow"
;
export
default
{
async
created
()
{
this
.
propsParam
=
this
.
$attrs
;
...
...
@@ -257,27 +256,6 @@ export default {
};
},
methods
:
{
onClick
(){
this
.
$popup
({
titleStyle
:
"left"
,
title
:
"登记簿详情"
,
// 弹窗标题
editItem
:
"ywbl/fdcq2/slxxCompareDetai;"
,
// 弹窗内容
formData
:
{
bsmSlsq
:
this
.
propsParam
.
bsmSldy
,
qllx
:
this
.
propsParam
.
qllx
},
width
:
"1220px"
,
height
:
"790px"
,
// cancelText: '取消摆烂', // 右边按钮文本
// confirmText: '确定点击', //左边按钮文本
cancel
:
()
=>
{
console
.
log
(
"取消回调"
);
},
confirm
:
()
=>
{
console
.
log
(
"确认回调"
);
},
});
},
// 更新权利人信息
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
...
...
@@ -286,22 +264,8 @@ export default {
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
list
(
bsmSldy
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
bsmSldy
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
zdjbxxdatas
,
...
res
.
result
.
qlxxdatas
,
...
res
.
result
.
jsydsyqdatas
,
};
}
});
},
onSubmit
()
{
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
save
Logout
Data
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
console
.
log
(
res
);
//this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
...
...
src/views/ywbl/fdcq2/slxxCompareDetai.vue
View file @
15a8cb4
...
...
@@ -3,8 +3,7 @@
style="overflow-y:scroll;">
<div
class=
"tableBox"
>
<div
class=
"title"
>
<span
v-if=
"this.propsParam.formData.qllx=='A04' || this.propsParam.formData.qllx=='A06' || this.propsParam.formData.qllx=='A08'"
>
{{
title
}}
</span>
<span
v-if=
"this.propsParam.formData.qllx=='A03' || this.propsParam.formData.qllx=='A05' || this.propsParam.formData.qllx=='A07'"
>
{{
ydTitile
}}
</span>
<span>
{{
title
}}
</span>
</div>
<div
class=
"xxTableBox"
>
<table
class=
"xxTable"
>
...
...
@@ -13,30 +12,7 @@
<td>
变更前
</td>
<td>
变更后
</td>
</tr>
<tr
v-if=
"this.propsParam.formData.qllx=='A04' || this.propsParam.formData.qllx=='A06' || this.propsParam.formData.qllx=='A08'"
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qszt == '0'"
>
正在办理
</div>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
</td>
</tr>
<tr
v-if=
"this.propsParam.formData.qllx=='A03' || this.propsParam.formData.qllx=='A05' || this.propsParam.formData.qllx=='A07'"
v-for=
"(item, colindex) in tdColumns"
:key=
"colindex"
>
<tr
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
...
...
@@ -72,7 +48,6 @@ export default {
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
ydTitile
:
"土地使用权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
...
...
@@ -98,7 +73,11 @@ export default {
},
methods
:
{
loadData
()
{
getFdcqLSInfo
(
this
.
propsParam
.
formData
).
then
((
res
)
=>
{
console
.
log
(
this
.
propsParam
.
formData
);
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
formData
.
bsmSldy
);
formdata
.
append
(
"qllx"
,
this
.
propsParam
.
formData
.
qllx
);
getFdcqLSInfo
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
...
...
Please
register
or
sign in
to post a comment