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
5ed0dd2b
Commit
5ed0dd2b
authored
Dec 07, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改项目接口
parent
ecadc8bc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
index.html
dist/index.html
+2
-2
app.81ea42fe1f6be72eda658d28aa8be05d.css
dist/static/css/app.81ea42fe1f6be72eda658d28aa8be05d.css
+0
-0
5.5747870075516828f0ec.js
dist/static/js/5.5747870075516828f0ec.js
+0
-2
5.e6a423b66e669f637a1d.js
dist/static/js/5.e6a423b66e669f637a1d.js
+2
-0
manifest.2cee8dd77dcfe9604069.js
dist/static/js/manifest.2cee8dd77dcfe9604069.js
+2
-2
third.vue
src/views/module/third.vue
+5
-5
No files found.
dist/index.html
View file @
5ed0dd2b
<!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.d41cb12a9f2b3d85178c6f759b7cf3dd.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.56b350ef29a90f4676ca.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>
\ 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.81ea42fe1f6be72eda658d28aa8be05d.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.2cee8dd77dcfe9604069.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>
\ No newline at end of file
dist/static/css/app.
d41cb12a9f2b3d85178c6f759b7cf3d
d.css
→
dist/static/css/app.
81ea42fe1f6be72eda658d28aa8be05
d.css
View file @
5ed0dd2b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/5.5747870075516828f0ec.js
deleted
100644 → 0
View file @
ecadc8bc
webpackJsonp
([
5
],{
"013v"
:
function
(
e
,
t
){},
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
(){
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
:{
rateEnterpriseId
:
""
,
eids
:[],
count
:
""
},
rules
:{
eids
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择企业"
,
trigger
:
"blur"
}],
count
:[{
required
:
!
0
,
message
:
"请输入"
,
trigger
:
"blur"
}]},
optionsCopy
:[]}},
methods
:{
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
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
rateId
:
e
.
$route
.
query
.
rateId
,
rateEnterpriseId
:
e
.
ruleForm
.
rateEnterpriseId
,
eids
:
e
.
ruleForm
.
rateEnterpriseId
?
""
:
e
.
ruleForm
.
eids
.
join
(
","
),
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
],
this
.
ruleForm
=
JSON
.
parse
(
n
()(
e
))),
this
.
showAdd
=!
0
},
closeText
:
function
(){
this
.
ruleForm
=
{
rateEnterpriseId
:
""
,
eids
:[],
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
:
"操作"
},
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"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"选择企业"
,
prop
:
"eids"
}},[
r
(
"el-select"
,{
staticClass
:
"w-360"
,
attrs
:{
disabled
:
!!
e
.
ruleForm
.
rateEnterpriseId
,
multiple
:
""
,
placeholder
:
"请选择"
},
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
),
e
.
_v
(
" "
),
r
(
"el-select"
,{
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
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}),
1
)],
1
),
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
m
=
r
(
"VU/8"
)(
d
,
c
,
!
1
,
function
(
e
){
r
(
"013v"
)},
"data-v-0b7e5732"
,
null
);
t
.
default
=
m
.
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/5.e6a423b66e669f637a1d.js
0 → 100644
View file @
5ed0dd2b
webpackJsonp
([
5
],{
DDKZ
:
function
(
e
,
t
){},
DOg1
:
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"
),
c
=
{
name
:
"unreview"
,
components
:{
navCrumb
:
s
.
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
:
"/second?moudleId="
+
this
.
$route
.
query
.
moudleId
},{
name
:
"企业关系"
,
path
:
""
}],
loading
:
!
1
,
tableData
:[],
options
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
showAdd
:
!
1
,
ruleForm
:{
rateEnterpriseId
:
""
,
eids
:[],
count
:
""
},
rules
:{
eids
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择企业"
,
trigger
:
"blur"
}],
count
:[{
required
:
!
0
,
message
:
"请输入"
,
trigger
:
"blur"
}]},
optionsCopy
:[]}},
methods
:{
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
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
rateId
:
e
.
$route
.
query
.
rateId
,
rateEnterpriseId
:
e
.
ruleForm
.
rateEnterpriseId
,
eids
:
e
.
ruleForm
.
rateEnterpriseId
?
""
:
e
.
ruleForm
.
eids
.
join
(
","
),
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
],
this
.
ruleForm
=
JSON
.
parse
(
n
()(
e
))),
this
.
showAdd
=!
0
},
closeText
:
function
(){
this
.
ruleForm
=
{
rateEnterpriseId
:
""
,
eids
:[],
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
()}},
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
:
"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
:
"操作"
},
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"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"选择企业"
,
prop
:
"eids"
}},[
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
.
_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
m
=
r
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
r
(
"DOg1"
)},
"data-v-5c0bd5dc"
,
null
);
t
.
default
=
m
.
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/manifest.
56b350ef29a90f4676ca
.js
→
dist/static/js/manifest.
2cee8dd77dcfe9604069
.js
View file @
5ed0dd2b
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
a
){
for
(
var
f
,
i
,
u
,
s
=
0
,
d
=
[];
s
<
r
.
length
;
s
++
)
i
=
r
[
s
],
t
[
i
]
&&
d
.
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
);
d
.
length
;)
d
.
shift
()();
if
(
a
)
for
(
s
=
0
;
s
<
a
.
length
;
s
++
)
u
=
o
(
o
.
s
=
a
[
s
]);
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
:
"5747870075516828f0ec"
,
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
!
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
:
"e6a423b66e669f637a1d"
,
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
src/views/module/third.vue
View file @
5ed0dd2b
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-12-07 10:
07:41
* @LastEditTime: 2020-12-07 10:
11:12
-->
<
template
>
<div
class=
"unreview-wrap common-set-wrap"
>
...
...
@@ -52,11 +52,11 @@
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"选择企业"
prop=
"eids"
>
<!-- <el-input v-model="ruleForm.name" placeholder="请输入企业关系"></el-input> -->
<el-select
class=
"w-360"
:disabled=
"ruleForm.rateEnterpriseId ? true : false"
multiple
v-model=
"ruleForm.eids"
placeholder=
"请选择"
>
<!-- <el-select class="w-360" :disabled="ruleForm.rateEnterpriseId ? true : false" multiple v-model="ruleForm.eids" placeholder="请选择">
<el-option v-for="item in options" :key="item.enterpriseId" :label="item.enterpriseName" :value="item.enterpriseId"> </el-option>
</el-select> -->
<el-select
class=
"w-360"
:disabled=
"ruleForm.rateEnterpriseId ? true : false"
v-model=
"ruleForm.eids"
multiple
filterable
remote
reserve-keyword
placeholder=
"请输入企业名称搜索"
:remote-method=
"remoteMethod"
:loading=
"loading"
>
<el-option
v-for=
"item in options"
:key=
"item.enterpriseId"
:label=
"item.enterpriseName"
:value=
"item.enterpriseId"
>
</el-option>
</el-select>
<el-select
:disabled=
"ruleForm.rateEnterpriseId ? true : false"
v-model=
"ruleForm.eids"
multiple
filterable
remote
reserve-keyword
placeholder=
"请输入企业名称搜索"
:remote-method=
"remoteMethod"
:loading=
"loading"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"QPS"
prop=
"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