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
b1c5ae5b
Commit
b1c5ae5b
authored
Mar 26, 2021
by
shaojiawen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build:build
parent
912585b0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
index.html
dist/index.html
+2
-2
app.5873f68f5649c99279a41815aa9b095c.css
dist/static/css/app.5873f68f5649c99279a41815aa9b095c.css
+0
-0
13.23af5d8f9ed08b7e29d2.js
dist/static/js/13.23af5d8f9ed08b7e29d2.js
+2
-2
manifest.0fe1ecb875299d551b88.js
dist/static/js/manifest.0fe1ecb875299d551b88.js
+0
-2
manifest.40740957242b4220cdef.js
dist/static/js/manifest.40740957242b4220cdef.js
+2
-0
No files found.
dist/index.html
View file @
b1c5ae5b
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.3c295060c56f5db4c8e8aab4300dcad6.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.0fe1ecb875299d551b88.js
></script><script
type=
text/javascript
src=
./static/js/vendor.aab37afb8a1d95692670.js
></script><script
type=
text/javascript
src=
./static/js/app.08aee9f23beee0a3df32.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.5873f68f5649c99279a41815aa9b095c.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.40740957242b4220cdef.js
></script><script
type=
text/javascript
src=
./static/js/vendor.aab37afb8a1d95692670.js
></script><script
type=
text/javascript
src=
./static/js/app.08aee9f23beee0a3df32.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
3c295060c56f5db4c8e8aab4300dcad6
.css
→
dist/static/css/app.
5873f68f5649c99279a41815aa9b095c
.css
View file @
b1c5ae5b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/13.
58217cbffce767021b43
.js
→
dist/static/js/13.
23af5d8f9ed08b7e29d2
.js
View file @
b1c5ae5b
webpackJsonp
([
13
],{
"6Vbk"
:
function
(
t
,
e
){},
SGyq
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"319J"
),
o
=
a
(
"mvHQ"
),
n
=
a
.
n
(
o
),
i
=
a
(
"fZjL"
),
s
=
a
.
n
(
i
),
l
=
a
(
"P9l9"
),
c
=
a
(
"TUB1"
),
d
=
a
(
"LlAa"
),
u
=
{
name
:
"ErrorCodeEdit"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{
errorSettingId
:
""
,
interfaceName
:
""
,
projectAndGroup
:
""
,
errorCode
:
""
,
errorInfo
:
""
}}}},
data
:
function
(){
return
{
customDialog
:
!
1
,
formData
:{
errorSettingId
:
""
,
interfaceName
:
""
,
projectAndGroup
:
""
,
errorCode
:
""
,
errorInfo
:
""
},
rules
:{
errorCode
:[{
required
:
!
0
,
message
:
"请输入错误码"
,
trigger
:
"blur"
}],
errorInfo
:[{
required
:
!
0
,
message
:
"请输入错误消息"
,
trigger
:
"blur"
}]}}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
s
()(
this
.
editRow
).
length
&&
(
this
.
formData
=
JSON
.
parse
(
n
()(
this
.
editRow
)))},
methods
:{
handleClose
:
function
(
t
){
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
formData
.
errorCode
=
""
,
this
.
formData
.
errorInfo
=
""
,
this
.
$emit
(
"hideDialog"
,
""
)},
customConfirm
:
function
(
t
){
var
e
=
this
;
e
.
formData
.
errorCode
=
e
.
formData
.
errorCode
?
String
(
e
.
formData
.
errorCode
).
replace
(
/
\s
+/g
,
""
):
""
,
e
.
formData
.
errorInfo
=
e
.
formData
.
errorInfo
?
String
(
e
.
formData
.
errorInfo
).
replace
(
/
\s
+/g
,
""
):
""
,
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postEditData
()})},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
errorSettingId
:
t
.
formData
.
errorSettingId
,
errorCode
:
t
.
formData
.
errorCode
,
errorInfo
:
t
.
formData
.
errorInfo
};
Object
(
l
.
b
)(
t
.
editRow
.
errorSettingId
?
"/gateway-manage/update-error-setting"
:
"/gateway-manage/create-error-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
c
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
setData
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(){
var
t
=
this
;
t
.
$emit
(
"hideDialog"
,
t
.
formData
),
t
.
$nextTick
(
function
(){
t
.
formData
.
errorCode
=
""
,
t
.
formData
.
errorInfo
=
""
})}},
watch
:{
showDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
editRow
:
function
(
t
,
e
){
s
()(
t
).
length
&&
(
this
.
formData
=
JSON
.
parse
(
n
()(
t
)))}}},
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
:
"edit-dialog-body"
},[
a
(
"el-form"
,{
ref
:
"errorCodeForm"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"116px"
,
rules
:
t
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误码:"
,
prop
:
"errorCode"
}},[
a
(
"el-input"
,{
attrs
:{
disabled
:
!!
t
.
formData
.
errorSettingId
},
model
:{
value
:
t
.
formData
.
errorCode
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"errorCode"
,
e
)},
expression
:
"formData.errorCode"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误消息:"
,
prop
:
"errorCode"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
formData
.
errorInfo
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"errorInfo"
,
e
)},
expression
:
"formData.errorInfo"
}})],
1
),
t
.
_v
(
" "
),
t
.
formData
.
interfaceName
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"使用的接口名称:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
formData
.
interfaceName
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
formData
.
projectAndGroup
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"使用的项目分组:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
formData
.
projectAndGroup
)
+
"
\
n "
)]):
t
.
_e
()],
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
){
return
t
.
customConfirm
(
"errorCodeForm"
)}}},[
t
.
_v
(
"
\
n 保 存
\
n "
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
u
,
f
,
!
1
,
function
(
t
){
a
(
"6Vbk"
)},
"data-v-6510e881"
,
null
).
exports
,
h
=
a
(
"jvWE"
),
m
=
{
name
:
"ErrorCode"
,
components
:{
navBread
:
r
.
a
,
errorCodeEdit
:
g
},
data
:
function
(){
return
{
navPath
:[{
name
:
"错误码"
,
path
:
""
}],
searchValue
:
""
,
loading
:
!
0
,
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
showDialog
:
!
1
,
editIndex
:
""
,
editRow
:{}}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
6
),
this
.
getData
()},
methods
:{
searchData
:
Object
(
h
.
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
()},
handleEdit
:
function
(
t
,
e
){
this
.
editIndex
=
t
,
this
.
editRow
=
e
,
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
!
t
)
return
this
.
editIndex
=
""
,
this
.
editRow
=
{},
this
.
showDialog
=!
1
,
!
1
;
this
.
currentPage
,
this
.
getData
(),
this
.
editIndex
=
""
,
this
.
editRow
=
{},
this
.
showDialog
=!
1
,
this
.
$forceUpdate
()},
handleDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"确认删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
t
,
e
)}).
catch
(
function
(){})},
postDel
:
function
(
t
,
e
){
var
a
=
this
,
r
=
{
errorSettingId
:
e
.
errorSettingId
};
Object
(
l
.
b
)(
"/gateway-manage/delete-error-setting"
,
r
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
"0000"
==
e
.
code
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getData
();
d
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
;
t
.
loading
=!
0
;
var
e
=
{
search
:
t
.
searchValue
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
l
.
b
)(
"/gateway-manage/page-error-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
"0000"
==
a
.
code
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
totalCount
=
a
.
result
.
totalCount
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}}},
p
=
{
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
:{
"nav-path"
:
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
.
handleEdit
}},[
t
.
_v
(
"
\
n 新建错误码
\
n "
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-wrap"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
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
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
errorCode
)
+
"
\
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
.
errorInfo
)
+
"
\
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
){
return
t
.
handleEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"
\
n 编辑
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
t
.
handleDel
(
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
(
"error-code-edit"
,{
attrs
:{
"edit-row"
:
t
.
editRow
,
"show-dialog"
:
t
.
showDialog
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
m
,
p
,
!
1
,
function
(
t
){
a
(
"ZwLc"
)},
"data-v-2cf604fe"
,
null
);
e
.
default
=
v
.
exports
},
ZwLc
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
13
],{
"6Vbk"
:
function
(
t
,
e
){},
SGyq
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"319J"
),
o
=
a
(
"mvHQ"
),
n
=
a
.
n
(
o
),
i
=
a
(
"fZjL"
),
s
=
a
.
n
(
i
),
l
=
a
(
"P9l9"
),
c
=
a
(
"TUB1"
),
d
=
a
(
"LlAa"
),
u
=
{
name
:
"ErrorCodeEdit"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{
errorSettingId
:
""
,
interfaceName
:
""
,
projectAndGroup
:
""
,
errorCode
:
""
,
errorInfo
:
""
}}}},
data
:
function
(){
return
{
customDialog
:
!
1
,
formData
:{
errorSettingId
:
""
,
interfaceName
:
""
,
projectAndGroup
:
""
,
errorCode
:
""
,
errorInfo
:
""
},
rules
:{
errorCode
:[{
required
:
!
0
,
message
:
"请输入错误码"
,
trigger
:
"blur"
}],
errorInfo
:[{
required
:
!
0
,
message
:
"请输入错误消息"
,
trigger
:
"blur"
}]}}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
s
()(
this
.
editRow
).
length
&&
(
this
.
formData
=
JSON
.
parse
(
n
()(
this
.
editRow
)))},
methods
:{
handleClose
:
function
(
t
){
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
formData
.
errorCode
=
""
,
this
.
formData
.
errorInfo
=
""
,
this
.
$emit
(
"hideDialog"
,
""
)},
customConfirm
:
function
(
t
){
var
e
=
this
;
e
.
formData
.
errorCode
=
e
.
formData
.
errorCode
?
String
(
e
.
formData
.
errorCode
).
replace
(
/
\s
+/g
,
""
):
""
,
e
.
formData
.
errorInfo
=
e
.
formData
.
errorInfo
?
String
(
e
.
formData
.
errorInfo
).
replace
(
/
\s
+/g
,
""
):
""
,
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postEditData
()})},
postEditData
:
function
(){
var
t
=
this
,
e
=
{
errorSettingId
:
t
.
formData
.
errorSettingId
,
errorCode
:
t
.
formData
.
errorCode
,
errorInfo
:
t
.
formData
.
errorInfo
};
Object
(
l
.
b
)(
t
.
editRow
.
errorSettingId
?
"/gateway-manage/update-error-setting"
:
"/gateway-manage/create-error-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
"0000"
==
a
.
code
)
return
c
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
setData
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setData
:
function
(){
var
t
=
this
;
t
.
$emit
(
"hideDialog"
,
t
.
formData
),
t
.
$nextTick
(
function
(){
t
.
formData
.
errorCode
=
""
,
t
.
formData
.
errorInfo
=
""
})}},
watch
:{
showDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
editRow
:
function
(
t
,
e
){
s
()(
t
).
length
&&
(
this
.
formData
=
JSON
.
parse
(
n
()(
t
)))}}},
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
:
"edit-dialog-body"
},[
a
(
"el-form"
,{
ref
:
"errorCodeForm"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"116px"
,
rules
:
t
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误码:"
,
prop
:
"errorCode"
}},[
a
(
"el-input"
,{
attrs
:{
disabled
:
!!
t
.
formData
.
errorSettingId
},
model
:{
value
:
t
.
formData
.
errorCode
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"errorCode"
,
e
)},
expression
:
"formData.errorCode"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误消息:"
,
prop
:
"errorCode"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
formData
.
errorInfo
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"errorInfo"
,
e
)},
expression
:
"formData.errorInfo"
}})],
1
),
t
.
_v
(
" "
),
t
.
formData
.
interfaceName
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"使用的接口名称:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
formData
.
interfaceName
)
+
"
\
n "
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
formData
.
projectAndGroup
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"使用的项目分组:"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
formData
.
projectAndGroup
)
+
"
\
n "
)]):
t
.
_e
()],
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
){
return
t
.
customConfirm
(
"errorCodeForm"
)}}},[
t
.
_v
(
"
\
n 保 存
\
n "
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
u
,
f
,
!
1
,
function
(
t
){
a
(
"6Vbk"
)},
"data-v-6510e881"
,
null
).
exports
,
h
=
a
(
"jvWE"
),
m
=
{
name
:
"ErrorCode"
,
components
:{
navBread
:
r
.
a
,
errorCodeEdit
:
g
},
data
:
function
(){
return
{
navPath
:[{
name
:
"错误码"
,
path
:
""
}],
searchValue
:
""
,
loading
:
!
0
,
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
showDialog
:
!
1
,
editIndex
:
""
,
editRow
:{}}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
6
),
this
.
getData
()},
methods
:{
searchData
:
Object
(
h
.
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
()},
handleEdit
:
function
(
t
,
e
){
this
.
editIndex
=
t
,
this
.
editRow
=
e
,
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
!
t
)
return
this
.
editIndex
=
""
,
this
.
editRow
=
{},
this
.
showDialog
=!
1
,
!
1
;
this
.
currentPage
,
this
.
getData
(),
this
.
editIndex
=
""
,
this
.
editRow
=
{},
this
.
showDialog
=!
1
,
this
.
$forceUpdate
()},
handleDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"确认删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
t
,
e
)}).
catch
(
function
(){})},
postDel
:
function
(
t
,
e
){
var
a
=
this
,
r
=
{
errorSettingId
:
e
.
errorSettingId
};
Object
(
l
.
b
)(
"/gateway-manage/delete-error-setting"
,
r
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
"0000"
==
e
.
code
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getData
();
d
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
;
t
.
loading
=!
0
;
var
e
=
{
search
:
t
.
searchValue
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
l
.
b
)(
"/gateway-manage/page-error-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
"0000"
==
a
.
code
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
totalCount
=
a
.
result
.
totalCount
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}}},
p
=
{
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
:{
"nav-path"
:
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
.
handleEdit
}},[
t
.
_v
(
"
\
n 新建错误码
\
n "
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-wrap"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
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
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
errorCode
)
+
"
\
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
.
errorInfo
)
+
"
\
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
){
return
t
.
handleEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"
\
n 编辑
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
t
.
handleDel
(
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
(
"error-code-edit"
,{
attrs
:{
"edit-row"
:
t
.
editRow
,
"show-dialog"
:
t
.
showDialog
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
m
,
p
,
!
1
,
function
(
t
){
a
(
"VLPQ"
)},
"data-v-52d91dac"
,
null
);
e
.
default
=
v
.
exports
},
VLPQ
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/manifest.0fe1ecb875299d551b88.js
deleted
100644 → 0
View file @
912585b0
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
n
,
o
,
a
){
for
(
var
f
,
d
,
b
,
i
=
0
,
u
=
[];
i
<
n
.
length
;
i
++
)
d
=
n
[
i
],
r
[
d
]
&&
u
.
push
(
r
[
d
][
0
]),
r
[
d
]
=
0
;
for
(
f
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
f
)
&&
(
e
[
f
]
=
o
[
f
]);
for
(
c
&&
c
(
n
,
o
,
a
);
u
.
length
;)
u
.
shift
()();
if
(
a
)
for
(
i
=
0
;
i
<
a
.
length
;
i
++
)
b
=
t
(
t
.
s
=
a
[
i
]);
return
b
};
var
n
=
{},
r
=
{
26
:
0
};
function
t
(
c
){
if
(
n
[
c
])
return
n
[
c
].
exports
;
var
r
=
n
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
r
.
exports
,
r
,
r
.
exports
,
t
),
r
.
l
=!
0
,
r
.
exports
}
t
.
e
=
function
(
e
){
var
c
=
r
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
n
=
new
Promise
(
function
(
n
,
t
){
c
=
r
[
e
]
=
[
n
,
t
]});
c
[
2
]
=
n
;
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
,
t
.
nc
&&
a
.
setAttribute
(
"nonce"
,
t
.
nc
),
a
.
src
=
t
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"7296453284b5590ebf4d"
,
1
:
"734a3e3a4d98a09f722a"
,
2
:
"faaec12957677249d9cb"
,
3
:
"230ef58730d3086c19ec"
,
4
:
"b4444259623d49b72c7f"
,
5
:
"01e1e2354a7b99c0e44b"
,
6
:
"e57535a2333ae642e94d"
,
7
:
"44aaf3c76b1e798f2bcb"
,
8
:
"523ed07bf1f22c905b0f"
,
9
:
"7fe6d423cd3f4de80af5"
,
10
:
"06521be557385fc38b68"
,
11
:
"04c23cebe282b44d96c5"
,
12
:
"5f5344441e2967ed09c1"
,
13
:
"58217cbffce767021b43"
,
14
:
"d3deabbcaf6b5b51407b"
,
15
:
"6d42a5f672368fc81d90"
,
16
:
"c06fc4eae60686c9aedc"
,
17
:
"769ba0c7341d23ff3eac"
,
18
:
"b9907331716c9e51cf73"
,
19
:
"3f7ecc433b4c43dd1557"
,
20
:
"b834d42ae360459b35d9"
,
21
:
"18d060c10fefe26d6b79"
,
22
:
"3492cbf4d72bba5481e2"
,
23
:
"6831c1e7c1270b132fd5"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
c
=
r
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
r
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
d
,
o
.
appendChild
(
a
),
n
},
t
.
m
=
e
,
t
.
c
=
n
,
t
.
d
=
function
(
e
,
c
,
n
){
t
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
n
})},
t
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
t
.
d
(
c
,
"a"
,
c
),
c
},
t
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
t
.
p
=
"./"
,
t
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/static/js/manifest.40740957242b4220cdef.js
0 → 100644
View file @
b1c5ae5b
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
o
,
a
){
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
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
++
)
b
=
t
(
t
.
s
=
a
[
i
]);
return
b
};
var
r
=
{},
c
=
{
26
:
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
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
t
.
nc
&&
a
.
setAttribute
(
"nonce"
,
t
.
nc
),
a
.
src
=
t
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"7296453284b5590ebf4d"
,
1
:
"734a3e3a4d98a09f722a"
,
2
:
"faaec12957677249d9cb"
,
3
:
"230ef58730d3086c19ec"
,
4
:
"b4444259623d49b72c7f"
,
5
:
"01e1e2354a7b99c0e44b"
,
6
:
"e57535a2333ae642e94d"
,
7
:
"44aaf3c76b1e798f2bcb"
,
8
:
"523ed07bf1f22c905b0f"
,
9
:
"7fe6d423cd3f4de80af5"
,
10
:
"06521be557385fc38b68"
,
11
:
"04c23cebe282b44d96c5"
,
12
:
"5f5344441e2967ed09c1"
,
13
:
"23af5d8f9ed08b7e29d2"
,
14
:
"d3deabbcaf6b5b51407b"
,
15
:
"6d42a5f672368fc81d90"
,
16
:
"c06fc4eae60686c9aedc"
,
17
:
"769ba0c7341d23ff3eac"
,
18
:
"b9907331716c9e51cf73"
,
19
:
"3f7ecc433b4c43dd1557"
,
20
:
"b834d42ae360459b35d9"
,
21
:
"18d060c10fefe26d6b79"
,
22
:
"3492cbf4d72bba5481e2"
,
23
:
"6831c1e7c1270b132fd5"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
c
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
d
,
o
.
appendChild
(
a
),
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
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