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
a9946e26
authored
2023-01-17 17:39:01 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:响应结果
1 parent
f375ead6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
78 additions
and
3 deletions
src/api/sbbwcx.js
src/views/jsbwcx/components/result.vue
src/views/jsbwcx/index.vue
src/views/system/dictionaries/dictionaries.vue
src/api/sbbwcx.js
View file @
a9946e2
...
...
@@ -49,3 +49,13 @@ export function getDetail (params) {
})
}
// 结果
export
function
getReceiveDataReportResult
(
bsmReport
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/sjsb/DataReport/getReceiveDataReportResult'
,
method
:
'get'
,
params
:
{
bsmReport
:
bsmReport
}
})
}
\ No newline at end of file
...
...
src/views/jsbwcx/components/result.vue
0 → 100644
View file @
a9946e2
<!--
功能:结果
作者: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
>
\ No newline at end of file
src/views/jsbwcx/index.vue
View file @
a9946e2
...
...
@@ -185,7 +185,9 @@ export default {
>
详情
<
/el-button
>
<
el
-
button
type
=
"primary"
>
结果
<
/el-button
>
<
el
-
button
type
=
"primary"
onClick
=
{()
=>
{
this
.
handleResult
(
scope
.
row
);
}}
>
结果
<
/el-button
>
<
/div
>
)
}
...
...
@@ -226,6 +228,10 @@ export default {
featchData
()
{
this
.
pageData
.
currentPage
=
1
this
.
queryClick
();
},
// 结果
handleResult
(
row
)
{
this
.
$popupDialog
(
'响应结果'
,
'views/jsbwcx/components/result'
,
row
)
}
}
}
...
...
src/views/system/dictionaries/dictionaries.vue
View file @
a9946e2
...
...
@@ -86,9 +86,9 @@ export default {
methods
:
{
// 初始化数据
queryClick
()
{
this
.
$startLoading
();
//
this.$startLoading();
getQlxxDictList
({
...
this
.
ruleForm
,
...
this
.
pageData
}).
then
(
res
=>
{
this
.
$endLoading
();
//
this.$endLoading();
let
{
records
,
total
}
=
res
.
result
this
.
tableData
.
data
=
records
?
records
:
[]
this
.
tableData
.
total
=
total
?
total
:
0
...
...
Please
register
or
sign in
to post a comment