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
33103af0
authored
2022-10-26 09:03:35 +0800
by
夏齐
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
前端增加数据比对功能
1 parent
096314e5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
149 additions
and
4 deletions
src/api/registerBook.js
src/views/ywbl/fdcq2/slxx200.vue
src/views/ywbl/fdcq2/slxx300.vue
src/views/ywbl/fdcq2/slxx900.vue
src/api/registerBook.js
View file @
33103af
...
...
@@ -106,3 +106,11 @@ export function getCfdjList(data) {
data
})
}
// 获取数据比对集合
export
function
getFdcqLSInfo
(
data
)
{
return
request
({
url
:
'/djbDetail/getFdcqLSInfo'
,
method
:
'post'
,
data
})
}
...
...
src/views/ywbl/fdcq2/slxx200.vue
View file @
33103af
...
...
@@ -83,12 +83,12 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"房屋性质:"
>
<el-input
disabled
v-model=
"ruleForm.fdcq2.fwxz"
></el-input>
<el-input
disabled
v-model=
"ruleForm.fdcq2.fwxz
mc
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"房屋结构:"
>
<el-input
disabled
v-model=
"ruleForm.fdcq2.fwjg"
></el-input>
<el-input
disabled
v-model=
"ruleForm.fdcq2.fwjg
mc
"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -117,12 +117,12 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"专有建筑面积:"
>
<el-input
disabled
v-model=
"ruleForm.fdcq2.zyj
j
mj"
></el-input>
<el-input
disabled
v-model=
"ruleForm.fdcq2.zyj
z
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.fdcq2.ftj
j
mj"
></el-input>
<el-input
disabled
v-model=
"ruleForm.fdcq2.ftj
z
mj"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
src/views/ywbl/fdcq2/slxx300.vue
View file @
33103af
This diff is collapsed.
Click to expand it.
src/views/ywbl/fdcq2/slxx900.vue
0 → 100644
View file @
33103af
<
template
>
<div
class=
"djxxTable"
:style=
"
{'max-height': this.timeLineHeight + 'px' }"
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>
</div>
<div
class=
"xxTableBox"
>
<table
class=
"xxTable"
>
<tr>
<td></td>
<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"
>
<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>
</table>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
getFdcqLSInfo
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"@/views/registerBook/qlxxFormData.js"
;
export
default
{
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
ydTitile
:
"土地使用权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
1
,
//列名称对象
columns
:
datas
.
columns
().
FDCQ2
,
tdColumns
:
datas
.
columns
().
JSYDSYQ
};
},
created
()
{
this
.
loadData
();
},
mounted
()
{
this
.
timeLineHeight
=
document
.
documentElement
.
clientHeight
-
210
;
window
.
onresize
=
()
=>
{
this
.
timeLineHeight
=
document
.
documentElement
.
clientHeight
-
210
;
};
},
methods
:
{
loadData
()
{
getFdcqLSInfo
(
this
.
propsParam
.
formData
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"~@/views/registerBook/qlxxCommon.scss"
;
</
style
>
Please
register
or
sign in
to post a comment