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
234681e2
authored
2023-01-30 16:50:00 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcjg-web
2 parents
fe32fb49
202ba23b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
6 deletions
src/components/dataDetails/edit-dialog.vue
src/components/dataDetails/result.vue
src/mixins/tableMixin.js
src/views/jsbwcx/index.vue
src/components/dataDetails/edit-dialog.vue
View file @
234681e
...
...
@@ -8,6 +8,7 @@
<el-tabs
v-model=
"titleName"
type=
"card"
@
tab-click=
"handleTitleTab"
>
<el-tab-pane
label=
"数据模型"
name=
"sjmx"
></el-tab-pane>
<el-tab-pane
label=
"xml报文"
name=
"xml"
></el-tab-pane>
<el-tab-pane
label=
"响应结果"
name=
"xyjg"
></el-tab-pane>
</el-tabs>
<div
v-if=
"titleName == 'sjmx'"
class=
"sjmx"
>
<div
class=
"dialog-from"
>
...
...
@@ -99,7 +100,10 @@
:bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bsmReport" />
</div>
</div>
<JsonEditor
:resultInfo=
"resultInfo"
v-else
/>
<div
v-if=
"titleName == 'xyjg'"
>
<Xyjg
:form-data =
'dataReport'
></Xyjg>
</div>
<JsonEditor
:resultInfo=
"resultInfo"
v-if=
"titleName == 'xml'"
/>
<!--
<div
slot=
"footer"
class=
"dialog_footer"
ref=
"dialogFooter"
>
<div
class=
"dialog_button"
>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
v-if=
"!Edit"
:loading=
"saveloding"
>
确定
...
...
@@ -113,10 +117,11 @@
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
JsonEditor
from
"@/components/JsonEditor/index"
;
import
Xyjg
from
"./result"
;
import
{
getDetail
,
getXml
}
from
"@/api/sbbwcx.js"
;
import
{
MessageBox
}
from
"element-ui"
;
export
default
{
components
:
{
JsonEditor
},
components
:
{
JsonEditor
,
Xyjg
},
props
:
{
title
:
{
type
:
String
,
...
...
@@ -169,6 +174,7 @@ export default {
},
isShow
(
item
)
{
this
.
dataReport
=
item
;
this
.
titleName
=
'sjmx'
;
this
.
dialogVisible
=
true
;
//获取表头列表
getDetail
({
bsmReport
:
this
.
dataReport
.
bsmReport
}).
then
((
res
)
=>
{
...
...
src/components/dataDetails/result.vue
0 → 100644
View file @
234681e
<!--
功能:结果
作者:calliope
-->
<
template
>
<div
class=
'result'
>
<p>
响应xml
</p>
<el-input
type=
"textarea"
:rows=
"6"
class=
"resulttext"
placeholder=
"请输入内容"
v-model=
"REPMSGXML"
>
</el-input>
<p>
错误信息
</p>
<el-input
type=
"textarea"
:rows=
"6"
class=
"resulttext"
placeholder=
"请输入内容"
v-model=
"ERRORINFO"
>
</el-input>
</div>
</
template
>
<
script
>
import
{
getReceiveDataReportResult
}
from
"@/api/sbbwcx.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
:
33vh
!important
;
background-color
:
#08346F
!important
;
color
:
#ffffff
;
border
:
none
!important
;
}
}
</
style
>
src/mixins/tableMixin.js
View file @
234681e
...
...
@@ -42,4 +42,4 @@ let mixin = {
}
}
}
export
default
mixin
\ No newline at end of file
export
default
mixin
...
...
src/views/jsbwcx/index.vue
View file @
234681e
...
...
@@ -185,9 +185,6 @@ export default {
>
详情
<
/el-button
>
<
el
-
button
type
=
"primary"
onClick
=
{()
=>
{
this
.
handleResult
(
scope
.
row
);
}}
>
结果
<
/el-button
>
<
/div
>
)
}
...
...
Please
register
or
sign in
to post a comment