|
@@ -36,6 +36,13 @@
|
|
|
<div class="table-yl-content">
|
|
|
<el-table class="table" :data="tableDataCopys" stripe border @header-click="headerClick" style="width: 100%">
|
|
|
<el-table-column v-for="(item,index) in tableData" :key="index" :prop="item.columnName" :label="item.columnLabel">
|
|
|
+ <template #header>
|
|
|
+ <span class="colTips">
|
|
|
+ <el-tooltip :content="item.columnLabel" placement="top">
|
|
|
+ <span>{{ item.columnLabel }}</span>
|
|
|
+ </el-tooltip>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<el-form style="margin-top: 30px;" ref="form" :model="tableForm" label-width="40px">
|
|
@@ -118,7 +125,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item class="flex1" label-width="80px" label="查询项">
|
|
|
+ <el-form-item class="flex1" label-width="60px" label="查询项">
|
|
|
<el-select size="small" clearable v-model="tableForm.is_search" placeholder="请选择是否查询项">
|
|
|
<el-option label="是" value="1"></el-option>
|
|
|
<el-option label="否" value="0"></el-option>
|
|
@@ -126,6 +133,13 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-row :gutter="20">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label-width="70px" class="flex1" label="默认参数">
|
|
|
+ <el-input size="small" clearable placeholder="请输入默认参数" v-model="tableForm.default_query_parameters"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -256,7 +270,8 @@ export default {
|
|
|
needCount: "",
|
|
|
orderNumber: "",
|
|
|
needSearch: "",
|
|
|
- is_search: ''
|
|
|
+ is_search: '',
|
|
|
+ default_query_parameters: ''
|
|
|
},
|
|
|
tableData: [],
|
|
|
tableDataCopys: [],
|
|
@@ -420,6 +435,7 @@ export default {
|
|
|
.cell {
|
|
|
text-align: center;
|
|
|
color: #333;
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
|
}
|
|
|
}
|