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

fix: 部件name --f2

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