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
da92e65e
authored
2023-07-04 13:37:33 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:首页的修改完成
1 parent
71f5a58a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
6 deletions
src/views/home/dataView/leftcard.vue
src/views/sthj/components/editDialog.vue
src/views/sthj/sbbwcx/index.vue
src/views/home/dataView/leftcard.vue
View file @
da92e65
...
...
@@ -42,7 +42,7 @@
<div
class=
"cardcontent-right d-center"
>
<p>
<span>
失败
</span>
<span
class=
"bad"
>
{{
sterrer
}}
</span>
<span
class=
"bad
pointer"
@
click=
"handleSthj
"
>
{{
sterrer
}}
</span>
</p>
<p>
<span>
成功率
</span>
...
...
@@ -119,6 +119,14 @@
}
});
},
handleSthj
()
{
this
.
$router
.
push
({
path
:
'/sthj/sbbwcx'
,
query
:
{
status
:
2
}
})
}
},
destroyed
()
{
clearInterval
(
this
.
timer
)
...
...
src/views/sthj/components/editDialog.vue
View file @
da92e65
<!--
* @Description :修改登簿日志弹窗
* @Autor : miaofang
* @LastEditTime: 2023-07-0
3 16:27:13
* @LastEditTime: 2023-07-0
4 13:08:21
-->
<
template
>
<!-- 修改登簿日志弹窗 -->
...
...
@@ -188,7 +188,7 @@
<JsonEditor
class=
"editXML"
:resultInfo=
"resultInfo"
:key=
"key"
/>
</div>
<div
class=
"JsonEditor"
v-if=
"titleName == 'fhjg'"
>
<JsonEditor
class=
"editXML"
:resultInfo=
"
resultInfo
"
:key=
"key"
/>
<JsonEditor
class=
"editXML"
:resultInfo=
"
fhjg
"
:key=
"key"
/>
</div>
</div>
</div>
...
...
@@ -215,6 +215,8 @@
return
{
key
:
0
,
title
:
''
,
// 省厅汇交
fhjg
:
''
,
dialogVisible
:
false
,
titleName
:
'sjmx'
,
titleName2
:
'drdbxd'
,
...
...
@@ -311,12 +313,34 @@
* @author: renchao
*/
_getDetails
(
data
)
{
function
showPattern
(
level
)
{
const
resultMap
=
{
'0200'
:
'上报成功'
,
'04001'
:
'xml格式错误'
,
'04002'
:
'AreaCode 节点缺失'
,
'04003'
:
'AreaCode 节点值为空'
,
'04004'
:
'xzTotallnfo 节点缺失'
,
'04005'
:
'Registerlnfo 节点缺失'
,
'04006'
:
'AccessInfo 节点缺失'
,
'04007'
:
'RegisterList 节点缺失'
,
'04008'
:
'Register 节点缺失'
,
'04009'
:
'AccessList 节点缺失'
,
'04010'
:
'Access 节点缺失'
,
'04011'
:
'上报数与上报清单数量不一致'
};
for
(
let
key
in
resultMap
)
{
if
(
level
.
includes
(
key
))
{
return
resultMap
[
key
];
}
else
{
return
level
;
}
}
}
getDetail
(
data
).
then
(
res
=>
{
let
{
accessLog
,
registerInfo
,
accessInfo
,
accessList
,
registerList
}
=
res
.
result
console
.
log
(
res
.
result
,
'res.resultres.resultres.result'
);
this
.
fhjg
=
showPattern
(
accessLog
.
RESPONSE
)
this
.
accessLog
=
accessLog
this
.
resultInfo
=
accessLog
.
LOGSXML
this
.
registerInfo
=
registerInfo
...
...
src/views/sthj/sbbwcx/index.vue
View file @
da92e65
...
...
@@ -196,6 +196,8 @@
};
},
mounted
()
{
this
.
form
.
hjjg
=
this
.
$route
.
query
.
status
this
.
featchData
()
sendThis
(
this
);
},
methods
:
{
...
...
Please
register
or
sign in
to post a comment