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
d2771de3
Commit
d2771de3
authored
Feb 11, 2022
by
王晓铜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提测说明sql显示问题
parent
599cdf9c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
DetailTestDescription.vue
src/views/qa/DetailTestDescription.vue
+12
-6
TestDescription.vue
src/views/qa/TestDescription.vue
+7
-2
No files found.
src/views/qa/DetailTestDescription.vue
View file @
d2771de3
...
...
@@ -133,7 +133,7 @@
@
click=
"addApolloListRow()"
>
添加行
</el-button>
</el-form-item>
<!-- 数据库变更 -->
<el-form-item
label=
"数据库变更:"
>
<el-form-item
label=
"数据库变更
1111
:"
>
<el-table
:data=
"databaseList"
border
style=
"width:95%"
>
<el-table-column
label=
"数据库名称"
width=
"210"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -145,8 +145,9 @@
</el-table-column>
<el-table-column
label=
"sql"
clearable
>
<
template
slot-scope=
"scope"
>
<el-input
v-model.trim=
"scope.row.sql"
type=
"textarea"
autosize
>
</el-input>
<!--
<el-input
v-model.trim=
"scope.row.sql"
type=
"textarea"
:row=
"20"
>
</el-input>
-->
<textarea
v-model.trim=
"scope.row.sql"
class=
'text-style'
:rows=
"8"
></textarea>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"80px"
>
...
...
@@ -331,6 +332,7 @@ export default {
this
.
addTestDescriptionForm
.
database
=
JSON
.
stringify
(
this
.
databaseList
)
console
.
log
(
'
eee
'
,
this
.
addTestDescriptionForm
)
editTestDescription
(
this
.
addTestDescriptionForm
).
then
((
resp
)
=>
{
if
(
resp
.
data
.
businessCode
===
'
0000
'
)
{
this
.
$message
.
success
(
'
编辑成功!
'
)
...
...
@@ -457,4 +459,8 @@ export default {
// left: 0;
box-sizing: border-box;
}
.text-style {
width:1100px;
color:-internal-light-dark(#EBEAEA, white);
}
</
style
>
src/views/qa/TestDescription.vue
View file @
d2771de3
...
...
@@ -165,8 +165,9 @@
</el-table-column>
<el-table-column
label=
"sql"
clearable
>
<
template
slot-scope=
"scope"
>
<el-input
v-model.trim=
"scope.row.sql"
type=
"textarea"
autosize
>
</el-input>
<!--
<el-input
v-model.trim=
"scope.row.sql"
type=
"textarea"
autosize
>
</el-input>
-->
<textarea
v-model.trim=
"scope.row.sql"
class=
'text-style'
:rows=
"8"
></textarea>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"80px"
>
...
...
@@ -527,4 +528,8 @@ export default {
.input-style {
width: 95%;
}
.text-style {
width:800px;
color:-internal-light-dark(#EBEAEA, white);
}
</
style
>
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