Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
43f88204
提交
43f88204
编写于
12月 14, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
kuaikuai 发布系统代码 [后台服务,演示应用]
上级
de9f6949
变更
30
展开全部
显示空白字符变更
内嵌
并排
正在显示
30 个修改的文件
包含
1405 行增加
和
802 行删除
+1405
-802
auth-service-register.ts
app_Web/src/authservice/auth-service-register.ts
+1
-0
ibizappextendeditor-auth-service-base.ts
...zappextendeditor/ibizappextendeditor-auth-service-base.ts
+44
-0
ibizappextendeditor-auth-service.ts
...e/ibizappextendeditor/ibizappextendeditor-auth-service.ts
+24
-0
en-US-base.ts
app_Web/src/locale/lang/en-US-base.ts
+2
-0
zh-CN-base.ts
app_Web/src/locale/lang/zh-CN-base.ts
+2
-0
ibizappextendeditor_en_US.ts
...entities/ibizappextendeditor/ibizappextendeditor_en_US.ts
+9
-0
ibizappextendeditor_en_US_base.ts
...ies/ibizappextendeditor/ibizappextendeditor_en_US_base.ts
+22
-0
ibizappextendeditor_zh_CN.ts
...entities/ibizappextendeditor/ibizappextendeditor_zh_CN.ts
+9
-0
ibizappextendeditor_zh_CN_base.ts
...ies/ibizappextendeditor/ibizappextendeditor_zh_CN_base.ts
+21
-0
micro-component_en_US_base.ts
...es/entities/micro-component/micro-component_en_US_base.ts
+0
-50
micro-component_zh_CN_base.ts
...es/entities/micro-component/micro-component_zh_CN_base.ts
+0
-50
ibizappextendeditors.ts
.../mock/entity/ibizappextendeditors/ibizappextendeditors.ts
+380
-0
index.ts
app_Web/src/mock/index.ts
+1
-0
micro-component-grid-view-base.vue
...ro-component-grid-view/micro-component-grid-view-base.vue
+1
-681
micro-component-grid-view.less
.../micro-component-grid-view/micro-component-grid-view.less
+0
-15
entity-service-register.ts
app_Web/src/service/entity-service-register.ts
+1
-0
ibizappextendeditor-service-base.ts
...e/ibizappextendeditor/ibizappextendeditor-service-base.ts
+201
-0
ibizappextendeditor-service.ts
...ervice/ibizappextendeditor/ibizappextendeditor-service.ts
+25
-0
ibizappextendeditor-ui-service-base.ts
...bizappextendeditor/ibizappextendeditor-ui-service-base.ts
+256
-0
ibizappextendeditor-ui-service.ts
...ice/ibizappextendeditor/ibizappextendeditor-ui-service.ts
+21
-0
ui-service-register.ts
app_Web/src/uiservice/ui-service-register.ts
+1
-0
application-web-prod.yml
.../demo-app-web/src/main/resources/application-web-prod.yml
+4
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+5
-5
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+8
-0
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+1
-0
IBIZAPPEXTENDEDITORDTO.java
...n/java/cn/ibizlab/demoapi/dto/IBIZAPPEXTENDEDITORDTO.java
+182
-0
IBIZAPPEXTENDEDITORMapping.java
...n/ibizlab/demoapi/mapping/IBIZAPPEXTENDEDITORMapping.java
+15
-0
IBIZAPPEXTENDEDITORResource.java
.../cn/ibizlab/demoapi/rest/IBIZAPPEXTENDEDITORResource.java
+163
-0
StaticDict.java
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
+5
-0
未找到文件。
app_Web/src/authservice/auth-service-register.ts
浏览文件 @
43f88204
...
@@ -81,6 +81,7 @@ export class AuthServiceRegister {
...
@@ -81,6 +81,7 @@ export class AuthServiceRegister {
this
.
allAuthService
.
set
(
'ibizsample0005'
,
()
=>
import
(
'@/authservice/ibizsample0005/ibizsample0005-auth-service'
));
this
.
allAuthService
.
set
(
'ibizsample0005'
,
()
=>
import
(
'@/authservice/ibizsample0005/ibizsample0005-auth-service'
));
this
.
allAuthService
.
set
(
'ibizuniproduct'
,
()
=>
import
(
'@/authservice/ibizuniproduct/ibizuniproduct-auth-service'
));
this
.
allAuthService
.
set
(
'ibizuniproduct'
,
()
=>
import
(
'@/authservice/ibizuniproduct/ibizuniproduct-auth-service'
));
this
.
allAuthService
.
set
(
'dynadashboard'
,
()
=>
import
(
'@/authservice/dynadashboard/dynadashboard-auth-service'
));
this
.
allAuthService
.
set
(
'dynadashboard'
,
()
=>
import
(
'@/authservice/dynadashboard/dynadashboard-auth-service'
));
this
.
allAuthService
.
set
(
'ibizappextendeditor'
,
()
=>
import
(
'@/authservice/ibizappextendeditor/ibizappextendeditor-auth-service'
));
}
}
/**
/**
...
...
app_Web/src/authservice/ibizappextendeditor/ibizappextendeditor-auth-service-base.ts
0 → 100644
浏览文件 @
43f88204
import
AuthService
from
'../auth-service'
;
/**
* 扩展编辑器权限服务对象基类
*
* @export
* @class IBIZAPPEXTENDEDITORAuthServiceBase
* @extends {AuthService}
*/
export
default
class
IBIZAPPEXTENDEDITORAuthServiceBase
extends
AuthService
{
/**
* Creates an instance of IBIZAPPEXTENDEDITORAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEXTENDEDITORAuthServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZAPPEXTENDEDITORAuthServiceBase
*/
public
getOPPrivs
(
mainSateOPPrivs
:
any
):
any
{
let
curDefaultOPPrivs
:
any
=
this
.
getSysOPPrivs
();
let
copyDefaultOPPrivs
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
curDefaultOPPrivs
));
if
(
mainSateOPPrivs
){
Object
.
assign
(
curDefaultOPPrivs
,
mainSateOPPrivs
);
}
// 统一资源优先
Object
.
keys
(
curDefaultOPPrivs
).
forEach
((
name
:
string
)
=>
{
if
(
this
.
sysOPPrivsMap
.
get
(
name
)
&&
copyDefaultOPPrivs
[
name
]
===
0
){
curDefaultOPPrivs
[
name
]
=
copyDefaultOPPrivs
[
name
];
}
});
return
curDefaultOPPrivs
;
}
}
\ No newline at end of file
app_Web/src/authservice/ibizappextendeditor/ibizappextendeditor-auth-service.ts
0 → 100644
浏览文件 @
43f88204
import
IBIZAPPEXTENDEDITORAuthServiceBase
from
'./ibizappextendeditor-auth-service-base'
;
/**
* 扩展编辑器权限服务对象
*
* @export
* @class IBIZAPPEXTENDEDITORAuthService
* @extends {IBIZAPPEXTENDEDITORAuthServiceBase}
*/
export
default
class
IBIZAPPEXTENDEDITORAuthService
extends
IBIZAPPEXTENDEDITORAuthServiceBase
{
/**
* Creates an instance of IBIZAPPEXTENDEDITORAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEXTENDEDITORAuthService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/locale/lang/en-US-base.ts
浏览文件 @
43f88204
...
@@ -40,6 +40,7 @@ import ibizcustom_en_US from '@locale/lanres/entities/ibizcustom/ibizcustom_en_U
...
@@ -40,6 +40,7 @@ import ibizcustom_en_US from '@locale/lanres/entities/ibizcustom/ibizcustom_en_U
import
ibizsample0005_en_US
from
'@locale/lanres/entities/ibizsample0005/ibizsample0005_en_US'
;
import
ibizsample0005_en_US
from
'@locale/lanres/entities/ibizsample0005/ibizsample0005_en_US'
;
import
ibizuniproduct_en_US
from
'@locale/lanres/entities/ibizuniproduct/ibizuniproduct_en_US'
;
import
ibizuniproduct_en_US
from
'@locale/lanres/entities/ibizuniproduct/ibizuniproduct_en_US'
;
import
dynadashboard_en_US
from
'@locale/lanres/entities/dynadashboard/dynadashboard_en_US'
;
import
dynadashboard_en_US
from
'@locale/lanres/entities/dynadashboard/dynadashboard_en_US'
;
import
ibizappextendeditor_en_US
from
'@locale/lanres/entities/ibizappextendeditor/ibizappextendeditor_en_US'
;
import
components_en_US
from
'@locale/lanres/components/components_en_US'
;
import
components_en_US
from
'@locale/lanres/components/components_en_US'
;
import
codelist_en_US
from
'@locale/lanres/codelist/codelist_en_US'
;
import
codelist_en_US
from
'@locale/lanres/codelist/codelist_en_US'
;
import
userCustom_en_US
from
'@locale/lanres/userCustom/userCustom_en_US'
;
import
userCustom_en_US
from
'@locale/lanres/userCustom/userCustom_en_US'
;
...
@@ -492,6 +493,7 @@ function getAppLocale(){
...
@@ -492,6 +493,7 @@ function getAppLocale(){
ibizsample0005
:
ibizsample0005_en_US
(),
ibizsample0005
:
ibizsample0005_en_US
(),
ibizuniproduct
:
ibizuniproduct_en_US
(),
ibizuniproduct
:
ibizuniproduct_en_US
(),
dynadashboard
:
dynadashboard_en_US
(),
dynadashboard
:
dynadashboard_en_US
(),
ibizappextendeditor
:
ibizappextendeditor_en_US
(),
},
},
components
:
components_en_US
(),
components
:
components_en_US
(),
codelist
:
codelist_en_US
(),
codelist
:
codelist_en_US
(),
...
...
app_Web/src/locale/lang/zh-CN-base.ts
浏览文件 @
43f88204
...
@@ -40,6 +40,7 @@ import ibizcustom_zh_CN from '@locale/lanres/entities/ibizcustom/ibizcustom_zh_C
...
@@ -40,6 +40,7 @@ import ibizcustom_zh_CN from '@locale/lanres/entities/ibizcustom/ibizcustom_zh_C
import
ibizsample0005_zh_CN
from
'@locale/lanres/entities/ibizsample0005/ibizsample0005_zh_CN'
;
import
ibizsample0005_zh_CN
from
'@locale/lanres/entities/ibizsample0005/ibizsample0005_zh_CN'
;
import
ibizuniproduct_zh_CN
from
'@locale/lanres/entities/ibizuniproduct/ibizuniproduct_zh_CN'
;
import
ibizuniproduct_zh_CN
from
'@locale/lanres/entities/ibizuniproduct/ibizuniproduct_zh_CN'
;
import
dynadashboard_zh_CN
from
'@locale/lanres/entities/dynadashboard/dynadashboard_zh_CN'
;
import
dynadashboard_zh_CN
from
'@locale/lanres/entities/dynadashboard/dynadashboard_zh_CN'
;
import
ibizappextendeditor_zh_CN
from
'@locale/lanres/entities/ibizappextendeditor/ibizappextendeditor_zh_CN'
;
import
components_zh_CN
from
'@locale/lanres/components/components_zh_CN'
;
import
components_zh_CN
from
'@locale/lanres/components/components_zh_CN'
;
import
codelist_zh_CN
from
'@locale/lanres/codelist/codelist_zh_CN'
;
import
codelist_zh_CN
from
'@locale/lanres/codelist/codelist_zh_CN'
;
import
userCustom_zh_CN
from
'@locale/lanres/userCustom/userCustom_zh_CN'
;
import
userCustom_zh_CN
from
'@locale/lanres/userCustom/userCustom_zh_CN'
;
...
@@ -491,6 +492,7 @@ function getAppLocale(){
...
@@ -491,6 +492,7 @@ function getAppLocale(){
ibizsample0005
:
ibizsample0005_zh_CN
(),
ibizsample0005
:
ibizsample0005_zh_CN
(),
ibizuniproduct
:
ibizuniproduct_zh_CN
(),
ibizuniproduct
:
ibizuniproduct_zh_CN
(),
dynadashboard
:
dynadashboard_zh_CN
(),
dynadashboard
:
dynadashboard_zh_CN
(),
ibizappextendeditor
:
ibizappextendeditor_zh_CN
(),
},
},
components
:
components_zh_CN
(),
components
:
components_zh_CN
(),
codelist
:
codelist_zh_CN
(),
codelist
:
codelist_zh_CN
(),
...
...
app_Web/src/locale/lanres/entities/ibizappextendeditor/ibizappextendeditor_en_US.ts
0 → 100644
浏览文件 @
43f88204
import
IBIZAPPEXTENDEDITOR_en_US_Base
from
'./ibizappextendeditor_en_US_base'
;
function
getLocaleResource
(){
const
IBIZAPPEXTENDEDITOR_en_US_OwnData
=
{};
const
targetData
=
Object
.
assign
(
IBIZAPPEXTENDEDITOR_en_US_Base
(),
IBIZAPPEXTENDEDITOR_en_US_OwnData
);
return
targetData
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizappextendeditor/ibizappextendeditor_en_US_base.ts
0 → 100644
浏览文件 @
43f88204
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
createman
:
commonLogic
.
appcommonhandle
(
"建立人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"建立时间"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
ibizappextendeditorname
:
commonLogic
.
appcommonhandle
(
"扩展编辑器名称"
,
null
),
ibizappextendeditorid
:
commonLogic
.
appcommonhandle
(
"扩展编辑器标识"
,
null
),
extensionflag
:
commonLogic
.
appcommonhandle
(
"扩展标识"
,
null
),
documentaddress
:
commonLogic
.
appcommonhandle
(
"文档地址"
,
null
),
extendeditordescription
:
commonLogic
.
appcommonhandle
(
"扩展编辑器描述"
,
null
),
amount
:
commonLogic
.
appcommonhandle
(
"数量"
,
null
),
extendeditortype
:
commonLogic
.
appcommonhandle
(
"扩展编辑器类型"
,
null
),
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizappextendeditor/ibizappextendeditor_zh_CN.ts
0 → 100644
浏览文件 @
43f88204
import
IBIZAPPEXTENDEDITOR_zh_CN_Base
from
'./ibizappextendeditor_zh_CN_base'
;
function
getLocaleResource
(){
const
IBIZAPPEXTENDEDITOR_zh_CN_OwnData
=
{};
const
targetData
=
Object
.
assign
(
IBIZAPPEXTENDEDITOR_zh_CN_Base
(),
IBIZAPPEXTENDEDITOR_zh_CN_OwnData
);
return
targetData
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizappextendeditor/ibizappextendeditor_zh_CN_base.ts
0 → 100644
浏览文件 @
43f88204
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
createman
:
commonLogic
.
appcommonhandle
(
"建立人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"建立时间"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
ibizappextendeditorname
:
commonLogic
.
appcommonhandle
(
"扩展编辑器名称"
,
null
),
ibizappextendeditorid
:
commonLogic
.
appcommonhandle
(
"扩展编辑器标识"
,
null
),
extensionflag
:
commonLogic
.
appcommonhandle
(
"扩展标识"
,
null
),
documentaddress
:
commonLogic
.
appcommonhandle
(
"文档地址"
,
null
),
extendeditordescription
:
commonLogic
.
appcommonhandle
(
"扩展编辑器描述"
,
null
),
amount
:
commonLogic
.
appcommonhandle
(
"数量"
,
null
),
extendeditortype
:
commonLogic
.
appcommonhandle
(
"扩展编辑器类型"
,
null
),
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_Web/src/locale/lanres/entities/micro-component/micro-component_en_US_base.ts
浏览文件 @
43f88204
...
@@ -136,56 +136,6 @@ function getLocaleResourceBase(){
...
@@ -136,56 +136,6 @@ function getLocaleResourceBase(){
uiactions
:
{
uiactions
:
{
},
},
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
},
tbitem4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Edit"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Edit {0}"
,
null
),
},
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"刷新"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"刷新"
,
null
),
},
tbitem6
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Copy"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Copy {0}"
,
null
),
},
tbitem7
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem8
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Remove"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Remove {0}"
,
null
),
},
tbitem9
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem13
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Export"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Export {0} Data To Excel"
,
null
),
},
tbitem10
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem16
:
{
caption
:
commonLogic
.
appcommonhandle
(
"其它"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"其它"
,
null
),
},
tbitem21
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Export Data Model"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"导出数据模型"
,
null
),
},
tbitem23
:
{
caption
:
commonLogic
.
appcommonhandle
(
"数据导入"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"数据导入"
,
null
),
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
...
...
app_Web/src/locale/lanres/entities/micro-component/micro-component_zh_CN_base.ts
浏览文件 @
43f88204
...
@@ -136,56 +136,6 @@ function getLocaleResourceBase(){
...
@@ -136,56 +136,6 @@ function getLocaleResourceBase(){
uiactions
:
{
uiactions
:
{
},
},
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
tbitem4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
},
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"刷新"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"刷新"
,
null
),
},
tbitem6
:
{
caption
:
commonLogic
.
appcommonhandle
(
"拷贝"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"拷贝"
,
null
),
},
tbitem7
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem8
:
{
caption
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
tbitem9
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem13
:
{
caption
:
commonLogic
.
appcommonhandle
(
"导出"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"导出"
,
null
),
},
tbitem10
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem16
:
{
caption
:
commonLogic
.
appcommonhandle
(
"其它"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"其它"
,
null
),
},
tbitem21
:
{
caption
:
commonLogic
.
appcommonhandle
(
"导出数据模型"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"导出数据模型"
,
null
),
},
tbitem23
:
{
caption
:
commonLogic
.
appcommonhandle
(
"数据导入"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"数据导入"
,
null
),
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
...
...
app_Web/src/mock/entity/ibizappextendeditors/ibizappextendeditors.ts
0 → 100644
浏览文件 @
43f88204
此差异已折叠。
点击以展开。
app_Web/src/mock/index.ts
浏览文件 @
43f88204
...
@@ -49,3 +49,4 @@ import './entity/ibizcustoms/ibizcustoms';
...
@@ -49,3 +49,4 @@ import './entity/ibizcustoms/ibizcustoms';
import
'./entity/ibizsample0005s/ibizsample0005s'
;
import
'./entity/ibizsample0005s/ibizsample0005s'
;
import
'./entity/ibizuniproducts/ibizuniproducts'
;
import
'./entity/ibizuniproducts/ibizuniproducts'
;
import
'./entity/dynadashboards/dynadashboards'
;
import
'./entity/dynadashboards/dynadashboards'
;
import
'./entity/ibizappextendeditors/ibizappextendeditors'
;
app_Web/src/pages/sample/micro-component-grid-view/micro-component-grid-view-base.vue
浏览文件 @
43f88204
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/micro-component-grid-view/micro-component-grid-view.less
浏览文件 @
43f88204
.micro-component-grid-view{
.micro-component-grid-view{
position: relative;
position: relative;
}
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
app_Web/src/service/entity-service-register.ts
浏览文件 @
43f88204
...
@@ -81,6 +81,7 @@ export class EntityServiceRegister {
...
@@ -81,6 +81,7 @@ export class EntityServiceRegister {
this
.
allEntityService
.
set
(
'ibizsample0005'
,
()
=>
import
(
'@/service/ibizsample0005/ibizsample0005-service'
));
this
.
allEntityService
.
set
(
'ibizsample0005'
,
()
=>
import
(
'@/service/ibizsample0005/ibizsample0005-service'
));
this
.
allEntityService
.
set
(
'ibizuniproduct'
,
()
=>
import
(
'@/service/ibizuniproduct/ibizuniproduct-service'
));
this
.
allEntityService
.
set
(
'ibizuniproduct'
,
()
=>
import
(
'@/service/ibizuniproduct/ibizuniproduct-service'
));
this
.
allEntityService
.
set
(
'dynadashboard'
,
()
=>
import
(
'@/service/dynadashboard/dynadashboard-service'
));
this
.
allEntityService
.
set
(
'dynadashboard'
,
()
=>
import
(
'@/service/dynadashboard/dynadashboard-service'
));
this
.
allEntityService
.
set
(
'ibizappextendeditor'
,
()
=>
import
(
'@/service/ibizappextendeditor/ibizappextendeditor-service'
));
}
}
/**
/**
...
...
app_Web/src/service/ibizappextendeditor/ibizappextendeditor-service-base.ts
0 → 100644
浏览文件 @
43f88204
import
{
Http
,
Util
}
from
'@/utils'
;
import
EntityService
from
'../entity-service'
;
/**
* 扩展编辑器服务对象基类
*
* @export
* @class IBIZAPPEXTENDEDITORServiceBase
* @extends {EntityServie}
*/
export
default
class
IBIZAPPEXTENDEDITORServiceBase
extends
EntityService
{
/**
* Creates an instance of IBIZAPPEXTENDEDITORServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 初始化基础数据
*
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
initBasicData
(){
this
.
APPLYDEKEY
=
'ibizappextendeditor'
;
this
.
APPDEKEY
=
'ibizappextendeditorid'
;
this
.
APPDENAME
=
'ibizappextendeditors'
;
this
.
APPDETEXT
=
'ibizappextendeditorname'
;
this
.
APPNAME
=
'web'
;
this
.
SYSTEMNAME
=
'demosys'
;
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/select`
,
isloading
);
return
res
;
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
}
if
(
data
.
srffrontuf
){
delete
data
.
srffrontuf
;
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappextendeditors`
,
data
,
isloading
);
return
res
;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
data
,
isloading
);
return
res
;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
delete
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
isloading
);
return
res
;
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
`
,
isloading
);
return
res
;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/ibizappextendeditors/getdraft`
,
isloading
);
res
.
data
.
ibizappextendeditor
=
data
.
ibizappextendeditor
;
return
res
;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
Http
.
getInstance
().
post
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/checkkey`
,
data
,
isloading
);
return
res
;
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/ibizappextendeditors/
${
context
.
ibizappextendeditor
}
/save`
,
data
,
isloading
);
return
res
;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
let
res
:
any
=
Http
.
getInstance
().
get
(
`/ibizappextendeditors/fetchdefault`
,
tempData
,
isloading
);
return
res
;
}
/**
* searchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZAPPEXTENDEDITORServiceBase
*/
public
async
searchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/ibizappextendeditors/searchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_Web/src/service/ibizappextendeditor/ibizappextendeditor-service.ts
0 → 100644
浏览文件 @
43f88204
import
{
Http
,
Util
}
from
'@/utils'
;
import
IBIZAPPEXTENDEDITORServiceBase
from
'./ibizappextendeditor-service-base'
;
/**
* 扩展编辑器服务对象
*
* @export
* @class IBIZAPPEXTENDEDITORService
* @extends {IBIZAPPEXTENDEDITORServiceBase}
*/
export
default
class
IBIZAPPEXTENDEDITORService
extends
IBIZAPPEXTENDEDITORServiceBase
{
/**
* Creates an instance of IBIZAPPEXTENDEDITORService.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEXTENDEDITORService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizappextendeditor/ibizappextendeditor-ui-service-base.ts
0 → 100644
浏览文件 @
43f88204
import
{
Environment
}
from
'@/environments/environment'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
UIService
from
'../ui-service'
;
import
{
Subject
}
from
'rxjs'
;
import
IBIZAPPEXTENDEDITORService
from
'@/service/ibizappextendeditor/ibizappextendeditor-service'
;
import
IBIZAPPEXTENDEDITORAuthService
from
'@/authservice/ibizappextendeditor/ibizappextendeditor-auth-service'
;
/**
* 扩展编辑器UI服务对象基类
*
* @export
* @class IBIZAPPEXTENDEDITORUIServiceBase
*/
export
default
class
IBIZAPPEXTENDEDITORUIServiceBase
extends
UIService
{
/**
* 是否支持工作流
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
isEnableWorkflow
:
boolean
=
false
;
/**
* 是否支持实体主状态
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
isEnableDEMainState
:
boolean
=
false
;
/**
* 当前UI服务对应的数据服务对象
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
dataService
:
IBIZAPPEXTENDEDITORService
=
new
IBIZAPPEXTENDEDITORService
();
/**
* 所有关联视图
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
allViewMap
:
Map
<
string
,
Object
>
=
new
Map
();
/**
* 状态值
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
stateValue
:
number
=
0
;
/**
* 状态属性
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
stateField
:
string
=
""
;
/**
* 主状态属性集合
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
mainStateFields
:
Array
<
any
>
=
[];
/**
* 主状态集合Map
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
allDeMainStateMap
:
Map
<
string
,
string
>
=
new
Map
();
/**
* 主状态操作标识Map
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
allDeMainStateOPPrivsMap
:
Map
<
string
,
any
>
=
new
Map
();
/**
* Creates an instance of IBIZAPPEXTENDEDITORUIServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
authService
=
new
IBIZAPPEXTENDEDITORAuthService
(
opts
);
this
.
initViewMap
();
this
.
initDeMainStateMap
();
this
.
initDeMainStateOPPrivsMap
();
}
/**
* 初始化视图Map
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
initViewMap
(){
}
/**
* 初始化主状态集合
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
initDeMainStateMap
(){
}
/**
* 初始化主状态操作标识
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
initDeMainStateOPPrivsMap
(){
}
/**
* 获取指定数据的重定向页面
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
async
getRDAppView
(
srfkey
:
string
,
isEnableWorkflow
:
boolean
){
this
.
isEnableWorkflow
=
isEnableWorkflow
;
// 进行数据查询
let
result
:
any
=
await
this
.
dataService
.
Get
({
ibizappextendeditor
:
srfkey
});
const
curData
:
any
=
result
.
data
;
//判断当前数据模式,默认为true,todo
const
iRealDEModel
:
boolean
=
true
;
let
bDataInWF
:
boolean
=
false
;
let
bWFMode
:
any
=
false
;
// 计算数据模式
if
(
this
.
isEnableWorkflow
)
{
bDataInWF
=
await
this
.
dataService
.
testDataInWF
({
stateValue
:
this
.
stateValue
,
stateField
:
this
.
stateField
},
curData
);
if
(
bDataInWF
)
{
bDataInWF
=
true
;
bWFMode
=
await
this
.
dataService
.
testUserExistWorklist
(
null
,
curData
);
}
}
let
strPDTViewParam
:
string
=
await
this
.
getDESDDEViewPDTParam
(
curData
,
bDataInWF
,
bWFMode
);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return
this
.
allViewMap
.
get
(
strPDTViewParam
);
}
/**
* 获取实际的数据类型
*
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
getRealDEType
(
entity
:
any
){
}
/**
* 获取实体单数据实体视图预定义参数
*
* @param curData 当前数据
* @param bDataInWF 是否有数据在工作流中
* @param bWFMode 是否工作流模式
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
async
getDESDDEViewPDTParam
(
curData
:
any
,
bDataInWF
:
boolean
,
bWFMode
:
boolean
){
let
strPDTParam
:
string
=
''
;
if
(
bDataInWF
)
{
// 判断数据是否在流程中
}
//多表单,todo
const
multiFormDEField
:
string
|
null
=
null
;
if
(
multiFormDEField
)
{
const
objFormValue
:
string
=
curData
[
multiFormDEField
];
if
(
!
Environment
.
isAppMode
){
return
'MOBEDITVIEW:'
+
objFormValue
;
}
return
'EDITVIEW:'
+
objFormValue
;
}
if
(
!
Environment
.
isAppMode
){
if
(
this
.
getDEMainStateTag
(
curData
)){
return
`MOBEDITVIEW:MSTAG:
${
this
.
getDEMainStateTag
(
curData
)}
`
;
}
return
'MOBEDITVIEW:'
;
}
if
(
this
.
getDEMainStateTag
(
curData
)){
return
`EDITVIEW:MSTAG:
${
this
.
getDEMainStateTag
(
curData
)}
`
;
}
return
'EDITVIEW:'
;
}
/**
* 获取数据对象的主状态标识
*
* @param curData 当前数据
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
getDEMainStateTag
(
curData
:
any
){
if
(
this
.
mainStateFields
.
length
===
0
)
return
null
;
this
.
mainStateFields
.
forEach
((
singleMainField
:
any
)
=>
{
if
(
!
(
singleMainField
in
curData
)){
console
.
warn
(
`当前数据对象不包含属性「
${
singleMainField
}
」,根据「
${
singleMainField
}
」属性进行的主状态计算默认为空值`
);
}
})
for
(
let
i
=
0
;
i
<=
1
;
i
++
)
{
let
strTag
:
string
=
(
curData
[
this
.
mainStateFields
[
0
]]
!=
null
&&
curData
[
this
.
mainStateFields
[
0
]]
!==
""
)?(
i
==
0
)
?
`
${
curData
[
this
.
mainStateFields
[
0
]]}
`
:
""
:
""
;
if
(
this
.
mainStateFields
.
length
>=
2
)
{
for
(
let
j
=
0
;
j
<=
1
;
j
++
)
{
let
strTag2
:
string
=
(
curData
[
this
.
mainStateFields
[
1
]]
!=
null
&&
curData
[
this
.
mainStateFields
[
1
]]
!==
""
)?
`
${
strTag
}
__
${(
j
==
0
)
?
`
${
curData
[
this
.
mainStateFields
[
1
]]}
`
:
""
}
`
:
strTag
;
if
(
this
.
mainStateFields
.
length
>=
3
)
{
for
(
let
k
=
0
;
k
<=
1
;
k
++
)
{
let
strTag3
:
string
=
(
curData
[
this
.
mainStateFields
[
2
]]
!=
null
&&
curData
[
this
.
mainStateFields
[
2
]]
!==
""
)?
`
${
strTag2
}
__
${(
k
==
0
)
?
`
${
curData
[
this
.
mainStateFields
[
2
]]}
`
:
""
}
`
:
strTag2
;
// 判断是否存在
return
this
.
allDeMainStateMap
.
get
(
strTag3
);
}
}
else
{
return
this
.
allDeMainStateMap
.
get
(
strTag2
);
}
}
}
else
{
return
this
.
allDeMainStateMap
.
get
(
strTag
);
}
}
return
null
;
}
/**
* 获取数据对象当前操作标识
*
* @param data 当前数据
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
getDEMainStateOPPrivs
(
data
:
any
){
if
(
this
.
getDEMainStateTag
(
data
)){
return
this
.
allDeMainStateOPPrivsMap
.
get
((
this
.
getDEMainStateTag
(
data
)
as
string
));
}
else
{
return
null
;
}
}
/**
* 获取数据对象所有的操作标识
*
* @param data 当前数据
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public
getAllOPPrivs
(
data
:
any
){
return
this
.
authService
.
getOPPrivs
(
this
.
getDEMainStateOPPrivs
(
data
));
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizappextendeditor/ibizappextendeditor-ui-service.ts
0 → 100644
浏览文件 @
43f88204
import
IBIZAPPEXTENDEDITORUIServiceBase
from
'./ibizappextendeditor-ui-service-base'
;
/**
* 扩展编辑器UI服务对象
*
* @export
* @class IBIZAPPEXTENDEDITORUIService
*/
export
default
class
IBIZAPPEXTENDEDITORUIService
extends
IBIZAPPEXTENDEDITORUIServiceBase
{
/**
* Creates an instance of IBIZAPPEXTENDEDITORUIService.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEXTENDEDITORUIService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ui-service-register.ts
浏览文件 @
43f88204
...
@@ -81,6 +81,7 @@ export class UIServiceRegister {
...
@@ -81,6 +81,7 @@ export class UIServiceRegister {
this
.
allUIService
.
set
(
'ibizsample0005'
,
()
=>
import
(
'@/uiservice/ibizsample0005/ibizsample0005-ui-service'
));
this
.
allUIService
.
set
(
'ibizsample0005'
,
()
=>
import
(
'@/uiservice/ibizsample0005/ibizsample0005-ui-service'
));
this
.
allUIService
.
set
(
'ibizuniproduct'
,
()
=>
import
(
'@/uiservice/ibizuniproduct/ibizuniproduct-ui-service'
));
this
.
allUIService
.
set
(
'ibizuniproduct'
,
()
=>
import
(
'@/uiservice/ibizuniproduct/ibizuniproduct-ui-service'
));
this
.
allUIService
.
set
(
'dynadashboard'
,
()
=>
import
(
'@/uiservice/dynadashboard/dynadashboard-ui-service'
));
this
.
allUIService
.
set
(
'dynadashboard'
,
()
=>
import
(
'@/uiservice/dynadashboard/dynadashboard-ui-service'
));
this
.
allUIService
.
set
(
'ibizappextendeditor'
,
()
=>
import
(
'@/uiservice/ibizappextendeditor/ibizappextendeditor-ui-service'
));
}
}
/**
/**
...
...
demo-app/demo-app-web/src/main/resources/application-web-prod.yml
浏览文件 @
43f88204
...
@@ -175,6 +175,10 @@ zuul:
...
@@ -175,6 +175,10 @@ zuul:
path
:
/dynadashboards/**
path
:
/dynadashboards/**
serviceId
:
${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
serviceId
:
${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
stripPrefix
:
false
stripPrefix
:
false
ibizappextendeditor
:
path
:
/ibizappextendeditors/**
serviceId
:
${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
stripPrefix
:
false
wfcore
:
wfcore
:
path
:
/wfcore/**
path
:
/wfcore/**
serviceId
:
${ibiz.ref.service.wf:ibzwf-api}
serviceId
:
${ibiz.ref.service.wf:ibzwf-api}
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
43f88204
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
<!--输出实体[IBIZAPPEDITOR]数据结构 -->
<!--输出实体[IBIZAPPEDITOR]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizappeditor-9
0
-3"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizappeditor-9
2
-3"
>
<createTable
tableName=
"T_IBIZAPPEDITOR"
>
<createTable
tableName=
"T_IBIZAPPEDITOR"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</column>
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<!--输出实体[IBIZAPPEXTENDEDITOR]数据结构 -->
<!--输出实体[IBIZAPPEXTENDEDITOR]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizappextendeditor-
8
-4"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizappextendeditor-
17
-4"
>
<createTable
tableName=
"T_IBIZAPPEXTENDEDITOR"
>
<createTable
tableName=
"T_IBIZAPPEXTENDEDITOR"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</column>
...
@@ -528,7 +528,7 @@
...
@@ -528,7 +528,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0001-42
0
-19"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0001-42
8
-19"
>
<createTable
tableName=
"T_IBIZSAMPLE0001"
>
<createTable
tableName=
"T_IBIZSAMPLE0001"
>
<column
name=
"FIELD01"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"FIELD01"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</column>
...
@@ -1308,7 +1308,7 @@
...
@@ -1308,7 +1308,7 @@
<!--输出实体[MICROCOMPONENT]数据结构 -->
<!--输出实体[MICROCOMPONENT]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-microcomponent-7
6
-45"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-microcomponent-7
7
-45"
>
<createTable
tableName=
"T_MICROCOMPONENT"
>
<createTable
tableName=
"T_MICROCOMPONENT"
>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
</column>
...
@@ -1425,7 +1425,7 @@
...
@@ -1425,7 +1425,7 @@
<!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"fk-ibizsample0001-42
0
-46"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"fk-ibizsample0001-42
8
-46"
>
<addForeignKeyConstraint
baseColumnNames=
"IBIZSAMPLE0002ID"
baseTableName=
"T_IBIZSAMPLE0001"
constraintName=
"DER1N_IBIZSAMPLE0001_IBIZSAMPL"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"IBIZSAMPLE0002ID"
referencedTableName=
"T_IBIZSAMPLE0002"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"IBIZSAMPLE0002ID"
baseTableName=
"T_IBIZSAMPLE0001"
constraintName=
"DER1N_IBIZSAMPLE0001_IBIZSAMPL"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"IBIZSAMPLE0002ID"
referencedTableName=
"T_IBIZSAMPLE0002"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 -->
<!--输出实体[IBIZSAMPLE0002]外键关系 -->
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
43f88204
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
</createView>
</createView>
</changeSet>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0001-42
0
-13"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0001-42
8
-13"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZSAMPLE0001"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZSAMPLE0001"
>
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView>
</createView>
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
43f88204
...
@@ -33,6 +33,14 @@
...
@@ -33,6 +33,14 @@
"datascope"
:[{
"id"
:
"all"
,
"name"
:
"全部数据"
},
{
"id"
:
"createman"
,
"name"
:
"创建人"
}]
"datascope"
:[{
"id"
:
"all"
,
"name"
:
"全部数据"
},
{
"id"
:
"createman"
,
"name"
:
"创建人"
}]
}
}
,
{
,
{
"dename"
:
"IBIZAPPEXTENDEDITOR"
,
"delogicname"
:
"扩展编辑器"
,
"sysmoudle"
:{
"id"
:
"SAMPLE"
,
"name"
:
"示例"
},
"dedataset"
:[{
"id"
:
"Default"
,
"name"
:
"数据集"
}],
"deaction"
:[{
"id"
:
"Create"
,
"name"
:
"Create"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Update"
,
"name"
:
"Update"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Remove"
,
"name"
:
"Remove"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Get"
,
"name"
:
"Get"
,
"type"
:
"BUILTIN"
},{
"id"
:
"GetDraft"
,
"name"
:
"GetDraft"
,
"type"
:
"BUILTIN"
},{
"id"
:
"CheckKey"
,
"name"
:
"CheckKey"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Save"
,
"name"
:
"Save"
,
"type"
:
"BUILTIN"
}],
"datascope"
:[{
"id"
:
"all"
,
"name"
:
"全部数据"
},
{
"id"
:
"createman"
,
"name"
:
"创建人"
}]
}
,
{
"dename"
:
"IBIZAPPVIEW"
,
"dename"
:
"IBIZAPPVIEW"
,
"delogicname"
:
"应用视图"
,
"delogicname"
:
"应用视图"
,
"sysmoudle"
:{
"id"
:
"SAMPLE"
,
"name"
:
"示例"
},
"sysmoudle"
:{
"id"
:
"SAMPLE"
,
"name"
:
"示例"
},
...
...
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
43f88204
...
@@ -653,6 +653,7 @@
...
@@ -653,6 +653,7 @@
"field_logic_name"
:
"扩展编辑器类型"
,
"field_logic_name"
:
"扩展编辑器类型"
,
"entity_name"
:
"IBIZAPPEXTENDEDITOR"
,
"entity_name"
:
"IBIZAPPEXTENDEDITOR"
,
"field_type"
:
"TEXT"
,
"field_type"
:
"TEXT"
,
"dict"
:
"CodeList43"
,
"nullable"
:
1
,
"nullable"
:
1
,
"physical_field"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
...
...
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/dto/IBIZAPPEXTENDEDITORDTO.java
0 → 100644
浏览文件 @
43f88204
package
cn
.
ibizlab
.
demoapi
.
dto
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.math.BigInteger
;
import
java.util.Map
;
import
java.util.HashMap
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.Size
;
import
cn.ibizlab.util.domain.DTOBase
;
import
cn.ibizlab.util.domain.DTOClient
;
import
lombok.Data
;
/**
* 服务DTO对象[IBIZAPPEXTENDEDITORDTO]
*/
@Data
public
class
IBIZAPPEXTENDEDITORDTO
extends
DTOBase
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 属性 [CREATEMAN]
*
*/
@JSONField
(
name
=
"createman"
)
@JsonProperty
(
"createman"
)
@Size
(
min
=
0
,
max
=
60
,
message
=
"内容长度必须小于等于[60]"
)
private
String
createman
;
/**
* 属性 [UPDATEDATE]
*
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
@JSONField
(
name
=
"updatedate"
,
format
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonProperty
(
"updatedate"
)
private
Timestamp
updatedate
;
/**
* 属性 [CREATEDATE]
*
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
@JSONField
(
name
=
"createdate"
,
format
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonProperty
(
"createdate"
)
private
Timestamp
createdate
;
/**
* 属性 [UPDATEMAN]
*
*/
@JSONField
(
name
=
"updateman"
)
@JsonProperty
(
"updateman"
)
@Size
(
min
=
0
,
max
=
60
,
message
=
"内容长度必须小于等于[60]"
)
private
String
updateman
;
/**
* 属性 [IBIZAPPEXTENDEDITORNAME]
*
*/
@JSONField
(
name
=
"ibizappextendeditorname"
)
@JsonProperty
(
"ibizappextendeditorname"
)
@Size
(
min
=
0
,
max
=
200
,
message
=
"内容长度必须小于等于[200]"
)
private
String
ibizappextendeditorname
;
/**
* 属性 [IBIZAPPEXTENDEDITORID]
*
*/
@JSONField
(
name
=
"ibizappextendeditorid"
)
@JsonProperty
(
"ibizappextendeditorid"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
ibizappextendeditorid
;
/**
* 属性 [EXTENSIONFLAG]
*
*/
@JSONField
(
name
=
"extensionflag"
)
@JsonProperty
(
"extensionflag"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
extensionflag
;
/**
* 属性 [DOCUMENTADDRESS]
*
*/
@JSONField
(
name
=
"documentaddress"
)
@JsonProperty
(
"documentaddress"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
documentaddress
;
/**
* 属性 [EXTENDEDITORDESCRIPTION]
*
*/
@JSONField
(
name
=
"extendeditordescription"
)
@JsonProperty
(
"extendeditordescription"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
extendeditordescription
;
/**
* 属性 [AMOUNT]
*
*/
@JSONField
(
name
=
"amount"
)
@JsonProperty
(
"amount"
)
private
Integer
amount
;
/**
* 属性 [EXTENDEDITORTYPE]
*
*/
@JSONField
(
name
=
"extendeditortype"
)
@JsonProperty
(
"extendeditortype"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
extendeditortype
;
/**
* 设置 [IBIZAPPEXTENDEDITORNAME]
*/
public
void
setIbizappextendeditorname
(
String
ibizappextendeditorname
){
this
.
ibizappextendeditorname
=
ibizappextendeditorname
;
this
.
modify
(
"ibizappextendeditorname"
,
ibizappextendeditorname
);
}
/**
* 设置 [EXTENSIONFLAG]
*/
public
void
setExtensionflag
(
String
extensionflag
){
this
.
extensionflag
=
extensionflag
;
this
.
modify
(
"extensionflag"
,
extensionflag
);
}
/**
* 设置 [DOCUMENTADDRESS]
*/
public
void
setDocumentaddress
(
String
documentaddress
){
this
.
documentaddress
=
documentaddress
;
this
.
modify
(
"documentaddress"
,
documentaddress
);
}
/**
* 设置 [EXTENDEDITORDESCRIPTION]
*/
public
void
setExtendeditordescription
(
String
extendeditordescription
){
this
.
extendeditordescription
=
extendeditordescription
;
this
.
modify
(
"extendeditordescription"
,
extendeditordescription
);
}
/**
* 设置 [AMOUNT]
*/
public
void
setAmount
(
Integer
amount
){
this
.
amount
=
amount
;
this
.
modify
(
"amount"
,
amount
);
}
/**
* 设置 [EXTENDEDITORTYPE]
*/
public
void
setExtendeditortype
(
String
extendeditortype
){
this
.
extendeditortype
=
extendeditortype
;
this
.
modify
(
"extendeditortype"
,
extendeditortype
);
}
}
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/mapping/IBIZAPPEXTENDEDITORMapping.java
0 → 100644
浏览文件 @
43f88204
package
cn
.
ibizlab
.
demoapi
.
mapping
;
import
org.mapstruct.*
;
import
cn.ibizlab.core.sample.domain.IBIZAPPEXTENDEDITOR
;
import
cn.ibizlab.demoapi.dto.IBIZAPPEXTENDEDITORDTO
;
import
cn.ibizlab.util.domain.MappingBase
;
@Mapper
(
componentModel
=
"spring"
,
uses
=
{},
implementationName
=
"DemoAPIIBIZAPPEXTENDEDITORMapping"
,
nullValuePropertyMappingStrategy
=
NullValuePropertyMappingStrategy
.
IGNORE
,
nullValueCheckStrategy
=
NullValueCheckStrategy
.
ALWAYS
)
public
interface
IBIZAPPEXTENDEDITORMapping
extends
MappingBase
<
IBIZAPPEXTENDEDITORDTO
,
IBIZAPPEXTENDEDITOR
>
{
}
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/rest/IBIZAPPEXTENDEDITORResource.java
0 → 100644
浏览文件 @
43f88204
此差异已折叠。
点击以展开。
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
浏览文件 @
43f88204
...
@@ -836,7 +836,12 @@ public class StaticDict {
...
@@ -836,7 +836,12 @@ public class StaticDict {
*/
*/
@Getter
@Getter
public
enum
CodeList43
{
public
enum
CodeList43
{
HTMLEDITOR
(
"HTMLeditor"
,
"HTML编辑器"
),
DROPLIST
(
"droplist"
,
"下拉列表框"
),
PICTURECONTROL
(
"picturecontrol"
,
"图片控件"
),
TEXTAREA
(
"textarea"
,
"多行输入框"
),
TEXTAREA
(
"textarea"
,
"多行输入框"
),
PICKER
(
"picker"
,
"数据选择"
),
FILEUPLOAD
(
"fileupload"
,
"文件上传控件"
),
TEXTBOX
(
"textbox"
,
"文本框"
),
TEXTBOX
(
"textbox"
,
"文本框"
),
LABEL
(
"label"
,
"标签"
);
LABEL
(
"label"
,
"标签"
);
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录