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
a4056126
Commit
a4056126
authored
Sep 05, 2019
by
damodmg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新选中
parent
4b1bed29
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
index.html
dist/index.html
+2
-2
app.596dd680a3185f0e2a1b3aedcd5d73ef.css
dist/static/css/app.596dd680a3185f0e2a1b3aedcd5d73ef.css
+0
-0
6.38cc052b2cb6cf7bf690.js
dist/static/js/6.38cc052b2cb6cf7bf690.js
+0
-2
6.8884e324bd8c50acdc01.js
dist/static/js/6.8884e324bd8c50acdc01.js
+2
-0
manifest.8106b1ac07ff365bbd2a.js
dist/static/js/manifest.8106b1ac07ff365bbd2a.js
+0
-2
manifest.b74dbbe1e41ee0a40b14.js
dist/static/js/manifest.b74dbbe1e41ee0a40b14.js
+2
-0
bind-transfer.vue
src/components/plug/bind-transfer.vue
+1
-1
No files found.
dist/index.html
View file @
a4056126
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.593ede120342d23706f5f6a1f7ba76b2.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
type=
text/javascript
src=
./static/js/manifest.8106b1ac07ff365bbd2a.js
></script><script
type=
text/javascript
src=
./static/js/vendor.adc34c81686691b8a2e7.js
></script><script
type=
text/javascript
src=
./static/js/app.eb7a92daf8e200957259.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.596dd680a3185f0e2a1b3aedcd5d73ef.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
type=
text/javascript
src=
./static/js/manifest.b74dbbe1e41ee0a40b14.js
></script><script
type=
text/javascript
src=
./static/js/vendor.adc34c81686691b8a2e7.js
></script><script
type=
text/javascript
src=
./static/js/app.eb7a92daf8e200957259.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.59
3ede120342d23706f5f6a1f7ba76b2
.css
→
dist/static/css/app.59
6dd680a3185f0e2a1b3aedcd5d73ef
.css
View file @
a4056126
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/6.38cc052b2cb6cf7bf690.js
deleted
100644 → 0
View file @
4b1bed29
webpackJsonp
([
6
],{
"5TFs"
:
function
(
e
,
t
){},
"ASE+"
:
function
(
e
,
t
){},
TIdN
:
function
(
e
,
t
){},
bTJR
:
function
(
e
,
t
){},
dAfO
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"bOdI"
),
i
=
a
.
n
(
r
),
n
=
a
(
"319J"
),
o
=
a
(
"P9l9"
),
s
=
a
(
"PEkr"
),
l
=
{
props
:{
tableData
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{}},
methods
:{
cancelBind
:
function
(
e
){
var
t
=
this
,
a
=
this
,
r
=
{
id
:
e
.
openPlatformInterfaceId
};
Object
(
o
.
a
)(
"/gateway-manage/platform/white/unbind"
,
r
).
then
(
function
(
e
){
"0000"
==
e
.
data
.
code
?
t
.
$emit
(
"getList"
):
t
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
components
:{}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticStyle
:{
"margin-top"
:
"20px"
}},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableHeight
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"项目名称"
,
prop
:
"projectName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组"
,
prop
:
"groupName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"接口名称"
,
prop
:
"interfaceName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"绑定时间"
,
prop
:
"bindTime"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
bindTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
bindTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"dm-delete"
,{
attrs
:{
tips
:
"确定要解除绑定吗?"
},
on
:{
confirm
:
function
(
a
){
return
e
.
cancelBind
(
t
.
row
)}}},[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
e
.
_v
(
"解除绑定"
)])],
1
)]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"xU1Q"
)},
"data-v-f1de626e"
,
null
).
exports
,
u
=
{
props
:{
tableData
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{}},
methods
:{
cancelBind
:
function
(
e
){
var
t
=
this
,
a
=
this
,
r
=
{
id
:
e
.
openPlatformInterfaceId
};
Object
(
o
.
a
)(
"/gateway-manage/platform/capacity/unbind"
,
r
).
then
(
function
(
e
){
"0000"
==
e
.
data
.
code
?
t
.
$emit
(
"getList"
):
t
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
components
:{}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticStyle
:{
"margin-top"
:
"20px"
}},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableHeight
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"项目名称"
,
prop
:
"projectName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组"
,
prop
:
"groupName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"接口名称"
,
prop
:
"interfaceName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"绑定时间"
,
prop
:
"bindTime"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
bindTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
bindTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"dm-delete"
,{
attrs
:{
tips
:
"确定要接触绑定吗?"
},
on
:{
confirm
:
function
(
a
){
return
e
.
cancelBind
(
t
.
row
)}}},[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
e
.
_v
(
"接触绑定"
)])],
1
)]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
u
,
g
,
!
1
,
function
(
e
){
a
(
"ke3F"
)},
"data-v-073dd107"
,
null
).
exports
,
f
=
{
props
:{
errorSettingId
:{
type
:
String
,
default
:
function
(){
return
""
}},
errorCode
:{
type
:
String
,
default
:
function
(){
return
""
}},
errorInfo
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
errorForm
:{
errorCode
:
""
,
errorInfo
:
""
},
modalRules
:{
errorCode
:[{
required
:
!
0
,
message
:
"请输入错误码"
,
trigger
:
"blur"
}],
errorInfo
:[{
required
:
!
0
,
message
:
"请输入错误信息"
,
trigger
:
"blur"
}]}}},
created
:
function
(){
this
.
dialogVisible
=!
0
,
this
.
errorForm
.
errorCode
=
this
.
errorCode
,
this
.
errorForm
.
errorInfo
=
this
.
errorInfo
},
methods
:{
submitForm
:
function
(
e
){
var
t
=
this
,
a
=
this
;
this
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
r
=
""
,
i
=
{
errorCode
:
t
.
errorForm
.
errorCode
,
errorInfo
:
t
.
errorForm
.
errorInfo
,
errorType
:
2
};
t
.
errorSettingId
?(
i
.
errorSettingId
=
t
.
errorSettingId
,
r
=
"/gateway-manage/update-error-setting"
):
r
=
"/gateway-manage/create-error-setting"
,
Object
(
o
.
b
)(
r
,
i
).
then
(
function
(
e
){
"0000"
==
e
.
data
.
code
?(
t
.
$emit
(
"getList"
),
t
.
dialogVisible
=!
1
,
t
.
$emit
(
"cancelNewCoce"
)):
t
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})})},
cancelForm
:
function
(
e
){
this
.
$refs
[
e
].
resetFields
(),
this
.
$emit
(
"cancelNewCoce"
)}}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
errorSettingId
?
"编辑错误码"
:
"新建错误码"
,
visible
:
e
.
dialogVisible
,
width
:
"500px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
},
close
:
function
(
t
){
return
e
.
cancelForm
(
"errorForm"
)}}},[
a
(
"el-form"
,{
ref
:
"errorForm"
,
staticStyle
:{
width
:
"450px"
},
attrs
:{
model
:
e
.
errorForm
,
rules
:
e
.
modalRules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误码"
,
"label-width"
:
"90px"
,
prop
:
"errorCode"
}},[
a
(
"dm-input"
,{
attrs
:{
byteType
:
1
,
type
:
"text"
,
maxlength
:
20
},
model
:{
value
:
e
.
errorForm
.
errorCode
,
callback
:
function
(
t
){
e
.
$set
(
e
.
errorForm
,
"errorCode"
,
t
)},
expression
:
"errorForm.errorCode"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误信息"
,
"label-width"
:
"90px"
,
prop
:
"errorInfo"
}},[
a
(
"dm-input"
,{
attrs
:{
byteType
:
1
,
type
:
"text"
,
maxlength
:
20
},
model
:{
value
:
e
.
errorForm
.
errorInfo
,
callback
:
function
(
t
){
e
.
$set
(
e
.
errorForm
,
"errorInfo"
,
t
)},
expression
:
"errorForm.errorInfo"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
e
.
cancelForm
(
"errorForm"
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
submitForm
(
"errorForm"
)}}},[
e
.
_v
(
e
.
_s
(
e
.
errorSettingId
?
"保存"
:
"新建"
))])],
1
)],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
a
(
"ASE+"
)},
"data-v-1f51806f"
,
null
).
exports
,
v
=
{
props
:{
tableData
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
showNewCode
:
!
1
,
errorSettingId
:
""
,
errorInfo
:
""
,
errorCode
:
""
}},
methods
:{
getList
:
function
(){
this
.
$emit
(
"getList"
)},
edit
:
function
(
e
){
this
.
showNewCode
=!
0
,
this
.
errorSettingId
=
e
.
errorSettingId
,
this
.
errorCode
=
e
.
errorCode
,
this
.
errorInfo
=
e
.
errorInfo
},
cancelNewCoce
:
function
(){
this
.
showNewCode
=!
1
},
deleteList
:
function
(
e
){
var
t
=
this
,
a
=
{
errorSettingId
:
e
.
errorSettingId
};
Object
(
o
.
b
)(
"/gateway-manage/delete-error-setting"
,
a
).
then
(
function
(
e
){
"0000"
==
e
.
data
.
code
?
t
.
$emit
(
"getList"
):
t
.
$message
.
error
(
e
.
data
.
message
)})}},
components
:{
newErrorCode
:
m
}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticStyle
:{
"margin-top"
:
"20px"
}},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableHeight
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误码"
,
prop
:
"errorCode"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误信息"
,
prop
:
"errorInfo"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"dm-delete"
,{
attrs
:{
tips
:
"确定要删除吗?"
},
on
:{
confirm
:
function
(
a
){
return
e
.
deleteList
(
t
.
row
)}}},[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
e
.
_v
(
"删除"
)])],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
e
.
showNewCode
?
a
(
"newErrorCode"
,{
attrs
:{
errorSettingId
:
e
.
errorSettingId
,
errorCode
:
e
.
errorCode
,
errorInfo
:
e
.
errorInfo
},
on
:{
getList
:
e
.
getList
,
cancelNewCoce
:
e
.
cancelNewCoce
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
y
=
a
(
"VU/8"
)(
v
,
b
,
!
1
,
function
(
e
){
a
(
"oPMN"
)},
"data-v-78e39e8a"
,
null
).
exports
,
C
=
a
(
"BO1k"
),
_
=
a
.
n
(
C
),
L
=
{
props
:{
type
:{
type
:
String
,
default
:
function
(){
return
1
}},
sceneCode
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
checkedAll
:
!
1
,
isIndeterminate
:
!
1
,
rightList
:[],
leftSelectList
:[],
rightSelectList
:[],
props
:{
label
:
"name"
,
children
:
"zones"
,
isLeaf
:
"leaf"
},
loading
:
!
1
,
projectList
:[],
refash
:
!
1
,
btnLoading
:
!
1
}},
created
:
function
(){
this
.
dialogVisible
=!
0
},
methods
:{
changeAllTree
:
function
(
e
){
e
?(
this
.
$refs
.
tree
.
setCheckedNodes
(
this
.
projectList
),
this
.
leftSelectList
=
this
.
$refs
.
tree
.
getCheckedNodes
()):(
this
.
$refs
.
tree
.
setCheckedKeys
([]),
this
.
leftSelectList
=
this
.
$refs
.
tree
.
getCheckedNodes
())},
handleCheckChange
:
function
(
e
,
t
,
a
){
this
.
leftSelectList
=
this
.
$refs
.
tree
.
getCheckedNodes
();
var
r
=
0
,
i
=!
0
,
n
=!
1
,
o
=
void
0
;
try
{
for
(
var
s
,
l
=
_
()(
this
.
leftSelectList
);
!
(
i
=
(
s
=
l
.
next
()).
done
);
i
=!
0
){
var
c
=
s
.
value
;
this
.
leftSelectList
.
every
(
function
(
e
){
return
0
!==
e
.
type
})?
r
=
1
:
0
===
c
.
type
&&
(
r
+=
1
)}}
catch
(
e
){
n
=!
0
,
o
=
e
}
finally
{
try
{
!
i
&&
l
.
return
&&
l
.
return
()}
finally
{
if
(
n
)
throw
o
}}
this
.
isIndeterminate
=
r
>
0
&&
r
<
this
.
projectList
.
length
,
this
.
checkedAll
=
r
===
this
.
projectList
.
length
},
transferRight
:
function
(){
this
.
rightList
=
this
.
leftSelectList
.
concat
(
this
.
rightList
),
this
.
rightList
=
this
.
rightList
.
filter
(
function
(
e
,
t
,
a
){
return
a
.
indexOf
(
e
)
===
t
}),
this
.
$refs
.
tree
.
setCheckedKeys
([]),
this
.
leftSelectList
=
[],
this
.
checkedAll
=!
1
},
transferLeft
:
function
(){
for
(
var
e
=
0
;
e
<
this
.
rightSelectList
.
length
;
e
++
)
for
(
var
t
=
0
;
t
<
this
.
rightList
.
length
;
t
++
)
this
.
rightSelectList
[
e
].
id
===
this
.
rightList
[
t
].
id
&&
(
this
.
rightList
.
splice
(
t
,
1
),
t
=
0
);
this
.
rightSelectList
=
[]},
loadNode
:
function
(
e
,
t
){
var
a
=
this
,
r
=
this
;
if
(
0
===
e
.
level
)
return
this
.
loading
=!
0
,
Object
(
o
.
a
)(
"/gateway-manage/plugin/interface/tree"
,{}).
then
(
function
(
e
){
if
(
"0000"
==
e
.
data
.
code
){
a
.
loading
=!
1
,
e
.
data
.
result
?
a
.
projectList
=
e
.
data
.
result
:
a
.
projectList
=
[];
var
r
=!
0
,
i
=!
1
,
n
=
void
0
;
try
{
for
(
var
o
,
s
=
_
()(
a
.
projectList
);
!
(
r
=
(
o
=
s
.
next
()).
done
);
r
=!
0
){
var
l
=
o
.
value
;
0
===
l
.
leafFlag
?
l
.
leaf
=!
1
:
l
.
leaf
=!
0
,
l
.
parentId
=
""
}}
catch
(
e
){
i
=!
0
,
n
=
e
}
finally
{
try
{
!
r
&&
s
.
return
&&
s
.
return
()}
finally
{
if
(
i
)
throw
n
}}
return
t
(
a
.
projectList
)}
a
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
t
(
this
.
projectList
);
if
(
e
.
level
>
2
)
return
t
([]);
if
(
1
===
e
.
level
||
2
===
e
.
level
){
var
i
=
{
type
:
e
.
level
-
1
,
id
:
e
.
data
.
id
},
n
=
[];
Object
(
o
.
a
)(
"/gateway-manage/plugin/interface/tree"
,
i
).
then
(
function
(
t
){
if
(
"0000"
==
t
.
data
.
code
){
n
=
t
.
data
.
result
?
t
.
data
.
result
:[];
var
r
=!
0
,
i
=!
1
,
o
=
void
0
;
try
{
for
(
var
s
,
l
=
_
()(
n
);
!
(
r
=
(
s
=
l
.
next
()).
done
);
r
=!
0
){
var
c
=
s
.
value
;
0
===
c
.
leafFlag
?
c
.
leaf
=!
1
:
c
.
leaf
=!
0
,
c
.
parentId
=
e
.
data
.
id
}}
catch
(
e
){
i
=!
0
,
o
=
e
}
finally
{
try
{
!
r
&&
l
.
return
&&
l
.
return
()}
finally
{
if
(
i
)
throw
o
}}}
else
a
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
setTimeout
(
function
(){
t
(
n
)},
2
e3
)}},
handleSelectionChange
:
function
(
e
){
this
.
rightSelectList
=
e
},
submitForm
:
function
(){
var
e
=
this
,
t
=
this
;
if
(
0
===
this
.
rightSelectList
.
length
)
return
this
.
$message
.
error
(
"请选择要绑定的API"
),
!
1
;
var
a
=
[],
r
=
[],
i
=
[],
n
=!
0
,
s
=!
1
,
l
=
void
0
;
try
{
for
(
var
c
,
d
=
_
()(
this
.
rightSelectList
);
!
(
n
=
(
c
=
d
.
next
()).
done
);
n
=!
0
){
var
u
=
c
.
value
;
0
===
u
.
type
?
a
.
push
(
u
.
id
):
1
===
u
.
type
?
r
.
push
(
u
.
id
):
2
===
u
.
type
&&
i
.
push
(
u
.
id
)}}
catch
(
e
){
s
=!
0
,
l
=
e
}
finally
{
try
{
!
n
&&
d
.
return
&&
d
.
return
()}
finally
{
if
(
s
)
throw
l
}}
var
g
=
{
sceneCode
:
this
.
sceneCode
};
a
.
length
&&
(
g
.
projectIds
=
a
.
join
(
","
)),
r
.
length
&&
(
g
.
groupIds
=
r
.
join
(
","
)),
i
.
length
&&
(
g
.
interfaceIds
=
i
.
join
(
","
));
var
h
=
""
;
"1"
===
this
.
type
?
h
=
"/gateway-manage/platform/white/bind"
:
"2"
===
this
.
type
&&
(
h
=
"/gateway-manage/platform/capacity/bind"
),
this
.
btnLoading
=!
0
,
Object
(
o
.
a
)(
h
,
g
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?(
e
.
dialogVisible
=!
1
,
e
.
$emit
(
"getList"
),
e
.
btnLoading
=!
1
):
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
closeDialog
:
function
(){
this
.
$emit
(
"cancelBind"
)}}},
w
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"1"
===
e
.
type
?
"新建绑定白名单接口"
:
"新建绑定能力接口"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
},
close
:
e
.
closeDialog
}},[
a
(
"div"
,{
staticClass
:
"dialog-body"
},[
a
(
"div"
,{
staticClass
:
"content"
},[
a
(
"div"
,{
staticClass
:
"left-content"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
a
(
"h3"
,[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
e
.
isIndeterminate
},
on
:{
change
:
e
.
changeAllTree
},
model
:{
value
:
e
.
checkedAll
,
callback
:
function
(
t
){
e
.
checkedAll
=
t
},
expression
:
"checkedAll"
}},[
e
.
_v
(
"所有API"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"tree-content"
},[
a
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
props
:
e
.
props
,
load
:
e
.
loadNode
,
"node-key"
:
"id"
,
lazy
:
""
,
"show-checkbox"
:
""
},
on
:{
"check-change"
:
e
.
handleCheckChange
}})],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"left-center"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
e
.
leftSelectList
.
length
<=
0
},
on
:{
click
:
e
.
transferRight
}},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-left el-icon--left"
}),
e
.
_v
(
"转入"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
e
.
rightSelectList
.
length
<=
0
},
on
:{
click
:
e
.
transferLeft
}},[
e
.
_v
(
"移除"
),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-right el-icon--right"
})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"list-content table-transfer"
},[[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
rightList
,
"tooltip-effect"
:
"dark"
,
height
:
"305"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"50"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"已选API"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
name
))]}}])})],
1
)]],
2
)])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
closeDialog
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
btnLoading
},
on
:{
click
:
e
.
submitForm
}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
I
=
a
(
"VU/8"
)(
L
,
w
,
!
1
,
function
(
e
){
a
(
"bTJR"
),
a
(
"TIdN"
)},
"data-v-1da18b28"
,
null
).
exports
,
S
=
{
name
:
"envManage"
,
components
:{
navBread
:
n
.
a
,
selectEnv
:
s
.
a
,
whiteList
:
d
,
capacityList
:
h
,
errorCodeList
:
y
,
bindTranser
:
I
,
newErrorCode
:
m
},
data
:
function
(){
return
{
navPath
:[{
name
:
"插件管理"
,
path
:
"/pluginManage"
},{
name
:
"开放平台"
,
path
:
""
}],
activeName
:
"first"
,
search
:
""
,
showdialog
:
!
1
,
pluginId
:
""
,
sceneCode
:
""
,
pluginType
:
1
,
projectList
:[],
projectId
:
""
,
groupList
:[],
groupId
:
""
,
tableData
:[],
total
:
0
,
currentPage
:
1
,
pageSize
:
20
,
pageSizes
:[
20
,
40
,
60
,
80
],
showNewCode
:
!
1
,
errorSettingId
:
""
,
showBinddialog
:
!
1
,
type
:
""
,
loading
:
!
1
}},
methods
:{
handleClick
:
function
(
e
,
t
){
this
.
getList
()},
goEnvList
:
function
(){
this
.
showdialog
=!
0
,
this
.
pluginId
=
this
.
pluginId
},
closeDialog
:
function
(){
this
.
showdialog
=!
1
},
getSearchList
:
function
(){
this
.
currentPage
=
1
,
this
.
getList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
this
,
a
=
""
,
r
=
{};
"first"
===
this
.
activeName
?(
a
=
"/gateway-manage/platform/white/list"
,
r
=
{
projectId
:
this
.
projectId
?
this
.
projectId
:
null
,
groupId
:
this
.
groupId
?
this
.
groupId
:
null
,
search
:
this
.
search
?
this
.
search
:
null
,
sceneCode
:
this
.
sceneCode
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
}):
"second"
===
this
.
activeName
?(
a
=
"/gateway-manage/platform/capacity/list"
,
r
=
{
projectId
:
this
.
projectId
?
this
.
projectId
:
null
,
groupId
:
this
.
groupId
?
this
.
groupId
:
null
,
search
:
this
.
search
?
this
.
search
:
null
,
sceneCode
:
this
.
sceneCode
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
}):
"third"
===
this
.
activeName
&&
(
a
=
"/gateway-manage/page-error-setting"
,
r
=
{
errorType
:
2
,
pageNum
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
}),
"first"
===
this
.
activeName
||
"second"
===
this
.
activeName
?(
this
.
loading
=!
0
,
Object
(
o
.
a
)(
a
,
r
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?(
t
.
data
.
result
.
result
?(
e
.
tableData
=
t
.
data
.
result
.
result
,
e
.
total
=
t
.
data
.
result
.
totalCount
):(
e
.
tableData
=
[],
e
.
total
=
0
),
e
.
loading
=!
1
):
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})):(
this
.
loading
=!
0
,
Object
(
o
.
b
)(
a
,
r
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?(
t
.
data
.
result
.
result
?(
e
.
tableData
=
t
.
data
.
result
.
result
,
e
.
total
=
t
.
data
.
result
.
totalCount
):(
e
.
tableData
=
[],
e
.
total
=
0
),
e
.
loading
=!
1
):
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}))},
getProjectList
:
function
(){
var
e
=
this
,
t
=
this
;
Object
(
o
.
a
)(
"/plugin/interface/tree"
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?
t
.
data
.
result
?
e
.
projectList
=
t
.
data
.
result
:
e
.
projectList
=
[]:
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getGroupList
:
function
(){
var
e
=
this
,
t
=
this
;
this
.
projectId
;
Object
(
o
.
a
)(
"/plugin/interface/tree"
,
params
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?
t
.
data
.
result
?
e
.
groupList
=
t
.
data
.
result
:
e
.
groupList
=
[]:
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
addCode
:
function
(){
this
.
showNewCode
=!
0
,
this
.
errorSettingId
=
""
},
cancelNewCoce
:
function
(){
this
.
showNewCode
=!
1
},
addBind
:
function
(
e
){
this
.
showBinddialog
=!
0
,
this
.
type
=
e
},
cancelBind
:
function
(){
this
.
showBinddialog
=!
1
}},
watch
:
i
()({
$route
:{
handler
:
function
(
e
,
t
){},
deep
:
!
0
}},
"$route"
,
function
(
e
,
t
){
this
.
pluginId
=
this
.
$route
.
query
.
pluginId
,
this
.
sceneCode
=
this
.
$route
.
query
.
sceneCode
,
this
.
getList
()}),
created
:
function
(){
this
.
pluginId
=
this
.
$route
.
query
.
pluginId
,
this
.
sceneCode
=
this
.
$route
.
query
.
sceneCode
,
this
.
getList
()}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"api-body-content border-box"
},[
a
(
"div"
,{
staticClass
:
"common-nav"
},[
a
(
"nav-bread"
,{
attrs
:{
navPath
:
e
.
navPath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"change-env"
,
on
:{
click
:
e
.
goEnvList
}},[
a
(
"span"
,[
e
.
_v
(
"切换环境"
)]),
a
(
"i"
,{
staticClass
:
"iconfont iconicon-qihuan"
,
on
:{
click
:
function
(
t
){
return
e
.
goEnvList
(
e
.
item
)}}})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"api-body-main common-body-main border-box"
},[
a
(
"div"
,{
staticClass
:
"api-main-content border-box"
},[
a
(
"div"
,{
staticClass
:
"env-tab-wrap"
},[
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"div"
,{
staticClass
:
"search-box"
},[
a
(
"div"
,{
staticClass
:
"left"
},[
"second"
===
e
.
activeName
||
"first"
===
e
.
activeName
?
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-320"
,
attrs
:{
placeholder
:
"请输入接口名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
function
(
t
){
return
e
.
getSearchList
()}},
nativeOn
:{
keyup
:
function
(
t
){
return
!
t
.
type
.
indexOf
(
"key"
)
&&
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
null
:
e
.
getSearchList
()}},
model
:{
value
:
e
.
search
,
callback
:
function
(
t
){
e
.
search
=
t
},
expression
:
"search"
}}),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-140 marginLeft10"
,
staticStyle
:{
display
:
"inline-block"
},
attrs
:{
placeholder
:
"请选择项目"
,
size
:
"small"
,
clearable
:
""
},
on
:{
change
:
function
(
t
){
return
e
.
getSearchList
()}},
model
:{
value
:
e
.
projectId
,
callback
:
function
(
t
){
e
.
projectId
=
t
},
expression
:
"projectId"
}},
e
.
_l
(
e
.
projectList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}),
1
),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-140 marginLeft10"
,
staticStyle
:{
display
:
"inline-block"
},
attrs
:{
placeholder
:
"请选择分组"
,
size
:
"small"
,
clearable
:
""
,
disabled
:
""
===
e
.
projectId
},
on
:{
change
:
function
(
t
){
return
e
.
getSearchList
()}},
model
:{
value
:
e
.
groupId
,
callback
:
function
(
t
){
e
.
groupId
=
t
},
expression
:
"groupId"
}},
e
.
_l
(
e
.
groupList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}),
1
)],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,[
"third"
===
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addCode
}},[
e
.
_v
(
"新建错误码"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"first"
===
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
addBind
(
"1"
)}}},[
e
.
_v
(
"新建绑定"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"second"
===
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
addBind
(
"2"
)}}},[
e
.
_v
(
"新建绑定"
)]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
attrs
:{
label
:
"白名单接口"
,
name
:
"first"
}},[
a
(
"whiteList"
,{
attrs
:{
tableData
:
e
.
tableData
},
on
:{
getList
:
e
.
getList
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
attrs
:{
label
:
"能力接口"
,
name
:
"second"
}},[
a
(
"capacityList"
,{
attrs
:{
tableData
:
e
.
tableData
},
on
:{
getList
:
e
.
getList
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
attrs
:{
label
:
"错误码配置"
,
name
:
"third"
}},[
a
(
"errorCodeList"
,{
attrs
:{
tableData
:
e
.
tableData
},
on
:{
getList
:
e
.
getList
}})],
1
)],
1
),
e
.
_v
(
" "
),
0
!==
e
.
total
?
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"right"
,
"margin-top"
:
"20px"
}},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:
e
.
pageSizes
,
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
e
.
showdialog
?
a
(
"selectEnv"
,{
attrs
:{
pluginId
:
e
.
pluginId
,
pluginType
:
e
.
pluginType
},
on
:{
closeDialog
:
e
.
closeDialog
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
showBinddialog
?
a
(
"bindTranser"
,{
attrs
:{
type
:
e
.
type
,
sceneCode
:
e
.
sceneCode
},
on
:{
cancelBind
:
e
.
cancelBind
,
getList
:
e
.
getList
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
showNewCode
?
a
(
"newErrorCode"
,{
attrs
:{
errorSettingId
:
e
.
errorSettingId
},
on
:{
getList
:
e
.
getList
,
cancelNewCoce
:
e
.
cancelNewCoce
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
x
=
a
(
"VU/8"
)(
S
,
k
,
!
1
,
function
(
e
){
a
(
"5TFs"
)},
"data-v-34a5cbb0"
,
null
);
t
.
default
=
x
.
exports
},
ke3F
:
function
(
e
,
t
){},
oPMN
:
function
(
e
,
t
){},
xU1Q
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/6.8884e324bd8c50acdc01.js
0 → 100644
View file @
a4056126
webpackJsonp
([
6
],{
"5TFs"
:
function
(
e
,
t
){},
"72In"
:
function
(
e
,
t
){},
"ASE+"
:
function
(
e
,
t
){},
cTdW
:
function
(
e
,
t
){},
dAfO
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"bOdI"
),
i
=
a
.
n
(
r
),
n
=
a
(
"319J"
),
o
=
a
(
"P9l9"
),
s
=
a
(
"PEkr"
),
l
=
{
props
:{
tableData
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{}},
methods
:{
cancelBind
:
function
(
e
){
var
t
=
this
,
a
=
this
,
r
=
{
id
:
e
.
openPlatformInterfaceId
};
Object
(
o
.
a
)(
"/gateway-manage/platform/white/unbind"
,
r
).
then
(
function
(
e
){
"0000"
==
e
.
data
.
code
?
t
.
$emit
(
"getList"
):
t
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
components
:{}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticStyle
:{
"margin-top"
:
"20px"
}},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableHeight
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"项目名称"
,
prop
:
"projectName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组"
,
prop
:
"groupName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"接口名称"
,
prop
:
"interfaceName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"绑定时间"
,
prop
:
"bindTime"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
bindTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
bindTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"dm-delete"
,{
attrs
:{
tips
:
"确定要解除绑定吗?"
},
on
:{
confirm
:
function
(
a
){
return
e
.
cancelBind
(
t
.
row
)}}},[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
e
.
_v
(
"解除绑定"
)])],
1
)]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"xU1Q"
)},
"data-v-f1de626e"
,
null
).
exports
,
u
=
{
props
:{
tableData
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{}},
methods
:{
cancelBind
:
function
(
e
){
var
t
=
this
,
a
=
this
,
r
=
{
id
:
e
.
openPlatformInterfaceId
};
Object
(
o
.
a
)(
"/gateway-manage/platform/capacity/unbind"
,
r
).
then
(
function
(
e
){
"0000"
==
e
.
data
.
code
?
t
.
$emit
(
"getList"
):
t
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
components
:{}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticStyle
:{
"margin-top"
:
"20px"
}},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableHeight
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"项目名称"
,
prop
:
"projectName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组"
,
prop
:
"groupName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"接口名称"
,
prop
:
"interfaceName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"绑定时间"
,
prop
:
"bindTime"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
bindTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
bindTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"dm-delete"
,{
attrs
:{
tips
:
"确定要接触绑定吗?"
},
on
:{
confirm
:
function
(
a
){
return
e
.
cancelBind
(
t
.
row
)}}},[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
e
.
_v
(
"接触绑定"
)])],
1
)]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
u
,
g
,
!
1
,
function
(
e
){
a
(
"ke3F"
)},
"data-v-073dd107"
,
null
).
exports
,
f
=
{
props
:{
errorSettingId
:{
type
:
String
,
default
:
function
(){
return
""
}},
errorCode
:{
type
:
String
,
default
:
function
(){
return
""
}},
errorInfo
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
errorForm
:{
errorCode
:
""
,
errorInfo
:
""
},
modalRules
:{
errorCode
:[{
required
:
!
0
,
message
:
"请输入错误码"
,
trigger
:
"blur"
}],
errorInfo
:[{
required
:
!
0
,
message
:
"请输入错误信息"
,
trigger
:
"blur"
}]}}},
created
:
function
(){
this
.
dialogVisible
=!
0
,
this
.
errorForm
.
errorCode
=
this
.
errorCode
,
this
.
errorForm
.
errorInfo
=
this
.
errorInfo
},
methods
:{
submitForm
:
function
(
e
){
var
t
=
this
,
a
=
this
;
this
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
r
=
""
,
i
=
{
errorCode
:
t
.
errorForm
.
errorCode
,
errorInfo
:
t
.
errorForm
.
errorInfo
,
errorType
:
2
};
t
.
errorSettingId
?(
i
.
errorSettingId
=
t
.
errorSettingId
,
r
=
"/gateway-manage/update-error-setting"
):
r
=
"/gateway-manage/create-error-setting"
,
Object
(
o
.
b
)(
r
,
i
).
then
(
function
(
e
){
"0000"
==
e
.
data
.
code
?(
t
.
$emit
(
"getList"
),
t
.
dialogVisible
=!
1
,
t
.
$emit
(
"cancelNewCoce"
)):
t
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})})},
cancelForm
:
function
(
e
){
this
.
$refs
[
e
].
resetFields
(),
this
.
$emit
(
"cancelNewCoce"
)}}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
errorSettingId
?
"编辑错误码"
:
"新建错误码"
,
visible
:
e
.
dialogVisible
,
width
:
"500px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
},
close
:
function
(
t
){
return
e
.
cancelForm
(
"errorForm"
)}}},[
a
(
"el-form"
,{
ref
:
"errorForm"
,
staticStyle
:{
width
:
"450px"
},
attrs
:{
model
:
e
.
errorForm
,
rules
:
e
.
modalRules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误码"
,
"label-width"
:
"90px"
,
prop
:
"errorCode"
}},[
a
(
"dm-input"
,{
attrs
:{
byteType
:
1
,
type
:
"text"
,
maxlength
:
20
},
model
:{
value
:
e
.
errorForm
.
errorCode
,
callback
:
function
(
t
){
e
.
$set
(
e
.
errorForm
,
"errorCode"
,
t
)},
expression
:
"errorForm.errorCode"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"错误信息"
,
"label-width"
:
"90px"
,
prop
:
"errorInfo"
}},[
a
(
"dm-input"
,{
attrs
:{
byteType
:
1
,
type
:
"text"
,
maxlength
:
20
},
model
:{
value
:
e
.
errorForm
.
errorInfo
,
callback
:
function
(
t
){
e
.
$set
(
e
.
errorForm
,
"errorInfo"
,
t
)},
expression
:
"errorForm.errorInfo"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
e
.
cancelForm
(
"errorForm"
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
submitForm
(
"errorForm"
)}}},[
e
.
_v
(
e
.
_s
(
e
.
errorSettingId
?
"保存"
:
"新建"
))])],
1
)],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
a
(
"ASE+"
)},
"data-v-1f51806f"
,
null
).
exports
,
v
=
{
props
:{
tableData
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
showNewCode
:
!
1
,
errorSettingId
:
""
,
errorInfo
:
""
,
errorCode
:
""
}},
methods
:{
getList
:
function
(){
this
.
$emit
(
"getList"
)},
edit
:
function
(
e
){
this
.
showNewCode
=!
0
,
this
.
errorSettingId
=
e
.
errorSettingId
,
this
.
errorCode
=
e
.
errorCode
,
this
.
errorInfo
=
e
.
errorInfo
},
cancelNewCoce
:
function
(){
this
.
showNewCode
=!
1
},
deleteList
:
function
(
e
){
var
t
=
this
,
a
=
{
errorSettingId
:
e
.
errorSettingId
};
Object
(
o
.
b
)(
"/gateway-manage/delete-error-setting"
,
a
).
then
(
function
(
e
){
"0000"
==
e
.
data
.
code
?
t
.
$emit
(
"getList"
):
t
.
$message
.
error
(
e
.
data
.
message
)})}},
components
:{
newErrorCode
:
m
}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticStyle
:{
"margin-top"
:
"20px"
}},[
a
(
"div"
,{
staticClass
:
"table-content"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableHeight
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误码"
,
prop
:
"errorCode"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误信息"
,
prop
:
"errorInfo"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"dm-delete"
,{
attrs
:{
tips
:
"确定要删除吗?"
},
on
:{
confirm
:
function
(
a
){
return
e
.
deleteList
(
t
.
row
)}}},[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
e
.
_v
(
"删除"
)])],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
e
.
showNewCode
?
a
(
"newErrorCode"
,{
attrs
:{
errorSettingId
:
e
.
errorSettingId
,
errorCode
:
e
.
errorCode
,
errorInfo
:
e
.
errorInfo
},
on
:{
getList
:
e
.
getList
,
cancelNewCoce
:
e
.
cancelNewCoce
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
y
=
a
(
"VU/8"
)(
v
,
b
,
!
1
,
function
(
e
){
a
(
"oPMN"
)},
"data-v-78e39e8a"
,
null
).
exports
,
C
=
a
(
"BO1k"
),
_
=
a
.
n
(
C
),
L
=
{
props
:{
type
:{
type
:
String
,
default
:
function
(){
return
1
}},
sceneCode
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
checkedAll
:
!
1
,
isIndeterminate
:
!
1
,
rightList
:[],
leftSelectList
:[],
rightSelectList
:[],
props
:{
label
:
"name"
,
children
:
"zones"
,
isLeaf
:
"leaf"
},
loading
:
!
1
,
projectList
:[],
refash
:
!
1
,
btnLoading
:
!
1
}},
created
:
function
(){
this
.
dialogVisible
=!
0
},
methods
:{
changeAllTree
:
function
(
e
){
e
?(
this
.
$refs
.
tree
.
setCheckedNodes
(
this
.
projectList
),
this
.
leftSelectList
=
this
.
$refs
.
tree
.
getCheckedNodes
()):(
this
.
$refs
.
tree
.
setCheckedKeys
([]),
this
.
leftSelectList
=
this
.
$refs
.
tree
.
getCheckedNodes
())},
handleCheckChange
:
function
(
e
,
t
,
a
){
this
.
leftSelectList
=
this
.
$refs
.
tree
.
getCheckedNodes
();
var
r
=
0
,
i
=!
0
,
n
=!
1
,
o
=
void
0
;
try
{
for
(
var
s
,
l
=
_
()(
this
.
leftSelectList
);
!
(
i
=
(
s
=
l
.
next
()).
done
);
i
=!
0
){
var
c
=
s
.
value
;
this
.
leftSelectList
.
every
(
function
(
e
){
return
0
!==
e
.
type
})?
this
.
isIndeterminate
=!
1
:
0
===
c
.
type
&&
(
r
+=
1
)}}
catch
(
e
){
n
=!
0
,
o
=
e
}
finally
{
try
{
!
i
&&
l
.
return
&&
l
.
return
()}
finally
{
if
(
n
)
throw
o
}}
this
.
isIndeterminate
=
r
>
0
&&
r
<
this
.
projectList
.
length
,
this
.
checkedAll
=
r
===
this
.
projectList
.
length
},
transferRight
:
function
(){
this
.
rightList
=
this
.
leftSelectList
.
concat
(
this
.
rightList
),
this
.
rightList
=
this
.
rightList
.
filter
(
function
(
e
,
t
,
a
){
return
a
.
indexOf
(
e
)
===
t
}),
this
.
$refs
.
tree
.
setCheckedKeys
([]),
this
.
leftSelectList
=
[],
this
.
checkedAll
=!
1
},
transferLeft
:
function
(){
for
(
var
e
=
0
;
e
<
this
.
rightSelectList
.
length
;
e
++
)
for
(
var
t
=
0
;
t
<
this
.
rightList
.
length
;
t
++
)
this
.
rightSelectList
[
e
].
id
===
this
.
rightList
[
t
].
id
&&
(
this
.
rightList
.
splice
(
t
,
1
),
t
=
0
);
this
.
rightSelectList
=
[]},
loadNode
:
function
(
e
,
t
){
var
a
=
this
,
r
=
this
;
if
(
0
===
e
.
level
)
return
this
.
loading
=!
0
,
Object
(
o
.
a
)(
"/gateway-manage/plugin/interface/tree"
,{}).
then
(
function
(
e
){
if
(
"0000"
==
e
.
data
.
code
){
a
.
loading
=!
1
,
e
.
data
.
result
?
a
.
projectList
=
e
.
data
.
result
:
a
.
projectList
=
[];
var
r
=!
0
,
i
=!
1
,
n
=
void
0
;
try
{
for
(
var
o
,
s
=
_
()(
a
.
projectList
);
!
(
r
=
(
o
=
s
.
next
()).
done
);
r
=!
0
){
var
l
=
o
.
value
;
0
===
l
.
leafFlag
?
l
.
leaf
=!
1
:
l
.
leaf
=!
0
,
l
.
parentId
=
""
}}
catch
(
e
){
i
=!
0
,
n
=
e
}
finally
{
try
{
!
r
&&
s
.
return
&&
s
.
return
()}
finally
{
if
(
i
)
throw
n
}}
return
t
(
a
.
projectList
)}
a
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
t
(
this
.
projectList
);
if
(
e
.
level
>
2
)
return
t
([]);
if
(
1
===
e
.
level
||
2
===
e
.
level
){
var
i
=
{
type
:
e
.
level
-
1
,
id
:
e
.
data
.
id
},
n
=
[];
Object
(
o
.
a
)(
"/gateway-manage/plugin/interface/tree"
,
i
).
then
(
function
(
t
){
if
(
"0000"
==
t
.
data
.
code
){
n
=
t
.
data
.
result
?
t
.
data
.
result
:[];
var
r
=!
0
,
i
=!
1
,
o
=
void
0
;
try
{
for
(
var
s
,
l
=
_
()(
n
);
!
(
r
=
(
s
=
l
.
next
()).
done
);
r
=!
0
){
var
c
=
s
.
value
;
0
===
c
.
leafFlag
?
c
.
leaf
=!
1
:
c
.
leaf
=!
0
,
c
.
parentId
=
e
.
data
.
id
}}
catch
(
e
){
i
=!
0
,
o
=
e
}
finally
{
try
{
!
r
&&
l
.
return
&&
l
.
return
()}
finally
{
if
(
i
)
throw
o
}}}
else
a
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
setTimeout
(
function
(){
t
(
n
)},
2
e3
)}},
handleSelectionChange
:
function
(
e
){
this
.
rightSelectList
=
e
},
submitForm
:
function
(){
var
e
=
this
,
t
=
this
;
if
(
0
===
this
.
rightSelectList
.
length
)
return
this
.
$message
.
error
(
"请选择要绑定的API"
),
!
1
;
var
a
=
[],
r
=
[],
i
=
[],
n
=!
0
,
s
=!
1
,
l
=
void
0
;
try
{
for
(
var
c
,
d
=
_
()(
this
.
rightSelectList
);
!
(
n
=
(
c
=
d
.
next
()).
done
);
n
=!
0
){
var
u
=
c
.
value
;
0
===
u
.
type
?
a
.
push
(
u
.
id
):
1
===
u
.
type
?
r
.
push
(
u
.
id
):
2
===
u
.
type
&&
i
.
push
(
u
.
id
)}}
catch
(
e
){
s
=!
0
,
l
=
e
}
finally
{
try
{
!
n
&&
d
.
return
&&
d
.
return
()}
finally
{
if
(
s
)
throw
l
}}
var
g
=
{
sceneCode
:
this
.
sceneCode
};
a
.
length
&&
(
g
.
projectIds
=
a
.
join
(
","
)),
r
.
length
&&
(
g
.
groupIds
=
r
.
join
(
","
)),
i
.
length
&&
(
g
.
interfaceIds
=
i
.
join
(
","
));
var
h
=
""
;
"1"
===
this
.
type
?
h
=
"/gateway-manage/platform/white/bind"
:
"2"
===
this
.
type
&&
(
h
=
"/gateway-manage/platform/capacity/bind"
),
this
.
btnLoading
=!
0
,
Object
(
o
.
a
)(
h
,
g
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?(
e
.
dialogVisible
=!
1
,
e
.
$emit
(
"getList"
),
e
.
btnLoading
=!
1
):
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
closeDialog
:
function
(){
this
.
$emit
(
"cancelBind"
)}}},
w
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"1"
===
e
.
type
?
"新建绑定白名单接口"
:
"新建绑定能力接口"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
},
close
:
e
.
closeDialog
}},[
a
(
"div"
,{
staticClass
:
"dialog-body"
},[
a
(
"div"
,{
staticClass
:
"content"
},[
a
(
"div"
,{
staticClass
:
"left-content"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
a
(
"h3"
,[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
e
.
isIndeterminate
},
on
:{
change
:
e
.
changeAllTree
},
model
:{
value
:
e
.
checkedAll
,
callback
:
function
(
t
){
e
.
checkedAll
=
t
},
expression
:
"checkedAll"
}},[
e
.
_v
(
"所有API"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"tree-content"
},[
a
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
props
:
e
.
props
,
load
:
e
.
loadNode
,
"node-key"
:
"id"
,
lazy
:
""
,
"show-checkbox"
:
""
},
on
:{
"check-change"
:
e
.
handleCheckChange
}})],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"left-center"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
e
.
leftSelectList
.
length
<=
0
},
on
:{
click
:
e
.
transferRight
}},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-left el-icon--left"
}),
e
.
_v
(
"转入"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
e
.
rightSelectList
.
length
<=
0
},
on
:{
click
:
e
.
transferLeft
}},[
e
.
_v
(
"移除"
),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-right el-icon--right"
})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"list-content table-transfer"
},[[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
rightList
,
"tooltip-effect"
:
"dark"
,
height
:
"305"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"50"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"已选API"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
name
))]}}])})],
1
)]],
2
)])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
closeDialog
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
btnLoading
},
on
:{
click
:
e
.
submitForm
}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
I
=
a
(
"VU/8"
)(
L
,
w
,
!
1
,
function
(
e
){
a
(
"72In"
),
a
(
"cTdW"
)},
"data-v-30298aea"
,
null
).
exports
,
S
=
{
name
:
"envManage"
,
components
:{
navBread
:
n
.
a
,
selectEnv
:
s
.
a
,
whiteList
:
d
,
capacityList
:
h
,
errorCodeList
:
y
,
bindTranser
:
I
,
newErrorCode
:
m
},
data
:
function
(){
return
{
navPath
:[{
name
:
"插件管理"
,
path
:
"/pluginManage"
},{
name
:
"开放平台"
,
path
:
""
}],
activeName
:
"first"
,
search
:
""
,
showdialog
:
!
1
,
pluginId
:
""
,
sceneCode
:
""
,
pluginType
:
1
,
projectList
:[],
projectId
:
""
,
groupList
:[],
groupId
:
""
,
tableData
:[],
total
:
0
,
currentPage
:
1
,
pageSize
:
20
,
pageSizes
:[
20
,
40
,
60
,
80
],
showNewCode
:
!
1
,
errorSettingId
:
""
,
showBinddialog
:
!
1
,
type
:
""
,
loading
:
!
1
}},
methods
:{
handleClick
:
function
(
e
,
t
){
this
.
getList
()},
goEnvList
:
function
(){
this
.
showdialog
=!
0
,
this
.
pluginId
=
this
.
pluginId
},
closeDialog
:
function
(){
this
.
showdialog
=!
1
},
getSearchList
:
function
(){
this
.
currentPage
=
1
,
this
.
getList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
this
,
a
=
""
,
r
=
{};
"first"
===
this
.
activeName
?(
a
=
"/gateway-manage/platform/white/list"
,
r
=
{
projectId
:
this
.
projectId
?
this
.
projectId
:
null
,
groupId
:
this
.
groupId
?
this
.
groupId
:
null
,
search
:
this
.
search
?
this
.
search
:
null
,
sceneCode
:
this
.
sceneCode
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
}):
"second"
===
this
.
activeName
?(
a
=
"/gateway-manage/platform/capacity/list"
,
r
=
{
projectId
:
this
.
projectId
?
this
.
projectId
:
null
,
groupId
:
this
.
groupId
?
this
.
groupId
:
null
,
search
:
this
.
search
?
this
.
search
:
null
,
sceneCode
:
this
.
sceneCode
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
}):
"third"
===
this
.
activeName
&&
(
a
=
"/gateway-manage/page-error-setting"
,
r
=
{
errorType
:
2
,
pageNum
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
}),
"first"
===
this
.
activeName
||
"second"
===
this
.
activeName
?(
this
.
loading
=!
0
,
Object
(
o
.
a
)(
a
,
r
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?(
t
.
data
.
result
.
result
?(
e
.
tableData
=
t
.
data
.
result
.
result
,
e
.
total
=
t
.
data
.
result
.
totalCount
):(
e
.
tableData
=
[],
e
.
total
=
0
),
e
.
loading
=!
1
):
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})):(
this
.
loading
=!
0
,
Object
(
o
.
b
)(
a
,
r
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?(
t
.
data
.
result
.
result
?(
e
.
tableData
=
t
.
data
.
result
.
result
,
e
.
total
=
t
.
data
.
result
.
totalCount
):(
e
.
tableData
=
[],
e
.
total
=
0
),
e
.
loading
=!
1
):
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}))},
getProjectList
:
function
(){
var
e
=
this
,
t
=
this
;
Object
(
o
.
a
)(
"/plugin/interface/tree"
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?
t
.
data
.
result
?
e
.
projectList
=
t
.
data
.
result
:
e
.
projectList
=
[]:
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getGroupList
:
function
(){
var
e
=
this
,
t
=
this
;
this
.
projectId
;
Object
(
o
.
a
)(
"/plugin/interface/tree"
,
params
).
then
(
function
(
t
){
"0000"
==
t
.
data
.
code
?
t
.
data
.
result
?
e
.
groupList
=
t
.
data
.
result
:
e
.
groupList
=
[]:
e
.
$message
.
error
(
t
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
addCode
:
function
(){
this
.
showNewCode
=!
0
,
this
.
errorSettingId
=
""
},
cancelNewCoce
:
function
(){
this
.
showNewCode
=!
1
},
addBind
:
function
(
e
){
this
.
showBinddialog
=!
0
,
this
.
type
=
e
},
cancelBind
:
function
(){
this
.
showBinddialog
=!
1
}},
watch
:
i
()({
$route
:{
handler
:
function
(
e
,
t
){},
deep
:
!
0
}},
"$route"
,
function
(
e
,
t
){
this
.
pluginId
=
this
.
$route
.
query
.
pluginId
,
this
.
sceneCode
=
this
.
$route
.
query
.
sceneCode
,
this
.
getList
()}),
created
:
function
(){
this
.
pluginId
=
this
.
$route
.
query
.
pluginId
,
this
.
sceneCode
=
this
.
$route
.
query
.
sceneCode
,
this
.
getList
()}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"api-body-content border-box"
},[
a
(
"div"
,{
staticClass
:
"common-nav"
},[
a
(
"nav-bread"
,{
attrs
:{
navPath
:
e
.
navPath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"change-env"
,
on
:{
click
:
e
.
goEnvList
}},[
a
(
"span"
,[
e
.
_v
(
"切换环境"
)]),
a
(
"i"
,{
staticClass
:
"iconfont iconicon-qihuan"
,
on
:{
click
:
function
(
t
){
return
e
.
goEnvList
(
e
.
item
)}}})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"api-body-main common-body-main border-box"
},[
a
(
"div"
,{
staticClass
:
"api-main-content border-box"
},[
a
(
"div"
,{
staticClass
:
"env-tab-wrap"
},[
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"div"
,{
staticClass
:
"search-box"
},[
a
(
"div"
,{
staticClass
:
"left"
},[
"second"
===
e
.
activeName
||
"first"
===
e
.
activeName
?
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-320"
,
attrs
:{
placeholder
:
"请输入接口名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
function
(
t
){
return
e
.
getSearchList
()}},
nativeOn
:{
keyup
:
function
(
t
){
return
!
t
.
type
.
indexOf
(
"key"
)
&&
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
null
:
e
.
getSearchList
()}},
model
:{
value
:
e
.
search
,
callback
:
function
(
t
){
e
.
search
=
t
},
expression
:
"search"
}}),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-140 marginLeft10"
,
staticStyle
:{
display
:
"inline-block"
},
attrs
:{
placeholder
:
"请选择项目"
,
size
:
"small"
,
clearable
:
""
},
on
:{
change
:
function
(
t
){
return
e
.
getSearchList
()}},
model
:{
value
:
e
.
projectId
,
callback
:
function
(
t
){
e
.
projectId
=
t
},
expression
:
"projectId"
}},
e
.
_l
(
e
.
projectList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}),
1
),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-140 marginLeft10"
,
staticStyle
:{
display
:
"inline-block"
},
attrs
:{
placeholder
:
"请选择分组"
,
size
:
"small"
,
clearable
:
""
,
disabled
:
""
===
e
.
projectId
},
on
:{
change
:
function
(
t
){
return
e
.
getSearchList
()}},
model
:{
value
:
e
.
groupId
,
callback
:
function
(
t
){
e
.
groupId
=
t
},
expression
:
"groupId"
}},
e
.
_l
(
e
.
groupList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}),
1
)],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,[
"third"
===
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addCode
}},[
e
.
_v
(
"新建错误码"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"first"
===
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
addBind
(
"1"
)}}},[
e
.
_v
(
"新建绑定"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"second"
===
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
addBind
(
"2"
)}}},[
e
.
_v
(
"新建绑定"
)]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
attrs
:{
label
:
"白名单接口"
,
name
:
"first"
}},[
a
(
"whiteList"
,{
attrs
:{
tableData
:
e
.
tableData
},
on
:{
getList
:
e
.
getList
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
attrs
:{
label
:
"能力接口"
,
name
:
"second"
}},[
a
(
"capacityList"
,{
attrs
:{
tableData
:
e
.
tableData
},
on
:{
getList
:
e
.
getList
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
attrs
:{
label
:
"错误码配置"
,
name
:
"third"
}},[
a
(
"errorCodeList"
,{
attrs
:{
tableData
:
e
.
tableData
},
on
:{
getList
:
e
.
getList
}})],
1
)],
1
),
e
.
_v
(
" "
),
0
!==
e
.
total
?
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"right"
,
"margin-top"
:
"20px"
}},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:
e
.
pageSizes
,
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
e
.
showdialog
?
a
(
"selectEnv"
,{
attrs
:{
pluginId
:
e
.
pluginId
,
pluginType
:
e
.
pluginType
},
on
:{
closeDialog
:
e
.
closeDialog
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
showBinddialog
?
a
(
"bindTranser"
,{
attrs
:{
type
:
e
.
type
,
sceneCode
:
e
.
sceneCode
},
on
:{
cancelBind
:
e
.
cancelBind
,
getList
:
e
.
getList
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
showNewCode
?
a
(
"newErrorCode"
,{
attrs
:{
errorSettingId
:
e
.
errorSettingId
},
on
:{
getList
:
e
.
getList
,
cancelNewCoce
:
e
.
cancelNewCoce
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
x
=
a
(
"VU/8"
)(
S
,
k
,
!
1
,
function
(
e
){
a
(
"5TFs"
)},
"data-v-34a5cbb0"
,
null
);
t
.
default
=
x
.
exports
},
ke3F
:
function
(
e
,
t
){},
oPMN
:
function
(
e
,
t
){},
xU1Q
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.8106b1ac07ff365bbd2a.js
deleted
100644 → 0
View file @
4b1bed29
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
a
,
o
){
for
(
var
f
,
d
,
i
,
u
=
0
,
b
=
[];
u
<
r
.
length
;
u
++
)
d
=
r
[
u
],
t
[
d
]
&&
b
.
push
(
t
[
d
][
0
]),
t
[
d
]
=
0
;
for
(
f
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
f
)
&&
(
e
[
f
]
=
a
[
f
]);
for
(
n
&&
n
(
r
,
a
,
o
);
b
.
length
;)
b
.
shift
()();
if
(
o
)
for
(
u
=
0
;
u
<
o
.
length
;
u
++
)
i
=
c
(
c
.
s
=
o
[
u
]);
return
i
};
var
r
=
{},
t
=
{
23
:
0
};
function
c
(
n
){
if
(
r
[
n
])
return
r
[
n
].
exports
;
var
t
=
r
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
t
.
exports
,
t
,
t
.
exports
,
c
),
t
.
l
=!
0
,
t
.
exports
}
c
.
e
=
function
(
e
){
var
n
=
t
[
e
];
if
(
0
===
n
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
n
)
return
n
[
2
];
var
r
=
new
Promise
(
function
(
r
,
c
){
n
=
t
[
e
]
=
[
r
,
c
]});
n
[
2
]
=
r
;
var
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
type
=
"text/javascript"
,
o
.
charset
=
"utf-8"
,
o
.
async
=!
0
,
o
.
timeout
=
12
e4
,
c
.
nc
&&
o
.
setAttribute
(
"nonce"
,
c
.
nc
),
o
.
src
=
c
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"90184a99cbf200fc5420"
,
1
:
"490562478be660678b4c"
,
2
:
"aba954d032af31777ca2"
,
3
:
"891b203d9fe7a8561dfd"
,
4
:
"677ac6301dcc95308532"
,
5
:
"326fb42830c68b115dac"
,
6
:
"38cc052b2cb6cf7bf690"
,
7
:
"a1935be11e77d5f2c5b4"
,
8
:
"8121d39547813d60ebc0"
,
9
:
"b3deccff7d55a154a299"
,
10
:
"0fa1f876e10fcdf5c8bc"
,
11
:
"722834da6c9a43c2cd06"
,
12
:
"67847cd5371b700c9f72"
,
13
:
"28aedb2f2a8862416b38"
,
14
:
"87bbee3da6a929830283"
,
15
:
"2854ebb8d89f105b01a8"
,
16
:
"ed20f73ba065fa5cfb56"
,
17
:
"7654e050c5e95259b1af"
,
18
:
"37321ffca9347a60b988"
,
19
:
"76545794ef370769a689"
,
20
:
"1e2a9dda654bf5adc16a"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
o
.
onerror
=
o
.
onload
=
d
,
a
.
appendChild
(
o
),
r
},
c
.
m
=
e
,
c
.
c
=
r
,
c
.
d
=
function
(
e
,
n
,
r
){
c
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
c
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
c
.
d
(
n
,
"a"
,
n
),
n
},
c
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
c
.
p
=
"./"
,
c
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/static/js/manifest.b74dbbe1e41ee0a40b14.js
0 → 100644
View file @
a4056126
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
o
){
for
(
var
f
,
d
,
i
,
u
=
0
,
b
=
[];
u
<
r
.
length
;
u
++
)
d
=
r
[
u
],
t
[
d
]
&&
b
.
push
(
t
[
d
][
0
]),
t
[
d
]
=
0
;
for
(
f
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
f
)
&&
(
e
[
f
]
=
c
[
f
]);
for
(
n
&&
n
(
r
,
c
,
o
);
b
.
length
;)
b
.
shift
()();
if
(
o
)
for
(
u
=
0
;
u
<
o
.
length
;
u
++
)
i
=
a
(
a
.
s
=
o
[
u
]);
return
i
};
var
r
=
{},
t
=
{
23
:
0
};
function
a
(
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
,
a
),
t
.
l
=!
0
,
t
.
exports
}
a
.
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
,
a
){
n
=
t
[
e
]
=
[
r
,
a
]});
n
[
2
]
=
r
;
var
c
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
type
=
"text/javascript"
,
o
.
charset
=
"utf-8"
,
o
.
async
=!
0
,
o
.
timeout
=
12
e4
,
a
.
nc
&&
o
.
setAttribute
(
"nonce"
,
a
.
nc
),
o
.
src
=
a
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"90184a99cbf200fc5420"
,
1
:
"490562478be660678b4c"
,
2
:
"aba954d032af31777ca2"
,
3
:
"891b203d9fe7a8561dfd"
,
4
:
"677ac6301dcc95308532"
,
5
:
"326fb42830c68b115dac"
,
6
:
"8884e324bd8c50acdc01"
,
7
:
"a1935be11e77d5f2c5b4"
,
8
:
"8121d39547813d60ebc0"
,
9
:
"b3deccff7d55a154a299"
,
10
:
"0fa1f876e10fcdf5c8bc"
,
11
:
"722834da6c9a43c2cd06"
,
12
:
"67847cd5371b700c9f72"
,
13
:
"28aedb2f2a8862416b38"
,
14
:
"87bbee3da6a929830283"
,
15
:
"2854ebb8d89f105b01a8"
,
16
:
"ed20f73ba065fa5cfb56"
,
17
:
"7654e050c5e95259b1af"
,
18
:
"37321ffca9347a60b988"
,
19
:
"76545794ef370769a689"
,
20
:
"1e2a9dda654bf5adc16a"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
o
.
onerror
=
o
.
onload
=
d
,
c
.
appendChild
(
o
),
r
},
a
.
m
=
e
,
a
.
c
=
r
,
a
.
d
=
function
(
e
,
n
,
r
){
a
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
a
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
n
,
"a"
,
n
),
n
},
a
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
a
.
p
=
"./"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/plug/bind-transfer.vue
View file @
a4056126
...
@@ -103,7 +103,7 @@ export default {
...
@@ -103,7 +103,7 @@ export default {
})
})
)
{
)
{
//选中的都不是一级的
//选中的都不是一级的
count
=
1
;
this
.
isIndeterminate
=
false
;
}
else
{
}
else
{
if
(
item
.
type
===
0
)
{
if
(
item
.
type
===
0
)
{
count
=
count
+
1
;
count
=
count
+
1
;
...
...
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