Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
a4c5fd3c
authored
2022-12-30 17:49:34 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
上报报文
1 parent
a1ee88a9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
85 deletions
src/api/sbbwcx.js
src/components/dataDetails/edit-dialog.vue
src/views/sbbwcx/data/index.js
src/views/sbbwcx/index.vue
src/api/sbbwcx.js
View file @
a4c5fd3
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
class
sbbwcx
{
// 定时任务查询接口
async
getDataReportPage
(
data
)
{
// 数据上报分页
export
function
getDataReportPage
(
data
)
{
return
request
({
url
:
'/sjsb/DataReport/getDataReportPage'
,
url
:
SERVER
.
SERVERAPI
+
'/sjsb/DataReport/getDataReportPage'
,
method
:
'post'
,
data
})
}
}
// 数据上报分页
export
function
getDetail
(
params
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/sjsb/DataReport/getDetail'
,
method
:
'get'
,
params
})
}
export
default
new
sbbwcx
()
\ No newline at end of file
...
...
src/components/dataDetails/edit-dialog.vue
View file @
a4c5fd3
...
...
@@ -9,83 +9,88 @@
<el-row>
<el-col
:span=
"6"
>
<span>
业务报文ID:
</span>
<p>
{{
ruleFormList
.
bizMsgID
}}
</p>
<p>
{{
dataReport
.
bizmsgid
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
接入报文ID:
</span>
<p>
{{
ruleFormLis
t
.
asid
}}
</p>
<p>
{{
dataRepor
t
.
asid
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
行政区划编码:
</span>
<p>
{{
ruleFormList
.
areaC
ode
}}
</p>
<p>
{{
dataReport
.
areac
ode
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
上次不动产单元号:
</span>
<p>
{{
ruleFormList
.
preestateN
um
}}
</p>
<p>
{{
dataReport
.
preestaten
um
}}
</p>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"6"
>
<span>
业务编码:
</span>
<p>
{{
ruleFormList
.
recT
ype
}}
</p>
<p>
{{
dataReport
.
rect
ype
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
权利类型:
</span>
<p>
{{
ruleFormList
.
rightT
ype
}}
</p>
<p>
{{
dataReport
.
rightt
ype
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
登记类型:
</span>
<p>
{{
ruleFormList
.
regT
ype
}}
</p>
<p>
{{
dataReport
.
regt
ype
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
不动产权证书数量:
</span>
<p>
{{
ruleFormList
.
certC
ount
}}
</p>
<p>
{{
dataReport
.
certc
ount
}}
</p>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"6"
>
<span>
创建时间:
</span>
<p>
{{
ruleFormList
.
createD
ate
}}
</p>
<p>
{{
dataReport
.
syscreated
ate
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
业务流水号:
</span>
<p>
{{
ruleFormList
.
recFlowID
}}
</p>
<p>
{{
dataReport
.
recflowid
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
登记机构:
</span>
<p>
{{
ruleFormList
.
regOrgID
}}
</p>
<p>
{{
dataReport
.
regorgid
}}
</p>
</el-col>
<el-col
:span=
"6"
>
<span>
证明数量:
</span>
<p>
{{
ruleFormList
.
prllfC
ount
}}
</p>
<p>
{{
dataReport
.
proofc
ount
}}
</p>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"6"
>
<span>
宗地/宗海代码:
</span>
<p>
{{
ruleFormList
.
parcelID
}}
</p>
<p>
{{
dataReport
.
parcelid
}}
</p>
</el-col>
<el-col
:span=
"
10
"
>
<el-col
:span=
"
6
"
>
<span>
不动产单元号:
</span>
<p>
{{
ruleFormList
.
estateN
um
}}
</p>
<p>
{{
dataReport
.
estaten
um
}}
</p>
</el-col>
<el-col
:span=
"
7
"
>
<el-col
:span=
"
10
"
>
<span>
上次不动产权证号/不动产登记证明:
</span>
<p>
{{
ruleFormList
.
preCertID
}}
</p>
<p>
{{
dataReport
.
precertid
}}
</p>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<span>
数字签名:
</span>
<p>
{{
dataReport
.
digitalsign
}}
</p>
</el-col>
</el-row>
</div>
<el-tabs
v-model=
"activeName"
ref=
"elTabs"
type=
"card"
@
tab-click=
"changeList"
>
<el-tab-pane
:name=
"item.sole
Url"
v-for=
"item in headerList"
:key=
"item.soleU
rl"
>
<el-tab-pane
:name=
"item.sole
url"
v-for=
"item in headerList"
:key=
"item.soleu
rl"
>
<div
slot=
"label"
class=
"tab-pane-item"
>
<p
class=
"name"
>
{{
item
.
chinese
T
able
}}
</p>
<p
class=
"sole
Url"
:data-name=
"item.soleUrl"
>
(
{{
item
.
dataT
able
}}
)
</p>
<p
class=
"name"
>
{{
item
.
chinese
t
able
}}
</p>
<p
class=
"sole
url"
:data-name=
"item.soleurl"
>
(
{{
item
.
datat
able
}}
)
</p>
</div>
</el-tab-pane>
</el-tabs>
<div
class=
"edit-content"
>
<component
:is=
"editItem"
ref=
"editItem"
:class=
"
{ 'editForm': $store.state.business.Edit }" :bsmSjsb="bsmSjsb"
:dataTable="dataTable" />
<component
:is=
"editItem"
ref=
"editItem"
:class=
"
{ 'editForm': $store.state.business.Edit }" :dataTable="dataTable" />
</div>
<div
slot=
"footer"
class=
"dialog_footer"
ref=
"dialogFooter"
>
<div
class=
"dialog_button"
>
...
...
@@ -101,20 +106,17 @@
<
script
>
import
{
mapGetters
}
from
'vuex'
import
dataReporting
from
'@/api/dataReporting'
import
{
getDetail
}
from
'@/api/sbbwcx.js'
import
{
MessageBox
}
from
'element-ui'
export
default
{
computed
:
{
...
mapGetters
([
'Edit'
])
},
props
:
{
diaData
:
Object
,
bsmSjsb
:
{
type
:
String
,
default
:
''
}
},
data
()
{
return
{
dataReport
:
{},
index
:
0
,
ruleFormList
:
{
bizMsgID
:
''
,
...
...
@@ -145,27 +147,19 @@ export default {
}
},
methods
:
{
async
getFormList
(
id
)
{
let
{
result
:
res
}
=
await
dataReporting
.
searchTaskInfoByMsgid
(
id
)
this
.
ruleFormList
=
res
},
isShow
()
{
setTimeout
(()
=>
{
if
(
this
.
diaData
&&
this
.
diaData
.
list
)
{
this
.
getFormList
(
this
.
diaData
.
msgId
)
this
.
headerList
=
this
.
diaData
.
list
this
.
activeName
=
this
.
diaData
.
list
[
0
].
soleUrl
this
.
dataTable
=
this
.
diaData
.
list
[
0
].
dataTable
this
.
title
=
this
.
diaData
.
jrywmc
}
isShow
(
item
)
{
this
.
dataReport
=
item
;
this
.
dialogVisible
=
true
if
(
this
.
activeName
)
{
this
.
editItem
=
this
.
loadView
(
this
.
activeName
)
//获取表头列表
getDetail
({
bizmsgid
:
this
.
dataReport
.
bizmsgid
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
this
.
headerList
=
res
.
result
console
.
log
(
this
.
headerList
);
}
}
,
0
)
})
},
changeList
(
val
)
{
console
.
log
(
this
.
$refs
.
elTabs
,)
let
_index
=
val
.
index
if
(
_index
>
this
.
index
)
{
...
...
@@ -173,7 +167,7 @@ export default {
this
.
index
=
_index
this
.
editItem
=
this
.
loadView
(
this
.
activeName
)
this
.
diaData
.
list
.
forEach
((
item
)
=>
{
if
(
item
.
sole
U
rl
==
this
.
activeName
)
{
if
(
item
.
sole
u
rl
==
this
.
activeName
)
{
this
.
dataTable
=
item
.
dataTable
}
});
...
...
src/views/sbbwcx/data/index.js
View file @
a4c5fd3
...
...
@@ -9,23 +9,23 @@ class data extends filter {
type
:
'selection'
},
{
prop
:
"
xzqdm
"
,
prop
:
"
pcode
"
,
label
:
"行政区代码"
,
},
{
prop
:
"
bdcdyh
"
,
prop
:
"
estatenum
"
,
label
:
"不动产单元号"
,
},
{
prop
:
"
xzqmc
"
,
prop
:
"
pcode
"
,
label
:
"行政区名称"
,
},
{
prop
:
"
ywbm
"
,
prop
:
"
rectype
"
,
label
:
"业务编码"
,
},
{
prop
:
"
sbsj
"
,
prop
:
"
uploadtime
"
,
label
:
"上报时间"
,
},
{
...
...
@@ -35,9 +35,7 @@ class data extends filter {
return
(
<
div
>
{
scope
.
row
.
sbjg
?
<
el
-
tag
type
=
'success'
>
通过
<
/el-tag
>
:
<
el
-
tag
type
=
'primary'
>
通过
1
<
/el-tag
>
!
scope
.
row
.
successflag
?
''
:
scope
.
row
.
successflag
==
'1'
?
<
el
-
tag
type
=
'success'
>
成功
<
/el-tag> : <el-tag type='primary'>失败</
el
-
tag
>
}
<
/div
>
)
...
...
src/views/sbbwcx/index.vue
View file @
a4c5fd3
...
...
@@ -6,20 +6,20 @@
<el-form
ref=
"ruleForm"
:model=
"form"
label-width=
"100px"
>
<el-row
class=
"marginbtm5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"不动产单元号"
prop=
"
bdcdyh
"
>
<el-input
v-model=
"form.
bdcdyh
"
class=
"width100"
placeholder=
"不动产单元号"
></el-input>
<el-form-item
label=
"不动产单元号"
prop=
"
estatenum
"
>
<el-input
v-model=
"form.
estatenum
"
class=
"width100"
placeholder=
"不动产单元号"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"开始日期"
prop=
"
s
tartTime"
>
<el-form-item
label=
"开始日期"
prop=
"
reportS
tartTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
clearable
v-model=
"form.
s
tartTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
clearable
v-model=
"form.
reportS
tartTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"结束日期"
prop=
"
e
ndTime"
>
<el-form-item
label=
"结束日期"
prop=
"
reportE
ndTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
v-model=
"form.
e
ndTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
clearable
v-model=
"form.
reportE
ndTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
...
...
@@ -33,8 +33,8 @@
</el-row>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"响应结果"
prop=
"stat
us
"
>
<el-select
v-model=
"form.stat
us
"
class=
"width100"
clearable
placeholder=
"响应结果"
>
<el-form-item
label=
"响应结果"
prop=
"stat
e
"
>
<el-select
v-model=
"form.stat
e
"
class=
"width100"
clearable
placeholder=
"响应结果"
>
<el-option
v-for=
"item in []"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
...
...
@@ -67,7 +67,7 @@
<!-- 引入详情组件 -->
<!--
<detailDialog
v-model=
"isShow"
/>
-->
<!-- 编辑 -->
<dataDetails
ref=
"editLog"
:bsmSjsb=
"bsmSjsb"
:diaData=
"diaData"
/>
<dataDetails
ref=
"editLog"
/>
</div>
</
template
>
<
script
>
...
...
@@ -78,8 +78,7 @@ import data from "./data"
import
tableMixin
from
'@/mixins/tableMixin.js'
// 引入详情弹框
import
dataDetails
from
'@/components/dataDetails/edit-dialog'
import
sbbwcx
from
"@/api/sbbwcx.js"
;
import
{
getQlxxDictList
,
getChildDictList
,
refreshDictCache
}
from
"@/api/user.js"
import
{
getDataReportPage
}
from
"@/api/sbbwcx.js"
;
export
default
{
name
:
"sbbwcx"
,
...
...
@@ -90,15 +89,13 @@ export default {
},
data
()
{
return
{
bsmSjsb
:
''
,
diaData
:
{},
isShow
:
false
,
// 开始结束日期限制
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
e
ndTime
)
{
if
(
this
.
form
.
reportE
ndTime
)
{
return
(
time
.
getTime
()
>=
new
Date
(
this
.
form
.
e
ndTime
).
getTime
()
time
.
getTime
()
>=
new
Date
(
this
.
form
.
reportE
ndTime
).
getTime
()
);
}
}
...
...
@@ -106,22 +103,21 @@ export default {
// 结束日期限制
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
s
tartTime
)
{
if
(
this
.
form
.
reportS
tartTime
)
{
return
(
time
.
getTime
()
<=
new
Date
(
this
.
form
.
s
tartTime
).
getTime
()
time
.
getTime
()
<=
new
Date
(
this
.
form
.
reportS
tartTime
).
getTime
()
);
}
}
},
// 头部搜索
form
:
{
bdcdyh
:
''
,
s
tartTime
:
''
,
e
ndTime
:
''
,
estatenum
:
''
,
reportS
tartTime
:
''
,
reportE
ndTime
:
''
,
ywmc
:
''
,
status
:
''
,
pcode
:
''
,
currentPage
:
1
state
:
''
,
pcode
:
''
},
// table数据
tableData
:
{
...
...
@@ -182,7 +178,7 @@ export default {
},
// 初始化数据
featchData
()
{
sbbwcx
.
getDataReportPage
({
...
this
.
form
,
...
this
.
pageData
}).
then
(
res
=>
{
getDataReportPage
({
...
this
.
form
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
this
.
tableData
.
total
=
total
;
...
...
@@ -198,8 +194,7 @@ export default {
handleEscalation
()
{
},
// 详情
handleDetail
(
row
)
{
// this.isShow = true
this
.
$refs
.
editLog
.
isShow
()
this
.
$refs
.
editLog
.
isShow
(
row
)
}
}
}
...
...
Please
register
or
sign in
to post a comment