Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
2541d6f6
提交
2541d6f6
编写于
12月 14, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
2ed30499
变更
23
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
23 个修改的文件
包含
185 行增加
和
116 行删除
+185
-116
en-US-base.ts
app_Web/src/locale/lang/en-US-base.ts
+1
-0
zh-CN-base.ts
app_Web/src/locale/lang/zh-CN-base.ts
+1
-0
ibizbook_en_US_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
+3
-3
ibiztaskteam_en_US_base.ts
...e/lanres/entities/ibiztaskteam/ibiztaskteam_en_US_base.ts
+1
-2
ibiztaskteam_zh_CN_base.ts
...e/lanres/entities/ibiztaskteam/ibiztaskteam_zh_CN_base.ts
+1
-2
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
ibizsample0021-wfdyna-action-view-base.vue
...na-action-view/ibizsample0021-wfdyna-action-view-base.vue
+2
-2
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+2
-1
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+11
-1
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+42
-14
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+43
-12
operation-form-form-base.vue
...mple0021/operation-form-form/operation-form-form-base.vue
+6
-4
IBIZTASKTEAM.java
...main/java/cn/ibizlab/core/sample/domain/IBIZTASKTEAM.java
+2
-17
IBIZTASKTEAMSearchContext.java
...ibizlab/core/sample/filter/IBIZTASKTEAMSearchContext.java
+5
-5
IBIZTASKTEAMMapper.java
...ava/cn/ibizlab/core/sample/mapper/IBIZTASKTEAMMapper.java
+1
-1
IIBIZTASKTEAMService.java
.../cn/ibizlab/core/sample/service/IIBIZTASKTEAMService.java
+2
-2
IBIZTASKTEAMServiceImpl.java
...lab/core/sample/service/impl/IBIZTASKTEAMServiceImpl.java
+4
-4
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-3
IBIZTASKTEAMMapper.xml
...sources/mapper/sample/ibiztaskteam/IBIZTASKTEAMMapper.xml
+8
-8
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+3
-17
IBIZTASKTEAMDTO.java
...src/main/java/cn/ibizlab/demoapi/dto/IBIZTASKTEAMDTO.java
+0
-17
未找到文件。
app_Web/src/locale/lang/en-US-base.ts
浏览文件 @
2541d6f6
...
...
@@ -318,6 +318,7 @@ function getAppLocale(){
menuitem69
:
commonLogic
.
appcommonhandle
(
"Workflow"
,
null
),
menuitem30
:
commonLogic
.
appcommonhandle
(
"Workflow Dynamic Navigation View"
,
null
),
menuitem31
:
commonLogic
.
appcommonhandle
(
"Workflow Start"
,
null
),
menuitem21
:
commonLogic
.
appcommonhandle
(
"工作流动态操作视图"
,
null
),
menuitem11
:
commonLogic
.
appcommonhandle
(
"Other Views"
,
null
),
menuitem98
:
commonLogic
.
appcommonhandle
(
"Custom View"
,
null
),
menuitem153
:
commonLogic
.
appcommonhandle
(
"Logic"
,
null
),
...
...
app_Web/src/locale/lang/zh-CN-base.ts
浏览文件 @
2541d6f6
...
...
@@ -318,6 +318,7 @@ function getAppLocale(){
menuitem69
:
commonLogic
.
appcommonhandle
(
"工作流"
,
null
),
menuitem30
:
commonLogic
.
appcommonhandle
(
"工作流动态导航视图"
,
null
),
menuitem31
:
commonLogic
.
appcommonhandle
(
"工作流启动"
,
null
),
menuitem21
:
commonLogic
.
appcommonhandle
(
"工作流动态操作视图"
,
null
),
menuitem11
:
commonLogic
.
appcommonhandle
(
"其他视图"
,
null
),
menuitem98
:
commonLogic
.
appcommonhandle
(
"自定义视图"
,
null
),
menuitem153
:
commonLogic
.
appcommonhandle
(
"逻辑"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
浏览文件 @
2541d6f6
...
...
@@ -107,7 +107,7 @@ function getLocaleResourceBase(){
title
:
commonLogic
.
appcommonhandle
(
"表格值规则"
,
null
),
},
usr2meditview9
:
{
caption
:
commonLogic
.
appcommonhandle
(
"
实体多表单编辑视图
"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"
Multi Form (top page)
"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"实体多表单编辑视图"
,
null
),
},
meditview9
:
{
...
...
@@ -179,7 +179,7 @@ function getLocaleResourceBase(){
title
:
commonLogic
.
appcommonhandle
(
"图书选择树视图"
,
null
),
},
roweditgridview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"
表格行编辑
"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"
TableRowEditing
"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"表格行编辑"
,
null
),
},
usr6gridview
:
{
...
...
@@ -259,7 +259,7 @@ function getLocaleResourceBase(){
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
internalfuncgridview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"
表格内置功能
"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"
Built In Features
"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"表格内置功能"
,
null
),
},
newdefaultvaluegridview
:
{
...
...
app_Web/src/locale/lanres/entities/ibiztaskteam/ibiztaskteam_en_US_base.ts
浏览文件 @
2541d6f6
...
...
@@ -9,8 +9,7 @@ function getLocaleResourceBase(){
ibiztaskteamid
:
commonLogic
.
appcommonhandle
(
"任务团队标识"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"建立时间"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
root
:
commonLogic
.
appcommonhandle
(
"任务ID"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"任务标识"
,
null
),
root
:
commonLogic
.
appcommonhandle
(
"任务标识"
,
null
),
},
};
return
data
;
...
...
app_Web/src/locale/lanres/entities/ibiztaskteam/ibiztaskteam_zh_CN_base.ts
浏览文件 @
2541d6f6
...
...
@@ -9,8 +9,7 @@ function getLocaleResourceBase(){
ibiztaskteamid
:
commonLogic
.
appcommonhandle
(
"任务团队标识"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"建立时间"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
root
:
commonLogic
.
appcommonhandle
(
"任务ID"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"任务标识"
,
null
),
root
:
commonLogic
.
appcommonhandle
(
"任务标识"
,
null
),
},
};
return
data
;
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
2541d6f6
...
...
@@ -2429,6 +2429,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'AppFunc86'
,
resourcetag
:
''
,
},
{
id
:
'FAB29C75-0166-409B-89AF-1221096BFF37'
,
name
:
'menuitem21'
,
text
:
'工作流动态操作视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'工作流动态操作视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
true
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc94'
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/pages/sample/ibizsample0021-wfdyna-action-view/ibizsample0021-wfdyna-action-view-base.vue
浏览文件 @
2541d6f6
...
...
@@ -561,8 +561,8 @@ export default class IBIZSample0021WFDynaActionViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
...
...
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
2541d6f6
export
const
PageComponents
=
{
install
(
Vue
:
any
,
opt
:
any
)
{
Vue
.
component
(
'ibizsample0001-sf6-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-sf6-edit-view/ibizsample0001-sf6-edit-view.vue'
));
Vue
.
component
(
'ibizsample0021-wfdyna-action-view'
,
()
=>
import
(
'@pages/sample/ibizsample0021-wfdyna-action-view/ibizsample0021-wfdyna-action-view.vue'
));
Vue
.
component
(
'ibizsample0001-sf6-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-sf6-edit-view/ibizsample0001-sf6-edit-view.vue'
));
Vue
.
component
(
'ibizbookusr2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-edit-view/ibizbookusr2-edit-view.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-grid-view/ibizcustomer-usr2-grid-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sedit-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
2541d6f6
...
...
@@ -35,6 +35,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/index/index.vue'
),
children
:
[
{
path
:
'ibizsample0021s/:ibizsample0021?/wfdynaactionview/:wfdynaactionview?'
,
meta
:
{
caption
:
'entities.ibizsample0021.views.wfdynaactionview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizsample0021s'
,
parameterName
:
'ibizsample0021'
},
{
pathName
:
'wfdynaactionview'
,
parameterName
:
'wfdynaactionview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0021-wfdyna-action-view/ibizsample0021-wfdyna-action-view.vue'
),
},
{
path
:
'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/sf6editview/:sf6editview?'
,
meta
:
{
...
...
@@ -5043,6 +5057,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-view/ibizuniproduct-pickup-view.vue'
),
},
{
path
:
'/ibizsample0021s/:ibizsample0021?/wfdynaactionview/:wfdynaactionview?'
,
meta
:
{
caption
:
'entities.ibizsample0021.views.wfdynaactionview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizsample0021s'
,
parameterName
:
'ibizsample0021'
},
{
pathName
:
'wfdynaactionview'
,
parameterName
:
'wfdynaactionview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0021-wfdyna-action-view/ibizsample0021-wfdyna-action-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/groupbycodelistlistview/:groupbycodelistlistview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
2541d6f6
...
...
@@ -193,6 +193,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'edc3db407c73443fffe605bd57831291'
,
'b09ceb3081717c0ed4fe19f9986598a0'
,
'38e135842f7fa4fb952758a785d5f421'
,
'e6b66fea4568c66355729271ffc9d59f'
,
...
...
@@ -264,9 +265,9 @@ export const viewstate: any = {
'7f65e6161c444d29e1f53f1cb76e92de'
,
'756fecec409c3a955f0cd737259d27c7'
,
'490f607f17e7cc8ceccc77f2d0b9a70d'
,
'ce961e4db11b6cb36fcb604e4a4948a3'
,
'17c2991a0bd88cfd2bd6f8651537450b'
,
'13ed6c02918e612bac45715a6f300f2f'
,
'ce961e4db11b6cb36fcb604e4a4948a3'
,
'9c8e1b12e5e55164c2ec0e5617e1574b'
,
'3077eef0d4b96e220a02f795ffb545fc'
,
'e9b54ef29b192ecd2da05ff9570eb4d5'
,
...
...
@@ -1744,6 +1745,15 @@ export const viewstate: any = {
'80c9ae9ed04e7107ed9fc93734a447d1'
,
],
},
{
viewtag
:
'edc3db407c73443fffe605bd57831291'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZSample0021WFDynaActionView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'edca8ee67304eb78c02bbfb9e4cb11bb'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
2541d6f6
...
...
@@ -608,6 +608,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc51'
:
this
.
clickAppFunc51
(
item
);
return
;
case
'AppFunc94'
:
this
.
clickAppFunc94
(
item
);
return
;
case
'AppFunc26'
:
this
.
clickAppFunc26
(
item
);
return
;
...
...
@@ -785,15 +788,15 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc79'
:
this
.
clickAppFunc79
(
item
);
return
;
case
'AppFunc92'
:
this
.
clickAppFunc92
(
item
);
return
;
case
'AppFunc36'
:
this
.
clickAppFunc36
(
item
);
return
;
case
'Auto320'
:
this
.
clickAuto320
(
item
);
return
;
case
'AppFunc92'
:
this
.
clickAppFunc92
(
item
);
return
;
case
'Auto155'
:
this
.
clickAuto155
(
item
);
return
;
...
...
@@ -1047,6 +1050,31 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 工作流动态操作视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc94
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizsample0021s'
,
parameterName
:
'ibizsample0021'
},
];
const
view
=
{
viewname
:
'ibizsample0021-wfdyna-action-view'
,
title
:
(
this
.
$t
(
'entities.ibizsample0021.views.wfdynaactionview.title'
)
as
any
),
height
:
0
,
width
:
0
,
};
const
appmodal
=
this
.
$appmodal
.
openModal
(
view
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
viewparam
);
appmodal
.
subscribe
((
result
:
any
)
=>
{
console
.
log
(
result
);
});
}
/**
* 图书看板视图(代码表分组)
*
...
...
@@ -2405,18 +2433,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
*
功能名称
*
临时模式
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc
36
(
item
:
any
=
{})
{
public
clickAppFunc
92
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibiz
books'
,
parameterName
:
'ibizbook
'
},
{
pathName
:
'
meditview9'
,
parameterName
:
'meditview9
'
},
{
pathName
:
'ibiz
orders'
,
parameterName
:
'ibizorder
'
},
{
pathName
:
'
f17editview'
,
parameterName
:
'f17editview
'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -2428,18 +2456,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
*
饼图
*
功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickA
uto320
(
item
:
any
=
{})
{
public
clickA
ppFunc36
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibiz
orders'
,
parameterName
:
'ibizorder
'
},
{
pathName
:
'
piechartview'
,
parameterName
:
'piechartview
'
},
{
pathName
:
'ibiz
books'
,
parameterName
:
'ibizbook
'
},
{
pathName
:
'
meditview9'
,
parameterName
:
'meditview9
'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -2451,18 +2479,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
*
临时模式
*
饼图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickA
ppFunc92
(
item
:
any
=
{})
{
public
clickA
uto320
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'
f17editview'
,
parameterName
:
'f17edi
tview'
},
{
pathName
:
'
piechartview'
,
parameterName
:
'piechar
tview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
2541d6f6
...
...
@@ -2565,6 +2565,25 @@ export default class MainMenuModel {
appfunctag
:
'AppFunc86'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem31'
,
},
{
id
:
'FAB29C75-0166-409B-89AF-1221096BFF37'
,
name
:
'menuitem21'
,
text
:
'工作流动态操作视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'工作流动态操作视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
true
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc94'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem21'
,
},
],
},
...
...
@@ -3223,6 +3242,18 @@ export default class MainMenuModel {
{
pathName
:
'wizardiwithstateview'
,
parameterName
:
'wizardiwithstateview'
},
],
},
{
appfunctag
:
'AppFunc94'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
'POPUPMODAL'
,
codename
:
'ibizsample0021wfdynaactionview'
,
deResParameters
:
[],
routepath
:
'/index/:index?/ibizsample0021s/:ibizsample0021?/wfdynaactionview/:wfdynaactionview?'
,
parameters
:
[
{
pathName
:
'ibizsample0021s'
,
parameterName
:
'ibizsample0021'
},
{
pathName
:
'wfdynaactionview'
,
parameterName
:
'wfdynaactionview'
},
],
},
{
appfunctag
:
'AppFunc26'
,
appfuncyype
:
'APPVIEW'
,
...
...
@@ -3931,6 +3962,18 @@ export default class MainMenuModel {
{
pathName
:
'usr9gridview'
,
parameterName
:
'usr9gridview'
},
],
},
{
appfunctag
:
'AppFunc92'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'ibizorderf17editview'
,
deResParameters
:
[],
routepath
:
'/index/:index?/ibizorders/:ibizorder?/f17editview/:f17editview?'
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'f17editview'
,
parameterName
:
'f17editview'
},
],
},
{
appfunctag
:
'AppFunc36'
,
appfuncyype
:
'APPVIEW'
,
...
...
@@ -3955,18 +3998,6 @@ export default class MainMenuModel {
{
pathName
:
'piechartview'
,
parameterName
:
'piechartview'
},
],
},
{
appfunctag
:
'AppFunc92'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'ibizorderf17editview'
,
deResParameters
:
[],
routepath
:
'/index/:index?/ibizorders/:ibizorder?/f17editview/:f17editview?'
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'f17editview'
,
parameterName
:
'f17editview'
},
],
},
{
appfunctag
:
'Auto155'
,
appfuncyype
:
'APPVIEW'
,
...
...
app_Web/src/widgets/ibizsample0021/operation-form-form/operation-form-form-base.vue
浏览文件 @
2541d6f6
...
...
@@ -485,8 +485,10 @@ export default class OperationFormBase extends Vue implements ControlInterface {
* @type {*}
* @memberof OperationFormBase
*/
public
deRules
:
any
=
{
};
public
deRules
(){
return
{
}
}
/**
* 校验属性值规则
...
...
@@ -495,7 +497,7 @@ export default class OperationFormBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @memberof OperationFormBase
*/
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
,
op
:
string
=
"AND"
)
:{
isPast
:
boolean
,
infoMessage
:
string
}{
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
()
,
op
:
string
=
"AND"
)
:{
isPast
:
boolean
,
infoMessage
:
string
}{
let
falg
:
any
=
{
infoMessage
:
""
};
if
(
!
rule
[
name
]){
return
falg
;
...
...
@@ -1079,7 +1081,7 @@ export default class OperationFormBase extends Vue implements ControlInterface {
*/
public
afterCreated
(){
if
(
this
.
isautoload
){
this
.
autoLoad
({
srfkey
:
this
.
context
.
documentcenter
});
this
.
autoLoad
({
srfkey
:
this
.
context
.
ibizsample0021
});
}
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/domain/IBIZTASKTEAM.java
浏览文件 @
2541d6f6
...
...
@@ -93,19 +93,12 @@ public class IBIZTASKTEAM extends EntityMP implements Serializable {
@JsonProperty
(
"updatedate"
)
private
Timestamp
updatedate
;
/**
* 任务
ID
* 任务
标识
*/
@TableField
(
value
=
"root"
)
@JSONField
(
name
=
"root"
)
@JsonProperty
(
"root"
)
private
String
root
;
/**
* 任务标识
*/
@TableField
(
value
=
"id"
)
@JSONField
(
name
=
"id"
)
@JsonProperty
(
"id"
)
private
String
id
;
/**
*
...
...
@@ -126,21 +119,13 @@ public class IBIZTASKTEAM extends EntityMP implements Serializable {
}
/**
* 设置 [任务
ID
]
* 设置 [任务
标识
]
*/
public
void
setRoot
(
String
root
)
{
this
.
root
=
root
;
this
.
modify
(
"root"
,
root
);
}
/**
* 设置 [任务标识]
*/
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
this
.
modify
(
"id"
,
id
);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/filter/IBIZTASKTEAMSearchContext.java
浏览文件 @
2541d6f6
...
...
@@ -34,11 +34,11 @@ public class IBIZTASKTEAMSearchContext extends QueryWrapperContext<IBIZTASKTEAM>
this
.
getSearchCond
().
like
(
"ibiztaskteamname"
,
n_ibiztaskteamname_like
);
}
}
private
String
n_
id
_eq
;
//[任务标识]
public
void
setN_
id_eq
(
String
n_id
_eq
)
{
this
.
n_
id_eq
=
n_id
_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_
id
_eq
)){
this
.
getSearchCond
().
eq
(
"
id"
,
n_id
_eq
);
private
String
n_
root
_eq
;
//[任务标识]
public
void
setN_
root_eq
(
String
n_root
_eq
)
{
this
.
n_
root_eq
=
n_root
_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_
root
_eq
)){
this
.
getSearchCond
().
eq
(
"
root"
,
n_root
_eq
);
}
}
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/mapper/IBIZTASKTEAMMapper.java
浏览文件 @
2541d6f6
...
...
@@ -62,6 +62,6 @@ public interface IBIZTASKTEAMMapper extends BaseMapper<IBIZTASKTEAM> {
@Delete
(
"${sql}"
)
boolean
deleteBySQL
(
@Param
(
"sql"
)
String
sql
,
@Param
(
"et"
)
Map
param
);
List
<
IBIZTASKTEAM
>
selectBy
Id
(
@Param
(
"ibiztaskid"
)
Serializable
ibiztaskid
);
List
<
IBIZTASKTEAM
>
selectBy
Root
(
@Param
(
"ibiztaskid"
)
Serializable
ibiztaskid
);
}
demo-core/src/main/java/cn/ibizlab/core/sample/service/IIBIZTASKTEAMService.java
浏览文件 @
2541d6f6
...
...
@@ -37,8 +37,8 @@ public interface IIBIZTASKTEAMService extends IService<IBIZTASKTEAM> {
boolean
save
(
IBIZTASKTEAM
et
);
void
saveBatch
(
List
<
IBIZTASKTEAM
>
list
);
Page
<
IBIZTASKTEAM
>
searchDefault
(
IBIZTASKTEAMSearchContext
context
);
List
<
IBIZTASKTEAM
>
selectBy
Id
(
String
ibiztaskid
);
void
removeBy
Id
(
String
ibiztaskid
);
List
<
IBIZTASKTEAM
>
selectBy
Root
(
String
ibiztaskid
);
void
removeBy
Root
(
String
ibiztaskid
);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/service/impl/IBIZTASKTEAMServiceImpl.java
浏览文件 @
2541d6f6
...
...
@@ -155,12 +155,12 @@ public class IBIZTASKTEAMServiceImpl extends ServiceImpl<IBIZTASKTEAMMapper, IBI
@Override
public
List
<
IBIZTASKTEAM
>
selectBy
Id
(
String
ibiztaskid
)
{
return
baseMapper
.
selectBy
Id
(
ibiztaskid
);
public
List
<
IBIZTASKTEAM
>
selectBy
Root
(
String
ibiztaskid
)
{
return
baseMapper
.
selectBy
Root
(
ibiztaskid
);
}
@Override
public
void
removeBy
Id
(
String
ibiztaskid
)
{
this
.
remove
(
new
QueryWrapper
<
IBIZTASKTEAM
>().
eq
(
"
id
"
,
ibiztaskid
));
public
void
removeBy
Root
(
String
ibiztaskid
)
{
this
.
remove
(
new
QueryWrapper
<
IBIZTASKTEAM
>().
eq
(
"
root
"
,
ibiztaskid
));
}
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
2541d6f6
...
...
@@ -1301,8 +1301,6 @@
</column>
<column
name=
"ROOT"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</createTable>
</changeSet>
...
...
@@ -1506,7 +1504,7 @@
<!--输出实体[IBIZTASK]外键关系 -->
<!--输出实体[IBIZTASKTEAM]外键关系 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"fk-ibiztaskteam-8-51"
>
<addForeignKeyConstraint
baseColumnNames=
"
ID"
baseTableName=
"T_IBIZTASKTEAM"
constraintName=
"DER1N_IBIZTASKTEAM_IBIZTASK_ID
"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"IBIZTASKID"
referencedTableName=
"T_IBIZTASK"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"
ROOT"
baseTableName=
"T_IBIZTASKTEAM"
constraintName=
"DER1N_IBIZTASKTEAM_IBIZTASK_RO
"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"IBIZTASKID"
referencedTableName=
"T_IBIZTASK"
validate=
"true"
/>
</changeSet>
<!--输出实体[IBIZUNIPRODUCT]外键关系 -->
<!--输出实体[IBIZVIEWMSG]外键关系 -->
...
...
demo-core/src/main/resources/mapper/sample/ibiztaskteam/IBIZTASKTEAMMapper.xml
浏览文件 @
2541d6f6
...
...
@@ -5,25 +5,25 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"IBIZTASKTEAMResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZTASKTEAMID`, t1.`IBIZTASKTEAMNAME`, t1.`
ID`, t1.`
ROOT`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZTASKTEAM` t1 ) t1 where ibiztaskteamid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZTASKTEAMID`, t1.`IBIZTASKTEAMNAME`, t1.`ROOT`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZTASKTEAM` t1 ) t1 where ibiztaskteamid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
<resultMap
id=
"IBIZTASKTEAMResultMap"
type=
"cn.ibizlab.core.sample.domain.IBIZTASKTEAM"
autoMapping=
"true"
>
<id
property=
"ibiztaskteamid"
column=
"ibiztaskteamid"
/>
<!--主键字段映射-->
<result
property=
"
id"
column=
"id
"
/>
<result
property=
"
root"
column=
"root
"
/>
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<association
property=
"taskteam"
javaType=
"cn.ibizlab.core.sample.domain.IBIZTASK"
column=
"
id
"
select=
"cn.ibizlab.core.sample.mapper.IBIZTASKMapper.selectById"
fetchType=
"lazy"
></association>
<association
property=
"taskteam"
javaType=
"cn.ibizlab.core.sample.domain.IBIZTASK"
column=
"
root
"
select=
"cn.ibizlab.core.sample.mapper.IBIZTASKMapper.selectById"
fetchType=
"lazy"
></association>
</resultMap>
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_IBIZTASKTEAM_IBIZTASK_
ID
] -->
<select
id=
"selectBy
Id
"
resultMap=
"IBIZTASKTEAMResultMap"
>
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_IBIZTASKTEAM_IBIZTASK_
ROOT
] -->
<select
id=
"selectBy
Root
"
resultMap=
"IBIZTASKTEAMResultMap"
>
select t1.* from (
<include
refid=
"Default"
/>
) t1
where
id
=#{ibiztaskid}
where
root
=#{ibiztaskid}
</select>
<!--数据集合[Default]-->
...
...
@@ -37,12 +37,12 @@
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZTASKTEAMID`, t1.`IBIZTASKTEAMNAME`, t1.`
ID`, t1.`
ROOT`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZTASKTEAM` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZTASKTEAMID`, t1.`IBIZTASKTEAMNAME`, t1.`ROOT`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZTASKTEAM` t1
]]>
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZTASKTEAMID`, t1.`IBIZTASKTEAMNAME`, t1.`
ID`, t1.`
ROOT`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZTASKTEAM` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZTASKTEAMID`, t1.`IBIZTASKTEAMNAME`, t1.`ROOT`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZTASKTEAM` t1
]]>
</sql>
</mapper>
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
2541d6f6
此差异已折叠。
点击以展开。
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
2541d6f6
...
...
@@ -8686,7 +8686,7 @@
}
],
"subEntitys"
:[
{
"name"
:
"DER1N_IBIZTASKTEAM_IBIZTASK_
ID
"
,
{
"name"
:
"DER1N_IBIZTASKTEAM_IBIZTASK_
ROOT
"
,
"relation_type"
:
"DER1N"
,
"code_name"
:
"TaskTeam"
,
"entity_name"
:
"IBIZTASKTEAM"
,
...
...
@@ -8800,25 +8800,11 @@
{
"fieldname"
:
"ROOT"
,
"codename"
:
"Root"
,
"field_logic_name"
:
"任务ID"
,
"entity_name"
:
"IBIZTASKTEAM"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"ID"
,
"codename"
:
"Id"
,
"field_logic_name"
:
"任务标识"
,
"entity_name"
:
"IBIZTASKTEAM"
,
"ref_de"
:
"IBIZTASK"
,
"ref_field_name"
:
"IBIZTASKID"
,
"relation_name"
:
"DER1N_IBIZTASKTEAM_IBIZTASK_
ID
"
,
"relation_name"
:
"DER1N_IBIZTASKTEAM_IBIZTASK_
ROOT
"
,
"relation_codename"
:
"TaskTeam"
,
"field_type"
:
"PICKUP"
,
"nullable"
:
1
,
...
...
@@ -8833,7 +8819,7 @@
"subEntitys"
:[
],
"parentEntitys"
:[
{
"name"
:
"DER1N_IBIZTASKTEAM_IBIZTASK_
ID
"
,
{
"name"
:
"DER1N_IBIZTASKTEAM_IBIZTASK_
ROOT
"
,
"relation_type"
:
"DER1N"
,
"code_name"
:
"TaskTeam"
,
"entity_name"
:
"IBIZTASKTEAM"
,
...
...
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/dto/IBIZTASKTEAMDTO.java
浏览文件 @
2541d6f6
...
...
@@ -92,15 +92,6 @@ public class IBIZTASKTEAMDTO extends DTOBase implements Serializable {
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
root
;
/**
* 属性 [ID]
*
*/
@JSONField
(
name
=
"id"
)
@JsonProperty
(
"id"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
id
;
/**
* 设置 [IBIZTASKTEAMNAME]
...
...
@@ -118,14 +109,6 @@ public class IBIZTASKTEAMDTO extends DTOBase implements Serializable {
this
.
modify
(
"root"
,
root
);
}
/**
* 设置 [ID]
*/
public
void
setId
(
String
id
){
this
.
id
=
id
;
this
.
modify
(
"id"
,
id
);
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录