Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
c66d4ba5
提交
c66d4ba5
编写于
12月 14, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
kuaikuai 发布系统代码 [后台服务,演示应用]
上级
02058628
变更
28
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
28 个修改的文件
包含
3413 行增加
和
58 行删除
+3413
-58
portlet-data.json
app_Web/public/assets/json/portlet-data.json
+12
-12
view-config.json
app_Web/public/assets/json/view-config.json
+10
-2
en-US-base.ts
app_Web/src/locale/lang/en-US-base.ts
+2
-2
zh-CN-base.ts
app_Web/src/locale/lang/zh-CN-base.ts
+2
-2
ibizappeditor_en_US_base.ts
...lanres/entities/ibizappeditor/ibizappeditor_en_US_base.ts
+0
-5
ibizappeditor_zh_CN_base.ts
...lanres/entities/ibizappeditor/ibizappeditor_zh_CN_base.ts
+0
-5
ibizappextendeditor_en_US_base.ts
...ies/ibizappextendeditor/ibizappextendeditor_en_US_base.ts
+25
-0
ibizappextendeditor_zh_CN_base.ts
...ies/ibizappextendeditor/ibizappextendeditor_zh_CN_base.ts
+25
-0
micro-component_en_US_base.ts
...es/entities/micro-component/micro-component_en_US_base.ts
+10
-0
micro-component_zh_CN_base.ts
...es/entities/micro-component/micro-component_zh_CN_base.ts
+10
-0
portlet.ts
app_Web/src/mock/portlet/portlet.ts
+12
-12
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+10
-2
micro-component-grid-view-base.vue
...ro-component-grid-view/micro-component-grid-view-base.vue
+1645
-5
micro-component-grid-view.vue
...e/micro-component-grid-view/micro-component-grid-view.vue
+2
-2
portlet-register.ts
app_Web/src/portlet-register.ts
+3
-3
ibizappextendeditor-ui-service-base.ts
...bizappextendeditor/ibizappextendeditor-ui-service-base.ts
+1
-0
app-portal-view-db-dashboard.vue
...portal-view-db-dashboard/app-portal-view-db-dashboard.vue
+1
-1
app-extend-editor-amount-portlet-base.vue
...-amount-portlet/app-extend-editor-amount-portlet-base.vue
+339
-0
app-extend-editor-amount-portlet-model.ts
...-amount-portlet/app-extend-editor-amount-portlet-model.ts
+55
-0
app-extend-editor-amount-portlet-service.ts
...mount-portlet/app-extend-editor-amount-portlet-service.ts
+11
-0
app-extend-editor-amount-portlet.less
...itor-amount-portlet/app-extend-editor-amount-portlet.less
+63
-0
app-extend-editor-amount-portlet.vue
...ditor-amount-portlet/app-extend-editor-amount-portlet.vue
+17
-0
extend-editor-amount-list-base.vue
...end-editor-amount-list/extend-editor-amount-list-base.vue
+826
-0
extend-editor-amount-list-model.ts
...end-editor-amount-list/extend-editor-amount-list-model.ts
+62
-0
extend-editor-amount-list-service.ts
...d-editor-amount-list/extend-editor-amount-list-service.ts
+163
-0
extend-editor-amount-list.less
.../extend-editor-amount-list/extend-editor-amount-list.less
+88
-0
extend-editor-amount-list.vue
...r/extend-editor-amount-list/extend-editor-amount-list.vue
+14
-0
main-form-base.vue
.../src/widgets/micro-component/main-form/main-form-base.vue
+5
-5
未找到文件。
app_Web/public/assets/json/portlet-data.json
浏览文件 @
c66d4ba5
...
@@ -90,14 +90,6 @@
...
@@ -90,14 +90,6 @@
{
"type"
:
"appde"
,
{
"type"
:
"appde"
,
"appCodeName"
:
"IBIZAPPEDITOR"
,
"appCodeName"
:
"IBIZAPPEDITOR"
,
"appName"
:
"编辑器"
,
"appName"
:
"编辑器"
,
"portletCodeName"
:
"appExtendEditor"
,
"portletName"
:
"扩展编辑器数量"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"ibizappeditor-app-extend-editor-portlet"
},
{
"type"
:
"appde"
,
"appCodeName"
:
"IBIZAPPEDITOR"
,
"appName"
:
"编辑器"
,
"portletCodeName"
:
"EditorList"
,
"portletCodeName"
:
"EditorList"
,
"portletName"
:
"编辑器列表"
,
"portletName"
:
"编辑器列表"
,
"groupCodeName"
:
"PortletCat4"
,
"groupCodeName"
:
"PortletCat4"
,
...
@@ -159,6 +151,14 @@
...
@@ -159,6 +151,14 @@
"groupCodeName"
:
"Ungroup"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"ibizappctrl-app-ctrl-amount-portlet"
},
"portletTYpe"
:
"LIST"
,
"componentName"
:
"ibizappctrl-app-ctrl-amount-portlet"
},
{
"type"
:
"appde"
,
"appCodeName"
:
"IBIZAPPEXTENDEDITOR"
,
"appName"
:
"扩展编辑器"
,
"portletCodeName"
:
"appExtendEditorAmount"
,
"portletName"
:
"扩展编辑器数量"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"ibizappextendeditor-app-extend-editor-amount-portlet"
},
{
"type"
:
"app"
,
{
"type"
:
"app"
,
"appCodeName"
:
"IBIZBOOK"
,
"appCodeName"
:
"IBIZBOOK"
,
"appName"
:
"图书"
,
"appName"
:
"图书"
,
...
@@ -320,11 +320,11 @@
...
@@ -320,11 +320,11 @@
"groupName"
:
"(未分类)"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"app-ibizappeditor-app-editor-amount-portlet"
},
"portletTYpe"
:
"LIST"
,
"componentName"
:
"app-ibizappeditor-app-editor-amount-portlet"
},
{
"type"
:
"app"
,
{
"type"
:
"app"
,
"appCodeName"
:
"IBIZAPPEDITOR"
,
"appCodeName"
:
"IBIZAPPE
XTENDE
DITOR"
,
"appName"
:
"编辑器"
,
"appName"
:
"
扩展
编辑器"
,
"portletCodeName"
:
"appExtendEditor"
,
"portletCodeName"
:
"appExtendEditor
Amount
"
,
"portletName"
:
"扩展编辑器数量"
,
"portletName"
:
"扩展编辑器数量"
,
"groupCodeName"
:
"Ungroup"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"app-ibizappe
ditor-app-extend-editor
-portlet"
}
"portletTYpe"
:
"LIST"
,
"componentName"
:
"app-ibizappe
xtendeditor-app-extend-editor-amount
-portlet"
}
]
]
\ No newline at end of file
app_Web/public/assets/json/view-config.json
浏览文件 @
c66d4ba5
...
@@ -7,6 +7,14 @@
...
@@ -7,6 +7,14 @@
"viewname"
:
"IBIZSample0003STabExpView"
,
"viewname"
:
"IBIZSample0003STabExpView"
,
"viewtag"
:
"00a0716a2029a7fe79fe03b6f74c7c90"
"viewtag"
:
"00a0716a2029a7fe79fe03b6f74c7c90"
},
},
"ibizappextendeditorlistview"
:
{
"title"
:
"扩展编辑器列表视图"
,
"caption"
:
"扩展编辑器"
,
"viewtype"
:
"DELISTVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZAPPEXTENDEDITORListView"
,
"viewtag"
:
"029cd8673e5bf4681a772c6110467f63"
},
"ibizorderdetailsmeditview9"
:
{
"ibizorderdetailsmeditview9"
:
{
"title"
:
"订单明细多表单编辑视图"
,
"title"
:
"订单明细多表单编辑视图"
,
"caption"
:
"订单明细"
,
"caption"
:
"订单明细"
,
...
@@ -1880,8 +1888,8 @@
...
@@ -1880,8 +1888,8 @@
"viewtag"
:
"ffedffb9c57cb200c275ba15e9100da4"
"viewtag"
:
"ffedffb9c57cb200c275ba15e9100da4"
},
},
"appportalview"
:
{
"appportalview"
:
{
"title"
:
"
应用门户视图
"
,
"title"
:
"
工作台
"
,
"caption"
:
"
应用门户视图
"
,
"caption"
:
"
工作台
"
,
"viewtype"
:
"APPPORTALVIEW"
,
"viewtype"
:
"APPPORTALVIEW"
,
"viewmodule"
:
"Ungroup"
,
"viewmodule"
:
"Ungroup"
,
"viewname"
:
"AppPortalView"
,
"viewname"
:
"AppPortalView"
,
...
...
app_Web/src/locale/lang/en-US-base.ts
浏览文件 @
c66d4ba5
...
@@ -165,8 +165,8 @@ function getAppLocale(){
...
@@ -165,8 +165,8 @@ function getAppLocale(){
title
:
commonLogic
.
appcommonhandle
(
"可定制应用看板"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"可定制应用看板"
,
null
),
},
},
appportalview
:
{
appportalview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"
应用门户视图
"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"
工作台
"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"
应用门户视图
"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"
工作台
"
,
null
),
},
},
apppanelview
:
{
apppanelview
:
{
caption
:
commonLogic
.
appcommonhandle
(
""
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
""
,
null
),
...
...
app_Web/src/locale/lang/zh-CN-base.ts
浏览文件 @
c66d4ba5
...
@@ -165,8 +165,8 @@ function getAppLocale(){
...
@@ -165,8 +165,8 @@ function getAppLocale(){
title
:
commonLogic
.
appcommonhandle
(
"可定制应用看板"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"可定制应用看板"
,
null
),
},
},
appportalview
:
{
appportalview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"
应用门户视图
"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"
工作台
"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"
应用门户视图
"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"
工作台
"
,
null
),
},
},
apppanelview
:
{
apppanelview
:
{
caption
:
commonLogic
.
appcommonhandle
(
""
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
""
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizappeditor/ibizappeditor_en_US_base.ts
浏览文件 @
c66d4ba5
...
@@ -72,11 +72,6 @@ function getLocaleResourceBase(){
...
@@ -72,11 +72,6 @@ function getLocaleResourceBase(){
uiactions
:
{
uiactions
:
{
},
},
},
},
extendeditoramount_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
editorlist_list
:
{
editorlist_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
uiactions
:
{
...
...
app_Web/src/locale/lanres/entities/ibizappeditor/ibizappeditor_zh_CN_base.ts
浏览文件 @
c66d4ba5
...
@@ -72,11 +72,6 @@ function getLocaleResourceBase(){
...
@@ -72,11 +72,6 @@ function getLocaleResourceBase(){
uiactions
:
{
uiactions
:
{
},
},
},
},
extendeditoramount_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
editorlist_list
:
{
editorlist_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
uiactions
:
{
...
...
app_Web/src/locale/lanres/entities/ibizappextendeditor/ibizappextendeditor_en_US_base.ts
浏览文件 @
c66d4ba5
...
@@ -15,6 +15,31 @@ function getLocaleResourceBase(){
...
@@ -15,6 +15,31 @@ function getLocaleResourceBase(){
amount
:
commonLogic
.
appcommonhandle
(
"数量"
,
null
),
amount
:
commonLogic
.
appcommonhandle
(
"数量"
,
null
),
extendeditortype
:
commonLogic
.
appcommonhandle
(
"扩展编辑器类型"
,
null
),
extendeditortype
:
commonLogic
.
appcommonhandle
(
"扩展编辑器类型"
,
null
),
},
},
views
:
{
listview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"扩展编辑器"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"扩展编辑器列表视图"
,
null
),
},
},
extendeditorlist_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
extendeditoramount_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
},
uiactions
:
{
},
},
listviewtoolbar_toolbar
:
{
},
};
};
return
data
;
return
data
;
}
}
...
...
app_Web/src/locale/lanres/entities/ibizappextendeditor/ibizappextendeditor_zh_CN_base.ts
浏览文件 @
c66d4ba5
...
@@ -15,6 +15,31 @@ function getLocaleResourceBase(){
...
@@ -15,6 +15,31 @@ function getLocaleResourceBase(){
amount
:
commonLogic
.
appcommonhandle
(
"数量"
,
null
),
amount
:
commonLogic
.
appcommonhandle
(
"数量"
,
null
),
extendeditortype
:
commonLogic
.
appcommonhandle
(
"扩展编辑器类型"
,
null
),
extendeditortype
:
commonLogic
.
appcommonhandle
(
"扩展编辑器类型"
,
null
),
},
},
views
:
{
listview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"扩展编辑器"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"扩展编辑器列表视图"
,
null
),
},
},
extendeditorlist_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
extendeditoramount_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
},
uiactions
:
{
},
},
listviewtoolbar_toolbar
:
{
},
};
};
return
data
;
return
data
;
}
}
...
...
app_Web/src/locale/lanres/entities/micro-component/micro-component_en_US_base.ts
浏览文件 @
c66d4ba5
...
@@ -119,6 +119,16 @@ function getLocaleResourceBase(){
...
@@ -119,6 +119,16 @@ function getLocaleResourceBase(){
uiactions
:
{
uiactions
:
{
},
},
},
},
main_grid
:
{
columns
:
{
microcomponentname
:
commonLogic
.
appcommonhandle
(
"微组件名称"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
default_searchform
:
{
details
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
...
...
app_Web/src/locale/lanres/entities/micro-component/micro-component_zh_CN_base.ts
浏览文件 @
c66d4ba5
...
@@ -119,6 +119,16 @@ function getLocaleResourceBase(){
...
@@ -119,6 +119,16 @@ function getLocaleResourceBase(){
uiactions
:
{
uiactions
:
{
},
},
},
},
main_grid
:
{
columns
:
{
microcomponentname
:
commonLogic
.
appcommonhandle
(
"微组件名称"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
default_searchform
:
{
details
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
...
...
app_Web/src/mock/portlet/portlet.ts
浏览文件 @
c66d4ba5
...
@@ -100,14 +100,6 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
...
@@ -100,14 +100,6 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
{
"type"
:
"appde"
,
{
"type"
:
"appde"
,
"appCodeName"
:
"IBIZAPPEDITOR"
,
"appCodeName"
:
"IBIZAPPEDITOR"
,
"appName"
:
"编辑器"
,
"appName"
:
"编辑器"
,
"portletCodeName"
:
"appExtendEditor"
,
"portletName"
:
"扩展编辑器数量"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"ibizappeditor-app-extend-editor-portlet"
},
{
"type"
:
"appde"
,
"appCodeName"
:
"IBIZAPPEDITOR"
,
"appName"
:
"编辑器"
,
"portletCodeName"
:
"EditorList"
,
"portletCodeName"
:
"EditorList"
,
"portletName"
:
"编辑器列表"
,
"portletName"
:
"编辑器列表"
,
"groupCodeName"
:
"PortletCat4"
,
"groupCodeName"
:
"PortletCat4"
,
...
@@ -169,6 +161,14 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
...
@@ -169,6 +161,14 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
"groupCodeName"
:
"Ungroup"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"ibizappctrl-app-ctrl-amount-portlet"
},
"portletTYpe"
:
"LIST"
,
"componentName"
:
"ibizappctrl-app-ctrl-amount-portlet"
},
{
"type"
:
"appde"
,
"appCodeName"
:
"IBIZAPPEXTENDEDITOR"
,
"appName"
:
"扩展编辑器"
,
"portletCodeName"
:
"appExtendEditorAmount"
,
"portletName"
:
"扩展编辑器数量"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"ibizappextendeditor-app-extend-editor-amount-portlet"
},
{
"type"
:
"app"
,
{
"type"
:
"app"
,
"appCodeName"
:
"IBIZBOOK"
,
"appCodeName"
:
"IBIZBOOK"
,
"appName"
:
"图书"
,
"appName"
:
"图书"
,
...
@@ -330,12 +330,12 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
...
@@ -330,12 +330,12 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
"groupName"
:
"(未分类)"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"app-ibizappeditor-app-editor-amount-portlet"
},
"portletTYpe"
:
"LIST"
,
"componentName"
:
"app-ibizappeditor-app-editor-amount-portlet"
},
{
"type"
:
"app"
,
{
"type"
:
"app"
,
"appCodeName"
:
"IBIZAPPEDITOR"
,
"appCodeName"
:
"IBIZAPPE
XTENDE
DITOR"
,
"appName"
:
"编辑器"
,
"appName"
:
"
扩展
编辑器"
,
"portletCodeName"
:
"appExtendEditor"
,
"portletCodeName"
:
"appExtendEditor
Amount
"
,
"portletName"
:
"扩展编辑器数量"
,
"portletName"
:
"扩展编辑器数量"
,
"groupCodeName"
:
"Ungroup"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
"groupName"
:
"(未分类)"
,
"portletTYpe"
:
"LIST"
,
"componentName"
:
"app-ibizappe
ditor-app-extend-editor
-portlet"
}
"portletTYpe"
:
"LIST"
,
"componentName"
:
"app-ibizappe
xtendeditor-app-extend-editor-amount
-portlet"
}
]];
]];
});
});
\ No newline at end of file
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
c66d4ba5
...
@@ -15,6 +15,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -15,6 +15,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZSample0003STabExpView"
,
"viewname"
:
"IBIZSample0003STabExpView"
,
"viewtag"
:
"00a0716a2029a7fe79fe03b6f74c7c90"
"viewtag"
:
"00a0716a2029a7fe79fe03b6f74c7c90"
},
},
"ibizappextendeditorlistview"
:
{
"title"
:
"扩展编辑器列表视图"
,
"caption"
:
"扩展编辑器"
,
"viewtype"
:
"DELISTVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZAPPEXTENDEDITORListView"
,
"viewtag"
:
"029cd8673e5bf4681a772c6110467f63"
},
"ibizorderdetailsmeditview9"
:
{
"ibizorderdetailsmeditview9"
:
{
"title"
:
"订单明细多表单编辑视图"
,
"title"
:
"订单明细多表单编辑视图"
,
"caption"
:
"订单明细"
,
"caption"
:
"订单明细"
,
...
@@ -1888,8 +1896,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -1888,8 +1896,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"ffedffb9c57cb200c275ba15e9100da4"
"viewtag"
:
"ffedffb9c57cb200c275ba15e9100da4"
},
},
"appportalview"
:
{
"appportalview"
:
{
"title"
:
"
应用门户视图
"
,
"title"
:
"
工作台
"
,
"caption"
:
"
应用门户视图
"
,
"caption"
:
"
工作台
"
,
"viewtype"
:
"APPPORTALVIEW"
,
"viewtype"
:
"APPPORTALVIEW"
,
"viewmodule"
:
"Ungroup"
,
"viewmodule"
:
"Ungroup"
,
"viewname"
:
"AppPortalView"
,
"viewname"
:
"AppPortalView"
,
...
...
app_Web/src/pages/sample/micro-component-grid-view/micro-component-grid-view-base.vue
浏览文件 @
c66d4ba5
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/micro-component-grid-view/micro-component-grid-view.vue
浏览文件 @
c66d4ba5
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
{
Component
}
from
'vue-property-decorator'
;
import
MicroComponentGridViewBase
from
'./micro-component-grid-view-base.vue'
;
import
MicroComponentGridViewBase
from
'./micro-component-grid-view-base.vue'
;
import
view_
form
from
'@widgets/micro-component/main-form/main-form
.vue'
;
import
view_
grid
from
'@widgets/micro-component/main-grid/main-grid
.vue'
;
import
view_searchform
from
'@widgets/micro-component/default-searchform/default-searchform.vue'
;
import
view_searchform
from
'@widgets/micro-component/default-searchform/default-searchform.vue'
;
@
Component
({
@
Component
({
components
:
{
components
:
{
view_
form
,
view_
grid
,
view_searchform
,
view_searchform
,
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
...
...
app_Web/src/portlet-register.ts
浏览文件 @
c66d4ba5
...
@@ -10,7 +10,6 @@ import IBIZOrderDetailPortalComponentsList3 from '@/widgets/ibizorder-detail/por
...
@@ -10,7 +10,6 @@ import IBIZOrderDetailPortalComponentsList3 from '@/widgets/ibizorder-detail/por
import
IBIZOrderPortalComponentsOperation
from
'@/widgets/ibizorder/portal-components-operation-portlet/portal-components-operation-portlet.vue'
;
import
IBIZOrderPortalComponentsOperation
from
'@/widgets/ibizorder/portal-components-operation-portlet/portal-components-operation-portlet.vue'
;
import
IBIZOrderPortalComponentsList2
from
'@/widgets/ibizorder/portal-components-list2-portlet/portal-components-list2-portlet.vue'
;
import
IBIZOrderPortalComponentsList2
from
'@/widgets/ibizorder/portal-components-list2-portlet/portal-components-list2-portlet.vue'
;
import
IBIZOrderPortalComponentsChart
from
'@/widgets/ibizorder/portal-components-chart-portlet/portal-components-chart-portlet.vue'
;
import
IBIZOrderPortalComponentsChart
from
'@/widgets/ibizorder/portal-components-chart-portlet/portal-components-chart-portlet.vue'
;
import
IBIZAPPEDITORAppExtendEditor
from
'@/widgets/ibizappeditor/app-extend-editor-portlet/app-extend-editor-portlet.vue'
;
import
IBIZAPPEDITORAppEditorListView
from
'@/widgets/ibizappeditor/app-editor-list-view-portlet/app-editor-list-view-portlet.vue'
;
import
IBIZAPPEDITORAppEditorListView
from
'@/widgets/ibizappeditor/app-editor-list-view-portlet/app-editor-list-view-portlet.vue'
;
import
IBIZAPPEDITOREditorChart
from
'@/widgets/ibizappeditor/editor-chart-portlet/editor-chart-portlet.vue'
;
import
IBIZAPPEDITOREditorChart
from
'@/widgets/ibizappeditor/editor-chart-portlet/editor-chart-portlet.vue'
;
import
IBIZAPPEDITORAppEditorAmount
from
'@/widgets/ibizappeditor/app-editor-amount-portlet/app-editor-amount-portlet.vue'
;
import
IBIZAPPEDITORAppEditorAmount
from
'@/widgets/ibizappeditor/app-editor-amount-portlet/app-editor-amount-portlet.vue'
;
...
@@ -19,6 +18,7 @@ import IBIZBOOKPortalComponentsView from '@/widgets/ibizbook/portal-components-v
...
@@ -19,6 +18,7 @@ import IBIZBOOKPortalComponentsView from '@/widgets/ibizbook/portal-components-v
import
IBIZAPPCTRLAppCtrlListView
from
'@/widgets/ibizappctrl/app-ctrl-list-view-portlet/app-ctrl-list-view-portlet.vue'
;
import
IBIZAPPCTRLAppCtrlListView
from
'@/widgets/ibizappctrl/app-ctrl-list-view-portlet/app-ctrl-list-view-portlet.vue'
;
import
IBIZAPPCTRLCtrlChart
from
'@/widgets/ibizappctrl/ctrl-chart-portlet/ctrl-chart-portlet.vue'
;
import
IBIZAPPCTRLCtrlChart
from
'@/widgets/ibizappctrl/ctrl-chart-portlet/ctrl-chart-portlet.vue'
;
import
IBIZAPPCTRLAppCtrlAmount
from
'@/widgets/ibizappctrl/app-ctrl-amount-portlet/app-ctrl-amount-portlet.vue'
;
import
IBIZAPPCTRLAppCtrlAmount
from
'@/widgets/ibizappctrl/app-ctrl-amount-portlet/app-ctrl-amount-portlet.vue'
;
import
IBIZAPPEXTENDEDITORAppExtendEditorAmount
from
'@/widgets/ibizappextendeditor/app-extend-editor-amount-portlet/app-extend-editor-amount-portlet.vue'
;
export
const
PortletComponent
=
{
export
const
PortletComponent
=
{
install
(
v
:
any
,
opt
:
any
)
{
install
(
v
:
any
,
opt
:
any
)
{
...
@@ -42,7 +42,7 @@ export const PortletComponent = {
...
@@ -42,7 +42,7 @@ export const PortletComponent = {
v
.
component
(
'app-ibizappview-app-view-amount-portlet'
,
IBIZAPPVIEWAppViewAmount
);
v
.
component
(
'app-ibizappview-app-view-amount-portlet'
,
IBIZAPPVIEWAppViewAmount
);
v
.
component
(
'app-ibizappctrl-app-ctrl-amount-portlet'
,
IBIZAPPCTRLAppCtrlAmount
);
v
.
component
(
'app-ibizappctrl-app-ctrl-amount-portlet'
,
IBIZAPPCTRLAppCtrlAmount
);
v
.
component
(
'app-ibizappeditor-app-editor-amount-portlet'
,
IBIZAPPEDITORAppEditorAmount
);
v
.
component
(
'app-ibizappeditor-app-editor-amount-portlet'
,
IBIZAPPEDITORAppEditorAmount
);
v
.
component
(
'app-ibizappe
ditor-app-extend-editor-portlet'
,
IBIZAPPEDITORAppExtendEditor
);
v
.
component
(
'app-ibizappe
xtendeditor-app-extend-editor-amount-portlet'
,
IBIZAPPEXTENDEDITORAppExtendEditorAmount
);
v
.
component
(
'ibizappview-app-view-list-portlet'
,
IBIZAPPVIEWAppViewList
);
v
.
component
(
'ibizappview-app-view-list-portlet'
,
IBIZAPPVIEWAppViewList
);
v
.
component
(
'ibizappview-view-chart-portlet'
,
IBIZAPPVIEWViewChart
);
v
.
component
(
'ibizappview-view-chart-portlet'
,
IBIZAPPVIEWViewChart
);
v
.
component
(
'ibizappview-app-view-amount-portlet'
,
IBIZAPPVIEWAppViewAmount
);
v
.
component
(
'ibizappview-app-view-amount-portlet'
,
IBIZAPPVIEWAppViewAmount
);
...
@@ -54,7 +54,6 @@ export const PortletComponent = {
...
@@ -54,7 +54,6 @@ export const PortletComponent = {
v
.
component
(
'ibizorder-portal-components-operation-portlet'
,
IBIZOrderPortalComponentsOperation
);
v
.
component
(
'ibizorder-portal-components-operation-portlet'
,
IBIZOrderPortalComponentsOperation
);
v
.
component
(
'ibizorder-portal-components-list2-portlet'
,
IBIZOrderPortalComponentsList2
);
v
.
component
(
'ibizorder-portal-components-list2-portlet'
,
IBIZOrderPortalComponentsList2
);
v
.
component
(
'ibizorder-portal-components-chart-portlet'
,
IBIZOrderPortalComponentsChart
);
v
.
component
(
'ibizorder-portal-components-chart-portlet'
,
IBIZOrderPortalComponentsChart
);
v
.
component
(
'ibizappeditor-app-extend-editor-portlet'
,
IBIZAPPEDITORAppExtendEditor
);
v
.
component
(
'ibizappeditor-app-editor-list-view-portlet'
,
IBIZAPPEDITORAppEditorListView
);
v
.
component
(
'ibizappeditor-app-editor-list-view-portlet'
,
IBIZAPPEDITORAppEditorListView
);
v
.
component
(
'ibizappeditor-editor-chart-portlet'
,
IBIZAPPEDITOREditorChart
);
v
.
component
(
'ibizappeditor-editor-chart-portlet'
,
IBIZAPPEDITOREditorChart
);
v
.
component
(
'ibizappeditor-app-editor-amount-portlet'
,
IBIZAPPEDITORAppEditorAmount
);
v
.
component
(
'ibizappeditor-app-editor-amount-portlet'
,
IBIZAPPEDITORAppEditorAmount
);
...
@@ -63,5 +62,6 @@ export const PortletComponent = {
...
@@ -63,5 +62,6 @@ export const PortletComponent = {
v
.
component
(
'ibizappctrl-app-ctrl-list-view-portlet'
,
IBIZAPPCTRLAppCtrlListView
);
v
.
component
(
'ibizappctrl-app-ctrl-list-view-portlet'
,
IBIZAPPCTRLAppCtrlListView
);
v
.
component
(
'ibizappctrl-ctrl-chart-portlet'
,
IBIZAPPCTRLCtrlChart
);
v
.
component
(
'ibizappctrl-ctrl-chart-portlet'
,
IBIZAPPCTRLCtrlChart
);
v
.
component
(
'ibizappctrl-app-ctrl-amount-portlet'
,
IBIZAPPCTRLAppCtrlAmount
);
v
.
component
(
'ibizappctrl-app-ctrl-amount-portlet'
,
IBIZAPPCTRLAppCtrlAmount
);
v
.
component
(
'ibizappextendeditor-app-extend-editor-amount-portlet'
,
IBIZAPPEXTENDEDITORAppExtendEditorAmount
);
}
}
};
};
\ No newline at end of file
app_Web/src/uiservice/ibizappextendeditor/ibizappextendeditor-ui-service-base.ts
浏览文件 @
c66d4ba5
...
@@ -96,6 +96,7 @@ export default class IBIZAPPEXTENDEDITORUIServiceBase extends UIService {
...
@@ -96,6 +96,7 @@ export default class IBIZAPPEXTENDEDITORUIServiceBase extends UIService {
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
*/
public
initViewMap
(){
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'listview'
,
srfappde
:
'ibizappextendeditors'
,
component
:
'ibizappextendeditorlist-view'
});
}
}
/**
/**
...
...
app_Web/src/widgets/app/app-portal-view-db-dashboard/app-portal-view-db-dashboard.vue
浏览文件 @
c66d4ba5
...
@@ -4,7 +4,7 @@ import AppPortalView_dbBase from './app-portal-view-db-dashboard-base.vue';
...
@@ -4,7 +4,7 @@ import AppPortalView_dbBase from './app-portal-view-db-dashboard-base.vue';
import
view_db_sysportlet5
from
'@widgets/ibizappview/app-view-amount-portlet/app-view-amount-portlet.vue'
;
import
view_db_sysportlet5
from
'@widgets/ibizappview/app-view-amount-portlet/app-view-amount-portlet.vue'
;
import
view_db_sysportlet4
from
'@widgets/ibizappeditor/editor-chart-portlet/editor-chart-portlet.vue'
;
import
view_db_sysportlet4
from
'@widgets/ibizappeditor/editor-chart-portlet/editor-chart-portlet.vue'
;
import
view_db_sysportlet3
from
'@widgets/ibizappctrl/ctrl-chart-portlet/ctrl-chart-portlet.vue'
;
import
view_db_sysportlet3
from
'@widgets/ibizappctrl/ctrl-chart-portlet/ctrl-chart-portlet.vue'
;
import
view_db_sysportlet10
from
'@widgets/ibizappe
ditor/app-extend-editor-portlet/app-extend-editor
-portlet.vue'
;
import
view_db_sysportlet10
from
'@widgets/ibizappe
xtendeditor/app-extend-editor-amount-portlet/app-extend-editor-amount
-portlet.vue'
;
import
view_db_sysportlet2
from
'@widgets/ibizappview/view-chart-portlet/view-chart-portlet.vue'
;
import
view_db_sysportlet2
from
'@widgets/ibizappview/view-chart-portlet/view-chart-portlet.vue'
;
import
view_db_sysportlet1
from
'@widgets/ibizappview/app-view-list-portlet/app-view-list-portlet.vue'
;
import
view_db_sysportlet1
from
'@widgets/ibizappview/app-view-list-portlet/app-view-list-portlet.vue'
;
import
view_db_sysportlet9
from
'@widgets/ibizappeditor/app-editor-list-view-portlet/app-editor-list-view-portlet.vue'
;
import
view_db_sysportlet9
from
'@widgets/ibizappeditor/app-editor-list-view-portlet/app-editor-list-view-portlet.vue'
;
...
...
app_Web/src/widgets/ibizappextendeditor/app-extend-editor-amount-portlet/app-extend-editor-amount-portlet-base.vue
0 → 100644
浏览文件 @
c66d4ba5
<
template
>
<div
class=
'portlet app-extend-editor-amount '
:style=
"
{'height': isAdaptiveSize ? 'calc(100% - 16px)' : getHeight,}">
<p
class=
'portlet-title'
>
<span>
扩展编辑器数量
</span>
</p>
<el-divider
class=
"divider"
></el-divider>
<div
class=
"portlet-with-title"
>
<!-- 测试 -->
<view
_db_sysportlet10_list
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
createAction=
"Create"
removeAction=
"Remove"
updateAction=
"Update"
fetchAction=
"FetchDefault"
:showBusyIndicator=
"true"
name=
"db_sysportlet10_list"
ref=
'db_sysportlet10_list'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet10_list
>
</div>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
,
Inject
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
,
ViewTool
}
from
'@/utils'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
IBIZAPPEXTENDEDITORService
from
'@/service/ibizappextendeditor/ibizappextendeditor-service'
;
import
AppExtendEditorAmountService
from
'./app-extend-editor-amount-portlet-service'
;
import
IBIZAPPEXTENDEDITORUIService
from
'@/uiservice/ibizappextendeditor/ibizappextendeditor-ui-service'
;
import
UIService
from
'@/uiservice/ui-service'
;
import
{
Environment
}
from
'@/environments/environment'
;
@
Component
({
components
:
{
}
})
export
default
class
IBIZAPPEXTENDEDITORAppExtendEditorAmountBase
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof AppExtendEditorAmountBase
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof AppExtendEditorAmountBase
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof AppExtendEditorAmountBase
*/
@
Prop
()
public
context
!
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof AppExtendEditorAmountBase
*/
@
Prop
()
public
viewparams
!
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof AppExtendEditorAmountBase
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof AppExtendEditorAmountBase
*/
public
getControlType
():
string
{
return
'PORTLET'
}
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof AppExtendEditorAmountBase
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 建构部件服务对象
*
* @type {AppExtendEditorAmountService}
* @memberof AppExtendEditorAmountBase
*/
public
service
:
AppExtendEditorAmountService
=
new
AppExtendEditorAmountService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {IBIZAPPEXTENDEDITORService}
* @memberof AppExtendEditorAmountBase
*/
public
appEntityService
:
IBIZAPPEXTENDEDITORService
=
new
IBIZAPPEXTENDEDITORService
({
$store
:
this
.
$store
});
/**
* 界面UI服务对象
*
* @type {IBIZAPPEXTENDEDITORUIService}
* @memberof AppExtendEditorAmountBase
*/
public
appUIService
:
IBIZAPPEXTENDEDITORUIService
=
new
IBIZAPPEXTENDEDITORUIService
(
this
.
$store
);
/**
* 关闭视图
*
* @param {any} args
* @memberof AppExtendEditorAmountBase
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof AppExtendEditorAmountBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 长度
*
* @type {number}
* @memberof AppExtendEditorAmountBase
*/
@
Prop
()
public
height
?:
number
;
/**
* 宽度
*
* @type {number}
* @memberof AppExtendEditorAmountBase
*/
@
Prop
()
public
width
?:
number
;
/**
* 门户部件类型
*
* @type {number}
* @memberof AppExtendEditorAmountBase
*/
public
portletType
:
string
=
'list'
;
/**
* 视图默认使用
*
* @type {string}
* @memberof AppExtendEditorAmountBase
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 界面行为模型数据
*
* @memberof AppExtendEditorAmountBase
*/
public
uiactionModel
:
any
=
{
}
/**
* 是否自适应大小
*
* @returns {boolean}
* @memberof AppExtendEditorAmountBase
*/
@
Prop
({
default
:
false
})
public
isAdaptiveSize
!
:
boolean
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof AppExtendEditorAmountBase
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof AppExtendEditorAmountBase
*/
public
getData
():
any
{
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof AppExtendEditorAmountBase
*/
get
getHeight
(){
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'100px'
;
}
}
/**
* 刷新
*
* @memberof AppExtendEditorAmountBase
*/
public
refresh
(
args
?:
any
)
{
this
.
viewState
.
next
({
tag
:
'db_sysportlet10_list'
,
action
:
'refresh'
,
data
:
args
});
}
/**
* vue 生命周期
*
* @memberof AppExtendEditorAmountBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof AppExtendEditorAmountBase
*/
public
afterCreated
(){
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
Object
.
is
(
tag
,
"all-portlet"
)
&&
Object
.
is
(
action
,
'loadmodel'
)){
this
.
calcUIActionAuthState
(
data
);
}
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
const
refs
:
any
=
this
.
$refs
;
Object
.
keys
(
refs
).
forEach
((
_name
:
string
)
=>
{
this
.
viewState
.
next
({
tag
:
_name
,
action
:
action
,
data
:
data
});
});
});
}
}
/**
* vue 生命周期
*
* @memberof AppExtendEditorAmountBase
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof AppExtendEditorAmountBase
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
/**
* 计算界面行为权限
*
* @memberof AppExtendEditorAmountBase
*/
public
calcUIActionAuthState
(
data
:
any
=
{})
{
// 如果是操作栏,不计算权限
if
(
this
.
portletType
&&
Object
.
is
(
'actionbar'
,
this
.
portletType
))
{
return
;
}
let
_this
:
any
=
this
;
let
uiservice
:
any
=
_this
.
appUIService
?
_this
.
appUIService
:
new
UIService
(
_this
.
$store
);
if
(
_this
.
uiactionModel
){
ViewTool
.
calcActionItemAuthState
(
data
,
_this
.
uiactionModel
,
uiservice
);
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-extend-editor-amount-portlet.less';
</
style
>
app_Web/src/widgets/ibizappextendeditor/app-extend-editor-amount-portlet/app-extend-editor-amount-portlet-model.ts
0 → 100644
浏览文件 @
c66d4ba5
/**
* AppExtendEditorAmount 部件模型
*
* @export
* @class AppExtendEditorAmountModel
*/
export
default
class
AppExtendEditorAmountModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof AppExtendEditorAmountModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'createman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'ibizappextendeditorname'
,
},
{
name
:
'ibizappextendeditor'
,
prop
:
'ibizappextendeditorid'
,
},
{
name
:
'extensionflag'
,
},
{
name
:
'documentaddress'
,
},
{
name
:
'extendeditordescription'
,
},
{
name
:
'amount'
,
},
{
name
:
'extendeditortype'
,
},
]
}
}
app_Web/src/widgets/ibizappextendeditor/app-extend-editor-amount-portlet/app-extend-editor-amount-portlet-service.ts
0 → 100644
浏览文件 @
c66d4ba5
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* AppExtendEditorAmount 部件服务对象
*
* @export
* @class AppExtendEditorAmountService
*/
export
default
class
AppExtendEditorAmountService
extends
ControlService
{
}
app_Web/src/widgets/ibizappextendeditor/app-extend-editor-amount-portlet/app-extend-editor-amount-portlet.less
0 → 100644
浏览文件 @
c66d4ba5
// this is less
.portlet{
height: 100%;
width: 100%;
> .portlet-title{
padding: 14px 16px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
height: 52px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
justify-content: space-between;
width:100%;
line-height: 22px;
font-size: 16px;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #304265;
font-weight: 600;
i{
margin-right: 5px;
}
>.portlet-action{
margin-left: 12px;
font-size: 14px;
>a{
padding: 6px;
}
}
}
> .divider {
margin: 0px 0px 11px 0px;
}
> .portlet-with-title{
width:100%;
height:calc(100% - 58px);
overflow:auto;
padding:0px 12px;
}
> .portlet-without-title{
width:100%;
height:100%;
overflow:auto;
padding:0px 12px;
}
.app-charts{
height: 100%!important;
}
.toolbar-container {
button{
margin: 6px 0px 4px 16px;
}
.ivu-badge{
.ivu-badge-count{
top: 0;
}
}
}
}
app_Web/src/widgets/ibizappextendeditor/app-extend-editor-amount-portlet/app-extend-editor-amount-portlet.vue
0 → 100644
浏览文件 @
c66d4ba5
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZAPPEXTENDEDITORAppExtendEditorAmountBase
from
'./app-extend-editor-amount-portlet-base.vue'
;
import
view_db_sysportlet10_list
from
'@widgets/ibizappextendeditor/extend-editor-amount-list/extend-editor-amount-list.vue'
;
@
Component
({
components
:
{
view_db_sysportlet10_list
,
}
})
export
default
class
IBIZAPPEXTENDEDITORAppExtendEditorAmount
extends
IBIZAPPEXTENDEDITORAppExtendEditorAmountBase
{
}
</
script
>
app_Web/src/widgets/ibizappextendeditor/extend-editor-amount-list/extend-editor-amount-list-base.vue
0 → 100644
浏览文件 @
c66d4ba5
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizappextendeditor/extend-editor-amount-list/extend-editor-amount-list-model.ts
0 → 100644
浏览文件 @
c66d4ba5
/**
* ExtendEditorAmount 部件模型
*
* @export
* @class ExtendEditorAmountModel
*/
export
default
class
ExtendEditorAmountModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ExtendEditorAmountDb_sysportlet10_listMode
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfamount'
,
prop
:
'amount'
,
dataType
:
'INT'
,
},
{
name
:
'srfkey'
,
prop
:
'ibizappextendeditorid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'ibizappextendeditorname'
,
dataType
:
'TEXT'
,
},
{
name
:
'ibizappextendeditor'
,
prop
:
'ibizappextendeditorid'
,
dataType
:
'FONTKEY'
,
},
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'page'
,
prop
:
'page'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizappextendeditor/extend-editor-amount-list/extend-editor-amount-list-service.ts
0 → 100644
浏览文件 @
c66d4ba5
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZAPPEXTENDEDITORService
from
'@/service/ibizappextendeditor/ibizappextendeditor-service'
;
import
ExtendEditorAmountModel
from
'./extend-editor-amount-list-model'
;
/**
* ExtendEditorAmount 部件服务对象
*
* @export
* @class ExtendEditorAmountService
*/
export
default
class
ExtendEditorAmountService
extends
ControlService
{
/**
* 扩展编辑器服务对象
*
* @type {IBIZAPPEXTENDEDITORService}
* @memberof ExtendEditorAmountService
*/
public
appEntityService
:
IBIZAPPEXTENDEDITORService
=
new
IBIZAPPEXTENDEDITORService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof ExtendEditorAmountService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of ExtendEditorAmountService.
*
* @param {*} [opts={}]
* @memberof ExtendEditorAmountService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
ExtendEditorAmountModel
();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ExtendEditorAmountService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
(
async
(
response
)
=>
{
await
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ExtendEditorAmountService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 添加数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ExtendEditorAmountService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ExtendEditorAmountService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
}
\ No newline at end of file
app_Web/src/widgets/ibizappextendeditor/extend-editor-amount-list/extend-editor-amount-list.less
0 → 100644
浏览文件 @
c66d4ba5
// this is less
.app-list {
height:100%;
flex-grow: 1;
overflow-y: auto;
.el-collapse-item__header.is-active{
color: #409eff;
background-color: #ecf5ff;
}
.el-collapse{
.el-collapse-item{
.el-collapse-item__wrap{
.el-collapse-item__content{
padding: 10px 0 10px 0;
}
}
}
}
.app-list-item {
line-height: 34px;
padding: 12px 6px;
min-height: 24px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #f0f0f0;
.app-list-item-content {
width: 70%;
display: flex;
align-items: center;
.item-icon {
width: 40px;
height: 40px;
margin-right: 14px;
img {
width: 40px;
height: 40px;
border-radius: 50%;
}
}
.item-content-text {
display: flex;
flex-direction: column;
width: 80%;
.item-title {
font-size: 18px;
font-weight: bold;
}
.item-description{
height: 34px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.item-subtext {
color: #8c8c8c;
}
}
}
.app-list-item-date {
position: relative;
color: #8c8c8c;
}
}
.app-list-item.isSelect {
background: #ecf5ff;
border-radius: 2px;
border-color: rgb(197, 197, 197);
}
.app-list-item:hover {
background: #ecf5ff;
}
.loadmore {
text-align: center;
padding: 10px;
text-decoration: underline;
color: #82bff7;
cursor: default;
}
}
.app-list-empty {
height:100%;
color: #909399;
display: flex;
justify-content: center;
align-items: center;
}
app_Web/src/widgets/ibizappextendeditor/extend-editor-amount-list/extend-editor-amount-list.vue
0 → 100644
浏览文件 @
c66d4ba5
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ExtendEditorAmountBase
from
'./extend-editor-amount-list-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
ExtendEditorAmount
extends
ExtendEditorAmountBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/micro-component/main-form/main-form-base.vue
浏览文件 @
c66d4ba5
...
@@ -2202,7 +2202,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2202,7 +2202,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Grid
View'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -2237,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2237,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Grid
View'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -2298,7 +2298,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2298,7 +2298,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Grid
View'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -2406,7 +2406,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2406,7 +2406,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Grid
View'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -2483,7 +2483,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2483,7 +2483,7 @@ export default class MainBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Grid
View'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'microComponent
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录