@@ -102,14 +102,9 @@
</el-option>
</el-select>
</template>
- <!-- <template v-else-if="item.dataType == 'longtext'">
- <el-input
- size="small"
- :rows="1"
- type="textarea"
- v-model="tableForm[item.columnName]"
- ></el-input>
- </template> -->
+ <template v-else-if="item.dataType == 'longtext'">
+ <el-input size="small" :rows="1" type="textarea" @change="inputChangeHandler(item.columnName)" v-model="tableForm[item.columnName]"></el-input>
+ </template>
<template v-else>
<el-input size="small" v-model="tableForm[item.columnName]" @change="inputChangeHandler(item.columnName)"></el-input>
@@ -141,7 +141,7 @@
<el-button size="small" type="primary" class="btn-white" @click="btnAddClickHandler(1)">新增</el-button>
</header>
<main class="content">
- <DataTable ref="serviceOutputTable" :data-id="outId" :data-content="{ serviceID: serviceID }" :rows="12" :table-height="computedTableHeight" margin-top="0" :is-btn="false" :is-dialog="true" />
+ <DataTable ref="serviceOutputTable" :data-id="outId" :data-content="{ serviceID: serviceID }" :rows="12" :table-height="computedTableHeight" margin-top="0" :is-btn="false" :is-dialog="true" labelWidth="100px" />
</main>
</div>
<div class="service-table-wrapper service-edit-wrapper">
@@ -1,22 +1,14 @@
<template>
<div class="sourceservice_home">
<div class="wrap">
- <DataTable
- tableHeight="700"
- :data-id="dataId"
- :rows="12"
- labelWidth="110px"
- :showOverflowTooltip="true"
- :minHeight="70"
- width="800px"
- />
+ <DataTable tableHeight="700" :data-id="dataId" :rows="24" labelWidth="110px" :showOverflowTooltip="true" :minHeight="70" width="800px" />
<script>
import DataTable from "@/components/Table";
export default {
- data() {
+ data () {
return {
dataId: 6,
};