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
0618469c
authored
2023-03-03 09:31:06 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:登薄日志
1 parent
e1d1004e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
107 additions
and
91 deletions
.env.development
src/api/recordLog.js
src/components/EditDialog/index.vue
src/styles/element-ui.scss
src/utils/tools.js
src/views/login/index.vue
src/views/sthj/components/Result.vue
src/views/sthj/components/data/dbdata.js
src/views/sthj/components/data/sbdata.js
src/views/sthj/components/editDialog.vue
.env.development
View file @
0618469
###
# @Description:
# @Autor: renchao
# @LastEditTime: 2023-03-02 15:44:12
###
# just a flag
ENV = 'development'
NODE_ENV=development
...
...
src/api/recordLog.js
View file @
0618469
/*
* @Description: 登薄日志
* @Autor: renchao
* @LastEditTime: 2023-03-0
1 17:09:38
* @LastEditTime: 2023-03-0
2 13:45:53
*/
/* 引入请求文件 */
import
request
from
'@/utils/request'
/* 引入配置文件 */
import
SERVER
from
'./config'
const
urlHeader
=
SERVER
.
SERVERAPI
+
'/rest/sjsb/RecordLog/'
/**
* @description: 登簿日志分页
* @author: renchao
...
...
@@ -35,4 +34,29 @@ export function getDetail (dbBsm) {
}
})
}
/**
* @description: 详情页面编辑
* @param {*} data
* @author: renchao
*/
export
function
edit
(
data
)
{
return
request
({
url
:
urlHeader
+
'edit'
,
method
:
'post'
,
data
})
}
/**
* @description: 登薄日志重新生成报文
* @param {*} dbBsm
* @author: renchao
*/
export
function
regenerateDbXml
(
dbBsm
)
{
return
request
({
url
:
urlHeader
+
'regenerateDbXml'
,
method
:
'get'
,
params
:
{
dbBsm
:
dbBsm
}
})
}
...
...
src/components/EditDialog/index.vue
View file @
0618469
...
...
@@ -2,7 +2,7 @@
<el-dialog
:close-on-click-modal=
"false"
top=
"0"
@
close=
"closeDialog"
custom-class=
"dialogBox editDialogBox mainCenter"
:visible
.
sync=
"dialogVisible"
width=
"88%"
>
<div
slot=
"title"
class=
"dialog_title"
ref=
"dialogTitle"
>
{{
title
||
'
标题
'
}}
{{
title
||
'
详情
'
}}
</div>
<div
class=
"regularHeight"
>
<div
class=
"editDialogBox-box"
>
...
...
@@ -265,17 +265,32 @@ export default {
* @description: 重新上报
* @author: renchao
*/
handleResubmit
:
_
.
debounce
(
function
()
{
restartGenerateXml
(
this
.
dataReport
.
bsmSjsb
||
this
.
dataReport
.
bsmReport
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
resultInfo
=
res
.
message
handleResubmit
()
{
let
_this
=
this
this
.
$confirm
(
'重新生成报文,是否上报省厅?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
createXml
()
}).
catch
(()
=>
{
this
.
$message
({
message
:
'生成成功'
,
type
:
'info'
,
message
:
'已取消删除'
})
})
function
createXml
()
{
restartGenerateXml
(
_this
.
dataReport
.
bsmSjsb
||
_this
.
dataReport
.
bsmReport
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
_this
.
resultInfo
=
res
.
message
_this
.
$message
({
message
:
'上报成功'
,
type
:
'success'
})
}
})
},
500
)
}
}
}
}
</
script
>
...
...
src/styles/element-ui.scss
View file @
0618469
// cover some element-ui styles
.el-breadcrumb__inner
,
.el-breadcrumb__inner
a
{
font-weight
:
400
!
important
;
...
...
@@ -531,29 +530,34 @@ tr:hover {
background-color
:
#031a46
;
border
:
1px
solid
#5f82c7
;
.el-message-box__title
{
.el-message-box__title
{
color
:
white
;
}
.el-message-box__content
{
.el-message-box__content
{
color
:
white
;
}
}
// 上级菜单
// 上级菜单
.el-cascader__dropdown
{
background-color
:
#031a46
;
border
:
1px
solid
#5f82c7
;
}
.el-cascader-menu
{
.el-cascader-menu
{
color
:
white
;
}
.el-radio
{
.el-cascader-menu
:hover
{
.el-radio
{
.el-cascader-menu
:hover
{
color
:
white
;
}
}
.el-cascader-node
:not
(
.is-disabled
)
:hover
,
.el-cascader-node
:not
(
.is-disabled
)
:focus
{
.el-cascader-node
:not
(
.is-disabled
)
:hover
,
.el-cascader-node
:not
(
.is-disabled
)
:focus
{
background
:
#F5F7FA
;
background-image
:
initial
;
background-position-x
:
initial
;
...
...
src/utils/tools.js
View file @
0618469
...
...
@@ -260,3 +260,29 @@ function openDownloadDialog (url, saveName) {
}
aLink
.
dispatchEvent
(
event
);
}
function
judgeObjectComplete
(
ObjectValue
)
{
let
flag
=
new
Boolean
()
flag
=
true
for
(
let
key
in
ObjectValue
)
{
if
(
ObjectValue
[
key
])
{
}
else
{
flag
=
false
}
}
if
(
!
flag
)
{
return
false
}
else
{
return
true
}
}
export
function
judgeListComplete
(
list
)
{
let
isNotComplete
=
list
.
findIndex
(
item
=>
{
return
judgeObjectComplete
(
item
)
===
false
})
if
(
isNotComplete
>
-
1
)
{
return
false
}
else
{
return
true
}
}
\ No newline at end of file
...
...
src/views/login/index.vue
View file @
0618469
...
...
@@ -9,7 +9,7 @@
<el-input
class=
"username"
v-model=
"user.account"
placeholder=
"请输入用户名"
></el-input>
</el-form-item>
<el-form-item
prop=
"password"
>
<el-input
type=
"password"
class=
"password"
@
keyup
.
native=
"login('user')"
v-model=
"user.password"
<el-input
type=
"password"
class=
"password"
@
keyup
.
enter
.
native=
"login('user')"
v-model=
"user.password"
placeholder=
"请输入密码"
></el-input>
</el-form-item>
<el-form-item
class=
"login-btn"
>
...
...
src/views/sthj/components/Result.vue
deleted
100644 → 0
View file @
e1d1004
<!--
功能:结果
作者:calliope
-->
<
template
>
<div
class=
'result'
>
<p>
响应xml
</p>
<el-input
type=
"textarea"
disabled
:rows=
"6"
class=
"resulttext"
placeholder=
"响应xml"
v-model=
"REPMSGXML"
>
</el-input>
<p>
错误信息
</p>
<el-input
type=
"textarea"
disabled
:rows=
"6"
class=
"resulttext"
placeholder=
"错误信息"
v-model=
"ERRORINFO"
>
</el-input>
</div>
</
template
>
<
script
>
import
{
getReceiveDataReportResult
}
from
"@/api/dataReport.js"
;
export
default
{
components
:
{},
props
:
{
formData
:
{
type
:
Object
,
default
:
{}
}
},
data
()
{
return
{
REPMSGXML
:
''
,
ERRORINFO
:
''
,
}
},
created
()
{
getReceiveDataReportResult
(
this
.
formData
.
bsmReport
).
then
(
res
=>
{
let
data
=
res
.
result
this
.
REPMSGXML
=
data
.
REPMSGXML
this
.
ERRORINFO
=
data
.
ERRORINFO
})
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
'~@/styles/public.scss'
;
.result
{
padding
:
15px
;
p
{
color
:
#ffffff
;
line-height
:
26px
;
font-size
:
18px
;
}
/
deep
/
.el-textarea__inner
{
min-height
:
27vh
!important
;
background-color
:
#08346F
!important
;
color
:
#ffffff
;
border
:
none
!important
;
}
}
</
style
>
src/views/sthj/components/data/dbdata.js
View file @
0618469
...
...
@@ -32,7 +32,7 @@ class data {
},
},
{
prop
:
'
ywh
'
,
prop
:
'
YWH
'
,
label
:
'业务号'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -41,7 +41,7 @@ class data {
}
},
{
prop
:
'
djlx
'
,
prop
:
'
DJLX
'
,
label
:
'登记类型'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -59,7 +59,7 @@ class data {
}
},
{
prop
:
'
qllx
'
,
prop
:
'
QLLX
'
,
label
:
'权利类型'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -77,7 +77,7 @@ class data {
}
},
{
prop
:
'
bdcdyh
'
,
prop
:
'
BDCDYH
'
,
label
:
'不动产单元号'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -86,7 +86,7 @@ class data {
}
},
{
prop
:
'
zszmh
'
,
prop
:
'
ZSZMH
'
,
label
:
'证书证明号'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -95,7 +95,7 @@ class data {
}
},
{
prop
:
'
sfsb
'
,
prop
:
'
SFSB
'
,
label
:
'是否上报'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -113,14 +113,14 @@ class data {
}
},
{
prop
:
'
bwid
'
,
prop
:
'
BWID
'
,
label
:
'报文ID'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
}
,
}
]
}
}
...
...
@@ -131,3 +131,4 @@ export {
}
...
...
src/views/sthj/components/data/sbdata.js
View file @
0618469
...
...
@@ -31,7 +31,7 @@ class data {
},
},
{
prop
:
'
ywh
'
,
prop
:
'
YWH
'
,
label
:
'业务号'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -40,7 +40,7 @@ class data {
}
},
{
prop
:
'
bdcdyh
'
,
prop
:
'
BDCDYH
'
,
label
:
'不动产单元号'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -49,7 +49,7 @@ class data {
}
},
{
prop
:
'
bwid
'
,
prop
:
'
BWID
'
,
label
:
'报文ID'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -67,3 +67,4 @@ export {
}
...
...
src/views/sthj/components/editDialog.vue
View file @
0618469
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment