Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform-ui
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
qa-platform-ui
Commits
01f08328
Commit
01f08328
authored
Apr 16, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改module字段错误问题
parent
8f5c55f4
Pipeline
#872
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Mock.vue
src/views/mock/Mock.vue
+5
-5
No files found.
src/views/mock/Mock.vue
View file @
01f08328
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"所属模块"
>
<el-form-item
label=
"所属模块"
>
<el-select
v-model=
"addMockForm.mod
lu
e"
placeholder=
"模块"
clearable
>
<el-select
v-model=
"addMockForm.mod
ul
e"
placeholder=
"模块"
clearable
>
<el-option
v-for=
"item in moduleList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in moduleList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"所属模块"
>
<el-form-item
label=
"所属模块"
>
<el-select
v-model=
"editMockForm.mod
lu
e"
placeholder=
"模块"
clearable
>
<el-select
v-model=
"editMockForm.mod
ul
e"
placeholder=
"模块"
clearable
>
<el-option
v-for=
"item in moduleList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in moduleList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -179,7 +179,7 @@ export default {
...
@@ -179,7 +179,7 @@ export default {
queryModuleList
:
{
queryModuleList
:
{
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
10
,
pageSize
:
10
,
mod
lu
e
:
''
mod
ul
e
:
''
},
},
moduleList
:
[],
moduleList
:
[],
selectModule
:
''
,
selectModule
:
''
,
...
@@ -230,7 +230,7 @@ export default {
...
@@ -230,7 +230,7 @@ export default {
},
},
// 选中模块变化时
// 选中模块变化时
selectModuleChange
()
{
selectModuleChange
()
{
this
.
queryModuleList
.
mod
lu
e
=
this
.
selectModule
this
.
queryModuleList
.
mod
ul
e
=
this
.
selectModule
},
},
// 获取mock列表
// 获取mock列表
getMockList
()
{
getMockList
()
{
...
@@ -274,7 +274,7 @@ export default {
...
@@ -274,7 +274,7 @@ export default {
this
.
editMockForm
.
flag
=
String
(
row
.
flag
)
this
.
editMockForm
.
flag
=
String
(
row
.
flag
)
this
.
editMockForm
.
type
=
row
.
type
this
.
editMockForm
.
type
=
row
.
type
this
.
editMockForm
.
encrypt
=
row
.
encrypt
this
.
editMockForm
.
encrypt
=
row
.
encrypt
this
.
editMockForm
.
module
=
row
.
mod
lu
e
this
.
editMockForm
.
module
=
row
.
mod
ul
e
},
},
// 修改mock
// 修改mock
editMock
()
{
editMock
()
{
...
...
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