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
6eaced41
Commit
6eaced41
authored
Aug 22, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改过滤条件
parent
516016c0
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
11 deletions
+15
-11
index.html
dist/index.html
+2
-2
app.17dd2188f8b79641b9c11e20cc1fa6b5.css
dist/static/css/app.17dd2188f8b79641b9c11e20cc1fa6b5.css
+0
-0
8.b7ed0abeb26ad276c2a5.js
dist/static/js/8.b7ed0abeb26ad276c2a5.js
+2
-0
9.56e39a7db187d5965631.js
dist/static/js/9.56e39a7db187d5965631.js
+2
-2
9.81856eca9720cf1e7b02.js
dist/static/js/9.81856eca9720cf1e7b02.js
+0
-2
app.434c40aceca40251eccb.js
dist/static/js/app.434c40aceca40251eccb.js
+2
-2
manifest.007afaa35bcc0eef3253.js
dist/static/js/manifest.007afaa35bcc0eef3253.js
+2
-2
apiList.vue
src/views/index/apiList.vue
+5
-1
No files found.
dist/index.html
View file @
6eaced41
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.28cb34298546d93f5b17e2cd75c79585.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
type=
text/javascript
src=
./static/js/manifest.e07382d0e4d181a0d4d4.js
></script><script
type=
text/javascript
src=
./static/js/vendor.bb8c036d7dd62f4cb37a.js
></script><script
type=
text/javascript
src=
./static/js/app.9212dd762ec424e34f09.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.17dd2188f8b79641b9c11e20cc1fa6b5.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
type=
text/javascript
src=
./static/js/manifest.007afaa35bcc0eef3253.js
></script><script
type=
text/javascript
src=
./static/js/vendor.bb8c036d7dd62f4cb37a.js
></script><script
type=
text/javascript
src=
./static/js/app.434c40aceca40251eccb.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
28cb34298546d93f5b17e2cd75c7958
5.css
→
dist/static/css/app.
17dd2188f8b79641b9c11e20cc1fa6b
5.css
View file @
6eaced41
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/8.b7ed0abeb26ad276c2a5.js
0 → 100644
View file @
6eaced41
webpackJsonp
([
8
],{
cKi6
:
function
(
t
,
e
){},
f2i8
:
function
(
t
,
e
,
a
){
"use strict"
;
var
o
=
a
(
"mvHQ"
),
r
=
a
.
n
(
o
),
i
=
a
(
"l46T"
),
n
=
a
(
"Kkt8"
),
s
=
a
(
"P9l9"
),
l
=
a
(
"TUB1"
),
u
=
a
(
"LlAa"
),
c
=
{
name
:
"new-api-group"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{
interfaceGroupId
:
""
,
groupName
:
""
,
remark
:
""
}}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
n
.
a
},
data
:
function
(){
return
{
customDialog
:
!
1
,
formData
:{
interfaceGroupId
:
""
,
groupName
:
""
,
remark
:
""
},
rules
:{
groupName
:[{
required
:
!
0
,
message
:
"请输入分组名称"
,
trigger
:
"blur"
}],
remark
:[{
required
:
!
0
,
message
:
"请输入描述"
,
trigger
:
"blur"
}]}}},
methods
:{
handleClose
:
function
(
t
){
this
.
$refs
.
programGroupForm
.
resetFields
(),
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
$refs
.
programGroupForm
.
resetFields
(),
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
formData
.
groupName
=
""
,
this
.
formData
.
remark
=
""
,
this
.
$emit
(
"hideDialog"
,
""
)},
customConfirm
:
function
(
t
){
var
e
=
this
;
e
.
formData
.
groupName
=
String
(
e
.
formData
.
groupName
).
replace
(
/
\s
+/g
,
""
),
e
.
formData
.
remark
=
String
(
e
.
formData
.
remark
).
replace
(
/
\s
+/g
,
""
),
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postEditData
()})},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
interfaceGroupId
:
t
.
formData
.
interfaceGroupId
,
groupName
:
t
.
formData
.
groupName
,
remark
:
t
.
formData
.
remark
,
projectId
:
t
.
$route
.
query
.
projectId
};
Object
(
s
.
a
)(
t
.
editRow
.
interfaceGroupId
?
"/gateway-manage/update-api-group"
:
"/gateway-manage/create-api-group"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
l
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
setData
();
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(
t
){
this
.
$emit
(
"hideDialog"
,
this
.
formData
)}},
watch
:{
showDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
editRow
:
function
(
t
,
e
){
this
.
formData
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
this
.
formData
=
JSON
.
parse
(
r
()(
this
.
editRow
))}},
p
=
{
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
:
t
.
formData
.
interfaceGroupId
?
"编辑分组"
:
"新建分组"
,
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
:
"programGroupForm"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"94px"
,
rules
:
t
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组名称:"
,
prop
:
"groupName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
t
.
formData
.
groupName
,
holder
:
"请输入分组名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"groupName"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"描述:"
}},[
a
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
t
.
formData
.
remark
,
holder
:
"请输入描述内容"
,
getByType
:
"word"
,
maxLength
:
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
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
customConfirm
(
"programGroupForm"
)}}},[
t
.
_v
(
t
.
_s
(
t
.
formData
.
interfaceGroupId
?
"保 存"
:
"新 建"
))])],
1
)])],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
c
,
p
,
!
1
,
function
(
t
){
a
(
"t1cX"
)},
"data-v-847a650a"
,
null
);
e
.
a
=
m
.
exports
},
t1cX
:
function
(
t
,
e
){},
tiLT
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"319J"
),
r
=
a
(
"f2i8"
),
i
=
a
(
"P9l9"
),
n
=
a
(
"jvWE"
),
s
=
a
(
"LlAa"
),
l
=
{
name
:
"apiProgramGroup"
,
components
:{
navBread
:
o
.
a
,
newApiGroup
:
r
.
a
},
data
:
function
(){
return
{
navPath
:[{
name
:
"API管理"
,
path
:
"/apiProgram"
},{
name
:
"API列表"
,
path
:
""
}],
projectId
:
this
.
$route
.
query
.
projectId
||
""
,
interfaceGroupId
:
this
.
$route
.
query
.
interfaceGroupId
||
""
,
searchValue
:
""
,
targetType
:
"-1"
,
targetTypeOptions
:[{
value
:
"-1"
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"私有"
},{
value
:
"1"
,
label
:
"公开"
}],
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
showDialog
:
!
1
,
editIndex
:
""
,
editRow
:{}}},
methods
:{
searchData
:
Object
(
n
.
a
)(
function
(
t
){
this
.
currentPage
,
this
.
getData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getData
()},
changeTargetType
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
getData
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getData
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getData
()},
toApiListManage
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/apiListManage?interfaceId="
+
e
.
interfaceId
+
"&interfaceName="
+
e
.
interfaceName
)},
getData
:
function
(){
var
t
=
this
,
e
=
{
projectId
:
t
.
projectId
,
interfaceGroupId
:
t
.
interfaceGroupId
,
search
:
t
.
searchValue
,
target
:
t
.
targetType
,
pageSize
:
t
.
pageSize
,
pageNum
:
t
.
currentPage
};
Object
(
i
.
a
)(
"/gateway-manage/page-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
t
.
tableData
=
a
.
result
.
result
,
void
(
t
.
totalCount
=
a
.
result
.
totalCount
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
22
),
this
.
getData
()}},
u
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"api-body-content border-box"
},[
a
(
"div"
,{
staticClass
:
"common-nav"
},[
a
(
"nav-bread"
,{
attrs
:{
navPath
:
t
.
navPath
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"api-body-main common-body-main border-box"
},[
a
(
"div"
,{
staticClass
:
"api-main-content border-box"
},[
a
(
"div"
,{
staticClass
:
"search-wrap m-b-20 flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-320"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入API名称"
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
searchData
(
a
);
var
a
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-137"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeTargetType
},
model
:{
value
:
t
.
targetType
,
callback
:
function
(
e
){
t
.
targetType
=
e
},
expression
:
"targetType"
}},
t
.
_l
(
t
.
targetTypeOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-wrap"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"interfaceName"
,
label
:
"API名称"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"API类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
"0"
==
e
.
row
.
interfaceType
?
"http"
:
"1"
==
e
.
row
.
interfaceType
?
"dubbo "
:
"自定义返回"
)
+
"
\
n "
)]}}])}),
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
.
optType
)
+
"
\
n "
)]}}])}),
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
.
interfaceGroupName
)
+
"
\
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
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createTime
)))])]}}])}),
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
.
toApiListManage
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"管理"
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination text-right m-t-14"
},[
a
(
"el-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
(
"new-api-group"
,{
attrs
:{
editRow
:
t
.
editRow
,
showDialog
:
t
.
showDialog
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
u
,
!
1
,
function
(
t
){
a
(
"cKi6"
)},
"data-v-6af6eee6"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/
8.83ce2c01d805bd23b3ae
.js
→
dist/static/js/
9.56e39a7db187d5965631
.js
View file @
6eaced41
webpackJsonp
([
8
],{
"G8l+"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"319J"
),
r
=
a
(
"f2i8"
),
i
=
a
(
"P9l9"
),
n
=
a
(
"jvWE"
),
s
=
a
(
"TUB1"
),
l
=
a
(
"LlAa"
),
u
=
{
name
:
"apiProgramGroup"
,
components
:{
navBread
:
o
.
a
,
newApiGroup
:
r
.
a
},
data
:
function
(){
return
{
navPath
:[{
name
:
"API管理"
,
path
:
"/apiProgram"
},{
name
:
"项目列表"
,
path
:
"apiProgram"
},{
name
:
"分组列表"
,
path
:
""
}],
searchValue
:
""
,
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
showDialog
:
!
1
,
editIndex
:
""
,
editRow
:{}}},
methods
:{
createApi
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/createApi?projectId="
+
e
.
projectId
+
"&interfaceGroupId="
+
e
.
interfaceGroupId
)},
editProgram
:
function
(){
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
!
t
)
return
this
.
editIndex
=
""
,
this
.
editRow
=
{},
this
.
showDialog
=!
1
,
!
1
;
this
.
currentPage
=
1
,
this
.
getData
(),
this
.
editIndex
=
""
,
this
.
editRow
=
{},
this
.
showDialog
=!
1
,
this
.
$forceUpdate
()},
searchData
:
Object
(
n
.
a
)(
function
(
t
){
this
.
currentPage
,
this
.
getData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getData
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getData
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getData
()},
toApiList
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/apiList?projectId="
+
e
.
projectId
+
"&interfaceGroupId="
+
e
.
interfaceGroupId
)},
handleEdit
:
function
(
t
,
e
){
this
.
editIndex
=
t
,
this
.
editRow
=
e
,
this
.
showDialog
=!
0
},
handleDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"【"
+
e
.
groupName
+
"】下的接口将全部被删除,确认删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDelData
(
t
,
e
)}).
catch
(
function
(){})},
postDelData
:
function
(
t
,
e
){
var
a
=
this
,
o
=
{
interfaceGroupId
:
e
.
interfaceGroupId
};
Object
(
i
.
a
)(
"/gateway-manage/delete-api-group"
,
o
).
then
(
function
(
e
){
var
o
=
e
.
data
;
if
(
"0000"
==
o
.
code
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
t
,
1
);
l
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
search
:
t
.
searchValue
,
pageSize
:
t
.
pageSize
,
pageNum
:
t
.
currentPage
,
projectId
:
t
.
$route
.
query
.
projectId
};
Object
(
i
.
a
)(
"/gateway-manage/page-api-group"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
t
.
tableData
=
a
.
result
.
result
,
void
(
t
.
totalCount
=
a
.
result
.
totalCount
);
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
21
),
this
.
getData
()}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"api-body-content border-box"
},[
a
(
"div"
,{
staticClass
:
"common-nav"
},[
a
(
"nav-bread"
,{
attrs
:{
navPath
:
t
.
navPath
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"api-body-main common-body-main border-box"
},[
a
(
"div"
,{
staticClass
:
"api-main-content border-box"
},[
a
(
"div"
,{
staticClass
:
"search-wrap m-b-20 flex flex-space-between"
},[
a
(
"el-input"
,{
staticClass
:
"w-320"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入分组名称"
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
searchData
(
a
);
var
a
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
editProgram
}},[
t
.
_v
(
"新建分组"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-wrap"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"groupName"
,
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
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createTime
)))])]}}])}),
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
.
toApiList
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"API列表"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
handleEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
handleDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
createApi
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"新建API"
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination text-right m-t-14"
},[
a
(
"el-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
(
"new-api-group"
,{
attrs
:{
editRow
:
t
.
editRow
,
showDialog
:
t
.
showDialog
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
u
,
c
,
!
1
,
function
(
t
){
a
(
"lI0h"
)},
"data-v-0e433634"
,
null
);
e
.
default
=
p
.
exports
},
f2i8
:
function
(
t
,
e
,
a
){
"use strict"
;
var
o
=
a
(
"mvHQ"
),
r
=
a
.
n
(
o
),
i
=
a
(
"l46T"
),
n
=
a
(
"Kkt8"
),
s
=
a
(
"P9l9"
),
l
=
a
(
"TUB1"
),
u
=
a
(
"LlAa"
),
c
=
{
name
:
"new-api-group"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{
interfaceGroupId
:
""
,
groupName
:
""
,
remark
:
""
}}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
n
.
a
},
data
:
function
(){
return
{
customDialog
:
!
1
,
formData
:{
interfaceGroupId
:
""
,
groupName
:
""
,
remark
:
""
},
rules
:{
groupName
:[{
required
:
!
0
,
message
:
"请输入分组名称"
,
trigger
:
"blur"
}],
remark
:[{
required
:
!
0
,
message
:
"请输入描述"
,
trigger
:
"blur"
}]}}},
methods
:{
handleClose
:
function
(
t
){
this
.
$refs
.
programGroupForm
.
resetFields
(),
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
$refs
.
programGroupForm
.
resetFields
(),
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
formData
.
groupName
=
""
,
this
.
formData
.
remark
=
""
,
this
.
$emit
(
"hideDialog"
,
""
)},
customConfirm
:
function
(
t
){
var
e
=
this
;
e
.
formData
.
groupName
=
String
(
e
.
formData
.
groupName
).
replace
(
/
\s
+/g
,
""
),
e
.
formData
.
remark
=
String
(
e
.
formData
.
remark
).
replace
(
/
\s
+/g
,
""
),
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postEditData
()})},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
interfaceGroupId
:
t
.
formData
.
interfaceGroupId
,
groupName
:
t
.
formData
.
groupName
,
remark
:
t
.
formData
.
remark
,
projectId
:
t
.
$route
.
query
.
projectId
};
Object
(
s
.
a
)(
t
.
editRow
.
interfaceGroupId
?
"/gateway-manage/update-api-group"
:
"/gateway-manage/create-api-group"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
l
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
setData
();
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(
t
){
this
.
$emit
(
"hideDialog"
,
this
.
formData
)}},
watch
:{
showDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
editRow
:
function
(
t
,
e
){
this
.
formData
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
this
.
formData
=
JSON
.
parse
(
r
()(
this
.
editRow
))}},
p
=
{
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
:
t
.
formData
.
interfaceGroupId
?
"编辑分组"
:
"新建分组"
,
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
:
"programGroupForm"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"94px"
,
rules
:
t
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组名称:"
,
prop
:
"groupName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
t
.
formData
.
groupName
,
holder
:
"请输入分组名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"groupName"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"描述:"
}},[
a
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
t
.
formData
.
remark
,
holder
:
"请输入描述内容"
,
getByType
:
"word"
,
maxLength
:
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
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
customConfirm
(
"programGroupForm"
)}}},[
t
.
_v
(
t
.
_s
(
t
.
formData
.
interfaceGroupId
?
"保 存"
:
"新 建"
))])],
1
)])],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
c
,
p
,
!
1
,
function
(
t
){
a
(
"t1cX"
)},
"data-v-847a650a"
,
null
);
e
.
a
=
d
.
exports
},
lI0h
:
function
(
t
,
e
){},
t1cX
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
9
],{
"G8l+"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"319J"
),
r
=
a
(
"f2i8"
),
i
=
a
(
"P9l9"
),
n
=
a
(
"jvWE"
),
s
=
a
(
"TUB1"
),
l
=
a
(
"LlAa"
),
u
=
{
name
:
"apiProgramGroup"
,
components
:{
navBread
:
o
.
a
,
newApiGroup
:
r
.
a
},
data
:
function
(){
return
{
navPath
:[{
name
:
"API管理"
,
path
:
"/apiProgram"
},{
name
:
"项目列表"
,
path
:
"apiProgram"
},{
name
:
"分组列表"
,
path
:
""
}],
searchValue
:
""
,
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
showDialog
:
!
1
,
editIndex
:
""
,
editRow
:{}}},
methods
:{
createApi
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/createApi?projectId="
+
e
.
projectId
+
"&interfaceGroupId="
+
e
.
interfaceGroupId
)},
editProgram
:
function
(){
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
!
t
)
return
this
.
editIndex
=
""
,
this
.
editRow
=
{},
this
.
showDialog
=!
1
,
!
1
;
this
.
currentPage
=
1
,
this
.
getData
(),
this
.
editIndex
=
""
,
this
.
editRow
=
{},
this
.
showDialog
=!
1
,
this
.
$forceUpdate
()},
searchData
:
Object
(
n
.
a
)(
function
(
t
){
this
.
currentPage
,
this
.
getData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getData
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getData
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getData
()},
toApiList
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/apiList?projectId="
+
e
.
projectId
+
"&interfaceGroupId="
+
e
.
interfaceGroupId
)},
handleEdit
:
function
(
t
,
e
){
this
.
editIndex
=
t
,
this
.
editRow
=
e
,
this
.
showDialog
=!
0
},
handleDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"【"
+
e
.
groupName
+
"】下的接口将全部被删除,确认删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDelData
(
t
,
e
)}).
catch
(
function
(){})},
postDelData
:
function
(
t
,
e
){
var
a
=
this
,
o
=
{
interfaceGroupId
:
e
.
interfaceGroupId
};
Object
(
i
.
a
)(
"/gateway-manage/delete-api-group"
,
o
).
then
(
function
(
e
){
var
o
=
e
.
data
;
if
(
"0000"
==
o
.
code
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
t
,
1
);
l
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
search
:
t
.
searchValue
,
pageSize
:
t
.
pageSize
,
pageNum
:
t
.
currentPage
,
projectId
:
t
.
$route
.
query
.
projectId
};
Object
(
i
.
a
)(
"/gateway-manage/page-api-group"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
t
.
tableData
=
a
.
result
.
result
,
void
(
t
.
totalCount
=
a
.
result
.
totalCount
);
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
21
),
this
.
getData
()}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"api-body-content border-box"
},[
a
(
"div"
,{
staticClass
:
"common-nav"
},[
a
(
"nav-bread"
,{
attrs
:{
navPath
:
t
.
navPath
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"api-body-main common-body-main border-box"
},[
a
(
"div"
,{
staticClass
:
"api-main-content border-box"
},[
a
(
"div"
,{
staticClass
:
"search-wrap m-b-20 flex flex-space-between"
},[
a
(
"el-input"
,{
staticClass
:
"w-320"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入分组名称"
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
searchData
(
a
);
var
a
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
editProgram
}},[
t
.
_v
(
"新建分组"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-wrap"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"groupName"
,
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
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createTime
)))])]}}])}),
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
.
toApiList
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"API列表"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
handleEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
handleDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
createApi
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"新建API"
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination text-right m-t-14"
},[
a
(
"el-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
(
"new-api-group"
,{
attrs
:{
editRow
:
t
.
editRow
,
showDialog
:
t
.
showDialog
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
u
,
c
,
!
1
,
function
(
t
){
a
(
"lI0h"
)},
"data-v-0e433634"
,
null
);
e
.
default
=
p
.
exports
},
f2i8
:
function
(
t
,
e
,
a
){
"use strict"
;
var
o
=
a
(
"mvHQ"
),
r
=
a
.
n
(
o
),
i
=
a
(
"l46T"
),
n
=
a
(
"Kkt8"
),
s
=
a
(
"P9l9"
),
l
=
a
(
"TUB1"
),
u
=
a
(
"LlAa"
),
c
=
{
name
:
"new-api-group"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{
interfaceGroupId
:
""
,
groupName
:
""
,
remark
:
""
}}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
n
.
a
},
data
:
function
(){
return
{
customDialog
:
!
1
,
formData
:{
interfaceGroupId
:
""
,
groupName
:
""
,
remark
:
""
},
rules
:{
groupName
:[{
required
:
!
0
,
message
:
"请输入分组名称"
,
trigger
:
"blur"
}],
remark
:[{
required
:
!
0
,
message
:
"请输入描述"
,
trigger
:
"blur"
}]}}},
methods
:{
handleClose
:
function
(
t
){
this
.
$refs
.
programGroupForm
.
resetFields
(),
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
$refs
.
programGroupForm
.
resetFields
(),
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
formData
.
groupName
=
""
,
this
.
formData
.
remark
=
""
,
this
.
$emit
(
"hideDialog"
,
""
)},
customConfirm
:
function
(
t
){
var
e
=
this
;
e
.
formData
.
groupName
=
String
(
e
.
formData
.
groupName
).
replace
(
/
\s
+/g
,
""
),
e
.
formData
.
remark
=
String
(
e
.
formData
.
remark
).
replace
(
/
\s
+/g
,
""
),
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postEditData
()})},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
interfaceGroupId
:
t
.
formData
.
interfaceGroupId
,
groupName
:
t
.
formData
.
groupName
,
remark
:
t
.
formData
.
remark
,
projectId
:
t
.
$route
.
query
.
projectId
};
Object
(
s
.
a
)(
t
.
editRow
.
interfaceGroupId
?
"/gateway-manage/update-api-group"
:
"/gateway-manage/create-api-group"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
l
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
setData
();
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(
t
){
this
.
$emit
(
"hideDialog"
,
this
.
formData
)}},
watch
:{
showDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
editRow
:
function
(
t
,
e
){
this
.
formData
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
this
.
formData
=
JSON
.
parse
(
r
()(
this
.
editRow
))}},
p
=
{
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
:
t
.
formData
.
interfaceGroupId
?
"编辑分组"
:
"新建分组"
,
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
:
"programGroupForm"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"94px"
,
rules
:
t
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组名称:"
,
prop
:
"groupName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
t
.
formData
.
groupName
,
holder
:
"请输入分组名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"groupName"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"描述:"
}},[
a
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
t
.
formData
.
remark
,
holder
:
"请输入描述内容"
,
getByType
:
"word"
,
maxLength
:
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
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
customConfirm
(
"programGroupForm"
)}}},[
t
.
_v
(
t
.
_s
(
t
.
formData
.
interfaceGroupId
?
"保 存"
:
"新 建"
))])],
1
)])],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
c
,
p
,
!
1
,
function
(
t
){
a
(
"t1cX"
)},
"data-v-847a650a"
,
null
);
e
.
a
=
d
.
exports
},
lI0h
:
function
(
t
,
e
){},
t1cX
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/9.81856eca9720cf1e7b02.js
deleted
100644 → 0
View file @
516016c0
webpackJsonp
([
9
],{
"4JrK"
:
function
(
t
,
e
){},
f2i8
:
function
(
t
,
e
,
a
){
"use strict"
;
var
r
=
a
(
"mvHQ"
),
o
=
a
.
n
(
r
),
i
=
a
(
"l46T"
),
n
=
a
(
"Kkt8"
),
s
=
a
(
"P9l9"
),
l
=
a
(
"TUB1"
),
u
=
a
(
"LlAa"
),
c
=
{
name
:
"new-api-group"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{
interfaceGroupId
:
""
,
groupName
:
""
,
remark
:
""
}}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
n
.
a
},
data
:
function
(){
return
{
customDialog
:
!
1
,
formData
:{
interfaceGroupId
:
""
,
groupName
:
""
,
remark
:
""
},
rules
:{
groupName
:[{
required
:
!
0
,
message
:
"请输入分组名称"
,
trigger
:
"blur"
}],
remark
:[{
required
:
!
0
,
message
:
"请输入描述"
,
trigger
:
"blur"
}]}}},
methods
:{
handleClose
:
function
(
t
){
this
.
$refs
.
programGroupForm
.
resetFields
(),
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
$refs
.
programGroupForm
.
resetFields
(),
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
formData
.
groupName
=
""
,
this
.
formData
.
remark
=
""
,
this
.
$emit
(
"hideDialog"
,
""
)},
customConfirm
:
function
(
t
){
var
e
=
this
;
e
.
formData
.
groupName
=
String
(
e
.
formData
.
groupName
).
replace
(
/
\s
+/g
,
""
),
e
.
formData
.
remark
=
String
(
e
.
formData
.
remark
).
replace
(
/
\s
+/g
,
""
),
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postEditData
()})},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
interfaceGroupId
:
t
.
formData
.
interfaceGroupId
,
groupName
:
t
.
formData
.
groupName
,
remark
:
t
.
formData
.
remark
,
projectId
:
t
.
$route
.
query
.
projectId
};
Object
(
s
.
a
)(
t
.
editRow
.
interfaceGroupId
?
"/gateway-manage/update-api-group"
:
"/gateway-manage/create-api-group"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
l
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
setData
();
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(
t
){
this
.
$emit
(
"hideDialog"
,
this
.
formData
)}},
watch
:{
showDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
editRow
:
function
(
t
,
e
){
this
.
formData
=
JSON
.
parse
(
o
()(
t
))}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
this
.
formData
=
JSON
.
parse
(
o
()(
this
.
editRow
))}},
p
=
{
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
:
t
.
formData
.
interfaceGroupId
?
"编辑分组"
:
"新建分组"
,
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
:
"programGroupForm"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"94px"
,
rules
:
t
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组名称:"
,
prop
:
"groupName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
t
.
formData
.
groupName
,
holder
:
"请输入分组名称"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"groupName"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"描述:"
}},[
a
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
t
.
formData
.
remark
,
holder
:
"请输入描述内容"
,
getByType
:
"word"
,
maxLength
:
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
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
customConfirm
(
"programGroupForm"
)}}},[
t
.
_v
(
t
.
_s
(
t
.
formData
.
interfaceGroupId
?
"保 存"
:
"新 建"
))])],
1
)])],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
c
,
p
,
!
1
,
function
(
t
){
a
(
"t1cX"
)},
"data-v-847a650a"
,
null
);
e
.
a
=
m
.
exports
},
t1cX
:
function
(
t
,
e
){},
tiLT
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"319J"
),
o
=
a
(
"f2i8"
),
i
=
a
(
"P9l9"
),
n
=
a
(
"jvWE"
),
s
=
a
(
"LlAa"
),
l
=
{
name
:
"apiProgramGroup"
,
components
:{
navBread
:
r
.
a
,
newApiGroup
:
o
.
a
},
data
:
function
(){
return
{
navPath
:[{
name
:
"API管理"
,
path
:
"/apiProgram"
},{
name
:
"API列表"
,
path
:
""
}],
projectId
:
this
.
$route
.
query
.
projectId
||
""
,
interfaceGroupId
:
this
.
$route
.
query
.
interfaceGroupId
||
""
,
searchValue
:
""
,
targetType
:
"0"
,
targetTypeOptions
:[{
value
:
"0"
,
label
:
"私有"
},{
value
:
"1"
,
label
:
"公开"
}],
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
showDialog
:
!
1
,
editIndex
:
""
,
editRow
:{}}},
methods
:{
searchData
:
Object
(
n
.
a
)(
function
(
t
){
this
.
currentPage
,
this
.
getData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getData
()},
changeTargetType
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
getData
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getData
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getData
()},
toApiListManage
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/apiListManage?interfaceId="
+
e
.
interfaceId
+
"&interfaceName="
+
e
.
interfaceName
)},
getData
:
function
(){
var
t
=
this
,
e
=
{
projectId
:
t
.
projectId
,
interfaceGroupId
:
t
.
interfaceGroupId
,
search
:
t
.
searchValue
,
target
:
t
.
targetType
,
pageSize
:
t
.
pageSize
,
pageNum
:
t
.
currentPage
};
Object
(
i
.
a
)(
"/gateway-manage/page-api"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
t
.
tableData
=
a
.
result
.
result
,
void
(
t
.
totalCount
=
a
.
result
.
totalCount
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
22
),
this
.
getData
()}},
u
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"api-body-content border-box"
},[
a
(
"div"
,{
staticClass
:
"common-nav"
},[
a
(
"nav-bread"
,{
attrs
:{
navPath
:
t
.
navPath
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"api-body-main common-body-main border-box"
},[
a
(
"div"
,{
staticClass
:
"api-main-content border-box"
},[
a
(
"div"
,{
staticClass
:
"search-wrap m-b-20 flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-320"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入API名称"
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
searchData
(
a
);
var
a
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-137"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeTargetType
},
model
:{
value
:
t
.
targetType
,
callback
:
function
(
e
){
t
.
targetType
=
e
},
expression
:
"targetType"
}},
t
.
_l
(
t
.
targetTypeOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-wrap"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"interfaceName"
,
label
:
"API名称"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"API类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
"0"
==
e
.
row
.
interfaceType
?
"http"
:
"1"
==
e
.
row
.
interfaceType
?
"dubbo "
:
"自定义返回"
)
+
"
\
n "
)]}}])}),
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
.
optType
)
+
"
\
n "
)]}}])}),
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
.
interfaceGroupName
)
+
"
\
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
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createTime
)))])]}}])}),
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
.
toApiListManage
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"管理"
)])]}}])})],
1
),
t
.
_v
(
" "
),
t
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination text-right m-t-14"
},[
a
(
"el-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
(
"new-api-group"
,{
attrs
:{
editRow
:
t
.
editRow
,
showDialog
:
t
.
showDialog
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
u
,
!
1
,
function
(
t
){
a
(
"4JrK"
)},
"data-v-04e9713e"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/app.
9212dd762ec424e34f09
.js
→
dist/static/js/app.
434c40aceca40251eccb
.js
View file @
6eaced41
webpackJsonp
([
20
],{
"/NA0"
:
function
(
e
,
n
){},
0
:
function
(
e
,
n
,
t
){
t
(
"j1ja"
),
e
.
exports
=
t
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
n
){},
"5tgt"
:
function
(
e
,
n
,
t
){
e
.
exports
=
function
(
e
,
n
){
return
function
(
o
){
t
(
"Opzk"
)(
"./"
+
e
+
"/"
+
n
+
".vue"
).
then
(
function
(
e
){
o
(
e
)})}}},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"fZjL"
),
a
=
t
.
n
(
o
),
r
=
(
t
(
"j1ja"
),
t
(
"hKoQ"
)),
i
=
t
.
n
(
r
),
u
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
n
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
t
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
u
,
!
1
,
function
(
e
){
t
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
t
(
"lRwf"
),
p
=
t
.
n
(
c
),
g
=
t
(
"pRNm"
),
f
=
t
.
n
(
g
),
m
=
t
(
"5tgt"
),
l
=
t
.
n
(
m
);
p
.
a
.
use
(
f
.
a
);
var
d
,
v
=
function
(
e
){
t
.
e
(
1
).
then
(
t
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
n
){
e
(
n
)})},
h
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
l
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"概览"
,
redirect
:
"overview"
,
component
:
l
()(
"index"
,
"index"
),
children
:[{
path
:
"/overview"
,
name
:
"概览"
,
component
:
l
()(
"index"
,
"overview"
)},{
path
:
"/apiProgram"
,
name
:
"项目列表"
,
component
:
l
()(
"index"
,
"apiProgram"
)},{
path
:
"/apiProgramGroup"
,
name
:
"分组列表"
,
component
:
l
()(
"index"
,
"apiProgramGroup"
)},{
path
:
"/apiList"
,
name
:
"API列表"
,
component
:
l
()(
"index"
,
"apiList"
)},{
path
:
"/createApi"
,
name
:
"创建API"
,
component
:
l
()(
"index"
,
"createApi"
)},{
path
:
"/apiListManage"
,
name
:
"API列表管理"
,
component
:
l
()(
"index"
,
"apiListManage"
)},{
path
:
"/apiListManageShow"
,
name
:
"API列表管理查看"
,
component
:
l
()(
"index"
,
"apiListManageShow"
)},{
path
:
"/envManage"
,
name
:
"环境管理"
,
component
:
l
()(
"index"
,
"envManage"
)},{
path
:
"/createEnvSet"
,
name
:
"新建配置"
,
component
:
l
()(
"index"
,
"createEnvSet"
)},{
path
:
"/releaseRecords"
,
name
:
"发布记录"
,
component
:
l
()(
"index"
,
"releaseRecords"
)},{
path
:
"/pluginManage"
,
name
:
"插件管理"
,
component
:
l
()(
"index"
,
"pluginManage"
)},{
path
:
"/errorCode"
,
name
:
"错误码"
,
component
:
l
()(
"index"
,
"errorCode"
)}]},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
v
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
v
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
v
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
x
=
new
f
.
a
({
routes
:
h
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
I
=
t
(
"zL8q"
),
S
=
t
.
n
(
I
),
M
=
t
(
"Rf8U"
),
w
=
t
.
n
(
M
),
k
=
t
(
"mtWM"
),
D
=
t
.
n
(
k
),
R
=
t
(
"bOdI"
),
A
=
t
.
n
(
R
),
P
=
t
(
"mvHQ"
),
b
=
t
.
n
(
P
),
H
=
t
(
"SJI6"
),
E
=
t
.
n
(
H
);
p
.
a
.
use
(
E
.
a
);
var
L
=
new
E
.
a
.
Store
({
state
:{
userInfo
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
baseInfo
:{},
frontInfo
:{},
backInfo
:{},
resultInfo
:{}},
mutations
:(
d
=
{},
A
()(
d
,
"login"
,
function
(
e
,
n
){
sessionStorage
.
token
=
n
,
e
.
token
=
n
}),
A
()(
d
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
A
()(
d
,
"title"
,
function
(
e
,
n
){
e
.
title
=
n
}),
A
()(
d
,
"show"
,
function
(
e
,
n
){
e
.
show
=
n
}),
A
()(
d
,
"saveUser"
,
function
(
e
,
n
){
localStorage
.
removeItem
(
"userInfo"
),
localStorage
.
setItem
(
"userInfo"
,
b
()(
n
)),
e
.
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
))}),
A
()(
d
,
"clearUser"
,
function
(
e
){
e
.
userInfo
=
{},
localStorage
.
getItem
(
"userInfo"
)
&&
localStorage
.
removeItem
(
"userInfo"
)}),
A
()(
d
,
"saveBase"
,
function
(
e
,
n
){
e
.
baseInfo
=
n
}),
A
()(
d
,
"saveFront"
,
function
(
e
,
n
){
e
.
frontInfo
=
n
}),
A
()(
d
,
"saveBack"
,
function
(
e
,
n
){
e
.
backInfo
=
n
}),
A
()(
d
,
"saveResult"
,
function
(
e
,
n
){
e
.
resultInfo
=
n
}),
A
()(
d
,
"clearData"
,
function
(
e
){
e
.
baseInfo
=
{},
e
.
frontInfo
=
{},
e
.
backInfo
=
{},
e
.
resultInfo
=
{}}),
d
),
actions
:{
saveUserInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveUser"
,
n
)},
clearUserInfo
:
function
(
e
,
n
){
e
.
commit
(
"clearUser"
,
n
)},
saveBaseInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveBase"
,
n
)},
saveFrontInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveFront"
,
n
)},
saveBackInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveBack"
,
n
)},
saveResultInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveResult"
,
n
)},
clearApiData
:
function
(
e
,
n
){
e
.
commit
(
"clearData"
)}}}),
j
=
(
t
(
"4qCZ"
),
t
(
"uKUT"
),
t
(
"Xcu2"
),{
dateFormat
:
function
(
e
,
n
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
t
=
new
Date
(
e
),
o
=
{
"M+"
:
t
.
getMonth
()
+
1
,
"D+"
:
t
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
t
.
getDay
()),
"h+"
:
t
.
getHours
(),
"m+"
:
t
.
getMinutes
(),
"s+"
:
t
.
getSeconds
(),
"q+"
:
Math
.
floor
((
t
.
getMonth
()
+
3
)
/
3
),
S
:
t
.
getMilliseconds
()};
for
(
var
a
in
/
(
Y+
)
/
.
test
(
n
)
&&
(
n
=
n
.
replace
(
RegExp
.
$1
,(
t
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
o
)
new
RegExp
(
"("
+
a
+
")"
).
test
(
n
)
&&
(
n
=
n
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
o
[
a
]:(
"00"
+
o
[
a
]).
substr
((
""
+
o
[
a
]).
length
)));
return
n
}},
formatTimeStamp
:
function
(
e
){
var
n
=
new
Date
(
e
),
t
=
n
.
getMonth
()
+
1
,
o
=
n
.
getDate
()
<
10
?
"0"
+
n
.
getDate
():
n
.
getDate
(),
a
=
t
<
10
?
"0"
+
t
:
t
,
r
=
n
.
getHours
()
<
10
?
"0"
+
n
.
getHours
():
n
.
getHours
(),
i
=
n
.
getMinutes
()
<
10
?
"0"
+
n
.
getMinutes
():
n
.
getMinutes
(),
u
=
n
.
getSeconds
()
<
10
?
"0"
+
n
.
getSeconds
():
n
.
getSeconds
();
return
n
.
getFullYear
()
+
"-"
+
a
+
"-"
+
o
+
" "
+
r
+
":"
+
i
+
":"
+
u
},
timeStampToYmd
:
function
(
e
){
var
n
=
new
Date
(
e
),
t
=
n
.
getMonth
()
+
1
,
o
=
n
.
getDate
()
<
10
?
"0"
+
n
.
getDate
():
n
.
getDate
(),
a
=
t
<
10
?
"0"
+
t
:
t
;
return
n
.
getFullYear
()
+
"-"
+
a
+
"-"
+
o
},
timeStampToHms
:
function
(
e
){
var
n
=
new
Date
(
e
);
return
(
n
.
getHours
()
<
10
?
"0"
+
n
.
getHours
():
n
.
getHours
())
+
":"
+
(
n
.
getMinutes
()
<
10
?
"0"
+
n
.
getMinutes
():
n
.
getMinutes
())
+
":"
+
(
n
.
getSeconds
()
<
10
?
"0"
+
n
.
getSeconds
():
n
.
getSeconds
())}});
i
.
a
.
polyfill
(),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
S
.
a
,{
size
:
"large"
}),
Vue
.
use
(
w
.
a
,
D
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
a
()(
j
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
j
[
e
])}),
new
Vue
({
el
:
"#app"
,
router
:
x
,
store
:
L
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
n
,
t
){
var
o
=
{
"./errorPage/403.vue"
:[
"6XGN"
,
12
],
"./errorPage/404.vue"
:[
"AejC"
,
14
],
"./errorPage/500.vue"
:[
"FskK"
,
10
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/apiList.vue"
:[
"tiLT"
,
0
,
9
],
"./index/apiListManage.vue"
:[
"dqHC"
,
0
,
4
],
"./index/apiListManageShow.vue"
:[
"r4m9"
,
0
,
3
],
"./index/apiProgram.vue"
:[
"kAqA"
,
0
,
11
],
"./index/apiProgramGroup.vue"
:[
"G8l+"
,
0
,
8
],
"./index/createApi.vue"
:[
"Yns/"
,
0
,
2
],
"./index/createEnvSet.vue"
:[
"vm6Q"
,
0
,
16
],
"./index/envManage.vue"
:[
"iGM1"
,
0
,
7
],
"./index/errorCode.vue"
:[
"SGyq"
,
0
,
13
],
"./index/index.vue"
:[
"JXTs"
,
0
,
5
],
"./index/overview.vue"
:[
"EBdF"
,
0
,
18
],
"./index/pluginManage.vue"
:[
"K0rJ"
,
0
,
15
],
"./index/releaseRecords.vue"
:[
"OEJD"
,
0
,
17
],
"./login/index.vue"
:[
"T+/8"
,
0
,
6
]};
function
a
(
e
){
var
n
=
o
[
e
];
return
n
?
Promise
.
all
(
n
.
slice
(
1
).
map
(
t
.
e
)).
then
(
function
(){
return
t
(
n
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
a
.
keys
=
function
(){
return
Object
.
keys
(
o
)},
a
.
id
=
"Opzk"
,
e
.
exports
=
a
},
SJI6
:
function
(
e
,
n
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
n
){},
lRwf
:
function
(
e
,
n
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
n
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
n
){}},[
0
]);
\ No newline at end of file
webpackJsonp
([
20
],{
"/NA0"
:
function
(
e
,
n
){},
0
:
function
(
e
,
n
,
t
){
t
(
"j1ja"
),
e
.
exports
=
t
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
n
){},
"5tgt"
:
function
(
e
,
n
,
t
){
e
.
exports
=
function
(
e
,
n
){
return
function
(
o
){
t
(
"Opzk"
)(
"./"
+
e
+
"/"
+
n
+
".vue"
).
then
(
function
(
e
){
o
(
e
)})}}},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"fZjL"
),
a
=
t
.
n
(
o
),
r
=
(
t
(
"j1ja"
),
t
(
"hKoQ"
)),
i
=
t
.
n
(
r
),
u
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
n
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
t
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
u
,
!
1
,
function
(
e
){
t
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
t
(
"lRwf"
),
p
=
t
.
n
(
c
),
g
=
t
(
"pRNm"
),
f
=
t
.
n
(
g
),
m
=
t
(
"5tgt"
),
l
=
t
.
n
(
m
);
p
.
a
.
use
(
f
.
a
);
var
d
,
v
=
function
(
e
){
t
.
e
(
1
).
then
(
t
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
n
){
e
(
n
)})},
h
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
l
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"概览"
,
redirect
:
"overview"
,
component
:
l
()(
"index"
,
"index"
),
children
:[{
path
:
"/overview"
,
name
:
"概览"
,
component
:
l
()(
"index"
,
"overview"
)},{
path
:
"/apiProgram"
,
name
:
"项目列表"
,
component
:
l
()(
"index"
,
"apiProgram"
)},{
path
:
"/apiProgramGroup"
,
name
:
"分组列表"
,
component
:
l
()(
"index"
,
"apiProgramGroup"
)},{
path
:
"/apiList"
,
name
:
"API列表"
,
component
:
l
()(
"index"
,
"apiList"
)},{
path
:
"/createApi"
,
name
:
"创建API"
,
component
:
l
()(
"index"
,
"createApi"
)},{
path
:
"/apiListManage"
,
name
:
"API列表管理"
,
component
:
l
()(
"index"
,
"apiListManage"
)},{
path
:
"/apiListManageShow"
,
name
:
"API列表管理查看"
,
component
:
l
()(
"index"
,
"apiListManageShow"
)},{
path
:
"/envManage"
,
name
:
"环境管理"
,
component
:
l
()(
"index"
,
"envManage"
)},{
path
:
"/createEnvSet"
,
name
:
"新建配置"
,
component
:
l
()(
"index"
,
"createEnvSet"
)},{
path
:
"/releaseRecords"
,
name
:
"发布记录"
,
component
:
l
()(
"index"
,
"releaseRecords"
)},{
path
:
"/pluginManage"
,
name
:
"插件管理"
,
component
:
l
()(
"index"
,
"pluginManage"
)},{
path
:
"/errorCode"
,
name
:
"错误码"
,
component
:
l
()(
"index"
,
"errorCode"
)}]},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
v
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
v
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
v
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
x
=
new
f
.
a
({
routes
:
h
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
I
=
t
(
"zL8q"
),
S
=
t
.
n
(
I
),
M
=
t
(
"Rf8U"
),
w
=
t
.
n
(
M
),
k
=
t
(
"mtWM"
),
D
=
t
.
n
(
k
),
R
=
t
(
"bOdI"
),
A
=
t
.
n
(
R
),
P
=
t
(
"mvHQ"
),
b
=
t
.
n
(
P
),
H
=
t
(
"SJI6"
),
E
=
t
.
n
(
H
);
p
.
a
.
use
(
E
.
a
);
var
L
=
new
E
.
a
.
Store
({
state
:{
userInfo
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
baseInfo
:{},
frontInfo
:{},
backInfo
:{},
resultInfo
:{}},
mutations
:(
d
=
{},
A
()(
d
,
"login"
,
function
(
e
,
n
){
sessionStorage
.
token
=
n
,
e
.
token
=
n
}),
A
()(
d
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
A
()(
d
,
"title"
,
function
(
e
,
n
){
e
.
title
=
n
}),
A
()(
d
,
"show"
,
function
(
e
,
n
){
e
.
show
=
n
}),
A
()(
d
,
"saveUser"
,
function
(
e
,
n
){
localStorage
.
removeItem
(
"userInfo"
),
localStorage
.
setItem
(
"userInfo"
,
b
()(
n
)),
e
.
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
))}),
A
()(
d
,
"clearUser"
,
function
(
e
){
e
.
userInfo
=
{},
localStorage
.
getItem
(
"userInfo"
)
&&
localStorage
.
removeItem
(
"userInfo"
)}),
A
()(
d
,
"saveBase"
,
function
(
e
,
n
){
e
.
baseInfo
=
n
}),
A
()(
d
,
"saveFront"
,
function
(
e
,
n
){
e
.
frontInfo
=
n
}),
A
()(
d
,
"saveBack"
,
function
(
e
,
n
){
e
.
backInfo
=
n
}),
A
()(
d
,
"saveResult"
,
function
(
e
,
n
){
e
.
resultInfo
=
n
}),
A
()(
d
,
"clearData"
,
function
(
e
){
e
.
baseInfo
=
{},
e
.
frontInfo
=
{},
e
.
backInfo
=
{},
e
.
resultInfo
=
{}}),
d
),
actions
:{
saveUserInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveUser"
,
n
)},
clearUserInfo
:
function
(
e
,
n
){
e
.
commit
(
"clearUser"
,
n
)},
saveBaseInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveBase"
,
n
)},
saveFrontInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveFront"
,
n
)},
saveBackInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveBack"
,
n
)},
saveResultInfo
:
function
(
e
,
n
){
e
.
commit
(
"saveResult"
,
n
)},
clearApiData
:
function
(
e
,
n
){
e
.
commit
(
"clearData"
)}}}),
j
=
(
t
(
"4qCZ"
),
t
(
"uKUT"
),
t
(
"Xcu2"
),{
dateFormat
:
function
(
e
,
n
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
t
=
new
Date
(
e
),
o
=
{
"M+"
:
t
.
getMonth
()
+
1
,
"D+"
:
t
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
t
.
getDay
()),
"h+"
:
t
.
getHours
(),
"m+"
:
t
.
getMinutes
(),
"s+"
:
t
.
getSeconds
(),
"q+"
:
Math
.
floor
((
t
.
getMonth
()
+
3
)
/
3
),
S
:
t
.
getMilliseconds
()};
for
(
var
a
in
/
(
Y+
)
/
.
test
(
n
)
&&
(
n
=
n
.
replace
(
RegExp
.
$1
,(
t
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
o
)
new
RegExp
(
"("
+
a
+
")"
).
test
(
n
)
&&
(
n
=
n
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
o
[
a
]:(
"00"
+
o
[
a
]).
substr
((
""
+
o
[
a
]).
length
)));
return
n
}},
formatTimeStamp
:
function
(
e
){
var
n
=
new
Date
(
e
),
t
=
n
.
getMonth
()
+
1
,
o
=
n
.
getDate
()
<
10
?
"0"
+
n
.
getDate
():
n
.
getDate
(),
a
=
t
<
10
?
"0"
+
t
:
t
,
r
=
n
.
getHours
()
<
10
?
"0"
+
n
.
getHours
():
n
.
getHours
(),
i
=
n
.
getMinutes
()
<
10
?
"0"
+
n
.
getMinutes
():
n
.
getMinutes
(),
u
=
n
.
getSeconds
()
<
10
?
"0"
+
n
.
getSeconds
():
n
.
getSeconds
();
return
n
.
getFullYear
()
+
"-"
+
a
+
"-"
+
o
+
" "
+
r
+
":"
+
i
+
":"
+
u
},
timeStampToYmd
:
function
(
e
){
var
n
=
new
Date
(
e
),
t
=
n
.
getMonth
()
+
1
,
o
=
n
.
getDate
()
<
10
?
"0"
+
n
.
getDate
():
n
.
getDate
(),
a
=
t
<
10
?
"0"
+
t
:
t
;
return
n
.
getFullYear
()
+
"-"
+
a
+
"-"
+
o
},
timeStampToHms
:
function
(
e
){
var
n
=
new
Date
(
e
);
return
(
n
.
getHours
()
<
10
?
"0"
+
n
.
getHours
():
n
.
getHours
())
+
":"
+
(
n
.
getMinutes
()
<
10
?
"0"
+
n
.
getMinutes
():
n
.
getMinutes
())
+
":"
+
(
n
.
getSeconds
()
<
10
?
"0"
+
n
.
getSeconds
():
n
.
getSeconds
())}});
i
.
a
.
polyfill
(),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
S
.
a
,{
size
:
"large"
}),
Vue
.
use
(
w
.
a
,
D
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
a
()(
j
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
j
[
e
])}),
new
Vue
({
el
:
"#app"
,
router
:
x
,
store
:
L
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
n
,
t
){
var
o
=
{
"./errorPage/403.vue"
:[
"6XGN"
,
12
],
"./errorPage/404.vue"
:[
"AejC"
,
14
],
"./errorPage/500.vue"
:[
"FskK"
,
10
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/apiList.vue"
:[
"tiLT"
,
0
,
8
],
"./index/apiListManage.vue"
:[
"dqHC"
,
0
,
4
],
"./index/apiListManageShow.vue"
:[
"r4m9"
,
0
,
3
],
"./index/apiProgram.vue"
:[
"kAqA"
,
0
,
11
],
"./index/apiProgramGroup.vue"
:[
"G8l+"
,
0
,
9
],
"./index/createApi.vue"
:[
"Yns/"
,
0
,
2
],
"./index/createEnvSet.vue"
:[
"vm6Q"
,
0
,
16
],
"./index/envManage.vue"
:[
"iGM1"
,
0
,
7
],
"./index/errorCode.vue"
:[
"SGyq"
,
0
,
13
],
"./index/index.vue"
:[
"JXTs"
,
0
,
5
],
"./index/overview.vue"
:[
"EBdF"
,
0
,
18
],
"./index/pluginManage.vue"
:[
"K0rJ"
,
0
,
15
],
"./index/releaseRecords.vue"
:[
"OEJD"
,
0
,
17
],
"./login/index.vue"
:[
"T+/8"
,
0
,
6
]};
function
a
(
e
){
var
n
=
o
[
e
];
return
n
?
Promise
.
all
(
n
.
slice
(
1
).
map
(
t
.
e
)).
then
(
function
(){
return
t
(
n
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
a
.
keys
=
function
(){
return
Object
.
keys
(
o
)},
a
.
id
=
"Opzk"
,
e
.
exports
=
a
},
SJI6
:
function
(
e
,
n
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
n
){},
lRwf
:
function
(
e
,
n
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
n
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
n
){}},[
0
]);
\ No newline at end of file
dist/static/js/manifest.
e07382d0e4d181a0d4d4
.js
→
dist/static/js/manifest.
007afaa35bcc0eef3253
.js
View file @
6eaced41
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
o
,
a
){
for
(
var
f
,
i
,
u
,
b
=
0
,
d
=
[];
b
<
r
.
length
;
b
++
)
i
=
r
[
b
],
t
[
i
]
&&
d
.
push
(
t
[
i
][
0
]),
t
[
i
]
=
0
;
for
(
f
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
f
)
&&
(
e
[
f
]
=
o
[
f
]);
for
(
n
&&
n
(
r
,
o
,
a
);
d
.
length
;)
d
.
shift
()();
if
(
a
)
for
(
b
=
0
;
b
<
a
.
length
;
b
++
)
u
=
c
(
c
.
s
=
a
[
b
]);
return
u
};
var
r
=
{},
t
=
{
21
:
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
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
c
.
nc
&&
a
.
setAttribute
(
"nonce"
,
c
.
nc
),
a
.
src
=
c
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"8d33a005548cc91f2535"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"b615c0825625ca5c07be"
,
3
:
"76c04489edeb65a5f020"
,
4
:
"dbac6029f8f49f9aed96"
,
5
:
"f5fa3d932b333b154e0e"
,
6
:
"03233da003452ba92dd2"
,
7
:
"4cb82e13df0c0c5b4b13"
,
8
:
"83ce2c01d805bd23b3ae"
,
9
:
"81856eca9720cf1e7b02"
,
10
:
"638039a7b39908980436"
,
11
:
"80fde13c3f372ead3f07"
,
12
:
"3b9c756b15cf547445f5"
,
13
:
"818eee5a82f374d898fc"
,
14
:
"9825bb69e60b8030c230"
,
15
:
"cb7b875c24b40e9cb6e0"
,
16
:
"59c1113679bef2e96538"
,
17
:
"180df87ba95cffdf25b7"
,
18
:
"37321ffca9347a60b988"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
i
,
12
e4
);
function
i
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
i
,
o
.
appendChild
(
a
),
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
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
o
,
a
){
for
(
var
f
,
b
,
d
,
i
=
0
,
u
=
[];
i
<
r
.
length
;
i
++
)
b
=
r
[
i
],
t
[
b
]
&&
u
.
push
(
t
[
b
][
0
]),
t
[
b
]
=
0
;
for
(
f
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
f
)
&&
(
e
[
f
]
=
o
[
f
]);
for
(
n
&&
n
(
r
,
o
,
a
);
u
.
length
;)
u
.
shift
()();
if
(
a
)
for
(
i
=
0
;
i
<
a
.
length
;
i
++
)
d
=
c
(
c
.
s
=
a
[
i
]);
return
d
};
var
r
=
{},
t
=
{
21
:
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
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
c
.
nc
&&
a
.
setAttribute
(
"nonce"
,
c
.
nc
),
a
.
src
=
c
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"8d33a005548cc91f2535"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"b615c0825625ca5c07be"
,
3
:
"76c04489edeb65a5f020"
,
4
:
"dbac6029f8f49f9aed96"
,
5
:
"f5fa3d932b333b154e0e"
,
6
:
"03233da003452ba92dd2"
,
7
:
"4cb82e13df0c0c5b4b13"
,
8
:
"b7ed0abeb26ad276c2a5"
,
9
:
"56e39a7db187d5965631"
,
10
:
"638039a7b39908980436"
,
11
:
"80fde13c3f372ead3f07"
,
12
:
"3b9c756b15cf547445f5"
,
13
:
"818eee5a82f374d898fc"
,
14
:
"9825bb69e60b8030c230"
,
15
:
"cb7b875c24b40e9cb6e0"
,
16
:
"59c1113679bef2e96538"
,
17
:
"180df87ba95cffdf25b7"
,
18
:
"37321ffca9347a60b988"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
b
,
12
e4
);
function
b
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
b
,
o
.
appendChild
(
a
),
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
src/views/index/apiList.vue
View file @
6eaced41
...
...
@@ -85,9 +85,13 @@ export default {
projectId
:
this
.
$route
.
query
.
projectId
||
''
,
interfaceGroupId
:
this
.
$route
.
query
.
interfaceGroupId
||
''
,
searchValue
:
''
,
targetType
:
'
0
'
,
targetType
:
'
-1
'
,
targetTypeOptions
:
[
{
value
:
'-1'
,
label
:
'所有'
},
{
value
:
'0'
,
label
:
'私有'
},
...
...
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