Commit d2771de3 authored by 王晓铜's avatar 王晓铜

修改提测说明sql显示问题

parent 599cdf9c
......@@ -66,7 +66,7 @@
</el-form-item>
<!-- 服务及分支 -->
<el-form-item label="服务及分支:">
<el-table :data="serviceAndBranchList" border style="width:95%">
<el-table :data="serviceAndBranchList" border style="width:95%">
<el-table-column label="服务名称" width="250">
<template slot-scope="scope">
<el-select v-model="scope.row.serviceName" filterable allow-create placeholder="请选择服务"
......@@ -101,7 +101,7 @@
</el-form-item>
<!-- apollo变更 -->
<el-form-item label="apollo变更:">
<el-table :data="apolloList" border style="width:95%">
<el-table :data="apolloList" border style="width:95%">
<el-table-column label="项目名称" width="230">
<template slot-scope="scope">
<el-select v-model="scope.row.projectName" placeholder="请选择项目" filterable clearable>
......@@ -133,8 +133,8 @@
@click="addApolloListRow()">添加行</el-button>
</el-form-item>
<!-- 数据库变更 -->
<el-form-item label="数据库变更:">
<el-table :data="databaseList" border style="width:95%">
<el-form-item label="数据库变更1111:">
<el-table :data="databaseList" border style="width:95%">
<el-table-column label="数据库名称" width="210">
<template slot-scope="scope">
<el-select v-model="scope.row.db" placeholder="请选择" filterable clearable allow-create>
......@@ -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>
......@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment