Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api-gateway
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
API
api-gateway
Commits
1b220f07
Commit
1b220f07
authored
Oct 16, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改查看api中后端显示字段
parent
8c938f14
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
7 deletions
+9
-7
index.html
dist/index.html
+2
-2
app.c52e92bc6f856a4c12661b3b38fdb746.css
dist/static/css/app.c52e92bc6f856a4c12661b3b38fdb746.css
+0
-0
3.5078cc7e5c6ce7a64738.js
dist/static/js/3.5078cc7e5c6ce7a64738.js
+0
-2
3.ddd188a347f047abae09.js
dist/static/js/3.ddd188a347f047abae09.js
+2
-0
manifest.10eff2fb26b29f036abf.js
dist/static/js/manifest.10eff2fb26b29f036abf.js
+2
-0
manifest.4b1d5c150e0450a8e726.js
dist/static/js/manifest.4b1d5c150e0450a8e726.js
+0
-2
back-table-right.vue
src/components/api/back-table-right.vue
+3
-1
No files found.
dist/index.html
View file @
1b220f07
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.852a36413188edec76489b9e5a1e9bf2.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.15.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script
type=
text/javascript
src=
./static/js/manifest.4b1d5c150e0450a8e726.js
></script><script
type=
text/javascript
src=
./static/js/vendor.289e40671dbfc6af0fe7.js
></script><script
type=
text/javascript
src=
./static/js/app.b829ff018224c84f29aa.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.c52e92bc6f856a4c12661b3b38fdb746.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.15.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script
type=
text/javascript
src=
./static/js/manifest.10eff2fb26b29f036abf.js
></script><script
type=
text/javascript
src=
./static/js/vendor.289e40671dbfc6af0fe7.js
></script><script
type=
text/javascript
src=
./static/js/app.b829ff018224c84f29aa.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
852a36413188edec76489b9e5a1e9bf2
.css
→
dist/static/css/app.
c52e92bc6f856a4c12661b3b38fdb746
.css
View file @
1b220f07
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/3.5078cc7e5c6ce7a64738.js
deleted
100644 → 0
View file @
8c938f14
webpackJsonp
([
3
],{
"1KDi"
:
function
(
t
,
e
){},
"8a+1"
:
function
(
t
,
e
){},
GNLE
:
function
(
t
,
e
){},
HKUg
:
function
(
t
,
e
){},
"I+Bv"
:
function
(
t
,
e
){},
QPxf
:
function
(
t
,
e
){},
SX8G
:
function
(
t
,
e
){},
V6TN
:
function
(
t
,
e
){},
VMM9
:
function
(
t
,
e
){},
Vtk6
:
function
(
t
,
e
){},
es5F
:
function
(
t
,
e
){},
pVMI
:
function
(
t
,
e
){},
r4m9
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"319J"
),
i
=
a
(
"mvHQ"
),
l
=
a
.
n
(
i
),
o
=
{
name
:
"BaseInfoShow"
,
props
:{
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
apiInfoData
:{}}},
mounted
:
function
(){
this
.
apiInfoData
=
this
.
apiData
},
watch
:{
apiData
:
function
(
t
,
e
){
this
.
apiInfoData
=
t
}}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"base-info-show border-box"
},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
,
model
:
t
.
apiInfoData
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"API名称:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
interfaceName
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"API类型:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
1
==
t
.
apiInfoData
.
target
?
"公开"
:
"私有"
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"访问类型:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
requestType
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
staticClass
:
"max-w-1000"
,
attrs
:{
label
:
"描述:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
interfaceDescribe
)
+
"
\
n "
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
n
,
!
1
,
function
(
t
){
a
(
"VMM9"
)},
"data-v-9b98d54c"
,
null
).
exports
,
c
=
{
name
:
"TableRow"
,
props
:{
itemData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
trData
:{
protocol
:
"http"
,
interfaceUrl
:
"/"
,
requestType
:
"post"
,
frontParams
:{
type
:
"object"
,
properties
:{
name
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{
nameId
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}}},
id
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}},
required
:[]}}}},
mounted
:
function
(){
this
.
trData
=
this
.
itemData
},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
t
}}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
t
.
_l
(
t
.
itemData
,
function
(
e
,
s
,
i
){
return
[
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
"object"
==
e
.
type
||
"array"
==
e
.
type
?
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"i"
,{
staticClass
:
"el-icon-minus"
})]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
s
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
s
))])])],
1
)]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
frontOriginType
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-checkbox"
,{
attrs
:{
disabled
:
"true"
},
model
:{
value
:
e
.
check
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"check"
,
a
)},
expression
:
"itemValue.check"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
e
.
example
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
example
))])])],
1
)]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
e
.
description
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
description
))])])],
1
)])])])]),
t
.
_v
(
" "
),
"array"
==
e
.
type
?
a
(
"table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
.
items
.
properties
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"object"
==
e
.
type
?
a
(
"table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
.
properties
}}):
t
.
_e
()]})],
2
)},
staticRenderFns
:[]};
var
p
=
{
name
:
"FrontendInfoShow"
,
components
:{
tableTr
:
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"QPxf"
)},
"data-v-7df39480"
,
null
).
exports
},
props
:{
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
apiInfoData
:{
protocol
:
"http"
,
interfaceUrl
:
"/"
,
requestType
:
"post"
,
frontParams
:{
type
:
"object"
,
properties
:{
name
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{}}},
required
:[]}}}},
mounted
:
function
(){
this
.
apiInfoData
=
this
.
apiData
},
watch
:{
apiData
:
function
(
t
,
e
){
this
.
apiInfoData
=
t
}}},
u
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"frontend-info-show border-box"
},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
,
model
:
t
.
apiInfoData
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"协议:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
protocol
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求路径:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
interfaceUrl
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求方法:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
requestType
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数配置:"
}},[
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
})]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数名
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数位置
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数类型
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_3 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 必选
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_4 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 示例
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_5 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 描述
\
n "
)])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"table-tr"
,{
attrs
:{
"item-data"
:
t
.
apiInfoData
.
frontParams
.
properties
}})],
1
)])])])],
1
)],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
u
,
!
1
,
function
(
t
){
a
(
"8a+1"
)},
"data-v-4d640f40"
,
null
).
exports
,
_
=
{
name
:
"BackTableRow"
,
props
:{
itemData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
trData
:{}}},
mounted
:
function
(){
this
.
trData
=
this
.
itemData
},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
t
}}},
b
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
t
.
_l
(
t
.
itemData
.
properties
,
function
(
e
,
s
,
i
){
return
[
e
.
constFlag
?
t
.
_e
():
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
"object"
==
e
.
type
||
"array"
==
e
.
type
?
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"i"
,{
staticClass
:
"el-icon-minus"
})]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
s
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
s
))])])],
1
)]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
frontOriginType
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])])])])]),
t
.
_v
(
" "
),
"array"
==
e
.
type
&&
Object
.
keys
(
e
.
items
.
properties
).
length
?
a
(
"back-table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
.
items
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"object"
==
e
.
type
&&
Object
.
keys
(
e
.
properties
).
length
?
a
(
"back-table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
}}):
t
.
_e
()]})],
2
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
_
,
b
,
!
1
,
function
(
t
){
a
(
"u/Ia"
)},
"data-v-e53c225a"
,
null
).
exports
,
v
=
{
name
:
"BackTableRow"
,
props
:{
itemData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}},
interfaceType
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"0"
}}},
data
:
function
(){
return
{
trData
:{}}},
mounted
:
function
(){
this
.
trData
=
this
.
itemData
},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
t
}}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
t
.
_l
(
t
.
itemData
.
properties
,
function
(
e
,
s
,
i
){
return
[
e
.
constFlag
?
t
.
_e
():
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
"object"
==
e
.
type
||
"array"
==
e
.
type
?
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"i"
,{
staticClass
:
"el-icon-minus"
})]):
t
.
_e
()]),
t
.
_v
(
" "
),
"0"
==
t
.
interfaceType
?
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
e
.
rootKey
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
rootKey
))])])],
1
)]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
1
==
t
.
interfaceType
?
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
objectClass
)
+
"
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_4"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
e
.
defaultVal
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
defaultVal
))])])],
1
)])])])]),
t
.
_v
(
" "
),
"array"
==
e
.
type
&&
Object
.
keys
(
e
.
items
.
properties
).
length
?
a
(
"back-table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row child-row"
,
attrs
:{
"item-data"
:
e
.
items
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"object"
==
e
.
type
&&
Object
.
keys
(
e
.
properties
).
length
?
a
(
"back-table-row"
,{
key
:
i
+
"123"
+
s
,
staticClass
:
"el-table__row child-row"
,
attrs
:{
"item-data"
:
e
}}):
t
.
_e
()]})],
2
)},
staticRenderFns
:[]};
var
y
=
a
(
"VU/8"
)(
v
,
h
,
!
1
,
function
(
t
){
a
(
"HKUg"
)},
"data-v-683508b9"
,
null
).
exports
,
g
=
{
name
:
"BackConstant"
,
props
:{
itemData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
interfaceType
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"0"
}}},
data
:
function
(){
return
{
trData
:{}}},
mounted
:
function
(){
this
.
trData
=
JSON
.
parse
(
l
()(
this
.
itemData
))},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
JSON
.
parse
(
l
()(
t
))}}},
C
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
"0"
==
t
.
interfaceType
?
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数位置
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_m
(
1
),
t
.
_v
(
" "
),
t
.
_m
(
2
)])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
t
.
_l
(
t
.
itemData
.
properties
,
function
(
e
,
s
,
i
){
return
[
e
.
constFlag
?
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
currentKey
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
"0"
==
t
.
interfaceType
?
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
backendOriginType
)
+
"
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
defaultVal
)
+
"
\
n "
)])])])])]):
t
.
_e
()]})],
2
)])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"cell"
},[
this
.
_v
(
"
\
n 参数名
\
n "
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"cell"
},[
this
.
_v
(
"
\
n 参数类型
\
n "
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"th"
,{
staticClass
:
"el-table_1_column_4 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"cell"
},[
this
.
_v
(
"
\
n 参数值
\
n "
)])])}]};
var
w
=
{
name
:
"BackendInfoShow"
,
components
:{
backTableTr
:
m
,
backTableRight
:
y
,
backConstTable
:
a
(
"VU/8"
)(
g
,
C
,
!
1
,
function
(
t
){
a
(
"pVMI"
)},
"data-v-0e2c803a"
,
null
).
exports
},
props
:{
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
apiInfoData
:{
protocol
:
"http"
,
interfaceUrl
:
"/"
,
requestType
:
"post"
,
endParams
:{
type
:
"object"
,
properties
:{
name
:{
backendOriginType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{
nameId
:{
backendOriginType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
properties
:{
age
:{
backendOriginType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}}}}}},
required
:[]}}}},
mounted
:
function
(){
this
.
apiInfoData
=
this
.
apiData
},
watch
:{
apiData
:
function
(
t
,
e
){
this
.
apiInfoData
=
t
}}},
D
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"backend-info-show border-box"
},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
,
model
:
t
.
apiInfoData
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"后端服务:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
t
.
apiInfoData
.
interfaceType
?
"http"
:
"dubbo"
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"环境:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
protocol
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"API版本号:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
version
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
0
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求路径:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
backendHttpPath
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"dubbo接口名称:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
dubboInterface
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"dubbo请求方法:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
dubboMethod
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"注册中心地址:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
proxyName
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求版本号:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
dubboVersion
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"超时时长:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
timeout
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数映射:"
}},[
a
(
"div"
,{
staticClass
:
"table-wrap-body font-0"
},[
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition inline-block vertical-top"
,
staticStyle
:{
width
:
"30%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
})]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数名
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数位置
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_3 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数类型
\
n "
)])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"back-table-tr"
,{
attrs
:{
"item-data"
:
t
.
apiInfoData
.
endParams
}})],
1
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition inline-block vertical-top"
,
staticStyle
:{
width
:
"70%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
})]),
t
.
_v
(
" "
),
0
==
t
.
apiInfoData
.
interfaceType
?
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数名映射
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数类型映射
\
n "
)])]),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"th"
,{
staticClass
:
"el-table_1_column_3 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 包名
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_4 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数值
\
n "
)])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"back-table-right"
,{
attrs
:{
"interface-type"
:
t
.
apiInfoData
.
interfaceType
,
"item-data"
:
t
.
apiInfoData
.
endParams
}})],
1
)])])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"常量参数:"
}},[
a
(
"back-const-table"
,{
attrs
:{
"item-data"
:
t
.
apiInfoData
.
endParams
,
"interface-type"
:
t
.
apiInfoData
.
interfaceType
}})],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
k
=
a
(
"VU/8"
)(
w
,
D
,
!
1
,
function
(
t
){
a
(
"SX8G"
)},
"data-v-00a25489"
,
null
).
exports
,
I
=
{
name
:
"TableRow"
,
props
:{
itemData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
trData
:{
protocol
:
"http"
,
interfaceUrl
:
"/"
,
requestType
:
"post"
,
frontParams
:{
type
:
"object"
,
properties
:{
name
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{
nameId
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}}},
id
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}},
required
:[]}}}},
mounted
:
function
(){
this
.
trData
=
this
.
itemData
},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
t
}}},
S
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
t
.
_l
(
t
.
itemData
.
properties
,
function
(
e
,
s
,
i
){
return
[
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
"object"
==
e
.
type
||
"array"
==
e
.
type
?
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"i"
,{
staticClass
:
"el-icon-minus"
})]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
s
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
example
)
+
"
\
n "
)])])])])]),
t
.
_v
(
" "
),
"array"
==
e
.
type
&&
Object
.
keys
(
e
.
items
.
properties
).
length
?
a
(
"table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
.
items
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"object"
==
e
.
type
&&
Object
.
keys
(
e
.
properties
).
length
?
a
(
"table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
}}):
t
.
_e
()]})],
2
)},
staticRenderFns
:[]};
var
x
=
{
name
:
"BackInfoShow"
,
components
:{
backInfoTable
:
a
(
"VU/8"
)(
I
,
S
,
!
1
,
function
(
t
){
a
(
"V6TN"
)},
"data-v-5e53e08a"
,
null
).
exports
},
props
:{
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{
interfaceName
:
"1"
,
interfaceType
:
"http"
,
requestType
:
"GET"
,
interfaceDescribe
:
"test"
,
errCode
:[{
errorCode
:
"1"
,
errorInfo
:
"添加成功"
}]}}}},
data
:
function
(){
return
{
apiInfoData
:{
interfaceName
:
"1"
,
interfaceType
:
"http"
,
requestType
:
"GET"
,
interfaceDescribe
:
"test"
,
errCode
:[{
errorCode
:
"1"
,
errorInfo
:
"添加成功"
}],
resultParams
:{
type
:
"object"
,
properties
:{
name
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{
nameId
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
properties
:{
age
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
},
email
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}}}}},
id
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}},
required
:[]}}}},
mounted
:
function
(){
this
.
apiInfoData
=
this
.
apiData
},
watch
:{
apiData
:
function
(
t
,
e
){
this
.
apiInfoData
=
t
}}},
T
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"back-info-show border-box"
},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
,
model
:
t
.
apiInfoData
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"返回参数:"
}},[
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
})]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数名
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数类型
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_4 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 示例
\
n "
)])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"back-info-table"
,{
attrs
:{
"item-data"
:
t
.
apiInfoData
.
resultParams
}})],
1
)])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误码:"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
apiInfoData
.
errCode
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"orig_error_code"
,
label
:
"原始错误码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"error_code"
,
label
:
"映射错误码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"error_info"
,
label
:
"错误信息"
,
"show-overflow-tooltip"
:
""
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"成功返回示例:"
}},[
a
(
"div"
,{
staticClass
:
"common-back-pre"
},[
a
(
"pre"
,[
t
.
_v
(
" "
+
t
.
_s
(
t
.
apiInfoData
.
sucReturn
)
+
"
\
n "
)])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"失败返回示例:"
}},[
a
(
"div"
,{
staticClass
:
"common-back-pre"
},[
a
(
"pre"
,[
t
.
_v
(
" "
+
t
.
_s
(
t
.
apiInfoData
.
errReturn
)
+
"
\
n "
)])])])],
1
)],
1
)},
staticRenderFns
:[]};
var
j
=
a
(
"VU/8"
)(
x
,
T
,
!
1
,
function
(
t
){
a
(
"Vtk6"
)},
"data-v-b0f4f0ac"
,
null
).
exports
,
V
=
a
(
"znuk"
),
$
=
a
(
"P9l9"
),
q
=
a
(
"LlAa"
),
P
=
a
(
"TUB1"
),
R
=
{
name
:
"GoHistory"
,
props
:{
historyShow
:{
type
:
Boolean
,
default
:
!
1
},
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
customDialog
:
!
1
,
selectVersion
:
""
,
tableData
:[],
pageSize
:
8
,
currentPage
:
1
,
totalCount
:
0
}},
mounted
:
function
(){
this
.
customDialog
=
this
.
historyShow
,
this
.
getData
()},
methods
:{
handleClose
:
function
(
t
){
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideHistoryDialog"
)},
customConfirm
:
function
(){
if
(
!
this
.
selectVersion
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择回退版本"
}),
!
1
;
this
.
postEditData
()},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
apiData
.
interfaceVersionId
,
target
:
t
.
selectVersion
};
Object
(
$
.
a
)(
"/gateway-manage/reset-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
P
.
a
.
showmsg
(
"回退成功"
,
"success"
),
void
t
.
setData
();
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(){
this
.
$emit
(
"hideHistoryDialog"
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getData
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getData
()},
handleShow
:
function
(
t
,
e
){
window
.
open
(
"#/apiListManageShow?editFlag=0&interfaceId="
+
e
.
interfaceId
+
"&interfaceName="
+
e
.
interfaceName
+
"&interfaceVersionId="
+
e
.
interfaceVersionId
+
"&publishRecordId="
+
e
.
publishRecordId
+
"&projectId="
+
e
.
projectId
+
"&projectName="
+
this
.
$route
.
query
.
projectName
+
"&interfaceGroupId="
+
e
.
interfaceGroupId
+
"&interfaceGroupName="
+
this
.
$route
.
query
.
interfaceGroupName
)},
getData
:
function
(){
var
t
=
this
,
e
=
{
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
sceneCode
:
t
.
apiData
.
sceneCode
,
interfaceId
:
t
.
$route
.
query
.
interfaceId
};
Object
(
$
.
a
)(
"/gateway-manage/page-api-publish-record"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
totalCount
=
a
.
result
.
totalCount
);
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
historyShow
:
function
(
t
,
e
){
this
.
customDialog
=
t
,
this
.
getData
()}}},
F
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"选择回退版本"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"table-wrap"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
""
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-radio"
,{
attrs
:{
label
:
e
.
row
.
publishRecordId
},
model
:{
value
:
t
.
selectVersion
,
callback
:
function
(
e
){
t
.
selectVersion
=
e
},
expression
:
"selectVersion"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
version
)
+
"
\
n "
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"publishRecordId"
,
label
:
"发布版本"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发布备注"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
remark
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发布时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createTime
))
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createTime
))
+
"
\
n "
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
handleShow
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"
\
n 查看
\
n "
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination text-right m-t-14"
},[
a
(
"dm-pagination"
,{
attrs
:{
small
:
""
,
"page-size"
:
t
.
pageSize
,
"current-page"
:
t
.
currentPage
,
layout
:
"prev, pager, next"
,
total
:
t
.
totalCount
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"padding-bottom"
:
"10px"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"
\
n 取 消
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
customConfirm
(
"syncForm"
)}}},[
t
.
_v
(
"
\
n 确 定
\
n "
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
N
=
a
(
"VU/8"
)(
R
,
F
,
!
1
,
function
(
t
){
a
(
"I+Bv"
)},
"data-v-a1b32eee"
,
null
).
exports
,
O
=
{
name
:
"ApiVersionShow"
,
components
:{
baseInfoShow
:
r
,
frontendInfoShow
:
f
,
backendInfoShow
:
k
,
backInfoShow
:
j
,
publishSet
:
V
.
a
,
goHistory
:
N
},
data
:
function
(){
return
{
apiData
:{
interfaceId
:
""
,
interfaceName
:
""
,
interfaceGroupId
:
""
,
interfaceUrl
:
""
,
interfaceDescribe
:
""
,
projectId
:
""
,
optType
:
""
,
sucReturn
:
""
,
errReturn
:
""
,
errCode
:[],
frontParams
:{},
endParams
:{},
target
:
""
,
requestType
:
"POST"
,
protocol
:
"http"
,
version
:
""
,
interfaceType
:
"HTTP"
,
dubboMethod
:
""
,
dubboInterface
:
""
,
httpPath
:
""
,
proxyCode
:
""
,
resultParams
:
""
,
backendRequestType
:
""
,
timeout
:
43087112
},
activeInfo
:
0
,
editRow
:{},
publishShow
:
!
1
,
historyShow
:
!
1
}},
mounted
:
function
(){
var
t
=
this
;
t
.
getData
(),
t
.
$nextTick
(
function
(){
t
.
init
()})},
destroyed
:
function
(){
document
.
getElementsByClassName
(
"api-body-content"
)[
0
].
removeEventListener
(
"scroll"
,
this
.
scroll
)},
methods
:{
handlePublish
:
function
(){
this
.
publishShow
=!
0
,
this
.
editRow
=
JSON
.
parse
(
l
()(
this
.
apiData
))},
hidePublishDialog
:
function
(
t
){
this
.
publishShow
=!
1
,
this
.
editRow
=
{},
t
&&
(
this
.
apiData
.
status
=
2
)},
handleGoHistory
:
function
(){
this
.
historyShow
=!
0
},
hideHistoryDialog
:
function
(){
this
.
historyShow
=!
1
,
this
.
getData
()},
handleDel
:
function
(){
var
t
=
this
;
t
.
$confirm
(
"确认删除此版本吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postDelData
()}).
catch
(
function
(){})},
postDelData
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
apiData
.
interfaceVersionId
};
Object
(
$
.
b
)(
"/gateway-manage/delete-api-version"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
P
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
$router
.
push
(
"/apiListManage?interfaceId="
+
t
.
$route
.
query
.
interfaceId
+
"&interfaceName="
+
t
.
$route
.
query
.
interfaceName
);
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleGoBack
:
function
(){
var
t
=
this
;
t
.
$confirm
(
"确认回滚当前版本吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postGoBack
()}).
catch
(
function
(){})},
postGoBack
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
apiData
.
interfaceVersionId
};
Object
(
$
.
a
)(
"/gateway-manage/rollback-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
P
.
a
.
showmsg
(
"回滚成功"
,
"success"
),
void
t
.
getData
();
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
goAuthor
:
function
(
t
,
e
){
this
.
activeInfo
=
e
,
this
.
$el
.
querySelector
(
t
).
scrollIntoView
()},
getData
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
$route
.
query
.
interfaceVersionId
,
interfaceId
:
t
.
$route
.
query
.
interfaceId
,
publishRecordId
:
t
.
$route
.
query
.
publishRecordId
||
""
};
Object
(
$
.
a
)(
"/gateway-manage/get-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
a
.
result
.
frontParams
=
JSON
.
parse
(
a
.
result
.
frontParams
),
a
.
result
.
endParams
=
JSON
.
parse
(
a
.
result
.
endParams
),
a
.
result
.
errCode
=
JSON
.
parse
(
a
.
result
.
errCode
),
a
.
result
.
resultParams
=
JSON
.
parse
(
a
.
result
.
resultParams
),
void
(
t
.
apiData
=
a
.
result
||
{});
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
init
:
function
(){
document
.
getElementsByClassName
(
"api-body-content"
)[
0
].
addEventListener
(
"scroll"
,
this
.
scroll
)},
scroll
:
function
(){
var
t
=
this
,
e
=
document
.
querySelectorAll
(
".api-body-content"
)[
0
].
scrollTop
;
document
.
querySelectorAll
(
".info-wrap"
).
forEach
(
function
(
a
,
s
){
e
>=
a
.
offsetTop
&&
(
t
.
activeInfo
=
s
)})}}},
B
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"api-version-content border-box"
},[
a
(
"div"
,{
staticClass
:
"api-version-body"
},[
1
==
t
.
$route
.
query
.
editFlag
?
a
(
"div"
,{
staticClass
:
"operate-btns"
},[
a
(
"el-button"
,{
attrs
:{
disabled
:
2
==
t
.
apiData
.
status
&&
1
!=
t
.
apiData
.
updateAfterPublish
||
4
==
t
.
apiData
.
status
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
handlePublish
}},[
t
.
_v
(
"
\
n 发布
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
4
!=
t
.
apiData
.
status
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
handleDel
}},[
t
.
_v
(
"
\
n 删除
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
4
==
t
.
apiData
.
status
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
handleGoHistory
}},[
t
.
_v
(
"
\
n 回退
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
2
==
t
.
apiData
.
status
&&
1
!=
t
.
apiData
.
updateAfterPublish
||
4
==
t
.
apiData
.
status
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
handleGoBack
}},[
t
.
_v
(
"
\
n 回滚
\
n "
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"anchor-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-tabs el-tabs--right"
},[
a
(
"div"
,{
staticClass
:
"el-tabs__header is-right"
},[
a
(
"div"
,{
staticClass
:
"el-tabs__nav-wrap is-right"
},[
a
(
"div"
,{
staticClass
:
"el-tabs__nav-scroll"
},[
a
(
"div"
,{
staticClass
:
"el-tabs__nav is-right"
,
staticStyle
:{
transform
:
"translateY(0px)"
},
attrs
:{
role
:
"tablist"
}},[
a
(
"div"
,{
staticClass
:
"el-tabs__active-bar is-right"
,
style
:{
transform
:
"translateY("
+
24
*
t
.
activeInfo
+
"px)"
,
height
:
"24px"
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"el-tabs__item h-24 is-right"
,
0
==
t
.
activeInfo
?
"is-active"
:
""
],
attrs
:{
id
:
"tab-0"
},
on
:{
click
:
function
(
e
){
t
.
goAuthor
(
"#base"
,
0
)}}},[
t
.
_v
(
"
\
n 基础配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"el-tabs__item h-24 is-right"
,
1
==
t
.
activeInfo
?
"is-active"
:
""
],
attrs
:{
id
:
"tab-1"
},
on
:{
click
:
function
(
e
){
t
.
goAuthor
(
"#frontend"
,
1
)}}},[
t
.
_v
(
"
\
n 前端配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"el-tabs__item h-24 is-right"
,
2
==
t
.
activeInfo
?
"is-active"
:
""
],
attrs
:{
id
:
"tab-2"
},
on
:{
click
:
function
(
e
){
t
.
goAuthor
(
"#backend"
,
2
)}}},[
t
.
_v
(
"
\
n 后端配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"el-tabs__item h-24 is-right"
,
3
==
t
.
activeInfo
?
"is-active"
:
""
],
attrs
:{
id
:
"tab-3"
},
on
:{
click
:
function
(
e
){
t
.
goAuthor
(
"#result"
,
3
)}}},[
t
.
_v
(
"
\
n 返回结果
\
n "
)])])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"base-info-wrap info-wrap"
,
attrs
:{
id
:
"base"
}},[
a
(
"div"
,{
staticClass
:
"commont-info-title font-14 color-303133"
},[
t
.
_v
(
"
\
n 基础信息
\
n "
)]),
t
.
_v
(
" "
),
a
(
"base-info-show"
,{
attrs
:{
"api-data"
:
t
.
apiData
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"frontend-set-wrap info-wrap"
,
attrs
:{
id
:
"frontend"
}},[
a
(
"div"
,{
staticClass
:
"commont-info-title font-14 color-303133 m-t-47"
},[
t
.
_v
(
"
\
n 前端配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"frontend-info-show"
,{
attrs
:{
"api-data"
:
t
.
apiData
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"backend-set-wrap info-wrap"
,
attrs
:{
id
:
"backend"
}},[
a
(
"div"
,{
staticClass
:
"commont-info-title font-14 color-303133 m-t-47"
},[
t
.
_v
(
"
\
n 后端配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"backend-info-show"
,{
attrs
:{
"api-data"
:
t
.
apiData
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"back-result-wrap info-wrap"
,
attrs
:{
id
:
"result"
}},[
a
(
"div"
,{
staticClass
:
"commont-info-title font-14 color-303133 m-t-47"
},[
t
.
_v
(
"
\
n 返回结果
\
n "
)]),
t
.
_v
(
" "
),
a
(
"back-info-show"
,{
attrs
:{
"api-data"
:
t
.
apiData
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"go-history"
,{
attrs
:{
"api-data"
:
t
.
apiData
,
"history-show"
:
t
.
historyShow
},
on
:{
hideHistoryDialog
:
t
.
hideHistoryDialog
}}),
t
.
_v
(
" "
),
a
(
"publish-set"
,{
attrs
:{
"edit-row"
:
t
.
editRow
,
"publish-show"
:
t
.
publishShow
},
on
:{
hidePublishDialog
:
t
.
hidePublishDialog
}})],
1
)},
staticRenderFns
:[]};
var
K
=
a
(
"VU/8"
)(
O
,
B
,
!
1
,
function
(
t
){
a
(
"GNLE"
)},
"data-v-0209b276"
,
null
).
exports
,
E
=
{
name
:
"ApiListManageShow"
,
components
:{
navBread
:
s
.
a
,
apiVersionShow
:
K
},
data
:
function
(){
return
{
navPath
:[{
name
:
"API管理"
,
path
:
"/apiProgram"
},{
name
:
this
.
$route
.
query
.
projectName
?
this
.
$route
.
query
.
projectName
+
"项目列表"
:
""
,
path
:
"/apiProgramGroup"
},{
name
:
this
.
$route
.
query
.
interfaceGroupName
?
this
.
$route
.
query
.
interfaceGroupName
+
"分组列表"
:
""
,
path
:
"/groupApiList"
},{
name
:
this
.
$route
.
query
.
interfaceName
?
""
+
this
.
$route
.
query
.
interfaceName
:
""
,
path
:
"/apiListManage"
},{
name
:
"查看"
,
path
:
""
}]}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
22
)},
methods
:{
getData
:
function
(){
var
t
=
this
,
e
=
{
project
:
t
.
repProjectName
,
router
:
t
.
pathName
,
requestProject
:
t
.
repProjectName
};
Object
(
$
.
a
)(
"/haoban-manage-web/menu-detail"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
?
void
0
:
void
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无数据"
});
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}}},
A
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"api-body-content border-box"
},[
e
(
"div"
,{
staticClass
:
"common-nav"
},[
e
(
"nav-bread"
,{
attrs
:{
"nav-path"
:
this
.
navPath
}})],
1
),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"api-body-main common-body-main border-box"
},[
e
(
"div"
,{
staticClass
:
"api-main-content border-box"
},[
e
(
"api-version-show"
)],
1
)])])},
staticRenderFns
:[]};
var
U
=
a
(
"VU/8"
)(
E
,
A
,
!
1
,
function
(
t
){
a
(
"1KDi"
)},
"data-v-d253c0ec"
,
null
);
e
.
default
=
U
.
exports
},
"u/Ia"
:
function
(
t
,
e
){},
znuk
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
a
(
"mvHQ"
),
i
=
a
.
n
(
s
),
l
=
a
(
"Kkt8"
),
o
=
a
(
"P9l9"
),
n
=
a
(
"TUB1"
),
r
=
a
(
"LlAa"
),
c
=
{
name
:
"PublishSet"
,
components
:{
limitTextarea
:
l
.
a
},
props
:{
publishShow
:{
type
:
Boolean
,
default
:
!
1
},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{
interfaceVersionId
:
""
,
version
:
""
,
status
:
""
,
description
:
""
,
proxyType
:
""
,
defaultFlag
:
!
1
,
sceneCode
:
""
,
sceneName
:
""
,
remark
:
""
}}}},
data
:
function
(){
return
{
customDialog
:
!
1
,
formData
:{
interfaceVersionId
:
""
,
version
:
""
,
status
:
""
,
description
:
""
,
proxyType
:
""
,
defaultFlag
:
!
1
,
sceneCode
:
""
,
sceneName
:
""
,
remark
:
""
},
rules
:{}}},
mounted
:
function
(){
this
.
customDialog
=
this
.
publishShow
,
this
.
formData
=
JSON
.
parse
(
i
()(
this
.
editRow
)),
this
.
formData
.
defaultFlag
=
1
==
this
.
editRow
.
defaultFlag
},
methods
:{
handleClose
:
function
(
t
){
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hidePublishDialog"
)},
customConfirm
:
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postEditData
()})},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
formData
.
interfaceVersionId
,
defaultFlag
:
t
.
formData
.
defaultFlag
?
"1"
:
"0"
,
remark
:
t
.
formData
.
remark
};
Object
(
o
.
a
)(
"/gateway-manage/publish-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
n
.
a
.
showmsg
(
"发布成功"
,
"success"
),
void
t
.
setData
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(){
this
.
$emit
(
"hidePublishDialog"
,
!
0
)}},
watch
:{
publishShow
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
editRow
:
function
(
t
,
e
){
this
.
formData
=
JSON
.
parse
(
i
()(
t
)),
this
.
formData
.
defaultFlag
=
1
==
t
.
defaultFlag
}}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"发布"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
a
(
"el-form"
,{
ref
:
"publishForm"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"160px"
,
rules
:
t
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"API名称:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
$route
.
query
.
interfaceName
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"发布环境:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
formData
.
sceneName
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"设置为默认版本:"
}},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
model
:{
value
:
t
.
formData
.
defaultFlag
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"defaultFlag"
,
e
)},
expression
:
"formData.defaultFlag"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"备注:"
}},[
a
(
"limit-textarea"
,{
attrs
:{
"input-width"
:
370
,
"input-value"
:
t
.
formData
.
remark
,
holder
:
"请输入备注内容"
,
"get-by-type"
:
"word"
,
"max-length"
:
100
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"remark"
,
e
)}}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"padding-bottom"
:
"10px"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"
\
n 取 消
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
customConfirm
(
"publishForm"
)}}},[
t
.
_v
(
"
\
n 发 布
\
n "
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"es5F"
)},
"data-v-12dfa3f8"
,
null
);
e
.
a
=
p
.
exports
}});
\ No newline at end of file
dist/static/js/3.ddd188a347f047abae09.js
0 → 100644
View file @
1b220f07
webpackJsonp
([
3
],{
"1KDi"
:
function
(
t
,
e
){},
"8a+1"
:
function
(
t
,
e
){},
GFCi
:
function
(
t
,
e
){},
GNLE
:
function
(
t
,
e
){},
"I+Bv"
:
function
(
t
,
e
){},
QPxf
:
function
(
t
,
e
){},
V1ys
:
function
(
t
,
e
){},
V6TN
:
function
(
t
,
e
){},
VMM9
:
function
(
t
,
e
){},
Vtk6
:
function
(
t
,
e
){},
es5F
:
function
(
t
,
e
){},
pVMI
:
function
(
t
,
e
){},
r4m9
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"319J"
),
i
=
a
(
"mvHQ"
),
l
=
a
.
n
(
i
),
n
=
{
name
:
"BaseInfoShow"
,
props
:{
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
apiInfoData
:{}}},
mounted
:
function
(){
this
.
apiInfoData
=
this
.
apiData
},
watch
:{
apiData
:
function
(
t
,
e
){
this
.
apiInfoData
=
t
}}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"base-info-show border-box"
},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
,
model
:
t
.
apiInfoData
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"API名称:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
interfaceName
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"API类型:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
1
==
t
.
apiInfoData
.
target
?
"公开"
:
"私有"
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"访问类型:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
requestType
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
staticClass
:
"max-w-1000"
,
attrs
:{
label
:
"描述:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
interfaceDescribe
)
+
"
\
n "
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
n
,
o
,
!
1
,
function
(
t
){
a
(
"VMM9"
)},
"data-v-9b98d54c"
,
null
).
exports
,
c
=
{
name
:
"TableRow"
,
props
:{
itemData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
trData
:{
protocol
:
"http"
,
interfaceUrl
:
"/"
,
requestType
:
"post"
,
frontParams
:{
type
:
"object"
,
properties
:{
name
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{
nameId
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}}},
id
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}},
required
:[]}}}},
mounted
:
function
(){
this
.
trData
=
this
.
itemData
},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
t
}}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
t
.
_l
(
t
.
itemData
,
function
(
e
,
s
,
i
){
return
[
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
"object"
==
e
.
type
||
"array"
==
e
.
type
?
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"i"
,{
staticClass
:
"el-icon-minus"
})]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
s
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
s
))])])],
1
)]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
frontOriginType
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-checkbox"
,{
attrs
:{
disabled
:
"true"
},
model
:{
value
:
e
.
check
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"check"
,
a
)},
expression
:
"itemValue.check"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
e
.
example
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
example
))])])],
1
)]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
e
.
description
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
description
))])])],
1
)])])])]),
t
.
_v
(
" "
),
"array"
==
e
.
type
?
a
(
"table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
.
items
.
properties
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"object"
==
e
.
type
?
a
(
"table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
.
properties
}}):
t
.
_e
()]})],
2
)},
staticRenderFns
:[]};
var
p
=
{
name
:
"FrontendInfoShow"
,
components
:{
tableTr
:
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"QPxf"
)},
"data-v-7df39480"
,
null
).
exports
},
props
:{
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
apiInfoData
:{
protocol
:
"http"
,
interfaceUrl
:
"/"
,
requestType
:
"post"
,
frontParams
:{
type
:
"object"
,
properties
:{
name
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{}}},
required
:[]}}}},
mounted
:
function
(){
this
.
apiInfoData
=
this
.
apiData
},
watch
:{
apiData
:
function
(
t
,
e
){
this
.
apiInfoData
=
t
}}},
u
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"frontend-info-show border-box"
},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
,
model
:
t
.
apiInfoData
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"协议:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
protocol
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求路径:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
interfaceUrl
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求方法:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
requestType
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数配置:"
}},[
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
})]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数名
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数位置
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数类型
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_3 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 必选
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_4 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 示例
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_5 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 描述
\
n "
)])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"table-tr"
,{
attrs
:{
"item-data"
:
t
.
apiInfoData
.
frontParams
.
properties
}})],
1
)])])])],
1
)],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
u
,
!
1
,
function
(
t
){
a
(
"8a+1"
)},
"data-v-4d640f40"
,
null
).
exports
,
_
=
{
name
:
"BackTableRow"
,
props
:{
itemData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
trData
:{}}},
mounted
:
function
(){
this
.
trData
=
this
.
itemData
},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
t
}}},
b
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
t
.
_l
(
t
.
itemData
.
properties
,
function
(
e
,
s
,
i
){
return
[
e
.
constFlag
?
t
.
_e
():
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
"object"
==
e
.
type
||
"array"
==
e
.
type
?
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"i"
,{
staticClass
:
"el-icon-minus"
})]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
s
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
s
))])])],
1
)]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
frontOriginType
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])])])])]),
t
.
_v
(
" "
),
"array"
==
e
.
type
&&
Object
.
keys
(
e
.
items
.
properties
).
length
?
a
(
"back-table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
.
items
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"object"
==
e
.
type
&&
Object
.
keys
(
e
.
properties
).
length
?
a
(
"back-table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
}}):
t
.
_e
()]})],
2
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
_
,
b
,
!
1
,
function
(
t
){
a
(
"u/Ia"
)},
"data-v-e53c225a"
,
null
).
exports
,
v
=
{
name
:
"BackTableRow"
,
props
:{
itemData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}},
interfaceType
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"0"
}}},
data
:
function
(){
return
{
trData
:{}}},
mounted
:
function
(){
this
.
trData
=
this
.
itemData
},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
t
}}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
t
.
_l
(
t
.
itemData
.
properties
,
function
(
e
,
s
,
i
){
return
[
e
.
constFlag
?
t
.
_e
():
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
"object"
==
e
.
type
||
"array"
==
e
.
type
?
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"i"
,{
staticClass
:
"el-icon-minus"
})]):
t
.
_e
()]),
t
.
_v
(
" "
),
"0"
==
t
.
interfaceType
?
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
e
.
rootKey
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
rootKey
))])])],
1
)]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
1
==
t
.
interfaceType
?
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
objectClass
)
+
"
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_4"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
e
.
defaultVal
,
placement
:
"top"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
defaultVal
))])])],
1
)])])])]),
t
.
_v
(
" "
),
"array"
==
e
.
type
&&
Object
.
keys
(
e
.
items
.
properties
).
length
?
a
(
"back-table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row child-row"
,
attrs
:{
"interface-type"
:
t
.
interfaceType
,
"item-data"
:
e
.
items
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"object"
==
e
.
type
&&
Object
.
keys
(
e
.
properties
).
length
?
a
(
"back-table-row"
,{
key
:
i
+
"123"
+
s
,
staticClass
:
"el-table__row child-row"
,
attrs
:{
"interface-type"
:
t
.
interfaceType
,
"item-data"
:
e
}}):
t
.
_e
()]})],
2
)},
staticRenderFns
:[]};
var
y
=
a
(
"VU/8"
)(
v
,
h
,
!
1
,
function
(
t
){
a
(
"GFCi"
)},
"data-v-4a11850a"
,
null
).
exports
,
C
=
{
name
:
"BackConstant"
,
props
:{
itemData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
interfaceType
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"0"
}}},
data
:
function
(){
return
{
trData
:{}}},
mounted
:
function
(){
this
.
trData
=
JSON
.
parse
(
l
()(
this
.
itemData
))},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
JSON
.
parse
(
l
()(
t
))}}},
g
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
"0"
==
t
.
interfaceType
?
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数位置
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_m
(
1
),
t
.
_v
(
" "
),
t
.
_m
(
2
)])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
t
.
_l
(
t
.
itemData
.
properties
,
function
(
e
,
s
,
i
){
return
[
e
.
constFlag
?
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
currentKey
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
"0"
==
t
.
interfaceType
?
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
backendOriginType
)
+
"
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
defaultVal
)
+
"
\
n "
)])])])])]):
t
.
_e
()]})],
2
)])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"cell"
},[
this
.
_v
(
"
\
n 参数名
\
n "
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"cell"
},[
this
.
_v
(
"
\
n 参数类型
\
n "
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"th"
,{
staticClass
:
"el-table_1_column_4 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"cell"
},[
this
.
_v
(
"
\
n 参数值
\
n "
)])])}]};
var
w
=
{
name
:
"BackendInfoShow"
,
components
:{
backTableTr
:
m
,
backTableRight
:
y
,
backConstTable
:
a
(
"VU/8"
)(
C
,
g
,
!
1
,
function
(
t
){
a
(
"pVMI"
)},
"data-v-0e2c803a"
,
null
).
exports
},
props
:{
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
apiInfoData
:{
protocol
:
"http"
,
interfaceUrl
:
"/"
,
requestType
:
"post"
,
endParams
:{
type
:
"object"
,
properties
:{
name
:{
backendOriginType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{
nameId
:{
backendOriginType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
properties
:{
age
:{
backendOriginType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}}}}}},
required
:[]}}}},
mounted
:
function
(){
this
.
apiInfoData
=
this
.
apiData
},
watch
:{
apiData
:
function
(
t
,
e
){
this
.
apiInfoData
=
t
}}},
D
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"backend-info-show border-box"
},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
,
model
:
t
.
apiInfoData
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"后端服务:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
t
.
apiInfoData
.
interfaceType
?
"http"
:
"dubbo"
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"环境:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
protocol
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"API版本号:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
version
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
0
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求路径:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
backendHttpPath
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"dubbo接口名称:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
dubboInterface
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"dubbo请求方法:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
dubboMethod
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"注册中心地址:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
proxyName
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求版本号:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
dubboVersion
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"超时时长:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
apiInfoData
.
timeout
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数映射:"
}},[
a
(
"div"
,{
staticClass
:
"table-wrap-body font-0"
},[
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition inline-block vertical-top"
,
staticStyle
:{
width
:
"30%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
})]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数名
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数位置
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_3 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数类型
\
n "
)])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"back-table-tr"
,{
attrs
:{
"item-data"
:
t
.
apiInfoData
.
endParams
}})],
1
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition inline-block vertical-top"
,
staticStyle
:{
width
:
"70%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
})]),
t
.
_v
(
" "
),
0
==
t
.
apiInfoData
.
interfaceType
?
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数名映射
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数类型映射
\
n "
)])]),
t
.
_v
(
" "
),
1
==
t
.
apiInfoData
.
interfaceType
?
a
(
"th"
,{
staticClass
:
"el-table_1_column_3 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 包名
\
n "
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_4 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数值
\
n "
)])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"back-table-right"
,{
attrs
:{
"interface-type"
:
t
.
apiInfoData
.
interfaceType
,
"item-data"
:
t
.
apiInfoData
.
endParams
}})],
1
)])])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"常量参数:"
}},[
a
(
"back-const-table"
,{
attrs
:{
"item-data"
:
t
.
apiInfoData
.
endParams
,
"interface-type"
:
t
.
apiInfoData
.
interfaceType
}})],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
k
=
a
(
"VU/8"
)(
w
,
D
,
!
1
,
function
(
t
){
a
(
"V1ys"
)},
"data-v-83071486"
,
null
).
exports
,
I
=
{
name
:
"TableRow"
,
props
:{
itemData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
trData
:{
protocol
:
"http"
,
interfaceUrl
:
"/"
,
requestType
:
"post"
,
frontParams
:{
type
:
"object"
,
properties
:{
name
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{
nameId
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}}},
id
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}},
required
:[]}}}},
mounted
:
function
(){
this
.
trData
=
this
.
itemData
},
watch
:{
itemData
:
function
(
t
,
e
){
this
.
trData
=
t
}}},
S
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
t
.
_l
(
t
.
itemData
.
properties
,
function
(
e
,
s
,
i
){
return
[
a
(
"table"
,{
key
:
i
+
s
+
121
,
staticClass
:
"el-table__body"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"tbody"
,[
a
(
"tr"
,{
staticClass
:
"el-table__row"
},[
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
"object"
==
e
.
type
||
"array"
==
e
.
type
?
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"i"
,{
staticClass
:
"el-icon-minus"
})]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_1"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
s
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_2"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
type
)
+
"
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"td"
,{
staticClass
:
"el-table_1_column_3"
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell el-tooltip"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
example
)
+
"
\
n "
)])])])])]),
t
.
_v
(
" "
),
"array"
==
e
.
type
&&
Object
.
keys
(
e
.
items
.
properties
).
length
?
a
(
"table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
.
items
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"object"
==
e
.
type
&&
Object
.
keys
(
e
.
properties
).
length
?
a
(
"table-row"
,{
key
:
i
+
"122"
+
s
,
staticClass
:
"el-table__row"
,
staticStyle
:{
"padding-left"
:
"10px"
},
attrs
:{
"item-data"
:
e
}}):
t
.
_e
()]})],
2
)},
staticRenderFns
:[]};
var
x
=
{
name
:
"BackInfoShow"
,
components
:{
backInfoTable
:
a
(
"VU/8"
)(
I
,
S
,
!
1
,
function
(
t
){
a
(
"V6TN"
)},
"data-v-5e53e08a"
,
null
).
exports
},
props
:{
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{
interfaceName
:
"1"
,
interfaceType
:
"http"
,
requestType
:
"GET"
,
interfaceDescribe
:
"test"
,
errCode
:[{
errorCode
:
"1"
,
errorInfo
:
"添加成功"
}]}}}},
data
:
function
(){
return
{
apiInfoData
:{
interfaceName
:
"1"
,
interfaceType
:
"http"
,
requestType
:
"GET"
,
interfaceDescribe
:
"test"
,
errCode
:[{
errorCode
:
"1"
,
errorInfo
:
"添加成功"
}],
resultParams
:{
type
:
"object"
,
properties
:{
name
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
required
:[],
properties
:{
nameId
:{
originType
:
"query"
,
type
:
"object"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
,
properties
:{
age
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
},
email
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}}}}},
id
:{
originType
:
"query"
,
type
:
"string"
,
isBackendField
:
0
,
defaultVal
:
"val"
,
isRootKey
:
0
,
rootKey
:
""
,
objectClass
:
""
,
description
:
"描述"
,
check
:
!
0
}},
required
:[]}}}},
mounted
:
function
(){
this
.
apiInfoData
=
this
.
apiData
},
watch
:{
apiData
:
function
(
t
,
e
){
this
.
apiInfoData
=
t
}}},
T
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"back-info-show border-box"
},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
,
model
:
t
.
apiInfoData
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"返回参数:"
}},[
a
(
"div"
,{
staticClass
:
"el-table el-table--fit el-table--enable-row-hover el-table--enable-row-transition"
,
staticStyle
:{
width
:
"100%"
,
"table-layout"
:
"fixed"
}},[
a
(
"div"
,{
staticClass
:
"el-table__header-wrapper"
},[
a
(
"table"
,{
staticClass
:
"el-table__header"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
cellspacing
:
"0"
,
cellpadding
:
"0"
,
border
:
"0"
}},[
a
(
"thead"
,{
staticClass
:
"has-gutter"
},[
a
(
"tr"
,{},[
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
staticStyle
:{
width
:
"36px"
},
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
})]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_1 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数名
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_2 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 参数类型
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"th"
,{
staticClass
:
"el-table_1_column_4 is-leaf"
,
attrs
:{
colspan
:
"1"
,
rowspan
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"cell"
},[
t
.
_v
(
"
\
n 示例
\
n "
)])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-table__body-wrapper is-scrolling-none"
},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"back-info-table"
,{
attrs
:{
"item-data"
:
t
.
apiInfoData
.
resultParams
}})],
1
)])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误码:"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
apiInfoData
.
errCode
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"orig_error_code"
,
label
:
"原始错误码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"error_code"
,
label
:
"映射错误码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"error_info"
,
label
:
"错误信息"
,
"show-overflow-tooltip"
:
""
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"成功返回示例:"
}},[
a
(
"div"
,{
staticClass
:
"common-back-pre"
},[
a
(
"pre"
,[
t
.
_v
(
" "
+
t
.
_s
(
t
.
apiInfoData
.
sucReturn
)
+
"
\
n "
)])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"失败返回示例:"
}},[
a
(
"div"
,{
staticClass
:
"common-back-pre"
},[
a
(
"pre"
,[
t
.
_v
(
" "
+
t
.
_s
(
t
.
apiInfoData
.
errReturn
)
+
"
\
n "
)])])])],
1
)],
1
)},
staticRenderFns
:[]};
var
j
=
a
(
"VU/8"
)(
x
,
T
,
!
1
,
function
(
t
){
a
(
"Vtk6"
)},
"data-v-b0f4f0ac"
,
null
).
exports
,
V
=
a
(
"znuk"
),
$
=
a
(
"P9l9"
),
q
=
a
(
"LlAa"
),
P
=
a
(
"TUB1"
),
F
=
{
name
:
"GoHistory"
,
props
:{
historyShow
:{
type
:
Boolean
,
default
:
!
1
},
apiData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
customDialog
:
!
1
,
selectVersion
:
""
,
tableData
:[],
pageSize
:
8
,
currentPage
:
1
,
totalCount
:
0
}},
mounted
:
function
(){
this
.
customDialog
=
this
.
historyShow
,
this
.
getData
()},
methods
:{
handleClose
:
function
(
t
){
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideHistoryDialog"
)},
customConfirm
:
function
(){
if
(
!
this
.
selectVersion
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择回退版本"
}),
!
1
;
this
.
postEditData
()},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
apiData
.
interfaceVersionId
,
target
:
t
.
selectVersion
};
Object
(
$
.
a
)(
"/gateway-manage/reset-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
P
.
a
.
showmsg
(
"回退成功"
,
"success"
),
void
t
.
setData
();
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(){
this
.
$emit
(
"hideHistoryDialog"
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getData
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getData
()},
handleShow
:
function
(
t
,
e
){
window
.
open
(
"#/apiListManageShow?editFlag=0&interfaceId="
+
e
.
interfaceId
+
"&interfaceName="
+
e
.
interfaceName
+
"&interfaceVersionId="
+
e
.
interfaceVersionId
+
"&publishRecordId="
+
e
.
publishRecordId
+
"&projectId="
+
e
.
projectId
+
"&projectName="
+
this
.
$route
.
query
.
projectName
+
"&interfaceGroupId="
+
e
.
interfaceGroupId
+
"&interfaceGroupName="
+
this
.
$route
.
query
.
interfaceGroupName
)},
getData
:
function
(){
var
t
=
this
,
e
=
{
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
sceneCode
:
t
.
apiData
.
sceneCode
,
interfaceId
:
t
.
$route
.
query
.
interfaceId
};
Object
(
$
.
a
)(
"/gateway-manage/page-api-publish-record"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
totalCount
=
a
.
result
.
totalCount
);
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
historyShow
:
function
(
t
,
e
){
this
.
customDialog
=
t
,
this
.
getData
()}}},
R
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"选择回退版本"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"table-wrap"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
""
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-radio"
,{
attrs
:{
label
:
e
.
row
.
publishRecordId
},
model
:{
value
:
t
.
selectVersion
,
callback
:
function
(
e
){
t
.
selectVersion
=
e
},
expression
:
"selectVersion"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
version
)
+
"
\
n "
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"publishRecordId"
,
label
:
"发布版本"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发布备注"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
remark
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发布时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createTime
))
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createTime
))
+
"
\
n "
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
handleShow
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"
\
n 查看
\
n "
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination text-right m-t-14"
},[
a
(
"dm-pagination"
,{
attrs
:{
small
:
""
,
"page-size"
:
t
.
pageSize
,
"current-page"
:
t
.
currentPage
,
layout
:
"prev, pager, next"
,
total
:
t
.
totalCount
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"padding-bottom"
:
"10px"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"
\
n 取 消
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
customConfirm
(
"syncForm"
)}}},[
t
.
_v
(
"
\
n 确 定
\
n "
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
N
=
a
(
"VU/8"
)(
F
,
R
,
!
1
,
function
(
t
){
a
(
"I+Bv"
)},
"data-v-a1b32eee"
,
null
).
exports
,
O
=
{
name
:
"ApiVersionShow"
,
components
:{
baseInfoShow
:
r
,
frontendInfoShow
:
f
,
backendInfoShow
:
k
,
backInfoShow
:
j
,
publishSet
:
V
.
a
,
goHistory
:
N
},
data
:
function
(){
return
{
apiData
:{
interfaceId
:
""
,
interfaceName
:
""
,
interfaceGroupId
:
""
,
interfaceUrl
:
""
,
interfaceDescribe
:
""
,
projectId
:
""
,
optType
:
""
,
sucReturn
:
""
,
errReturn
:
""
,
errCode
:[],
frontParams
:{},
endParams
:{},
target
:
""
,
requestType
:
"POST"
,
protocol
:
"http"
,
version
:
""
,
interfaceType
:
"HTTP"
,
dubboMethod
:
""
,
dubboInterface
:
""
,
httpPath
:
""
,
proxyCode
:
""
,
resultParams
:
""
,
backendRequestType
:
""
,
timeout
:
43087112
},
activeInfo
:
0
,
editRow
:{},
publishShow
:
!
1
,
historyShow
:
!
1
}},
mounted
:
function
(){
var
t
=
this
;
t
.
getData
(),
t
.
$nextTick
(
function
(){
t
.
init
()})},
destroyed
:
function
(){
document
.
getElementsByClassName
(
"api-body-content"
)[
0
].
removeEventListener
(
"scroll"
,
this
.
scroll
)},
methods
:{
handlePublish
:
function
(){
this
.
publishShow
=!
0
,
this
.
editRow
=
JSON
.
parse
(
l
()(
this
.
apiData
))},
hidePublishDialog
:
function
(
t
){
this
.
publishShow
=!
1
,
this
.
editRow
=
{},
t
&&
(
this
.
apiData
.
status
=
2
)},
handleGoHistory
:
function
(){
this
.
historyShow
=!
0
},
hideHistoryDialog
:
function
(){
this
.
historyShow
=!
1
,
this
.
getData
()},
handleDel
:
function
(){
var
t
=
this
;
t
.
$confirm
(
"确认删除此版本吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postDelData
()}).
catch
(
function
(){})},
postDelData
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
apiData
.
interfaceVersionId
};
Object
(
$
.
b
)(
"/gateway-manage/delete-api-version"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
P
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
$router
.
push
(
"/apiListManage?interfaceId="
+
t
.
$route
.
query
.
interfaceId
+
"&interfaceName="
+
t
.
$route
.
query
.
interfaceName
);
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleGoBack
:
function
(){
var
t
=
this
;
t
.
$confirm
(
"确认回滚当前版本吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postGoBack
()}).
catch
(
function
(){})},
postGoBack
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
apiData
.
interfaceVersionId
};
Object
(
$
.
a
)(
"/gateway-manage/rollback-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
P
.
a
.
showmsg
(
"回滚成功"
,
"success"
),
void
t
.
getData
();
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
goAuthor
:
function
(
t
,
e
){
this
.
activeInfo
=
e
,
this
.
$el
.
querySelector
(
t
).
scrollIntoView
()},
getData
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
$route
.
query
.
interfaceVersionId
,
interfaceId
:
t
.
$route
.
query
.
interfaceId
,
publishRecordId
:
t
.
$route
.
query
.
publishRecordId
||
""
};
Object
(
$
.
a
)(
"/gateway-manage/get-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
a
.
result
.
frontParams
=
JSON
.
parse
(
a
.
result
.
frontParams
),
a
.
result
.
endParams
=
JSON
.
parse
(
a
.
result
.
endParams
),
a
.
result
.
errCode
=
JSON
.
parse
(
a
.
result
.
errCode
),
a
.
result
.
resultParams
=
JSON
.
parse
(
a
.
result
.
resultParams
),
void
(
t
.
apiData
=
a
.
result
||
{});
q
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
init
:
function
(){
document
.
getElementsByClassName
(
"api-body-content"
)[
0
].
addEventListener
(
"scroll"
,
this
.
scroll
)},
scroll
:
function
(){
var
t
=
this
,
e
=
document
.
querySelectorAll
(
".api-body-content"
)[
0
].
scrollTop
;
document
.
querySelectorAll
(
".info-wrap"
).
forEach
(
function
(
a
,
s
){
e
>=
a
.
offsetTop
&&
(
t
.
activeInfo
=
s
)})}}},
B
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"api-version-content border-box"
},[
a
(
"div"
,{
staticClass
:
"api-version-body"
},[
1
==
t
.
$route
.
query
.
editFlag
?
a
(
"div"
,{
staticClass
:
"operate-btns"
},[
a
(
"el-button"
,{
attrs
:{
disabled
:
2
==
t
.
apiData
.
status
&&
1
!=
t
.
apiData
.
updateAfterPublish
||
4
==
t
.
apiData
.
status
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
handlePublish
}},[
t
.
_v
(
"
\
n 发布
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
4
!=
t
.
apiData
.
status
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
handleDel
}},[
t
.
_v
(
"
\
n 删除
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
4
==
t
.
apiData
.
status
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
handleGoHistory
}},[
t
.
_v
(
"
\
n 回退
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
2
==
t
.
apiData
.
status
&&
1
!=
t
.
apiData
.
updateAfterPublish
||
4
==
t
.
apiData
.
status
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
handleGoBack
}},[
t
.
_v
(
"
\
n 回滚
\
n "
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"anchor-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-tabs el-tabs--right"
},[
a
(
"div"
,{
staticClass
:
"el-tabs__header is-right"
},[
a
(
"div"
,{
staticClass
:
"el-tabs__nav-wrap is-right"
},[
a
(
"div"
,{
staticClass
:
"el-tabs__nav-scroll"
},[
a
(
"div"
,{
staticClass
:
"el-tabs__nav is-right"
,
staticStyle
:{
transform
:
"translateY(0px)"
},
attrs
:{
role
:
"tablist"
}},[
a
(
"div"
,{
staticClass
:
"el-tabs__active-bar is-right"
,
style
:{
transform
:
"translateY("
+
24
*
t
.
activeInfo
+
"px)"
,
height
:
"24px"
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"el-tabs__item h-24 is-right"
,
0
==
t
.
activeInfo
?
"is-active"
:
""
],
attrs
:{
id
:
"tab-0"
},
on
:{
click
:
function
(
e
){
t
.
goAuthor
(
"#base"
,
0
)}}},[
t
.
_v
(
"
\
n 基础配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"el-tabs__item h-24 is-right"
,
1
==
t
.
activeInfo
?
"is-active"
:
""
],
attrs
:{
id
:
"tab-1"
},
on
:{
click
:
function
(
e
){
t
.
goAuthor
(
"#frontend"
,
1
)}}},[
t
.
_v
(
"
\
n 前端配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"el-tabs__item h-24 is-right"
,
2
==
t
.
activeInfo
?
"is-active"
:
""
],
attrs
:{
id
:
"tab-2"
},
on
:{
click
:
function
(
e
){
t
.
goAuthor
(
"#backend"
,
2
)}}},[
t
.
_v
(
"
\
n 后端配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"el-tabs__item h-24 is-right"
,
3
==
t
.
activeInfo
?
"is-active"
:
""
],
attrs
:{
id
:
"tab-3"
},
on
:{
click
:
function
(
e
){
t
.
goAuthor
(
"#result"
,
3
)}}},[
t
.
_v
(
"
\
n 返回结果
\
n "
)])])])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"base-info-wrap info-wrap"
,
attrs
:{
id
:
"base"
}},[
a
(
"div"
,{
staticClass
:
"commont-info-title font-14 color-303133"
},[
t
.
_v
(
"
\
n 基础信息
\
n "
)]),
t
.
_v
(
" "
),
a
(
"base-info-show"
,{
attrs
:{
"api-data"
:
t
.
apiData
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"frontend-set-wrap info-wrap"
,
attrs
:{
id
:
"frontend"
}},[
a
(
"div"
,{
staticClass
:
"commont-info-title font-14 color-303133 m-t-47"
},[
t
.
_v
(
"
\
n 前端配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"frontend-info-show"
,{
attrs
:{
"api-data"
:
t
.
apiData
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"backend-set-wrap info-wrap"
,
attrs
:{
id
:
"backend"
}},[
a
(
"div"
,{
staticClass
:
"commont-info-title font-14 color-303133 m-t-47"
},[
t
.
_v
(
"
\
n 后端配置
\
n "
)]),
t
.
_v
(
" "
),
a
(
"backend-info-show"
,{
attrs
:{
"api-data"
:
t
.
apiData
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"back-result-wrap info-wrap"
,
attrs
:{
id
:
"result"
}},[
a
(
"div"
,{
staticClass
:
"commont-info-title font-14 color-303133 m-t-47"
},[
t
.
_v
(
"
\
n 返回结果
\
n "
)]),
t
.
_v
(
" "
),
a
(
"back-info-show"
,{
attrs
:{
"api-data"
:
t
.
apiData
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"go-history"
,{
attrs
:{
"api-data"
:
t
.
apiData
,
"history-show"
:
t
.
historyShow
},
on
:{
hideHistoryDialog
:
t
.
hideHistoryDialog
}}),
t
.
_v
(
" "
),
a
(
"publish-set"
,{
attrs
:{
"edit-row"
:
t
.
editRow
,
"publish-show"
:
t
.
publishShow
},
on
:{
hidePublishDialog
:
t
.
hidePublishDialog
}})],
1
)},
staticRenderFns
:[]};
var
K
=
a
(
"VU/8"
)(
O
,
B
,
!
1
,
function
(
t
){
a
(
"GNLE"
)},
"data-v-0209b276"
,
null
).
exports
,
E
=
{
name
:
"ApiListManageShow"
,
components
:{
navBread
:
s
.
a
,
apiVersionShow
:
K
},
data
:
function
(){
return
{
navPath
:[{
name
:
"API管理"
,
path
:
"/apiProgram"
},{
name
:
this
.
$route
.
query
.
projectName
?
this
.
$route
.
query
.
projectName
+
"项目列表"
:
""
,
path
:
"/apiProgramGroup"
},{
name
:
this
.
$route
.
query
.
interfaceGroupName
?
this
.
$route
.
query
.
interfaceGroupName
+
"分组列表"
:
""
,
path
:
"/groupApiList"
},{
name
:
this
.
$route
.
query
.
interfaceName
?
""
+
this
.
$route
.
query
.
interfaceName
:
""
,
path
:
"/apiListManage"
},{
name
:
"查看"
,
path
:
""
}]}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
22
)},
methods
:{
getData
:
function
(){
var
t
=
this
,
e
=
{
project
:
t
.
repProjectName
,
router
:
t
.
pathName
,
requestProject
:
t
.
repProjectName
};
Object
(
$
.
a
)(
"/haoban-manage-web/menu-detail"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
?
void
0
:
void
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无数据"
});
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}}},
A
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"api-body-content border-box"
},[
e
(
"div"
,{
staticClass
:
"common-nav"
},[
e
(
"nav-bread"
,{
attrs
:{
"nav-path"
:
this
.
navPath
}})],
1
),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"api-body-main common-body-main border-box"
},[
e
(
"div"
,{
staticClass
:
"api-main-content border-box"
},[
e
(
"api-version-show"
)],
1
)])])},
staticRenderFns
:[]};
var
G
=
a
(
"VU/8"
)(
E
,
A
,
!
1
,
function
(
t
){
a
(
"1KDi"
)},
"data-v-d253c0ec"
,
null
);
e
.
default
=
G
.
exports
},
"u/Ia"
:
function
(
t
,
e
){},
znuk
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
a
(
"mvHQ"
),
i
=
a
.
n
(
s
),
l
=
a
(
"Kkt8"
),
n
=
a
(
"P9l9"
),
o
=
a
(
"TUB1"
),
r
=
a
(
"LlAa"
),
c
=
{
name
:
"PublishSet"
,
components
:{
limitTextarea
:
l
.
a
},
props
:{
publishShow
:{
type
:
Boolean
,
default
:
!
1
},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{
interfaceVersionId
:
""
,
version
:
""
,
status
:
""
,
description
:
""
,
proxyType
:
""
,
defaultFlag
:
!
1
,
sceneCode
:
""
,
sceneName
:
""
,
remark
:
""
}}}},
data
:
function
(){
return
{
customDialog
:
!
1
,
formData
:{
interfaceVersionId
:
""
,
version
:
""
,
status
:
""
,
description
:
""
,
proxyType
:
""
,
defaultFlag
:
!
1
,
sceneCode
:
""
,
sceneName
:
""
,
remark
:
""
},
rules
:{}}},
mounted
:
function
(){
this
.
customDialog
=
this
.
publishShow
,
this
.
formData
=
JSON
.
parse
(
i
()(
this
.
editRow
)),
this
.
formData
.
defaultFlag
=
1
==
this
.
editRow
.
defaultFlag
},
methods
:{
handleClose
:
function
(
t
){
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hidePublishDialog"
)},
customConfirm
:
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postEditData
()})},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
interfaceVersionId
:
t
.
formData
.
interfaceVersionId
,
defaultFlag
:
t
.
formData
.
defaultFlag
?
"1"
:
"0"
,
remark
:
t
.
formData
.
remark
};
Object
(
n
.
a
)(
"/gateway-manage/publish-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
o
.
a
.
showmsg
(
"发布成功"
,
"success"
),
void
t
.
setData
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(){
this
.
$emit
(
"hidePublishDialog"
,
!
0
)}},
watch
:{
publishShow
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
editRow
:
function
(
t
,
e
){
this
.
formData
=
JSON
.
parse
(
i
()(
t
)),
this
.
formData
.
defaultFlag
=
1
==
t
.
defaultFlag
}}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"发布"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
a
(
"el-form"
,{
ref
:
"publishForm"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"160px"
,
rules
:
t
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"API名称:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
$route
.
query
.
interfaceName
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"发布环境:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
formData
.
sceneName
)
+
"
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"设置为默认版本:"
}},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
model
:{
value
:
t
.
formData
.
defaultFlag
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"defaultFlag"
,
e
)},
expression
:
"formData.defaultFlag"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"备注:"
}},[
a
(
"limit-textarea"
,{
attrs
:{
"input-width"
:
370
,
"input-value"
:
t
.
formData
.
remark
,
holder
:
"请输入备注内容"
,
"get-by-type"
:
"word"
,
"max-length"
:
100
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"remark"
,
e
)}}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"padding-bottom"
:
"10px"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"
\
n 取 消
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
customConfirm
(
"publishForm"
)}}},[
t
.
_v
(
"
\
n 发 布
\
n "
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"es5F"
)},
"data-v-12dfa3f8"
,
null
);
e
.
a
=
p
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.10eff2fb26b29f036abf.js
0 → 100644
View file @
1b220f07
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
a
,
o
){
for
(
var
f
,
d
,
b
,
i
=
0
,
u
=
[];
i
<
r
.
length
;
i
++
)
d
=
r
[
i
],
t
[
d
]
&&
u
.
push
(
t
[
d
][
0
]),
t
[
d
]
=
0
;
for
(
f
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
f
)
&&
(
e
[
f
]
=
a
[
f
]);
for
(
n
&&
n
(
r
,
a
,
o
);
u
.
length
;)
u
.
shift
()();
if
(
o
)
for
(
i
=
0
;
i
<
o
.
length
;
i
++
)
b
=
c
(
c
.
s
=
o
[
i
]);
return
b
};
var
r
=
{},
t
=
{
25
:
0
};
function
c
(
n
){
if
(
r
[
n
])
return
r
[
n
].
exports
;
var
t
=
r
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
t
.
exports
,
t
,
t
.
exports
,
c
),
t
.
l
=!
0
,
t
.
exports
}
c
.
e
=
function
(
e
){
var
n
=
t
[
e
];
if
(
0
===
n
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
n
)
return
n
[
2
];
var
r
=
new
Promise
(
function
(
r
,
c
){
n
=
t
[
e
]
=
[
r
,
c
]});
n
[
2
]
=
r
;
var
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
type
=
"text/javascript"
,
o
.
charset
=
"utf-8"
,
o
.
async
=!
0
,
o
.
timeout
=
12
e4
,
c
.
nc
&&
o
.
setAttribute
(
"nonce"
,
c
.
nc
),
o
.
src
=
c
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"23d1229adea8954fba10"
,
1
:
"01b05b545224ac46d1de"
,
2
:
"1356224076b3f5a78f50"
,
3
:
"ddd188a347f047abae09"
,
4
:
"57811c18bd1907ffb6e7"
,
5
:
"4b3dd1e3ff5cb0b25702"
,
6
:
"5fa967becbc7acce4d18"
,
7
:
"e97fe38c56d2c1d5728e"
,
8
:
"14a950d5194c3955ca8a"
,
9
:
"a2664298b6f8425e6031"
,
10
:
"71dee509858946e12424"
,
11
:
"d61c6ae02b4a15f4ce2e"
,
12
:
"bf13700950dc45acdd86"
,
13
:
"2beac39dbf478da5d043"
,
14
:
"b4d9013b422ad318742b"
,
15
:
"6796c518abc318812081"
,
16
:
"ef195c3fcb925c77ae43"
,
17
:
"ce3bdcd4f29fbb3381e9"
,
18
:
"b2bc6f4bfe4cff1a7202"
,
19
:
"a7a2dd7d0bf3080f5f56"
,
20
:
"996784e638bff432e176"
,
21
:
"ee91af33ece1f2c7a693"
,
22
:
"3c11e1d899239ef8bbe6"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
o
.
onerror
=
o
.
onload
=
d
,
a
.
appendChild
(
o
),
r
},
c
.
m
=
e
,
c
.
c
=
r
,
c
.
d
=
function
(
e
,
n
,
r
){
c
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
c
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
c
.
d
(
n
,
"a"
,
n
),
n
},
c
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
c
.
p
=
"./"
,
c
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/static/js/manifest.4b1d5c150e0450a8e726.js
deleted
100644 → 0
View file @
8c938f14
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
a
,
o
){
for
(
var
f
,
d
,
b
,
i
=
0
,
u
=
[];
i
<
r
.
length
;
i
++
)
d
=
r
[
i
],
c
[
d
]
&&
u
.
push
(
c
[
d
][
0
]),
c
[
d
]
=
0
;
for
(
f
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
f
)
&&
(
e
[
f
]
=
a
[
f
]);
for
(
n
&&
n
(
r
,
a
,
o
);
u
.
length
;)
u
.
shift
()();
if
(
o
)
for
(
i
=
0
;
i
<
o
.
length
;
i
++
)
b
=
t
(
t
.
s
=
o
[
i
]);
return
b
};
var
r
=
{},
c
=
{
25
:
0
};
function
t
(
n
){
if
(
r
[
n
])
return
r
[
n
].
exports
;
var
c
=
r
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
c
.
exports
,
c
,
c
.
exports
,
t
),
c
.
l
=!
0
,
c
.
exports
}
t
.
e
=
function
(
e
){
var
n
=
c
[
e
];
if
(
0
===
n
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
n
)
return
n
[
2
];
var
r
=
new
Promise
(
function
(
r
,
t
){
n
=
c
[
e
]
=
[
r
,
t
]});
n
[
2
]
=
r
;
var
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
type
=
"text/javascript"
,
o
.
charset
=
"utf-8"
,
o
.
async
=!
0
,
o
.
timeout
=
12
e4
,
t
.
nc
&&
o
.
setAttribute
(
"nonce"
,
t
.
nc
),
o
.
src
=
t
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"23d1229adea8954fba10"
,
1
:
"01b05b545224ac46d1de"
,
2
:
"1356224076b3f5a78f50"
,
3
:
"5078cc7e5c6ce7a64738"
,
4
:
"57811c18bd1907ffb6e7"
,
5
:
"4b3dd1e3ff5cb0b25702"
,
6
:
"5fa967becbc7acce4d18"
,
7
:
"e97fe38c56d2c1d5728e"
,
8
:
"14a950d5194c3955ca8a"
,
9
:
"a2664298b6f8425e6031"
,
10
:
"71dee509858946e12424"
,
11
:
"d61c6ae02b4a15f4ce2e"
,
12
:
"bf13700950dc45acdd86"
,
13
:
"2beac39dbf478da5d043"
,
14
:
"b4d9013b422ad318742b"
,
15
:
"6796c518abc318812081"
,
16
:
"ef195c3fcb925c77ae43"
,
17
:
"ce3bdcd4f29fbb3381e9"
,
18
:
"b2bc6f4bfe4cff1a7202"
,
19
:
"a7a2dd7d0bf3080f5f56"
,
20
:
"996784e638bff432e176"
,
21
:
"ee91af33ece1f2c7a693"
,
22
:
"3c11e1d899239ef8bbe6"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
c
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
o
.
onerror
=
o
.
onload
=
d
,
a
.
appendChild
(
o
),
r
},
t
.
m
=
e
,
t
.
c
=
r
,
t
.
d
=
function
(
e
,
n
,
r
){
t
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
t
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
t
.
d
(
n
,
"a"
,
n
),
n
},
t
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
t
.
p
=
"./"
,
t
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/api/back-table-right.vue
View file @
1b220f07
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-08-06 21:01:14
* @LastEditors: 无尘
* @LastEditTime: 2020-10-16 17:
13:05
* @LastEditTime: 2020-10-16 17:
29:19
-->
<!--
<back-table-right></back-table-right>
...
...
@@ -88,10 +88,12 @@ import backTableRight from '@/components/api/back-table-right.vue';
v-if=
"itemValue.type == 'array' && Object.keys(itemValue.items.properties).length"
:key=
"index + '122' + itemName"
class=
"el-table__row child-row"
:interface-type=
"interfaceType"
:item-data=
"itemValue.items"
/>
<back-table-row
v-if=
"itemValue.type == 'object' && Object.keys(itemValue.properties).length"
:key=
"index + '123' + itemName"
:interface-type=
"interfaceType"
class=
"el-table__row child-row"
:item-data=
"itemValue"
/>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment