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
7551b1b5
Commit
7551b1b5
authored
Jan 06, 2022
by
王晓铜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提测说明数据库可输入
parent
8199ee25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
DetailTestDescription.vue
src/views/qa/DetailTestDescription.vue
+1
-1
TestDescription.vue
src/views/qa/TestDescription.vue
+7
-10
No files found.
src/views/qa/DetailTestDescription.vue
View file @
7551b1b5
...
...
@@ -138,7 +138,7 @@
<el-table
:data=
"databaseList"
border
class=
"table-style"
style=
"width:95%"
>
<el-table-column
label=
"数据库名称"
width=
"210"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.db"
placeholder=
"请选择"
filterable
clearable
>
<el-select
v-model=
"scope.row.db"
placeholder=
"请选择"
filterable
clearable
allow-create
>
<el-option
v-for=
"item in queryDataBaseList"
:key=
"item"
:label=
"item"
:value=
"item"
>
</el-option>
</el-select>
...
...
src/views/qa/TestDescription.vue
View file @
7551b1b5
...
...
@@ -158,7 +158,7 @@
<el-table
:data=
"databaseList"
border
class=
"table-style"
>
<el-table-column
label=
"数据库名称"
width=
"210"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.db"
placeholder=
"请选择"
filterable
clearable
>
<el-select
v-model=
"scope.row.db"
placeholder=
"请选择"
filterable
clearable
allow-create
>
<el-option
v-for=
"item in queryDataBaseList"
:key=
"item"
:label=
"item"
:value=
"item"
>
</el-option>
</el-select>
...
...
@@ -390,16 +390,18 @@ export default {
},
// 保存数据按钮
addTestDescriptionFrom
()
{
// 判断添加的数据是否有重复
// console.log('888', this.databaseList)
// var newDatabaseList = []
// this.database.forEach((element) => {
// if()
// })
// 将数组对象转化为Json字符串
this
.
addTestDescriptionForm
.
serviceAndBranch
=
JSON
.
stringify
(
this
.
serviceAndBranchList
)
this
.
addTestDescriptionForm
.
apollo
=
JSON
.
stringify
(
this
.
apolloList
)
this
.
addTestDescriptionForm
.
database
=
JSON
.
stringify
(
this
.
databaseList
)
console
.
log
(
'
88888
'
,
this
.
addTestDescriptionForm
)
this
.
$refs
.
addTestDescriptionRef
.
validate
((
valid
)
=>
{
if
(
!
valid
)
{
return
false
...
...
@@ -477,11 +479,6 @@ export default {
},
// 详情按钮
openPreviewDialog
(
row
)
{
// this.$router.push('/qa/detailTestDescription?')
// this.$nextTick(function () {
// // DOM 现在更新了
// bus.$emit('msg', row)
// })
this
.
$router
.
push
({
path
:
`/qa/detailTestDescription`
,
query
:
{
...
...
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