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
4d37d9af
authored
2023-08-04 10:07:17 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:宗地基本信息
1 parent
a31b350b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
96 additions
and
115 deletions
src/views/registerBook/zdjbxx.vue
src/views/registerBook/zdjbxx.vue
View file @
4d37d9a
<!--
* @Description :宗地基本信息
* @Autor : miaofang
* @LastEditTime
: 2023-07-31 17:21:56
* @LastEditTime
: 2023-08-04 10:06:45
-->
<
template
>
<div
class=
"tableDivCss"
>
...
...
@@ -87,30 +87,11 @@
<td
colspan=
"3"
>
{{
zdjbxx
.
zdszb
}}
</td>
</tr>
<tr>
<td>
登记时间
</td>
<td
colspan=
"2"
>
{{
zdjbxx
.
bz
}}
</td>
<td>
登簿人
</td>
<td>
{{
zdjbxx
.
bz
}}
</td>
</tr>
<tr>
<td>
附记
</td>
<td
colspan=
"4"
>
{{
zdjbxx
.
fj
}}
</td>
</tr>
<!--
<tr>
<td>
状态
</td>
<td
colspan=
"2"
>
{{
zdjbxx
.
zt
}}
</td>
<td>
区县代码
</td>
<td>
{{
zdjbxx
.
qxdm
}}
</td>
</tr>
-->
<tr
v-if=
"showGroup"
>
<td
rowspan=
"4"
>
变化情况
</td>
<!--
<table
cellspacing=
"0"
cellpadding=
"0"
:width=
"bhqkTableWidth"
>
<tr
v-for=
"(item, index) in bhqkColumns"
:key=
"index"
>
<td
class=
"bhqkTh"
>
{{
item
.
label
}}
</td>
</tr>
</table>
-->
</tr>
<tr
v-if=
"showGroup"
>
...
...
@@ -130,111 +111,111 @@
</
template
>
<
script
>
import
store
from
"@/store/index.js"
;
import
{
getZdjjxxBybdcdyid
}
from
"@/api/djbDetail.js"
;
import
store
from
"@/store/index.js"
;
import
{
getZdjjxxBybdcdyid
}
from
"@/api/djbDetail.js"
;
export
default
{
data
()
{
return
{
bhqkColumns
:
[
{
prop
:
"ssywh"
,
label
:
"上手业务号"
,
},
{
prop
:
"zddm"
,
label
:
"宗地代码"
,
},
{
prop
:
"bhqzddm"
,
label
:
"变化前宗地代码"
,
},
{
prop
:
"bhnr"
,
label
:
"变化内容"
,
},
{
prop
:
"bhyy"
,
label
:
"变化原因"
,
},
{
prop
:
"djsj"
,
label
:
"登记时间"
,
},
{
prop
:
"dbr"
,
label
:
"登簿人"
,
},
{
prop
:
"fj"
,
label
:
"附记"
,
},
],
bhqkTableWidth
:
745
,
zdjbxx
:
{},
zdbhqks
:
[],
propsParam
:
this
.
$attrs
,
showGroup
:
false
,
bdclxList
:
[
""
,
"宗地"
,
"宗海"
,
"自然幢"
,
"多幢"
,
"构筑物"
,
"林权"
,
"户"
],
foundItemaa
:
{},
foundItemaaa
:
{},
};
},
filters
:
{
dictionary
:
function
(
value
,
param
)
{
const
foundItem
=
store
.
getters
.
dictData
[
param
].
find
(
(
item
)
=>
item
.
dcode
===
String
(
value
)
);
if
(
foundItem
)
{
return
foundItem
.
dname
;
}
export
default
{
data
()
{
return
{
bhqkColumns
:
[
{
prop
:
"ssywh"
,
label
:
"上手业务号"
,
},
{
prop
:
"zddm"
,
label
:
"宗地代码"
,
},
{
prop
:
"bhqzddm"
,
label
:
"变化前宗地代码"
,
},
{
prop
:
"bhnr"
,
label
:
"变化内容"
,
},
{
prop
:
"bhyy"
,
label
:
"变化原因"
,
},
{
prop
:
"djsj"
,
label
:
"登记时间"
,
},
{
prop
:
"dbr"
,
label
:
"登簿人"
,
},
{
prop
:
"fj"
,
label
:
"附记"
,
},
],
bhqkTableWidth
:
745
,
zdjbxx
:
{},
zdbhqks
:
[],
propsParam
:
this
.
$attrs
,
showGroup
:
false
,
bdclxList
:
[
""
,
"宗地"
,
"宗海"
,
"自然幢"
,
"多幢"
,
"构筑物"
,
"林权"
,
"户"
],
foundItemaa
:
{},
foundItemaaa
:
{},
};
},
dicyt
:
function
(
value
,
param
)
{
const
res
=
store
.
getters
.
dictData
[
param
].
filter
((
item
)
=>
{
if
(
item
.
dcode
===
String
(
value
))
{
return
item
;
}
else
{
if
(
item
.
children
.
length
)
{
const
res2
=
item
.
children
.
filter
((
items
)
=>
{
if
(
items
.
dcode
===
String
(
value
))
{
return
items
;
filters
:
{
dictionary
:
function
(
value
,
param
)
{
const
foundItem
=
store
.
getters
.
dictData
[
param
].
find
(
(
item
)
=>
item
.
dcode
===
String
(
value
)
);
if
(
foundItem
)
{
return
foundItem
.
dname
;
}
},
dicyt
:
function
(
value
,
param
)
{
const
res
=
store
.
getters
.
dictData
[
param
].
filter
((
item
)
=>
{
if
(
item
.
dcode
===
String
(
value
))
{
return
item
;
}
else
{
if
(
item
.
children
.
length
)
{
const
res2
=
item
.
children
.
filter
((
items
)
=>
{
if
(
items
.
dcode
===
String
(
value
))
{
return
items
;
}
});
if
(
res2
.
length
)
{
return
res2
;
}
});
if
(
res2
.
length
)
{
return
res2
;
}
}
});
if
(
res
[
0
])
{
return
res
[
0
].
dname
}
});
if
(
res
[
0
])
{
return
res
[
0
].
dname
}
},
},
},
created
()
{
this
.
loadData
();
},
methods
:
{
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
getZdjjxxBybdcdyid
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
zdjbxx
=
res
.
result
.
zdjbxx
;
this
.
zdbhqks
=
res
.
result
.
zdbhqkList
;
if
(
this
.
zdbhqks
!=
null
&&
this
.
zdbhqks
.
length
>
0
)
{
this
.
showGroup
=
true
;
created
()
{
this
.
loadData
();
},
methods
:
{
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
getZdjjxxBybdcdyid
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
zdjbxx
=
res
.
result
.
zdjbxx
;
this
.
zdbhqks
=
res
.
result
.
zdbhqkList
;
if
(
this
.
zdbhqks
!=
null
&&
this
.
zdbhqks
.
length
>
0
)
{
this
.
showGroup
=
true
;
}
}
}
}
);
}
);
}
,
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"~@/styles/tablecss.scss"
;
@import
"~@/styles/tablecss.scss"
;
</
style
>
...
...
Please
register
or
sign in
to post a comment