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
68ed8219
Commit
68ed8219
authored
Dec 04, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改项目接口
parent
7f8b2c93
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
index.html
dist/index.html
+2
-2
app.70b71ec5d6637e1fe9d10eb42f273533.css
dist/static/css/app.70b71ec5d6637e1fe9d10eb42f273533.css
+0
-0
9.2635b82d1c25c98ee187.js
dist/static/js/9.2635b82d1c25c98ee187.js
+0
-2
9.a5b88415e2cb02a41714.js
dist/static/js/9.a5b88415e2cb02a41714.js
+2
-0
manifest.0ac0be69ec69fa4aecf1.js
dist/static/js/manifest.0ac0be69ec69fa4aecf1.js
+2
-2
second.vue
src/views/module/second.vue
+2
-2
No files found.
dist/index.html
View file @
68ed8219
<!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.9275742d838cb5ab4eb847b09f530d3b.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.56a1914f3c1d96c5ba74.js
></script><script
type=
text/javascript
src=
./static/js/vendor.974b345fdbbde7ef3fff.js
></script><script
type=
text/javascript
src=
./static/js/app.4d09775eda1c4bce7dc3.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
限流控制管理平台
</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.70b71ec5d6637e1fe9d10eb42f273533.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.0ac0be69ec69fa4aecf1.js
></script><script
type=
text/javascript
src=
./static/js/vendor.974b345fdbbde7ef3fff.js
></script><script
type=
text/javascript
src=
./static/js/app.4d09775eda1c4bce7dc3.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
9275742d838cb5ab4eb847b09f530d3b
.css
→
dist/static/css/app.
70b71ec5d6637e1fe9d10eb42f273533
.css
View file @
68ed8219
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/9.2635b82d1c25c98ee187.js
deleted
100644 → 0
View file @
7f8b2c93
webpackJsonp
([
9
],{
JfxW
:
function
(
e
,
t
){},
VTBp
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
s
=
r
(
"3E4D"
),
n
=
r
(
"Ch4/"
),
l
=
r
(
"PI0u"
),
i
=
r
(
"P9l9"
),
u
=
{
name
:
"unreview"
,
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
:
""
,
filterValue
:
""
,
filterBrand
:
""
,
brandOptions
:[],
searchValue
:
""
,
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
)},
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
(
i
.
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
()):
n
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAdd
:
function
(
e
){
e
&&
(
this
.
ruleForm
=
JSON
.
parse
(
o
()(
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
(
i
.
b
)(
"/redis-limiter-web/redislimiter/save-rate"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
currentPage
=
1
,
void
t
.
getTableList
();
n
.
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
(
i
.
a
)(
"/redis-limiter-web/redislimiter/list-rate"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
t
.
loading
=!
1
,
1
!=
r
.
errorCode
?
n
.
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
()},
components
:{}},
d
=
{
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
:
"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
c
=
r
(
"VU/8"
)(
u
,
d
,
!
1
,
function
(
e
){
r
(
"JfxW"
)},
"data-v-7bdc0627"
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/9.a5b88415e2cb02a41714.js
0 → 100644
View file @
68ed8219
webpackJsonp
([
9
],{
VTBp
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
s
=
r
(
"3E4D"
),
n
=
r
(
"Ch4/"
),
l
=
r
(
"PI0u"
),
i
=
r
(
"P9l9"
),
u
=
{
name
:
"unreview"
,
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
:
""
,
filterValue
:
""
,
filterBrand
:
""
,
brandOptions
:[],
searchValue
:
""
,
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
)},
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
(
i
.
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
()):
n
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAdd
:
function
(
e
){
e
&&
(
this
.
ruleForm
=
JSON
.
parse
(
o
()(
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
(
i
.
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
();
n
.
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
(
i
.
a
)(
"/redis-limiter-web/redislimiter/list-rate"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
t
.
loading
=!
1
,
1
!=
r
.
errorCode
?
n
.
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
()},
components
:{}},
d
=
{
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
:
"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
c
=
r
(
"VU/8"
)(
u
,
d
,
!
1
,
function
(
e
){
r
(
"ivvj"
)},
"data-v-a5b3a01e"
,
null
);
t
.
default
=
c
.
exports
},
ivvj
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.
56a1914f3c1d96c5ba74
.js
→
dist/static/js/manifest.
0ac0be69ec69fa4aecf1
.js
View file @
68ed8219
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
a
){
for
(
var
i
,
u
,
f
,
d
=
0
,
s
=
[];
d
<
r
.
length
;
d
++
)
u
=
r
[
d
],
t
[
u
]
&&
s
.
push
(
t
[
u
][
0
]),
t
[
u
]
=
0
;
for
(
i
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
i
)
&&
(
e
[
i
]
=
c
[
i
]);
for
(
n
&&
n
(
r
,
c
,
a
);
s
.
length
;)
s
.
shift
()();
if
(
a
)
for
(
d
=
0
;
d
<
a
.
length
;
d
++
)
f
=
o
(
o
.
s
=
a
[
d
]);
return
f
};
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
:
"0b6ec94b090312be1b81"
,
5
:
"16127872576e4b1a2c5d"
,
6
:
"0cc90d579248bd729bc5"
,
7
:
"43b6f1b174996571bc20"
,
8
:
"58bef8eaa4febf2775fd"
,
9
:
"2635b82d1c25c98ee187"
,
10
:
"74021554859f0147df4e"
}[
e
]
+
".js"
;
var
i
=
setTimeout
(
u
,
12
e4
);
function
u
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
i
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
u
,
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
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
a
){
for
(
var
i
,
u
,
f
,
b
=
0
,
d
=
[];
b
<
r
.
length
;
b
++
)
u
=
r
[
b
],
t
[
u
]
&&
d
.
push
(
t
[
u
][
0
]),
t
[
u
]
=
0
;
for
(
i
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
i
)
&&
(
e
[
i
]
=
c
[
i
]);
for
(
n
&&
n
(
r
,
c
,
a
);
d
.
length
;)
d
.
shift
()();
if
(
a
)
for
(
b
=
0
;
b
<
a
.
length
;
b
++
)
f
=
o
(
o
.
s
=
a
[
b
]);
return
f
};
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
:
"0b6ec94b090312be1b81"
,
5
:
"16127872576e4b1a2c5d"
,
6
:
"0cc90d579248bd729bc5"
,
7
:
"43b6f1b174996571bc20"
,
8
:
"58bef8eaa4febf2775fd"
,
9
:
"a5b88415e2cb02a41714"
,
10
:
"74021554859f0147df4e"
}[
e
]
+
".js"
;
var
i
=
setTimeout
(
u
,
12
e4
);
function
u
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
i
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
u
,
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
src/views/module/second.vue
View file @
68ed8219
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-12-04 16:
14:28
* @LastEditTime: 2020-12-04 16:
43:13
-->
<
template
>
<div
class=
"unreview-wrap common-set-wrap"
>
...
...
@@ -228,7 +228,7 @@ export default {
let
para
=
{
rateId
:
item
.
rateId
};
postRequest
(
'/redis-limiter-web/redislimiter/
save
-rate'
,
para
)
postRequest
(
'/redis-limiter-web/redislimiter/
del
-rate'
,
para
)
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
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