|
@@ -7,14 +7,14 @@
|
|
<el-input v-if="formConfig.htmlType == 'textarea'" type="textarea" v-model="config[formConfig.columnName]"
|
|
<el-input v-if="formConfig.htmlType == 'textarea'" type="textarea" v-model="config[formConfig.columnName]"
|
|
:placeholder="'请输入'+formConfig.columnComment" clearable @keyup.enter.native="handleQuery" />
|
|
:placeholder="'请输入'+formConfig.columnComment" clearable @keyup.enter.native="handleQuery" />
|
|
<!-- 下拉框 -->
|
|
<!-- 下拉框 -->
|
|
- <el-select v-model="config[formConfig.columnName]" v-if="formConfig.htmlType == 'select'&&(!formConfig.fkInfo.fkTableName)"
|
|
|
|
|
|
+ <el-select v-model="config[formConfig.columnName]" v-if="formConfig.htmlType == 'select'&&(!formConfig.fkInfo)"
|
|
filterable :placeholder="'请输入'+formConfig.columnComment">
|
|
filterable :placeholder="'请输入'+formConfig.columnComment">
|
|
<el-option v-for="itemChild in formConfig.sysDictData" :key="itemChild.dictValue" :label="itemChild.dictLabel"
|
|
<el-option v-for="itemChild in formConfig.sysDictData" :key="itemChild.dictValue" :label="itemChild.dictLabel"
|
|
:value="itemChild.dictValue">
|
|
:value="itemChild.dictValue">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
<!-- 下拉框搜索 -->
|
|
<!-- 下拉框搜索 -->
|
|
- <el-select v-model="config[formConfig.columnName]" v-if="formConfig.htmlType == 'select'&&(formConfig.fkInfo.fkTableName)"
|
|
|
|
|
|
+ <el-select v-model="config[formConfig.columnName]" v-if="formConfig.htmlType == 'select'&&(formConfig.fkInfo )"
|
|
filterable remote :remote-method="remoteMethod" :loading="loading" :placeholder="'请输入'+formConfig.columnComment">
|
|
filterable remote :remote-method="remoteMethod" :loading="loading" :placeholder="'请输入'+formConfig.columnComment">
|
|
<el-option v-for="itemChild in filterList" :key="itemChild.table_id" :label="itemChild.table_name" :value="itemChild.table_id">
|
|
<el-option v-for="itemChild in filterList" :key="itemChild.table_id" :label="itemChild.table_name" :value="itemChild.table_id">
|
|
</el-option>
|
|
</el-option>
|