| | |
| | | #end |
| | | #if($column.htmlType == "input" || $column.htmlType == "textarea") |
| | | <el-form-item label="${comment}" prop="${column.javaField}"> |
| | | <el-input v-model="queryParams.${column.javaField}" placeholder="请输入${comment}" clearable @keyup.enter="handleQuery" /> |
| | | <el-input v-model="queryParams.${column.javaField}" placeholder="请输入${comment}" clearable style="width: 240px" @keyup.enter="handleQuery" /> |
| | | </el-form-item> |
| | | #elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType) |
| | | <el-form-item label="${comment}" prop="${column.javaField}"> |
| | |
| | | if (row != null) { |
| | | form.value.${treeParentCode} = row.${treeParentCode}; |
| | | } |
| | | const res = await get${BusinessName}(row.${treeCode}); |
| | | const res = await get${BusinessName}(row.${pkColumn.javaField}); |
| | | Object.assign(form.value, res.data); |
| | | #foreach ($column in $columns) |
| | | #if($column.htmlType == "checkbox") |