Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
abe9092e
提交
abe9092e
编写于
1月 28, 2022
作者:
WodahsOrez
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 报错修复
上级
41e90bc5
变更
20
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
41 行增加
和
36 行删除
+41
-36
auto-complete.hbs
...urces/templ/r7/@macro/front-end/editors/auto-complete.hbs
+2
-2
checkbox-list.hbs
...urces/templ/r7/@macro/front-end/editors/checkbox-list.hbs
+2
-2
data-picker-view.hbs
...es/templ/r7/@macro/front-end/editors/data-picker-view.hbs
+2
-2
data-picker.hbs
...sources/templ/r7/@macro/front-end/editors/data-picker.hbs
+3
-3
dropdown-list.hbs
...urces/templ/r7/@macro/front-end/editors/dropdown-list.hbs
+2
-2
list-box.hbs
.../resources/templ/r7/@macro/front-end/editors/list-box.hbs
+2
-2
radio-group.hbs
...sources/templ/r7/@macro/front-end/editors/radio-group.hbs
+2
-2
span.hbs
...main/resources/templ/r7/@macro/front-end/editors/span.hbs
+2
-2
dashboard.hbs
...7/@macro/front-end/widgets/dashboard-detail/dashboard.hbs
+1
-1
app-form-item.vue
...l/r7/app_{{apps}}/src/components/common/app-form-item.vue
+6
-4
app-checkbox-list.vue
...app_{{apps}}/src/components/editors/app-checkbox-list.vue
+2
-2
app-data-picker-view.vue
..._{{apps}}/src/components/editors/app-data-picker-view.vue
+1
-1
app-data-picker.vue
...7/app_{{apps}}/src/components/editors/app-data-picker.vue
+3
-1
app-dropdown-list.vue
...app_{{apps}}/src/components/editors/app-dropdown-list.vue
+1
-1
app-list-box.vue
...l/r7/app_{{apps}}/src/components/editors/app-list-box.vue
+1
-1
app-radio-group.vue
...7/app_{{apps}}/src/components/editors/app-radio-group.vue
+2
-2
environment.ts.hbs
...templ/r7/app_{{apps}}/src/environments/environment.ts.hbs
+2
-1
{{ctrls@SEARCHBAR}}-searchBar.vue.hbs
...ARCHBAR}}-searchBar/{{ctrls@SEARCHBAR}}-searchBar.vue.hbs
+1
-1
{{ctrls@TREEEXPBAR}}-tree-exp-bar.vue.hbs
...}}-tree-exp-bar/{{ctrls@TREEEXPBAR}}-tree-exp-bar.vue.hbs
+3
-3
{{ctrls@TREEVIEW}}-tree.vue.hbs
...}/{{ctrls@TREEVIEW}}-tree/{{ctrls@TREEVIEW}}-tree.vue.hbs
+1
-1
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/auto-complete.hbs
浏览文件 @
abe9092e
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
:context=
"state.context"
:context=
"state.context"
:viewParams=
"state.viewParams"
:viewParams=
"state.viewParams"
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
:
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psAppDataEntity
}}
{{#if
item
.
psEditor
.
psAppDataEntity
}}
{{!-- deMajorField="getDeMajorField({{item.psEditor.psAppDataEntity.codeName}})" --}}
{{!-- deMajorField="getDeMajorField({{item.psEditor.psAppDataEntity.codeName}})" --}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/checkbox-list.hbs
浏览文件 @
abe9092e
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
{{
~#
if
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
valueSeparator=
"
{{
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
"
{{/if}}
{{
~#
if
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
valueSeparator=
"
{{
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
"
{{/if}}
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
:
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{/if}}
:context=
"state.context"
:context=
"state.context"
:viewParams=
"state.viewParams"
:viewParams=
"state.viewParams"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/data-picker-view.hbs
浏览文件 @
abe9092e
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{/
eq
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
:
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{/if}}
:context=
"state.context"
:context=
"state.context"
:viewParams=
"state.viewParams"
:viewParams=
"state.viewParams"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/data-picker.hbs
浏览文件 @
abe9092e
...
@@ -11,11 +11,11 @@
...
@@ -11,11 +11,11 @@
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{/
eq
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
:
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
{{!-- localParam="{{item.psEditor.psNavigateParams}}" --}}
{{!--
:
localParam="{{item.psEditor.psNavigateParams}}" --}}
{{/if}}
{{/if}}
:context=
"state.context"
:context=
"state.context"
:viewParams=
"state.viewParams"
:viewParams=
"state.viewParams"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/dropdown-list.hbs
浏览文件 @
abe9092e
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
:
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{/if}}
{{#
eq
item
.
psEditor
.
editorType
"MDROPDOWNLIST"
}}
{{#
eq
item
.
psEditor
.
editorType
"MDROPDOWNLIST"
}}
:multiple=
"true"
:multiple=
"true"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/list-box.hbs
浏览文件 @
abe9092e
...
@@ -29,10 +29,10 @@
...
@@ -29,10 +29,10 @@
{{#if
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
valueSeparator=
"
{{
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
valueSeparator=
"
{{
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
"
{{/if}}
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
:
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{/if}}
:context=
"state.context"
:context=
"state.context"
:viewParams=
"state.viewParams"
:viewParams=
"state.viewParams"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/radio-group.hbs
浏览文件 @
abe9092e
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
:
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{/if}}
:context=
"state.context"
:context=
"state.context"
:viewParams=
"state.viewParams"
:viewParams=
"state.viewParams"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/span.hbs
浏览文件 @
abe9092e
...
@@ -24,10 +24,10 @@
...
@@ -24,10 +24,10 @@
:precision=
"
{{
item
.
psEditor
.
precision
}}
"
:precision=
"
{{
item
.
psEditor
.
precision
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
:
localParam=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{/if}}
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/dashboard-detail/dashboard.hbs
浏览文件 @
abe9092e
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
</a-col>
</a-col>
{{/
each
}}
{{/
each
}}
</a-row>
</a-row>
{{/
eq
}}
{{/
eq
}}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/common/app-form-item.vue
浏览文件 @
abe9092e
...
@@ -3,9 +3,9 @@ import { IActionParam } from '@core';
...
@@ -3,9 +3,9 @@ import { IActionParam } from '@core';
interface
FormGroupProps
{
interface
FormGroupProps
{
name
:
string
;
name
:
string
;
label
:
string
;
label
?
:
string
;
required
:
boolean
;
required
?
:
boolean
;
labelWidth
:
number
;
labelWidth
?
:
number
;
rules
?:
any
;
rules
?:
any
;
error
?:
string
;
error
?:
string
;
titleStyle
?:
string
;
titleStyle
?:
string
;
...
@@ -13,7 +13,9 @@ interface FormGroupProps {
...
@@ -13,7 +13,9 @@ interface FormGroupProps {
interface
FormGroupEmit
{
interface
FormGroupEmit
{
(
name
:
'componentEvent'
,
value
:
IActionParam
):
void
;
(
name
:
'componentEvent'
,
value
:
IActionParam
):
void
;
}
}
const
props
=
withDefaults
(
defineProps
<
FormGroupProps
>
(),
{});
const
props
=
withDefaults
(
defineProps
<
FormGroupProps
>
(),
{
required
:
false
,
});
const
emit
=
defineEmits
<
FormGroupEmit
>
();
const
emit
=
defineEmits
<
FormGroupEmit
>
();
onBeforeMount
(()
=>
{
onBeforeMount
(()
=>
{
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-checkbox-list.vue
浏览文件 @
abe9092e
...
@@ -56,7 +56,7 @@ interface CheckboxListProps {
...
@@ -56,7 +56,7 @@ interface CheckboxListProps {
* @type {string}
* @type {string}
* @memberof CheckboxListProps
* @memberof CheckboxListProps
*/
*/
codeListTag
:
string
;
codeListTag
?
:
string
;
/**
/**
* 代码表类型
* 代码表类型
...
@@ -64,7 +64,7 @@ interface CheckboxListProps {
...
@@ -64,7 +64,7 @@ interface CheckboxListProps {
* @type {string}
* @type {string}
* @memberof CheckboxListProps
* @memberof CheckboxListProps
*/
*/
codeListType
:
string
;
codeListType
?
:
string
;
/**
/**
* 视图上下文
* 视图上下文
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-data-picker-view.vue
浏览文件 @
abe9092e
...
@@ -11,7 +11,7 @@ interface DataPickerViewProps {
...
@@ -11,7 +11,7 @@ interface DataPickerViewProps {
/**
/**
* @description 值项
* @description 值项
*/
*/
valueItem
:
string
;
valueItem
?
:
string
;
/**
/**
* @description 编辑器值
* @description 编辑器值
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-data-picker.vue
浏览文件 @
abe9092e
...
@@ -11,7 +11,7 @@ interface DataPickerProps {
...
@@ -11,7 +11,7 @@ interface DataPickerProps {
/**
/**
* @description 值项
* @description 值项
*/
*/
valueItem
:
string
;
valueItem
?
:
string
;
/**
/**
* @description 编辑器值
* @description 编辑器值
...
@@ -104,6 +104,8 @@ interface DataPickerProps {
...
@@ -104,6 +104,8 @@ interface DataPickerProps {
noAc
?:
boolean
;
noAc
?:
boolean
;
showButton
?:
boolean
;
isDropdown
?:
boolean
;
isDropdown
?:
boolean
;
}
}
interface
EditorEmit
{
interface
EditorEmit
{
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-dropdown-list.vue
浏览文件 @
abe9092e
...
@@ -56,7 +56,7 @@ interface DropdownListProps {
...
@@ -56,7 +56,7 @@ interface DropdownListProps {
/**
/**
* @description 代码表标识
* @description 代码表标识
*/
*/
codeListTag
:
string
;
codeListTag
?
:
string
;
/**
/**
* @description 代码表类型
* @description 代码表类型
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-list-box.vue
浏览文件 @
abe9092e
...
@@ -56,7 +56,7 @@ interface ListBoxProps {
...
@@ -56,7 +56,7 @@ interface ListBoxProps {
* @type {string}
* @type {string}
* @memberof ListBoxProps
* @memberof ListBoxProps
*/
*/
codeListTag
:
string
;
codeListTag
?
:
string
;
/**
/**
* 代码表类型
* 代码表类型
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-radio-group.vue
浏览文件 @
abe9092e
...
@@ -32,7 +32,7 @@ interface RadioGroupProps {
...
@@ -32,7 +32,7 @@ interface RadioGroupProps {
* @type {string}
* @type {string}
* @memberof AppCheckBox
* @memberof AppCheckBox
*/
*/
codeListTag
:
string
;
codeListTag
?
:
string
;
/**
/**
* 代码表类型
* 代码表类型
...
@@ -40,7 +40,7 @@ interface RadioGroupProps {
...
@@ -40,7 +40,7 @@ interface RadioGroupProps {
* @type {string}
* @type {string}
* @memberof AppCheckBox
* @memberof AppCheckBox
*/
*/
codeListType
:
string
;
codeListType
?
:
string
;
/**
/**
* 视图上下文
* 视图上下文
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/environments/environment.ts.hbs
浏览文件 @
abe9092e
...
@@ -30,7 +30,8 @@ export const Environment = {
...
@@ -30,7 +30,8 @@ export const Environment = {
// 仿真mockDcSystemId
// 仿真mockDcSystemId
mockDcSystemId: '',
mockDcSystemId: '',
// 登录地址
// 登录地址
loginUrl: ''
loginUrl: '',
enableIssue: false,
};
};
// 挂载外部配置文件
// 挂载外部配置文件
if ((window as any).Environment) {
if ((window as any).Environment) {
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/widgets/{{appEntities}}/{{ctrls@SEARCHBAR}}-searchBar/{{ctrls@SEARCHBAR}}-searchBar.vue.hbs
浏览文件 @
abe9092e
...
@@ -22,7 +22,7 @@ interface CtrlEmit {
...
@@ -22,7 +22,7 @@ interface CtrlEmit {
const
emit
=
defineEmits
<
CtrlEmit
>
();
const
emit
=
defineEmits
<
CtrlEmit
>
();
// 安装功能模块,提供状态和能力方法
// 安装功能模块,提供状态和能力方法
const
{
name
,
state
}
=
new
SearchBarControl
(
CtrlConfig
).
moduleInstall
(
props
,
emit
);
const
{
name
,
state
}
=
new
SearchBarControl
(
CtrlConfig
,
props
,
emit
).
moduleInstall
(
);
// 暴露内部状态及能力
// 暴露内部状态及能力
defineExpose
({
name
,
state
});
defineExpose
({
name
,
state
});
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/widgets/{{appEntities}}/{{ctrls@TREEEXPBAR}}-tree-exp-bar/{{ctrls@TREEEXPBAR}}-tree-exp-bar.vue.hbs
浏览文件 @
abe9092e
...
@@ -17,7 +17,6 @@ interface Props {
...
@@ -17,7 +17,6 @@ interface Props {
name
:
string
,
name
:
string
,
context
:
IContext
;
context
:
IContext
;
viewParams
?:
IParam
;
viewParams
?:
IParam
;
controlAction
:
ControlAction
;
showBusyIndicator
?:
boolean
;
showBusyIndicator
?:
boolean
;
viewMode
?:
number
;
viewMode
?:
number
;
viewSubject
:
Subject
<
IActionParam
>
;
viewSubject
:
Subject
<
IActionParam
>
;
...
@@ -54,6 +53,7 @@ defineExpose({ name, state });
...
@@ -54,6 +53,7 @@ defineExpose({ name, state });
{{#
eq
controlType
"TREEVIEW"
}}
{{#
eq
controlType
"TREEVIEW"
}}
<
{{
codeName
}}
Tree
<
{{
codeName
}}
Tree
ref=
"xData"
ref=
"xData"
name=
"
{{
name
}}
"
:context=
"state.context"
:context=
"state.context"
:viewParams=
"state.viewParams"
:viewParams=
"state.viewParams"
:viewSubject=
"state.viewSubject"
:viewSubject=
"state.viewSubject"
...
@@ -72,8 +72,8 @@ defineExpose({ name, state });
...
@@ -72,8 +72,8 @@ defineExpose({ name, state });
v-if
="
state
.
selection
.
viewName
&&
state
.
selection
.
viewName =
==
'
{{
viewRef
.
refPSAppView
.
name
}}
'"
v-if
="
state
.
selection
.
viewName
&&
state
.
selection
.
viewName =
==
'
{{
viewRef
.
refPSAppView
.
name
}}
'"
class=
"tree-exp__nav-view"
class=
"tree-exp__nav-view"
:viewDefaultUsage=
"false"
:viewDefaultUsage=
"false"
:
viewdata=
"JSON.stringify(state.selection.context)
"
:
context=
"state.selection.context
"
:viewParams=
"
JSON.stringify(state.selection.viewParams)
"
>
:viewParams=
"
state.selection.viewParams
"
>
</
{{
viewRef
.
refPSAppView
.
name
}}
>
</
{{
viewRef
.
refPSAppView
.
name
}}
>
{{/if}}
{{/if}}
{{/
each
}}
{{/
each
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/widgets/{{appEntities}}/{{ctrls@TREEVIEW}}-tree/{{ctrls@TREEVIEW}}-tree.vue.hbs
浏览文件 @
abe9092e
...
@@ -6,7 +6,7 @@ import { ctrlState } from './{{spinalCase ctrl.codeName}}-tree-state';
...
@@ -6,7 +6,7 @@ import { ctrlState } from './{{spinalCase ctrl.codeName}}-tree-state';
interface
Props
{
interface
Props
{
name
:
string
,
name
:
string
,
context
:
IContext
;
context
:
IContext
;
selectedData
:
IParam
[];
selectedData
?
:
IParam
[];
selectFirstDefault
?:
boolean
;
selectFirstDefault
?:
boolean
;
isBranchAvailable
?:
boolean
;
isBranchAvailable
?:
boolean
;
viewParams
?:
IParam
;
viewParams
?:
IParam
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录