Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
br-client
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
755d776c
...
755d776c652b1fd54bbd28d26320038fb10b6bd7
authored
2020-09-18 13:16:58 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
48b29f24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
src/page/tool.vue
src/page/tool.vue
View file @
755d776
...
...
@@ -145,6 +145,16 @@
<el-form-item>
<el-input
placeholder=
"请输入token"
v-model=
"createAPI.token"
clearable
></el-input>
</el-form-item>
<el-form-item>
<el-select
v-model=
"createAPI.huanjing"
placeholder=
"请选择执行环境"
>
<el-option
v-for=
"item in createAPIoptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"createApi"
>
生成参数
</el-button>
...
...
@@ -282,9 +292,17 @@
createAPI
:
{
method
:
''
,
biz_data
:
''
,
uid
:
'5034720'
,
token
:
'oVVeAl2eERPxiU1eY1LXf_nteJusfuDzYFQV3s0zhwRwQt1gyo-W13JiPaxE0msWRHSV_3cCrGXbdLUFZjHmJJrPWj4a1hYY2oTWgD2gbgelxZrHQ9D_U9ms-k7LX9Br8SeYfdhUJImw_x_YTEViMw=='
uid
:
''
,
token
:
''
,
huanjing
:
[]
},
createAPIoptions
:
[{
value
:
'0'
,
label
:
'测试环境'
},
{
value
:
'1'
,
label
:
'线上环境'
}],
dialogCreateApi
:
false
,
myApi
:
''
// activityConfigRules: {
...
...
@@ -441,7 +459,8 @@
method
:
this
.
createAPI
.
method
,
biz_data
:
this
.
createAPI
.
biz_data
,
uid
:
this
.
createAPI
.
uid
,
token
:
this
.
createAPI
.
token
token
:
this
.
createAPI
.
token
,
type
:
this
.
createAPI
.
huanjing
.
toString
()
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
myApi
=
res
.
data
;
...
...
Please
register
or
sign in
to post a comment