Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
back-own
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
office
back-own
Commits
52a7184a
Commit
52a7184a
authored
Dec 07, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改项目接口
parent
bb543950
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
12 deletions
+17
-12
index.html
dist/index.html
+2
-2
app.70c69ade34735d42f037dc7ca027d02c.css
dist/static/css/app.70c69ade34735d42f037dc7ca027d02c.css
+0
-0
4.91e270adc5fb4912fde9.js
dist/static/js/4.91e270adc5fb4912fde9.js
+2
-0
5.a18f4bbd1c62e45742fe.js
dist/static/js/5.a18f4bbd1c62e45742fe.js
+0
-2
5.b85b2076376dc6559b96.js
dist/static/js/5.b85b2076376dc6559b96.js
+2
-2
app.9aaeef0068b3bbfb17c4.js
dist/static/js/app.9aaeef0068b3bbfb17c4.js
+2
-2
manifest.7d65668c2024bd2ffbff.js
dist/static/js/manifest.7d65668c2024bd2ffbff.js
+2
-2
third.vue
src/views/module/third.vue
+7
-2
No files found.
dist/index.html
View file @
52a7184a
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
限流控制管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.515b15294ce5cea5fa25143c1845fc1b.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.7fa2275c2969e16a6fed.js
></script><script
type=
text/javascript
src=
./static/js/vendor.974b345fdbbde7ef3fff.js
></script><script
type=
text/javascript
src=
./static/js/app.3d2ae26922ab721d3c12.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
限流控制管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.70c69ade34735d42f037dc7ca027d02c.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.7d65668c2024bd2ffbff.js
></script><script
type=
text/javascript
src=
./static/js/vendor.974b345fdbbde7ef3fff.js
></script><script
type=
text/javascript
src=
./static/js/app.9aaeef0068b3bbfb17c4.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
515b15294ce5cea5fa25143c1845fc1b
.css
→
dist/static/css/app.
70c69ade34735d42f037dc7ca027d02c
.css
View file @
52a7184a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/4.91e270adc5fb4912fde9.js
0 → 100644
View file @
52a7184a
webpackJsonp
([
4
],{
DDKZ
:
function
(
e
,
t
){},
"aZ+o"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
n
=
r
.
n
(
a
),
s
=
r
(
"bzW+"
),
i
=
r
(
"3E4D"
),
o
=
r
(
"Ch4/"
),
l
=
r
(
"PI0u"
),
u
=
r
(
"P9l9"
),
d
=
{
name
:
"unreview"
,
components
:{
navCrumb
:
s
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
auditName
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
navpath
:[{
name
:
"模块"
,
path
:
"/index"
},{
name
:
"限流"
,
path
:
"/second?moudleId="
+
this
.
$route
.
query
.
moudleId
},{
name
:
"企业关系"
,
path
:
""
}],
loading
:
!
1
,
tableData
:[],
options
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
showAdd
:
!
1
,
ruleForm
:{
relationType
:
"0"
,
enterpriseId
:
""
,
enterpriseName
:
""
,
rateEnterpriseId
:
""
,
eids
:[],
enterpriseDatas
:[],
count
:
""
},
rules
:{
enterpriseId
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
1
==
e
.
ruleForm
.
relationType
&&
""
===
r
?
a
(
new
Error
(
"请输入商户 ID"
)):
a
()},
message
:
"请输入商户 ID"
,
trigger
:
"blur"
}],
enterpriseName
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
1
==
e
.
ruleForm
.
relationType
&&
""
===
r
?
a
(
new
Error
(
"请输入商户名称"
)):
a
()},
message
:
"请输入商户名称"
,
trigger
:
"blur"
}],
enterpriseDatas
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择企业"
,
trigger
:
"blur"
}],
count
:[{
required
:
!
0
,
message
:
"请输入"
,
trigger
:
"blur"
}]},
optionsCopy
:[]}},
methods
:{
changeType
:
function
(
e
){
this
.
$refs
.
ruleForm
.
resetFields
(),
this
.
ruleForm
.
relationType
=
e
,
this
.
ruleForm
.
enterpriseDatas
=
[],
this
.
ruleForm
.
eids
=
[],
this
.
ruleForm
.
enterpriseId
=
""
,
this
.
ruleForm
.
enterpriseName
=
""
},
remoteMethod
:
function
(
e
){
var
t
=
this
;
""
!==
e
?(
t
.
loading
=!
0
,
setTimeout
(
function
(){
t
.
loading
=!
1
,
t
.
options
=
t
.
optionsCopy
.
filter
(
function
(
t
){
return
-
1
!=
t
.
enterpriseName
.
indexOf
(
e
)})},
200
)):
t
.
options
=
JSON
.
parse
(
n
()(
t
.
optionsCopy
))},
toCancel
:
function
(){
this
.
closeText
(),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
closeText
(),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
l
.
a
)(
function
(
e
){
var
t
=
this
;
1
==
t
.
ruleForm
.
relationType
?
t
.
ruleForm
.
enterpriseDatas
=
[{
enterpriseId
:
t
.
ruleForm
.
enterpriseId
,
enterpriseName
:
t
.
ruleForm
.
enterpriseName
}]:
t
.
ruleForm
.
enterpriseDatas
=
t
.
optionsCopy
.
filter
(
function
(
e
){
if
(
-
1
!=
t
.
ruleForm
.
eids
.
indexOf
(
e
.
enterpriseId
))
return
{
enterpriseId
:
e
.
enterpriseId
,
enterpriseName
:
e
.
enterpriseName
}}),
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
rateId
:
e
.
$route
.
query
.
rateId
,
relationType
:
e
.
ruleForm
.
relationType
,
rateEnterpriseId
:
e
.
ruleForm
.
rateEnterpriseId
,
enterpriseDatas
:
e
.
ruleForm
.
rateEnterpriseId
?
""
:
n
()(
e
.
ruleForm
.
enterpriseDatas
),
count
:
e
.
ruleForm
.
count
};
Object
(
u
.
b
)(
e
.
ruleForm
.
rateEnterpriseId
?
"/redis-limiter-web/redislimiter/save-rate-enterprise-single"
:
"/redis-limiter-web/redislimiter/save-rate-enterprise"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
==
r
.
errorCode
?(
i
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
closeText
()):
o
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAdd
:
function
(
e
){
this
.
getEntepriseList
(),
e
&&
(
e
.
eids
=
[
e
.
enterpriseId
],
e
.
enterpriseDatas
=
[{
enterpriseId
:
e
.
enterpriseId
,
enterpriseName
:
e
.
enterpriseName
}],
this
.
ruleForm
=
JSON
.
parse
(
n
()(
e
))),
this
.
showAdd
=!
0
},
closeText
:
function
(){
this
.
ruleForm
=
{
relationType
:
"0"
,
enterpriseId
:
""
,
enterpriseName
:
""
,
rateEnterpriseId
:
""
,
eids
:[],
enterpriseDatas
:[],
count
:
""
},
this
.
showAdd
=!
1
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handlDel
:
function
(
e
,
t
){
var
r
=
this
;
r
.
$confirm
(
"确认是否删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
r
.
postApprove
(
t
)}).
catch
(
function
(){})},
postApprove
:
function
(
e
){
var
t
=
this
,
r
=
{
rateEnterpriseId
:
e
.
rateEnterpriseId
};
Object
(
u
.
b
)(
"/redis-limiter-web/redislimiter/del-rate-enterprise"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
i
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
currentPage
=
1
,
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTableList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
{
rateId
:
e
.
$route
.
query
.
rateId
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
u
.
a
)(
"/redis-limiter-web/redislimiter/list-rate-enterprise"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
e
.
loading
=!
1
,
1
!=
r
.
errorCode
?
o
.
a
.
errorMsg
(
r
):
e
.
tableData
=
r
.
result
||
[]}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getEntepriseList
:
function
(){
var
e
=
this
;
Object
(
u
.
a
)(
"/redis-limiter-web/redislimiter/list-enterprise"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
r
.
errorCode
)
return
e
.
options
=
r
.
result
||
[],
void
(
e
.
optionsCopy
=
JSON
.
parse
(
n
()(
r
.
result
||
[])));
o
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
this
.
getTableList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 126px)"
}},[
r
(
"div"
,{
staticClass
:
"m-b-20"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"text-right m-b-20"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
handleAdd
(
""
)}}},[
e
.
_v
(
"新增企业关系"
)])],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
r
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"企业名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
enterpriseName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"企业ID"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
enterpriseId
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"QPS"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
count
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"关联类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
relationType
?
"GIC"
:
"自定义"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
handleAdd
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
handlDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])]),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
e
.
ruleForm
.
rateEnterpriseId
?
"编辑企业关系"
:
"新建企业关系"
,
visible
:
e
.
showAdd
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showAdd
=
t
}}},[
r
(
"div"
,{},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
e
.
ruleForm
.
rateEnterpriseId
?
e
.
_e
():
r
(
"el-form-item"
,{
attrs
:{
label
:
"关联类型"
,
prop
:
"relationType"
}},[
r
(
"el-select"
,{
staticClass
:
"w-360"
,
attrs
:{
placeholder
:
"请选择关联类型"
},
on
:{
change
:
e
.
changeType
},
model
:{
value
:
e
.
ruleForm
.
relationType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"relationType"
,
t
)},
expression
:
"ruleForm.relationType"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"GIC"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
r
(
"el-option"
,{
attrs
:{
label
:
"自定义"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
1
==
e
.
ruleForm
.
relationType
?
r
(
"el-form-item"
,{
attrs
:{
label
:
"商户 ID"
,
prop
:
"enterpriseId"
}},[
r
(
"el-input"
,{
staticClass
:
"w-360"
,
attrs
:{
disabled
:
!!
e
.
ruleForm
.
rateEnterpriseId
,
placeholder
:
"请输入商户 ID"
},
model
:{
value
:
e
.
ruleForm
.
enterpriseId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"enterpriseId"
,
t
)},
expression
:
"ruleForm.enterpriseId"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
ruleForm
.
relationType
?
r
(
"el-form-item"
,{
attrs
:{
label
:
"商户名称"
,
prop
:
"enterpriseName"
}},[
r
(
"el-input"
,{
staticClass
:
"w-360"
,
attrs
:{
disabled
:
!!
e
.
ruleForm
.
rateEnterpriseId
,
placeholder
:
"请输入商户名称"
},
model
:{
value
:
e
.
ruleForm
.
enterpriseName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"enterpriseName"
,
t
)},
expression
:
"ruleForm.enterpriseName"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
e
.
ruleForm
.
relationType
?
r
(
"el-form-item"
,{
attrs
:{
label
:
"选择企业"
,
prop
:
"enterpriseDatas"
}},[
r
(
"el-select"
,{
staticClass
:
"w-360"
,
attrs
:{
disabled
:
!!
e
.
ruleForm
.
rateEnterpriseId
,
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
"reserve-keyword"
:
""
,
placeholder
:
"请输入企业名称搜索"
,
"remote-method"
:
e
.
remoteMethod
,
loading
:
e
.
loading
},
model
:{
value
:
e
.
ruleForm
.
eids
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"eids"
,
t
)},
expression
:
"ruleForm.eids"
}},
e
.
_l
(
e
.
options
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})}),
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"QPS"
,
prop
:
"count"
}},[
r
(
"el-input-number"
,{
staticClass
:
"w-360"
,
attrs
:{
placeholder
:
"请输入"
,
"controls-position"
:
"right"
,
min
:
1
,
max
:
9
e7
},
model
:{
value
:
e
.
ruleForm
.
count
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"count"
,
t
)},
expression
:
"ruleForm.count"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
r
(
"VU/8"
)(
d
,
c
,
!
1
,
function
(
e
){
r
(
"qD8o"
)},
"data-v-e839e8da"
,
null
);
t
.
default
=
p
.
exports
},
"bzW+"
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"P9l9"
),
n
=
r
(
"Ch4/"
),
s
=
{
name
:
"navpath"
,
data
:
function
(){
return
{
projectName
:
"haoban"
,
activeBrand
:
""
,
brandListData
:[]}},
props
:{
navpath
:{
type
:
Array
,
default
:
function
(){
return
[]}},
slotFlag
:{
type
:
Boolean
,
default
:
!
1
},
navtip
:{
type
:
Boolean
,
default
:
!
1
},
subNavText
:{
type
:
String
,
default
:
""
}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getBrandData
()}},
methods
:{
changeRoute
:
function
(
e
,
t
){
t
?
window
.
location
.
href
=
e
:
this
.
$router
.
push
(
e
)},
changeSelect
:
function
(
e
){
var
t
=
""
;
this
.
brandListData
.
forEach
(
function
(
r
){
r
.
enterpriseId
==
e
&&
(
t
=
r
.
enterpriseId
)}),
this
.
$emit
(
"selectBrandId"
,
e
,
t
)},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
a
.
b
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
!=
r
.
errorCode
)
n
.
a
.
errorMsg
(
r
);
else
if
(
r
.
result
&&
r
.
result
.
length
){
if
(
e
.
brandListData
=
r
.
result
,
e
.
$route
.
query
.
enterpriseId
)
return
e
.
activeBrand
=
e
.
$route
.
query
.
enterpriseId
,
e
.
$emit
(
"selectBrandId"
,
e
.
$route
.
query
.
enterpriseId
),
!
1
;
e
.
activeBrand
=
e
.
brandListData
[
0
].
enterpriseId
,
e
.
$emit
(
"selectBrandId"
,
e
.
brandListData
[
0
].
enterpriseId
,
e
.
brandListData
[
0
].
enterpriseId
)}}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"navwrap border-box flex flex-space-between"
},[
r
(
"el-breadcrumb"
,{
attrs
:{
"separator-class"
:
"el-icon-arrow-right"
}},[
e
.
_l
(
e
.
navpath
,
function
(
t
,
a
){
return
[
t
.
path
?[
r
(
"el-breadcrumb-item"
,{
key
:
"nav"
+
a
,
attrs
:{
to
:{
path
:
t
.
path
}},
on
:{
click
:
function
(
r
){
return
e
.
changeRoute
(
t
.
path
,
t
.
relocation
)}}},[
r
(
"span"
,{
staticClass
:
"el-breadcrumb__inner is-link"
,
on
:{
click
:
function
(
r
){
return
e
.
changeRoute
(
t
.
path
,
t
.
relocation
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
)])])]:[
r
(
"el-breadcrumb-item"
,{
key
:
"nav"
+
a
},[
e
.
_v
(
e
.
_s
(
t
.
name
))])]]})],
2
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"my-customer-brand"
})],
1
)},
staticRenderFns
:[]};
var
o
=
r
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
r
(
"DDKZ"
)},
"data-v-079a362d"
,
null
);
t
.
a
=
o
.
exports
},
qD8o
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/5.a18f4bbd1c62e45742fe.js
deleted
100644 → 0
View file @
bb543950
webpackJsonp
([
5
],{
DDKZ
:
function
(
e
,
t
){},
HIIU
:
function
(
e
,
t
){},
"aZ+o"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
n
=
r
.
n
(
a
),
s
=
r
(
"bzW+"
),
i
=
r
(
"3E4D"
),
o
=
r
(
"Ch4/"
),
l
=
r
(
"PI0u"
),
u
=
r
(
"P9l9"
),
d
=
{
name
:
"unreview"
,
components
:{
navCrumb
:
s
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
auditName
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
navpath
:[{
name
:
"模块"
,
path
:
"/index"
},{
name
:
"限流"
,
path
:
"/second?moudleId="
+
this
.
$route
.
query
.
moudleId
},{
name
:
"企业关系"
,
path
:
""
}],
loading
:
!
1
,
tableData
:[],
options
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
showAdd
:
!
1
,
ruleForm
:{
relationType
:
"0"
,
enterpriseId
:
""
,
enterpriseName
:
""
,
rateEnterpriseId
:
""
,
eids
:[],
enterpriseDatas
:[],
count
:
""
},
rules
:{
enterpriseId
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
1
==
e
.
ruleForm
.
relationType
&&
""
===
r
?
a
(
new
Error
(
"请输入商户 ID"
)):
a
()},
message
:
"请输入商户 ID"
,
trigger
:
"blur"
}],
enterpriseName
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
1
==
e
.
ruleForm
.
relationType
&&
""
===
r
?
a
(
new
Error
(
"请输入商户名称"
)):
a
()},
message
:
"请输入商户名称"
,
trigger
:
"blur"
}],
enterpriseDatas
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择企业"
,
trigger
:
"blur"
}],
count
:[{
required
:
!
0
,
message
:
"请输入"
,
trigger
:
"blur"
}]},
optionsCopy
:[]}},
methods
:{
changeType
:
function
(
e
){
this
.
$refs
.
ruleForm
.
resetFields
(),
this
.
ruleForm
.
relationType
=
e
,
this
.
ruleForm
.
enterpriseDatas
=
[],
this
.
ruleForm
.
eids
=
[],
this
.
ruleForm
.
enterpriseId
=
""
,
this
.
ruleForm
.
enterpriseName
=
""
},
remoteMethod
:
function
(
e
){
var
t
=
this
;
""
!==
e
?(
t
.
loading
=!
0
,
setTimeout
(
function
(){
t
.
loading
=!
1
,
t
.
options
=
t
.
optionsCopy
.
filter
(
function
(
t
){
return
-
1
!=
t
.
enterpriseName
.
indexOf
(
e
)})},
200
)):
t
.
options
=
JSON
.
parse
(
n
()(
t
.
optionsCopy
))},
toCancel
:
function
(){
this
.
closeText
(),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
closeText
(),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
l
.
a
)(
function
(
e
){
var
t
=
this
;
1
==
t
.
ruleForm
.
relationType
?
t
.
ruleForm
.
enterpriseDatas
=
[{
enterpriseId
:
t
.
ruleForm
.
enterpriseId
,
enterpriseName
:
t
.
ruleForm
.
enterpriseName
}]:
t
.
ruleForm
.
enterpriseDatas
=
t
.
optionsCopy
.
filter
(
function
(
e
){
if
(
-
1
!=
t
.
ruleForm
.
eids
.
indexOf
(
e
.
enterpriseId
))
return
{
enterpriseId
:
e
.
enterpriseId
,
enterpriseName
:
e
.
enterpriseName
}}),
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
rateId
:
e
.
$route
.
query
.
rateId
,
relationType
:
e
.
ruleForm
.
relationType
,
rateEnterpriseId
:
e
.
ruleForm
.
rateEnterpriseId
,
enterpriseDatas
:
e
.
ruleForm
.
rateEnterpriseId
?
""
:
n
()(
e
.
ruleForm
.
enterpriseDatas
),
count
:
e
.
ruleForm
.
count
};
Object
(
u
.
b
)(
e
.
ruleForm
.
rateEnterpriseId
?
"/redis-limiter-web/redislimiter/save-rate-enterprise-single"
:
"/redis-limiter-web/redislimiter/save-rate-enterprise"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
==
r
.
errorCode
?(
i
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
closeText
()):
o
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAdd
:
function
(
e
){
this
.
getEntepriseList
(),
e
&&
(
e
.
eids
=
[
e
.
enterpriseId
],
e
.
enterpriseDatas
=
[{
enterpriseId
:
e
.
enterpriseId
,
enterpriseName
:
e
.
enterpriseName
}],
this
.
ruleForm
=
JSON
.
parse
(
n
()(
e
))),
this
.
showAdd
=!
0
},
closeText
:
function
(){
this
.
ruleForm
=
{
relationType
:
"0"
,
enterpriseId
:
""
,
enterpriseName
:
""
,
rateEnterpriseId
:
""
,
eids
:[],
enterpriseDatas
:[],
count
:
""
},
this
.
showAdd
=!
1
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handlDel
:
function
(
e
,
t
){
var
r
=
this
;
r
.
$confirm
(
"确认是否删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
r
.
postApprove
(
t
)}).
catch
(
function
(){})},
postApprove
:
function
(
e
){
var
t
=
this
,
r
=
{
rateEnterpriseId
:
e
.
rateEnterpriseId
};
Object
(
u
.
b
)(
"/redis-limiter-web/redislimiter/del-rate-enterprise"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
i
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
currentPage
=
1
,
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTableList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
{
rateId
:
e
.
$route
.
query
.
rateId
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
u
.
a
)(
"/redis-limiter-web/redislimiter/list-rate-enterprise"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
e
.
loading
=!
1
,
1
!=
r
.
errorCode
?
o
.
a
.
errorMsg
(
r
):
e
.
tableData
=
r
.
result
||
[]}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getEntepriseList
:
function
(){
var
e
=
this
;
Object
(
u
.
a
)(
"/redis-limiter-web/redislimiter/list-enterprise"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
r
.
errorCode
)
return
e
.
options
=
r
.
result
||
[],
void
(
e
.
optionsCopy
=
JSON
.
parse
(
n
()(
r
.
result
||
[])));
o
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
this
.
getTableList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 126px)"
}},[
r
(
"div"
,{
staticClass
:
"m-b-20"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"text-right m-b-20"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
handleAdd
(
""
)}}},[
e
.
_v
(
"新增企业关系"
)])],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
r
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"企业名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
enterpriseName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"QPS"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
count
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"关联类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
relationType
?
"GIC"
:
"自定义"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
handleAdd
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
handlDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])]),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
e
.
ruleForm
.
rateEnterpriseId
?
"编辑企业关系"
:
"新建企业关系"
,
visible
:
e
.
showAdd
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showAdd
=
t
}}},[
r
(
"div"
,{},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
e
.
ruleForm
.
rateEnterpriseId
?
e
.
_e
():
r
(
"el-form-item"
,{
attrs
:{
label
:
"关联类型"
,
prop
:
"relationType"
}},[
r
(
"el-select"
,{
staticClass
:
"w-360"
,
attrs
:{
placeholder
:
"请选择关联类型"
},
on
:{
change
:
e
.
changeType
},
model
:{
value
:
e
.
ruleForm
.
relationType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"relationType"
,
t
)},
expression
:
"ruleForm.relationType"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"GIC"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
r
(
"el-option"
,{
attrs
:{
label
:
"自定义"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
1
==
e
.
ruleForm
.
relationType
?
r
(
"el-form-item"
,{
attrs
:{
label
:
"商户 ID"
,
prop
:
"enterpriseId"
}},[
r
(
"el-input"
,{
staticClass
:
"w-360"
,
attrs
:{
disabled
:
!!
e
.
ruleForm
.
rateEnterpriseId
,
placeholder
:
"请输入商户 ID"
},
model
:{
value
:
e
.
ruleForm
.
enterpriseId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"enterpriseId"
,
t
)},
expression
:
"ruleForm.enterpriseId"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
ruleForm
.
relationType
?
r
(
"el-form-item"
,{
attrs
:{
label
:
"商户名称"
,
prop
:
"enterpriseName"
}},[
r
(
"el-input"
,{
staticClass
:
"w-360"
,
attrs
:{
disabled
:
!!
e
.
ruleForm
.
rateEnterpriseId
,
placeholder
:
"请输入商户名称"
},
model
:{
value
:
e
.
ruleForm
.
enterpriseName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"enterpriseName"
,
t
)},
expression
:
"ruleForm.enterpriseName"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
e
.
ruleForm
.
relationType
?
r
(
"el-form-item"
,{
attrs
:{
label
:
"选择企业"
,
prop
:
"enterpriseDatas"
}},[
r
(
"el-select"
,{
staticClass
:
"w-360"
,
attrs
:{
disabled
:
!!
e
.
ruleForm
.
rateEnterpriseId
,
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
"reserve-keyword"
:
""
,
placeholder
:
"请输入企业名称搜索"
,
"remote-method"
:
e
.
remoteMethod
,
loading
:
e
.
loading
},
model
:{
value
:
e
.
ruleForm
.
eids
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"eids"
,
t
)},
expression
:
"ruleForm.eids"
}},
e
.
_l
(
e
.
options
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})}),
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"QPS"
,
prop
:
"count"
}},[
r
(
"el-input-number"
,{
staticClass
:
"w-360"
,
attrs
:{
placeholder
:
"请输入"
,
"controls-position"
:
"right"
,
min
:
1
,
max
:
9
e7
},
model
:{
value
:
e
.
ruleForm
.
count
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"count"
,
t
)},
expression
:
"ruleForm.count"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
r
(
"VU/8"
)(
d
,
c
,
!
1
,
function
(
e
){
r
(
"HIIU"
)},
"data-v-5996ebf3"
,
null
);
t
.
default
=
p
.
exports
},
"bzW+"
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"P9l9"
),
n
=
r
(
"Ch4/"
),
s
=
{
name
:
"navpath"
,
data
:
function
(){
return
{
projectName
:
"haoban"
,
activeBrand
:
""
,
brandListData
:[]}},
props
:{
navpath
:{
type
:
Array
,
default
:
function
(){
return
[]}},
slotFlag
:{
type
:
Boolean
,
default
:
!
1
},
navtip
:{
type
:
Boolean
,
default
:
!
1
},
subNavText
:{
type
:
String
,
default
:
""
}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getBrandData
()}},
methods
:{
changeRoute
:
function
(
e
,
t
){
t
?
window
.
location
.
href
=
e
:
this
.
$router
.
push
(
e
)},
changeSelect
:
function
(
e
){
var
t
=
""
;
this
.
brandListData
.
forEach
(
function
(
r
){
r
.
enterpriseId
==
e
&&
(
t
=
r
.
enterpriseId
)}),
this
.
$emit
(
"selectBrandId"
,
e
,
t
)},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
a
.
b
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
!=
r
.
errorCode
)
n
.
a
.
errorMsg
(
r
);
else
if
(
r
.
result
&&
r
.
result
.
length
){
if
(
e
.
brandListData
=
r
.
result
,
e
.
$route
.
query
.
enterpriseId
)
return
e
.
activeBrand
=
e
.
$route
.
query
.
enterpriseId
,
e
.
$emit
(
"selectBrandId"
,
e
.
$route
.
query
.
enterpriseId
),
!
1
;
e
.
activeBrand
=
e
.
brandListData
[
0
].
enterpriseId
,
e
.
$emit
(
"selectBrandId"
,
e
.
brandListData
[
0
].
enterpriseId
,
e
.
brandListData
[
0
].
enterpriseId
)}}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"navwrap border-box flex flex-space-between"
},[
r
(
"el-breadcrumb"
,{
attrs
:{
"separator-class"
:
"el-icon-arrow-right"
}},[
e
.
_l
(
e
.
navpath
,
function
(
t
,
a
){
return
[
t
.
path
?[
r
(
"el-breadcrumb-item"
,{
key
:
"nav"
+
a
,
attrs
:{
to
:{
path
:
t
.
path
}},
on
:{
click
:
function
(
r
){
return
e
.
changeRoute
(
t
.
path
,
t
.
relocation
)}}},[
r
(
"span"
,{
staticClass
:
"el-breadcrumb__inner is-link"
,
on
:{
click
:
function
(
r
){
return
e
.
changeRoute
(
t
.
path
,
t
.
relocation
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
)])])]:[
r
(
"el-breadcrumb-item"
,{
key
:
"nav"
+
a
},[
e
.
_v
(
e
.
_s
(
t
.
name
))])]]})],
2
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"my-customer-brand"
})],
1
)},
staticRenderFns
:[]};
var
o
=
r
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
r
(
"DDKZ"
)},
"data-v-079a362d"
,
null
);
t
.
a
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/
4.4e352f0e8625ff4613b
6.js
→
dist/static/js/
5.b85b2076376dc6559b9
6.js
View file @
52a7184a
webpackJsonp
([
4
],{
DDKZ
:
function
(
e
,
t
){},
Sf53
:
function
(
e
,
t
){},
VTBp
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
n
=
r
.
n
(
a
),
o
=
r
(
"bzW+"
),
s
=
r
(
"3E4D"
),
i
=
r
(
"Ch4/"
),
l
=
r
(
"PI0u"
),
u
=
r
(
"P9l9"
),
d
=
{
name
:
"unreview"
,
components
:{
navCrumb
:
o
.
a
},
data
:
function
(){
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
auditName
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
navpath
:[{
name
:
"模块"
,
path
:
"/index"
},{
name
:
"限流"
,
path
:
""
}],
loading
:
!
1
,
tableData
:[],
options
:[{
value
:
"选项1"
,
label
:
"黄金糕"
}],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
showAdd
:
!
1
,
ruleForm
:{
rateId
:
""
,
rateName
:
""
,
rateCode
:
""
},
rules
:{
rateName
:[{
required
:
!
0
,
message
:
"请输入限流名称"
,
trigger
:
"blur"
}],
rateCode
:[{
required
:
!
0
,
message
:
"请输入限流code"
,
trigger
:
"blur"
}]}}},
methods
:{
toNext
:
function
(
e
){
this
.
$router
.
push
(
"/third?rateId="
+
e
.
rateId
+
"&moudleId="
+
this
.
$route
.
query
.
moudleId
)},
toCancel
:
function
(){
this
.
closeText
(),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
closeText
(),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
l
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
rateId
:
e
.
ruleForm
.
rateId
,
rateName
:
e
.
ruleForm
.
rateName
,
rateCode
:
e
.
ruleForm
.
rateCode
,
moudleId
:
e
.
$route
.
query
.
moudleId
};
Object
(
u
.
b
)(
"/redis-limiter-web/redislimiter/save-rate"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
==
r
.
errorCode
?(
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
closeText
()):
i
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAdd
:
function
(
e
){
e
&&
(
this
.
ruleForm
=
JSON
.
parse
(
n
()(
e
))),
this
.
showAdd
=!
0
},
closeText
:
function
(){
this
.
ruleForm
=
{
rateId
:
""
,
rateName
:
""
,
rateCode
:
""
},
this
.
showAdd
=!
1
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handlDel
:
function
(
e
,
t
){
var
r
=
this
;
r
.
$confirm
(
"确认是否删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
r
.
postApprove
(
t
)}).
catch
(
function
(){})},
postApprove
:
function
(
e
){
var
t
=
this
,
r
=
{
rateId
:
e
.
rateId
};
Object
(
u
.
b
)(
"/redis-limiter-web/redislimiter/del-rate"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
currentPage
=
1
,
void
t
.
getTableList
();
i
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
;
e
&&
(
t
.
currentPage
=
1
),
t
.
loading
=!
0
;
var
r
=
{
moudleId
:
t
.
$route
.
query
.
moudleId
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
u
.
a
)(
"/redis-limiter-web/redislimiter/list-rate"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
t
.
loading
=!
1
,
1
!=
r
.
errorCode
?
i
.
a
.
errorMsg
(
r
):
t
.
tableData
=
r
.
result
||
[]}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
this
.
getTableList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 126px)"
}},[
r
(
"div"
,{
staticClass
:
"m-b-20"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"text-right m-b-20"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
handleAdd
(
""
)}}},[
e
.
_v
(
"新增限流"
)])],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
r
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"限流名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
rateName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"Code"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
rateCode
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
toNext
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
handleAdd
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
handlDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])]),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
e
.
ruleForm
.
rateId
?
"编辑限流"
:
"新建限流"
,
visible
:
e
.
showAdd
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showAdd
=
t
}}},[
r
(
"div"
,{},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"限流名称"
,
prop
:
"rateName"
}},[
r
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入限流"
},
model
:{
value
:
e
.
ruleForm
.
rateName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"rateName"
,
t
)},
expression
:
"ruleForm.rateName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"Code"
,
prop
:
"rateCode"
}},[
r
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入code"
},
model
:{
value
:
e
.
ruleForm
.
rateCode
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"rateCode"
,
t
)},
expression
:
"ruleForm.rateCode"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
m
=
r
(
"VU/8"
)(
d
,
c
,
!
1
,
function
(
e
){
r
(
"Sf53"
)},
"data-v-d5a1a898"
,
null
);
t
.
default
=
m
.
exports
},
"bzW+"
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"P9l9"
),
n
=
r
(
"Ch4/"
),
o
=
{
name
:
"navpath"
,
data
:
function
(){
return
{
projectName
:
"haoban"
,
activeBrand
:
""
,
brandListData
:[]}},
props
:{
navpath
:{
type
:
Array
,
default
:
function
(){
return
[]}},
slotFlag
:{
type
:
Boolean
,
default
:
!
1
},
navtip
:{
type
:
Boolean
,
default
:
!
1
},
subNavText
:{
type
:
String
,
default
:
""
}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getBrandData
()}},
methods
:{
changeRoute
:
function
(
e
,
t
){
t
?
window
.
location
.
href
=
e
:
this
.
$router
.
push
(
e
)},
changeSelect
:
function
(
e
){
var
t
=
""
;
this
.
brandListData
.
forEach
(
function
(
r
){
r
.
enterpriseId
==
e
&&
(
t
=
r
.
enterpriseId
)}),
this
.
$emit
(
"selectBrandId"
,
e
,
t
)},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
a
.
b
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
!=
r
.
errorCode
)
n
.
a
.
errorMsg
(
r
);
else
if
(
r
.
result
&&
r
.
result
.
length
){
if
(
e
.
brandListData
=
r
.
result
,
e
.
$route
.
query
.
enterpriseId
)
return
e
.
activeBrand
=
e
.
$route
.
query
.
enterpriseId
,
e
.
$emit
(
"selectBrandId"
,
e
.
$route
.
query
.
enterpriseId
),
!
1
;
e
.
activeBrand
=
e
.
brandListData
[
0
].
enterpriseId
,
e
.
$emit
(
"selectBrandId"
,
e
.
brandListData
[
0
].
enterpriseId
,
e
.
brandListData
[
0
].
enterpriseId
)}}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"navwrap border-box flex flex-space-between"
},[
r
(
"el-breadcrumb"
,{
attrs
:{
"separator-class"
:
"el-icon-arrow-right"
}},[
e
.
_l
(
e
.
navpath
,
function
(
t
,
a
){
return
[
t
.
path
?[
r
(
"el-breadcrumb-item"
,{
key
:
"nav"
+
a
,
attrs
:{
to
:{
path
:
t
.
path
}},
on
:{
click
:
function
(
r
){
return
e
.
changeRoute
(
t
.
path
,
t
.
relocation
)}}},[
r
(
"span"
,{
staticClass
:
"el-breadcrumb__inner is-link"
,
on
:{
click
:
function
(
r
){
return
e
.
changeRoute
(
t
.
path
,
t
.
relocation
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
)])])]:[
r
(
"el-breadcrumb-item"
,{
key
:
"nav"
+
a
},[
e
.
_v
(
e
.
_s
(
t
.
name
))])]]})],
2
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"my-customer-brand"
})],
1
)},
staticRenderFns
:[]};
var
i
=
r
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
e
){
r
(
"DDKZ"
)},
"data-v-079a362d"
,
null
);
t
.
a
=
i
.
exports
}});
webpackJsonp
([
5
],{
DDKZ
:
function
(
e
,
t
){},
Sf53
:
function
(
e
,
t
){},
VTBp
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
n
=
r
.
n
(
a
),
o
=
r
(
"bzW+"
),
s
=
r
(
"3E4D"
),
i
=
r
(
"Ch4/"
),
l
=
r
(
"PI0u"
),
u
=
r
(
"P9l9"
),
d
=
{
name
:
"unreview"
,
components
:{
navCrumb
:
o
.
a
},
data
:
function
(){
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
auditName
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
navpath
:[{
name
:
"模块"
,
path
:
"/index"
},{
name
:
"限流"
,
path
:
""
}],
loading
:
!
1
,
tableData
:[],
options
:[{
value
:
"选项1"
,
label
:
"黄金糕"
}],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
showAdd
:
!
1
,
ruleForm
:{
rateId
:
""
,
rateName
:
""
,
rateCode
:
""
},
rules
:{
rateName
:[{
required
:
!
0
,
message
:
"请输入限流名称"
,
trigger
:
"blur"
}],
rateCode
:[{
required
:
!
0
,
message
:
"请输入限流code"
,
trigger
:
"blur"
}]}}},
methods
:{
toNext
:
function
(
e
){
this
.
$router
.
push
(
"/third?rateId="
+
e
.
rateId
+
"&moudleId="
+
this
.
$route
.
query
.
moudleId
)},
toCancel
:
function
(){
this
.
closeText
(),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
closeText
(),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
l
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
rateId
:
e
.
ruleForm
.
rateId
,
rateName
:
e
.
ruleForm
.
rateName
,
rateCode
:
e
.
ruleForm
.
rateCode
,
moudleId
:
e
.
$route
.
query
.
moudleId
};
Object
(
u
.
b
)(
"/redis-limiter-web/redislimiter/save-rate"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
==
r
.
errorCode
?(
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
closeText
()):
i
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAdd
:
function
(
e
){
e
&&
(
this
.
ruleForm
=
JSON
.
parse
(
n
()(
e
))),
this
.
showAdd
=!
0
},
closeText
:
function
(){
this
.
ruleForm
=
{
rateId
:
""
,
rateName
:
""
,
rateCode
:
""
},
this
.
showAdd
=!
1
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handlDel
:
function
(
e
,
t
){
var
r
=
this
;
r
.
$confirm
(
"确认是否删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
r
.
postApprove
(
t
)}).
catch
(
function
(){})},
postApprove
:
function
(
e
){
var
t
=
this
,
r
=
{
rateId
:
e
.
rateId
};
Object
(
u
.
b
)(
"/redis-limiter-web/redislimiter/del-rate"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
currentPage
=
1
,
void
t
.
getTableList
();
i
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
;
e
&&
(
t
.
currentPage
=
1
),
t
.
loading
=!
0
;
var
r
=
{
moudleId
:
t
.
$route
.
query
.
moudleId
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
u
.
a
)(
"/redis-limiter-web/redislimiter/list-rate"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
t
.
loading
=!
1
,
1
!=
r
.
errorCode
?
i
.
a
.
errorMsg
(
r
):
t
.
tableData
=
r
.
result
||
[]}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
this
.
getTableList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 126px)"
}},[
r
(
"div"
,{
staticClass
:
"m-b-20"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"text-right m-b-20"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
handleAdd
(
""
)}}},[
e
.
_v
(
"新增限流"
)])],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
r
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"限流名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
rateName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"Code"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
rateCode
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
toNext
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
handleAdd
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
return
e
.
handlDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])]),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
e
.
ruleForm
.
rateId
?
"编辑限流"
:
"新建限流"
,
visible
:
e
.
showAdd
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showAdd
=
t
}}},[
r
(
"div"
,{},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"限流名称"
,
prop
:
"rateName"
}},[
r
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入限流"
},
model
:{
value
:
e
.
ruleForm
.
rateName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"rateName"
,
t
)},
expression
:
"ruleForm.rateName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"Code"
,
prop
:
"rateCode"
}},[
r
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入code"
},
model
:{
value
:
e
.
ruleForm
.
rateCode
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"rateCode"
,
t
)},
expression
:
"ruleForm.rateCode"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
m
=
r
(
"VU/8"
)(
d
,
c
,
!
1
,
function
(
e
){
r
(
"Sf53"
)},
"data-v-d5a1a898"
,
null
);
t
.
default
=
m
.
exports
},
"bzW+"
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"P9l9"
),
n
=
r
(
"Ch4/"
),
o
=
{
name
:
"navpath"
,
data
:
function
(){
return
{
projectName
:
"haoban"
,
activeBrand
:
""
,
brandListData
:[]}},
props
:{
navpath
:{
type
:
Array
,
default
:
function
(){
return
[]}},
slotFlag
:{
type
:
Boolean
,
default
:
!
1
},
navtip
:{
type
:
Boolean
,
default
:
!
1
},
subNavText
:{
type
:
String
,
default
:
""
}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getBrandData
()}},
methods
:{
changeRoute
:
function
(
e
,
t
){
t
?
window
.
location
.
href
=
e
:
this
.
$router
.
push
(
e
)},
changeSelect
:
function
(
e
){
var
t
=
""
;
this
.
brandListData
.
forEach
(
function
(
r
){
r
.
enterpriseId
==
e
&&
(
t
=
r
.
enterpriseId
)}),
this
.
$emit
(
"selectBrandId"
,
e
,
t
)},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
a
.
b
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
!=
r
.
errorCode
)
n
.
a
.
errorMsg
(
r
);
else
if
(
r
.
result
&&
r
.
result
.
length
){
if
(
e
.
brandListData
=
r
.
result
,
e
.
$route
.
query
.
enterpriseId
)
return
e
.
activeBrand
=
e
.
$route
.
query
.
enterpriseId
,
e
.
$emit
(
"selectBrandId"
,
e
.
$route
.
query
.
enterpriseId
),
!
1
;
e
.
activeBrand
=
e
.
brandListData
[
0
].
enterpriseId
,
e
.
$emit
(
"selectBrandId"
,
e
.
brandListData
[
0
].
enterpriseId
,
e
.
brandListData
[
0
].
enterpriseId
)}}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"navwrap border-box flex flex-space-between"
},[
r
(
"el-breadcrumb"
,{
attrs
:{
"separator-class"
:
"el-icon-arrow-right"
}},[
e
.
_l
(
e
.
navpath
,
function
(
t
,
a
){
return
[
t
.
path
?[
r
(
"el-breadcrumb-item"
,{
key
:
"nav"
+
a
,
attrs
:{
to
:{
path
:
t
.
path
}},
on
:{
click
:
function
(
r
){
return
e
.
changeRoute
(
t
.
path
,
t
.
relocation
)}}},[
r
(
"span"
,{
staticClass
:
"el-breadcrumb__inner is-link"
,
on
:{
click
:
function
(
r
){
return
e
.
changeRoute
(
t
.
path
,
t
.
relocation
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
)])])]:[
r
(
"el-breadcrumb-item"
,{
key
:
"nav"
+
a
},[
e
.
_v
(
e
.
_s
(
t
.
name
))])]]})],
2
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"my-customer-brand"
})],
1
)},
staticRenderFns
:[]};
var
i
=
r
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
e
){
r
(
"DDKZ"
)},
"data-v-079a362d"
,
null
);
t
.
a
=
i
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/app.
3d2ae26922ab721d3c12
.js
→
dist/static/js/app.
9aaeef0068b3bbfb17c4
.js
View file @
52a7184a
webpackJsonp
([
12
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
o
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
o
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"fZjL"
),
r
=
n
.
n
(
o
),
a
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
i
=
n
.
n
(
a
),
u
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
u
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
s
=
n
(
"lRwf"
),
l
=
n
.
n
(
s
),
m
=
n
(
"pRNm"
),
f
=
n
.
n
(
m
),
d
=
n
(
"5tgt"
),
g
=
n
.
n
(
d
);
l
.
a
.
use
(
f
.
a
);
var
p
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
h
,
v
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"index"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
g
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"审核中心"
,
redirect
:
"index"
,
component
:
g
()(
"module"
,
"index"
),
children
:[{
path
:
"/index"
,
name
:
"模块"
,
component
:
g
()(
"module"
,
"home"
)},{
path
:
"/second"
,
name
:
"限流"
,
component
:
g
()(
"module"
,
"second"
)},{
path
:
"/third"
,
name
:
"关系"
,
component
:
g
()(
"module"
,
"third"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
g
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
p
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
p
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
p
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
f
.
a
({
routes
:
v
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
M
=
n
(
"zL8q"
),
w
=
n
.
n
(
M
),
x
=
n
(
"Rf8U"
),
S
=
n
.
n
(
x
),
A
=
n
(
"mtWM"
),
H
=
n
.
n
(
A
),
E
=
n
(
"bOdI"
),
k
=
n
.
n
(
E
),
R
=
n
(
"SJI6"
),
T
=
n
.
n
(
R
);
l
.
a
.
use
(
T
.
a
);
var
b
=
new
T
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
h
=
{},
k
()(
h
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
k
()(
h
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
k
()(
h
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
k
()(
h
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
k
()(
h
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
k
()(
h
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
k
()(
h
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
k
()(
h
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
k
()(
h
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
k
()(
h
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
h
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
P
=
(
n
(
"4qCZ"
),
n
(
"tvR6"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"xtVA"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
n
=
new
Date
(
e
),
o
=
{
"M+"
:
n
.
getMonth
()
+
1
,
"D+"
:
n
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
n
.
getDay
()),
"h+"
:
n
.
getHours
(),
"m+"
:
n
.
getMinutes
(),
"s+"
:
n
.
getSeconds
(),
"q+"
:
Math
.
floor
((
n
.
getMonth
()
+
3
)
/
3
),
S
:
n
.
getMilliseconds
()};
for
(
var
r
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
n
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
o
)
new
RegExp
(
"("
+
r
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
o
[
r
]:(
"00"
+
o
[
r
]).
substr
((
""
+
o
[
r
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
a
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
i
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
u
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
o
+
" "
+
a
+
":"
+
i
+
":"
+
u
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
o
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
o
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
o
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
a
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
i
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
u
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
r
+
"."
+
o
+
" "
+
a
+
":"
+
i
+
":"
+
u
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
n
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
n
<
0
)
return
""
;
var
o
=
n
%
864
e5
,
r
=
o
%
36
e5
;
return
Math
.
floor
(
n
/
864
e5
)
+
"天"
+
Math
.
floor
(
o
/
36
e5
)
+
"小时"
+
Math
.
floor
(
r
/
6
e4
)
+
"分"
}},
formatTime
:
function
(
e
){
if
(
!
e
)
return
"00:00:00"
;
var
t
=
e
/
1
e3
,
n
=
Math
.
floor
(
t
/
60
/
60
/
24
);
return
(
24
*
n
+
Math
.
floor
(
t
/
60
/
60
)
%
24
<
10
?
"0"
+
(
24
*
n
+
Math
.
floor
(
t
/
60
/
60
)
%
24
):
24
*
n
+
Math
.
floor
(
t
/
60
/
60
)
%
24
)
+
":"
+
(
Math
.
floor
(
t
/
60
)
%
60
<
10
?
"0"
+
Math
.
floor
(
t
/
60
)
%
60
:
Math
.
floor
(
t
/
60
)
%
60
)
+
":"
+
(
Math
.
floor
(
t
)
%
60
<
10
?
"0"
+
Math
.
floor
(
t
)
%
60
:
Math
.
floor
(
t
)
%
60
)}});
i
.
a
.
polyfill
(),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
S
.
a
,
H
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
r
()(
P
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
P
[
e
])}),
D
.
beforeEach
(
function
(
e
,
t
,
n
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
o
=
window
.
location
.
origin
;
o
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
n
({
path
:
"/index"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
D
,
store
:
b
,
components
:{
App
:
c
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
o
=
{
"./errorPage/403.vue"
:[
"6XGN"
,
8
],
"./errorPage/404.vue"
:[
"AejC"
,
9
],
"./errorPage/500.vue"
:[
"FskK"
,
7
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
6
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./login/index.vue"
:[
"T+/8"
,
0
,
2
],
"./module/home.vue"
:[
"SuWd"
,
0
,
10
],
"./module/index.vue"
:[
"lHhH"
,
0
,
3
],
"./module/second.vue"
:[
"VTBp"
,
0
,
4
],
"./module/third.vue"
:[
"aZ+o"
,
0
,
5
]};
function
r
(
e
){
var
t
=
o
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
r
.
keys
=
function
(){
return
Object
.
keys
(
o
)},
r
.
id
=
"Opzk"
,
e
.
exports
=
r
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
webpackJsonp
([
12
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
o
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
o
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"fZjL"
),
r
=
n
.
n
(
o
),
a
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
i
=
n
.
n
(
a
),
u
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
u
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
s
=
n
(
"lRwf"
),
l
=
n
.
n
(
s
),
m
=
n
(
"pRNm"
),
f
=
n
.
n
(
m
),
d
=
n
(
"5tgt"
),
g
=
n
.
n
(
d
);
l
.
a
.
use
(
f
.
a
);
var
p
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
h
,
v
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"index"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
g
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"审核中心"
,
redirect
:
"index"
,
component
:
g
()(
"module"
,
"index"
),
children
:[{
path
:
"/index"
,
name
:
"模块"
,
component
:
g
()(
"module"
,
"home"
)},{
path
:
"/second"
,
name
:
"限流"
,
component
:
g
()(
"module"
,
"second"
)},{
path
:
"/third"
,
name
:
"关系"
,
component
:
g
()(
"module"
,
"third"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
g
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
p
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
p
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
p
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
f
.
a
({
routes
:
v
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
M
=
n
(
"zL8q"
),
w
=
n
.
n
(
M
),
x
=
n
(
"Rf8U"
),
S
=
n
.
n
(
x
),
A
=
n
(
"mtWM"
),
H
=
n
.
n
(
A
),
E
=
n
(
"bOdI"
),
k
=
n
.
n
(
E
),
R
=
n
(
"SJI6"
),
T
=
n
.
n
(
R
);
l
.
a
.
use
(
T
.
a
);
var
b
=
new
T
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
h
=
{},
k
()(
h
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
k
()(
h
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
k
()(
h
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
k
()(
h
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
k
()(
h
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
k
()(
h
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
k
()(
h
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
k
()(
h
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
k
()(
h
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
k
()(
h
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
h
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
P
=
(
n
(
"4qCZ"
),
n
(
"tvR6"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"xtVA"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
n
=
new
Date
(
e
),
o
=
{
"M+"
:
n
.
getMonth
()
+
1
,
"D+"
:
n
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
n
.
getDay
()),
"h+"
:
n
.
getHours
(),
"m+"
:
n
.
getMinutes
(),
"s+"
:
n
.
getSeconds
(),
"q+"
:
Math
.
floor
((
n
.
getMonth
()
+
3
)
/
3
),
S
:
n
.
getMilliseconds
()};
for
(
var
r
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
n
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
o
)
new
RegExp
(
"("
+
r
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
o
[
r
]:(
"00"
+
o
[
r
]).
substr
((
""
+
o
[
r
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
a
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
i
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
u
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
o
+
" "
+
a
+
":"
+
i
+
":"
+
u
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
o
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
o
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
o
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
a
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
i
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
u
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
r
+
"."
+
o
+
" "
+
a
+
":"
+
i
+
":"
+
u
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
n
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
n
<
0
)
return
""
;
var
o
=
n
%
864
e5
,
r
=
o
%
36
e5
;
return
Math
.
floor
(
n
/
864
e5
)
+
"天"
+
Math
.
floor
(
o
/
36
e5
)
+
"小时"
+
Math
.
floor
(
r
/
6
e4
)
+
"分"
}},
formatTime
:
function
(
e
){
if
(
!
e
)
return
"00:00:00"
;
var
t
=
e
/
1
e3
,
n
=
Math
.
floor
(
t
/
60
/
60
/
24
);
return
(
24
*
n
+
Math
.
floor
(
t
/
60
/
60
)
%
24
<
10
?
"0"
+
(
24
*
n
+
Math
.
floor
(
t
/
60
/
60
)
%
24
):
24
*
n
+
Math
.
floor
(
t
/
60
/
60
)
%
24
)
+
":"
+
(
Math
.
floor
(
t
/
60
)
%
60
<
10
?
"0"
+
Math
.
floor
(
t
/
60
)
%
60
:
Math
.
floor
(
t
/
60
)
%
60
)
+
":"
+
(
Math
.
floor
(
t
)
%
60
<
10
?
"0"
+
Math
.
floor
(
t
)
%
60
:
Math
.
floor
(
t
)
%
60
)}});
i
.
a
.
polyfill
(),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
S
.
a
,
H
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
r
()(
P
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
P
[
e
])}),
D
.
beforeEach
(
function
(
e
,
t
,
n
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
o
=
window
.
location
.
origin
;
o
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
n
({
path
:
"/index"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
D
,
store
:
b
,
components
:{
App
:
c
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
o
=
{
"./errorPage/403.vue"
:[
"6XGN"
,
8
],
"./errorPage/404.vue"
:[
"AejC"
,
9
],
"./errorPage/500.vue"
:[
"FskK"
,
7
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
6
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./login/index.vue"
:[
"T+/8"
,
0
,
2
],
"./module/home.vue"
:[
"SuWd"
,
0
,
10
],
"./module/index.vue"
:[
"lHhH"
,
0
,
3
],
"./module/second.vue"
:[
"VTBp"
,
0
,
5
],
"./module/third.vue"
:[
"aZ+o"
,
0
,
4
]};
function
r
(
e
){
var
t
=
o
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
r
.
keys
=
function
(){
return
Object
.
keys
(
o
)},
r
.
id
=
"Opzk"
,
e
.
exports
=
r
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.7
fa2275c2969e16a6fed
.js
→
dist/static/js/manifest.7
d65668c2024bd2ffbff
.js
View file @
52a7184a
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
a
){
for
(
var
f
,
i
,
u
,
d
=
0
,
s
=
[];
d
<
r
.
length
;
d
++
)
i
=
r
[
d
],
t
[
i
]
&&
s
.
push
(
t
[
i
][
0
]),
t
[
i
]
=
0
;
for
(
f
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
f
)
&&
(
e
[
f
]
=
c
[
f
]);
for
(
n
&&
n
(
r
,
c
,
a
);
s
.
length
;)
s
.
shift
()();
if
(
a
)
for
(
d
=
0
;
d
<
a
.
length
;
d
++
)
u
=
o
(
o
.
s
=
a
[
d
]);
return
u
};
var
r
=
{},
t
=
{
13
:
0
};
function
o
(
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
,
o
),
t
.
l
=!
0
,
t
.
exports
}
o
.
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
,
o
){
n
=
t
[
e
]
=
[
r
,
o
]});
n
[
2
]
=
r
;
var
c
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
o
.
nc
&&
a
.
setAttribute
(
"nonce"
,
o
.
nc
),
a
.
src
=
o
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"258c0dc8f9a0c39d1b3a"
,
1
:
"80ec7107adf684998411"
,
2
:
"6a514b3660ba50e795d6"
,
3
:
"4162994bc87b6cd26444"
,
4
:
"4e352f0e8625ff4613b6"
,
5
:
"a18f4bbd1c62e45742fe"
,
6
:
"631f8d2a13b795632991"
,
7
:
"6cf36468bc1e382c36b8"
,
8
:
"a22243bef9dc0f14dc45"
,
9
:
"bfd5c30f9e3ee88b551c"
,
10
:
"cf00075cff8327b12715"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
i
,
12
e4
);
function
i
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
i
,
c
.
appendChild
(
a
),
r
},
o
.
m
=
e
,
o
.
c
=
r
,
o
.
d
=
function
(
e
,
n
,
r
){
o
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
o
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
o
.
d
(
n
,
"a"
,
n
),
n
},
o
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
o
.
p
=
"./"
,
o
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
a
){
for
(
var
f
,
i
,
u
,
d
=
0
,
s
=
[];
d
<
r
.
length
;
d
++
)
i
=
r
[
d
],
t
[
i
]
&&
s
.
push
(
t
[
i
][
0
]),
t
[
i
]
=
0
;
for
(
f
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
f
)
&&
(
e
[
f
]
=
c
[
f
]);
for
(
n
&&
n
(
r
,
c
,
a
);
s
.
length
;)
s
.
shift
()();
if
(
a
)
for
(
d
=
0
;
d
<
a
.
length
;
d
++
)
u
=
o
(
o
.
s
=
a
[
d
]);
return
u
};
var
r
=
{},
t
=
{
13
:
0
};
function
o
(
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
,
o
),
t
.
l
=!
0
,
t
.
exports
}
o
.
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
,
o
){
n
=
t
[
e
]
=
[
r
,
o
]});
n
[
2
]
=
r
;
var
c
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
o
.
nc
&&
a
.
setAttribute
(
"nonce"
,
o
.
nc
),
a
.
src
=
o
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"258c0dc8f9a0c39d1b3a"
,
1
:
"80ec7107adf684998411"
,
2
:
"6a514b3660ba50e795d6"
,
3
:
"4162994bc87b6cd26444"
,
4
:
"91e270adc5fb4912fde9"
,
5
:
"b85b2076376dc6559b96"
,
6
:
"631f8d2a13b795632991"
,
7
:
"6cf36468bc1e382c36b8"
,
8
:
"a22243bef9dc0f14dc45"
,
9
:
"bfd5c30f9e3ee88b551c"
,
10
:
"cf00075cff8327b12715"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
i
,
12
e4
);
function
i
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
i
,
c
.
appendChild
(
a
),
r
},
o
.
m
=
e
,
o
.
c
=
r
,
o
.
d
=
function
(
e
,
n
,
r
){
o
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
o
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
o
.
d
(
n
,
"a"
,
n
),
n
},
o
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
o
.
p
=
"./"
,
o
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/module/third.vue
View file @
52a7184a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-12-07 1
5:18:22
* @LastEditTime: 2020-12-07 1
6:38:07
-->
-->
<
template
>
<
template
>
<div
class=
"unreview-wrap common-set-wrap"
>
<div
class=
"unreview-wrap common-set-wrap"
>
...
@@ -16,11 +16,16 @@
...
@@ -16,11 +16,16 @@
<div
class=
"text-right m-b-20"
><el-button
@
click=
"handleAdd('')"
type=
"primary"
>
新增企业关系
</el-button></div>
<div
class=
"text-right m-b-20"
><el-button
@
click=
"handleAdd('')"
type=
"primary"
>
新增企业关系
</el-button></div>
<div
class=
"reviewed-body-content"
>
<div
class=
"reviewed-body-content"
>
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"tableData"
tooltip-effect=
"dark"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"tableData"
tooltip-effect=
"dark"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
label=
"企业名称"
>
<el-table-column
label=
"企业名称"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
enterpriseName
||
'--'
}}
{{
scope
.
row
.
enterpriseName
||
'--'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"企业ID"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
enterpriseId
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"QPS"
show-overflow-tooltip
>
<el-table-column
label=
"QPS"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
count
||
'--'
}}
{{
scope
.
row
.
count
||
'--'
}}
...
...
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