Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qahome-diamond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qahome-diamond
Commits
b2a16980
Commit
b2a16980
authored
Jul 23, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wechat
parent
fcbabc9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
envDetail.vue
src/views/docker/envDetail.vue
+17
-0
No files found.
src/views/docker/envDetail.vue
View file @
b2a16980
...
...
@@ -271,6 +271,17 @@
</el-col>
</el-row>
<div
v-show=
"is_wechat"
>
<p
class=
"title-sub"
>
是否微信模式
<span
style=
"font-size: 12px"
>
(测试微信时选择是)
</span></p>
<el-row
:gutter=
"20"
>
<el-col
:span=
"14"
>
<el-select
v-model=
"wechat.key"
filterable
clearable
class=
"elSelect"
placeholder=
"请选择是否微信模式,测试微信时选择是"
>
<el-option
v-for=
"item in debugOptions"
:key=
"item.key"
:label=
"item.display_name"
:value=
"item.key"
/>
</el-select>
</el-col>
</el-row>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"createClusterService"
>
确 定
</el-button>
...
...
@@ -371,6 +382,7 @@ export default {
],
debug
:
{},
mock
:
{},
wechat
:
{},
centerDialogVisible
:
false
,
namespace
:
null
,
tableData
:
[],
...
...
@@ -379,6 +391,7 @@ export default {
FormatTabledata
:
{},
reponame
:
''
,
is_show
:
false
,
is_wechat
:
false
,
is_mock
:
false
,
mysqlName
:
''
,
typeList
:
[],
...
...
@@ -458,8 +471,10 @@ export default {
this
.
options
=
[]
this
.
tagOptions
=
[]
this
.
is_show
=
false
this
.
is_wechat
=
false
this
.
is_mock
=
false
this
.
debug
=
{
key
:
'
"0"
'
,
display_name
:
'
否
'
}
this
.
wechat
=
{
key
:
'
"0"
'
,
display_name
:
'
否
'
}
this
.
mock
=
{
key
:
'
"0"
'
,
display_name
:
'
否
'
}
fetchUserrepository
({
'
namespace
'
:
'
qa-
'
+
label
}).
then
(
res
=>
{
this
.
options
=
res
.
data
.
repoInfo
...
...
@@ -470,6 +485,7 @@ export default {
getTag
()
{
const
realName
=
this
.
reponame
.
split
(
'
/
'
)[
1
]
this
.
is_show
=
realName
===
'
mysql
'
this
.
is_wechat
=
realName
===
'
h5-ui
'
this
.
is_mock
=
realName
===
'
gu-bei
'
||
realName
===
'
clotho
'
getHostName
({
project_name
:
this
.
reponame
.
split
(
'
/
'
)[
1
]
}).
then
(
res
=>
{
if
(
res
.
data
)
{
...
...
@@ -499,6 +515,7 @@ export default {
type
:
this
.
type
,
domain
:
this
.
domain
.
split
(
'
.
'
)[
0
],
debug
:
this
.
debug
.
key
,
wechat
:
this
.
wechat
.
key
,
mock
:
this
.
mock
.
key
}).
then
(
res
=>
{
this
.
$message
({
...
...
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