提交 c183d531 编写于 作者: WodahsOrez's avatar WodahsOrez

fix: 部件name --f2

上级 5cb92d59
......@@ -55,16 +55,20 @@ const collapsedChange = () => {
<AppUser/>
</template>
<template #menu>
<{{#page.ctrls}}{{#eq controlType "APPMENU"}}{{codeName}}Menu{{/eq}}{{/page.ctrls}}
{{#page.ctrls}}
{{#eq controlType "APPMENU"}}
<{{codeName}}Menu
ref="menu"
name={{name}}
name="{{name}}"
:context="state.context"
:collapsed="collapsed"
:menuAlign="state.menuAlign"
:defaultView="state.defaultView"
:viewParams="state.viewParams"
:viewSubject="state.viewSubject"
></{{#page.ctrls}}{{#eq controlType "APPMENU"}}{{codeName}}Menu{{/eq}}{{/page.ctrls}}>
></{{codeName}}Menu>
{{/eq}}
{{/page.ctrls}}
</template>
<template #router>
<router-view />
......
......@@ -57,7 +57,7 @@ const { state, form, onToolbarEvent } = new EditView(viewState, props, emit).mod
{{#eq controlType "FORM"}}
<{{codeName}}Form
ref="form"
name={{name}}
name="{{name}}"
:showBusyIndicator="true"
:context="state.context"
:viewParams="state.viewParams"
......
......@@ -72,7 +72,7 @@ const { state, grid, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
<template #content>
<{{codeName}}SearchForm
v-if="state.expandSearchForm"
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -88,7 +88,7 @@ const { state, grid, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
<template v-slot:searchForm>
<{{codeName}}SearchForm
v-if="state.expandSearchForm"
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -101,7 +101,7 @@ const { state, grid, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
{{#if (and (eq controlType "SEARCHFORM") (eq name 'quicksearchform'))}}
<template v-slot:quickSearchForm>
<{{codeName}}QuickSearchForm
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -120,7 +120,7 @@ const { state, grid, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
{{#eq controlType "GRID"}}
<{{codeName}}Grid
ref="grid"
name={{name}}
name="{{name}}"
:context="state.context"
:rowEditState="state.rowEditState"
:rowActiveMode="state.gridRowActiveMode"
......
......@@ -53,7 +53,7 @@ const { state, onCancel, onConfirm, onCtrlEvent, useSelections, onMoveRight, onM
{{#page.ctrls}}
{{#eq controlType "PICKUPVIEWPANEL"}}
<{{codeName}}PickupViewPanel
name={{name}}
name="{{name}}"
:context="state.context"
:rowEditState="state.rowEditState"
:rowActiveMode="state.gridRowActiveMode"
......
......@@ -65,7 +65,7 @@ const { state, grid, onCtrlEvent, onQuickGroupEvent, onQuickSearchEvent } = new
<template #content>
<{{codeName}}SearchForm
v-if="state.expandSearchForm"
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -81,7 +81,7 @@ const { state, grid, onCtrlEvent, onQuickGroupEvent, onQuickSearchEvent } = new
<template v-slot:searchForm>
<{{codeName}}SearchForm
v-if="state.expandSearchForm"
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -94,7 +94,7 @@ const { state, grid, onCtrlEvent, onQuickGroupEvent, onQuickSearchEvent } = new
{{#if (and (eq controlType "SEARCHFORM") (eq name 'quicksearchform'))}}
<template v-slot:quickSearchForm>
<{{codeName}}QuickSearchForm
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -106,7 +106,7 @@ const { state, grid, onCtrlEvent, onQuickGroupEvent, onQuickSearchEvent } = new
{{#eq controlType "GRID"}}
<{{codeName}}Grid
ref="grid"
name={{name}}
name="{{name}}"
:context="state.context"
:multiple="false"
:rowEditState="state.rowEditState"
......
......@@ -48,7 +48,7 @@ const { state, onCancel, onConfirm, onCtrlEvent, selectData } = new PickupView(v
{{/eq}}
{{#eq controlType "PICKUPVIEWPANEL"}}
<{{codeName}}PickupViewPanel
name={{name}}
name="{{name}}"
:context="state.context"
:rowEditState="state.rowEditState"
:rowActiveMode="state.gridRowActiveMode"
......
......@@ -45,7 +45,7 @@ const { state, onCtrlEvent, onToolbarEvent } = new TreeExpView(viewState, props,
{{/eq}}
{{#eq controlType "TREEEXPBAR"}}
<{{codeName}}TreeExpBar
name={{name}}
name="{{name}}"
:context="state.context"
:showBusyIndicator="true"
:viewParams="state.viewParams"
......
......@@ -71,7 +71,7 @@ const { state, tree, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
<template #content>
<{{codeName}}SearchForm
v-if="state.expandSearchForm"
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -87,7 +87,7 @@ const { state, tree, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
<template v-slot:searchForm>
<{{codeName}}SearchForm
v-if="state.expandSearchForm"
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -100,7 +100,7 @@ const { state, tree, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
{{#if (and (eq controlType "SEARCHFORM") (eq name 'quicksearchform'))}}
<template v-slot:quickSearchForm>
<{{codeName}}QuickSearchForm
name={{name}}
name="{{name}}"
:context="state.context"
:viewParams="state.viewParams"
:controlAction="state.{{camelCase name}}.action"
......@@ -112,7 +112,7 @@ const { state, tree, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
{{#eq controlType "SEARCHBAR"}}
<template v-slot:searchBar>
<{{codeName}}SearchBar
name={{name}}
name="{{name}}"
:controlAction="state.{{camelCase name}}.action"
:viewSubject="state.viewSubject"/>
</template>
......@@ -120,7 +120,7 @@ const { state, tree, onCtrlEvent, onToolbarEvent, onQuickGroupEvent, onQuickSear
{{#eq controlType "TREEVIEW"}}
<{{codeName}}Tree
ref="tree"
name={{name}}
name="{{name}}"
:context="state.context"
:showBusyIndicator="true"
:viewParams="state.viewParams"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册