|
@@ -16,7 +16,7 @@
|
|
|
{{if eq $column.HtmlType "input"}}
|
|
{{if eq $column.HtmlType "input"}}
|
|
|
<el-form-item label="{{$comment}}" prop="{{$column.ColumnName}}">
|
|
<el-form-item label="{{$comment}}" prop="{{$column.ColumnName}}">
|
|
|
<el-input
|
|
<el-input
|
|
|
- v-model="queryParams.{$column.ColumnName}}"
|
|
|
|
|
|
|
+ v-model="queryParams.{{$column.ColumnName}}"
|
|
|
placeholder="请输入{{$comment}}"
|
|
placeholder="请输入{{$comment}}"
|
|
|
clearable
|
|
clearable
|
|
|
size="small"
|
|
size="small"
|
|
@@ -262,7 +262,7 @@ export default {
|
|
|
{{range $index,$column := $columns}}
|
|
{{range $index,$column := $columns}}
|
|
|
{{$velocityCount := add $index 1}}
|
|
{{$velocityCount := add $index 1}}
|
|
|
{{if eq $column.IsQuery "1"}}
|
|
{{if eq $column.IsQuery "1"}}
|
|
|
- {{$column.ColumnName}}: null
|
|
|
|
|
|
|
+ {{$column.ColumnName}}: null,
|
|
|
{{end}}
|
|
{{end}}
|
|
|
{{end}}
|
|
{{end}}
|
|
|
},
|
|
},
|
|
@@ -362,7 +362,7 @@ export default {
|
|
|
handleUpdate(row) {
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
this.reset();
|
|
|
const {{$pkColumnName}} = row.{{$pkColumnName}} || this.ids
|
|
const {{$pkColumnName}} = row.{{$pkColumnName}} || this.ids
|
|
|
- get{{.table.BusinessName}}({{$pkColumnName}}).then(response => {
|
|
|
|
|
|
|
+ get{{.table.BusinessName|UcFirst}}({{$pkColumnName}}).then(response => {
|
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
|
{{range $index,$column := $columns}}
|
|
{{range $index,$column := $columns}}
|
|
|
{{if eq $column.HtmlType "checkbox"}}
|
|
{{if eq $column.HtmlType "checkbox"}}
|