Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
6e67e7db
提交
6e67e7db
编写于
8月 12, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Miracle 部署微服务应用
上级
6c0deb3f
变更
16
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
642 行增加
和
283 行删除
+642
-283
view-config.json
app_PIM/public/assets/json/view-config.json
+10
-0
hrtransfer-apply_en_US.ts
...anres/entities/hrtransfer-apply/hrtransfer-apply_en_US.ts
+5
-1
hrtransfer-apply_zh_CN.ts
...anres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN.ts
+5
-1
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+8
-0
hrtransfer-apply-usr2-wfdyna-edit-view-base.tsx
...edit-view/hrtransfer-apply-usr2-wfdyna-edit-view-base.tsx
+445
-0
hrtransfer-apply-usr2-wfdyna-edit-view.html
...yna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.html
+37
-0
hrtransfer-apply-usr2-wfdyna-edit-view.vue
...dyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.vue
+22
-0
hrtransfer-apply-wfdyna-edit-view-base.tsx
...dyna-edit-view/hrtransfer-apply-wfdyna-edit-view-base.tsx
+0
-258
hrtransfer-apply-wfdyna-edit-view.html
...y-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.html
+0
-2
hrtransfer-apply-wfdyna-exp-grid-view-base.tsx
...-grid-view/hrtransfer-apply-wfdyna-exp-grid-view-base.tsx
+19
-7
hrtransfer-apply-wfdyna-exp-grid-view.html
...-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.html
+3
-0
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+1
-0
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+59
-0
state.ts
app_PIM/src/store/modules/view-action/state.ts
+13
-0
hrtransfer-apply-ui-service-base.ts
...vice/hrtransfer-apply/hrtransfer-apply-ui-service-base.ts
+1
-0
h2_table.xml
humanresource-core/src/main/resources/liquibase/h2_table.xml
+14
-14
未找到文件。
app_PIM/public/assets/json/view-config.json
浏览文件 @
6e67e7db
...
...
@@ -789,6 +789,16 @@
"viewtag"
:
"7bef45fc4e0ec53b6a6925262c3ea133"
,
"memo"
:
"系统自动添加"
},
"hrtransferapplyusr2wfdynaeditview"
:
{
"title"
:
"调动申请工作流编辑视图"
,
"caption"
:
"调动申请"
,
"viewtype"
:
"DEWFDYNAEDITVIEW"
,
"viewmodule"
:
"Pcm"
,
"viewname"
:
"HRTransferApplyUsr2WFDynaEditView"
,
"viewfilename"
:
"hrtransfer-apply-usr2-wfdyna-edit-view"
,
"viewtag"
:
"7e57cd1a2f2ab626b0328b37a03f1fc5"
,
"memo"
:
""
},
"hromhierarchypickupgridview"
:
{
"title"
:
"组织层次结构选择表格视图"
,
"caption"
:
"组织层次结构"
,
...
...
app_PIM/src/locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_en_US.ts
浏览文件 @
6e67e7db
...
...
@@ -43,6 +43,10 @@ export default {
caption
:
"调动申请"
,
title
:
"拟稿"
,
},
usr2wfdynaeditview
:
{
caption
:
"调动申请"
,
title
:
"调动申请工作流编辑视图"
,
},
v_004
:
{
caption
:
"快速新建"
,
title
:
"调动快速新建"
,
...
...
@@ -370,7 +374,7 @@ export default {
tip
:
"Help"
,
},
},
wfdynaeditviewtoolbar_toolbar
:
{
usr2
wfdynaeditviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
...
...
app_PIM/src/locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN.ts
浏览文件 @
6e67e7db
...
...
@@ -42,6 +42,10 @@ export default {
caption
:
"调动申请"
,
title
:
"拟稿"
,
},
usr2wfdynaeditview
:
{
caption
:
"调动申请"
,
title
:
"调动申请工作流编辑视图"
,
},
v_004
:
{
caption
:
"快速新建"
,
title
:
"调动快速新建"
,
...
...
@@ -369,7 +373,7 @@ export default {
tip
:
"帮助"
,
},
},
wfdynaeditviewtoolbar_toolbar
:
{
usr2
wfdynaeditviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
...
...
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
6e67e7db
...
...
@@ -639,6 +639,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HRLanguageAbilityGridView"
,
"viewtag"
:
"7bef45fc4e0ec53b6a6925262c3ea133"
},
"hrtransferapplyusr2wfdynaeditview"
:
{
"title"
:
"调动申请工作流编辑视图"
,
"caption"
:
"调动申请"
,
"viewtype"
:
"DEWFDYNAEDITVIEW"
,
"viewmodule"
:
"Pcm"
,
"viewname"
:
"HRTransferApplyUsr2WFDynaEditView"
,
"viewtag"
:
"7e57cd1a2f2ab626b0328b37a03f1fc5"
},
"hromhierarchypickupgridview"
:
{
"title"
:
"组织层次结构选择表格视图"
,
"caption"
:
"组织层次结构"
,
...
...
app_PIM/src/pages/pcm/hrtransfer-apply-usr2-wfdyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view-base.tsx
0 → 100644
浏览文件 @
6e67e7db
import
{
Subject
}
from
'rxjs'
;
import
{
ViewBase
}
from
'@/studio-core'
;
import
HRTransferApplyService
from
'@/service/hrtransfer-apply/hrtransfer-apply-service'
;
import
HRTransferApplyAuthService
from
'@/authservice/hrtransfer-apply/hrtransfer-apply-auth-service'
;
import
WFDynaEditViewEngine
from
'@engine/view/wfdyna-edit-view-engine'
;
import
HRTransferApplyUIService
from
'@/uiservice/hrtransfer-apply/hrtransfer-apply-ui-service'
;
/**
* 调动申请工作流编辑视图视图基类
*
* @export
* @class HRTransferApplyUsr2WFDynaEditViewBase
* @extends {ViewBase}
*/
export
class
HRTransferApplyUsr2WFDynaEditViewBase
extends
ViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
protected
appDeName
:
string
=
'hrtransferapply'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
protected
appDeKey
:
string
=
'hrtransferapplyid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
protected
appDeMajor
:
string
=
'hrtransferapplyname'
;
/**
* 实体服务对象
*
* @type {HRTransferApplyService}
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
protected
appEntityService
:
HRTransferApplyService
=
new
HRTransferApplyService
;
/**
* 实体权限服务对象
*
* @type HRTransferApplyUIService
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
appUIService
:
HRTransferApplyUIService
=
new
HRTransferApplyUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrtransferapply.views.usr2wfdynaeditview.caption'
,
srfTitle
:
'entities.hrtransferapply.views.usr2wfdynaeditview.title'
,
srfSubTitle
:
'entities.hrtransferapply.views.usr2wfdynaeditview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
wflinks
:
[],
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRTransferApplyUsr2WFDynaEditView
*/
public
toolBarModels
:
any
=
{
tbitem3
:
{
name
:
'tbitem3'
,
caption
:
'保存'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存'
,
iconcls
:
'fa fa-save'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Save'
,
target
:
''
,
class
:
''
}
},
tbitem9_saveandstart
:
{
name
:
'tbitem9_saveandstart'
,
caption
:
'开始流程'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'开始流程'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndStart'
,
target
:
''
,
class
:
''
}
},
tbitem10
:
{
name
:
'tbitem10'
,
caption
:
'当前流程步骤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'当前流程步骤'
,
iconcls
:
'sx-tb-stepactor'
,
icon
:
'../sasrfex/images/default/icon_stepactor.png'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ViewWFStep'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'7e57cd1a2f2ab626b0328b37a03f1fc5'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
engine
:
WFDynaEditViewEngine
=
new
WFDynaEditViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'hrtransferapply'
,
majorPSDEField
:
'hrtransferapplyname'
,
isLoadDefault
:
true
,
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9_saveandstart'
))
{
this
.
toolbar_tbitem9_saveandstart_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem3_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem9_saveandstart_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem10_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 保存
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
Save
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
_this
.
$emit
(
'viewdataschange'
,
[{
...
response
.
data
}]);
});
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
* 开始流程
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
SaveAndStart
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
wfstart
instanceof
Function
))
{
return
;
}
let
localdata
:
any
=
{
processDefinitionKey
:
null
};
xData
.
wfstart
(
args
,
localdata
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
if
(
window
.
parent
){
window
.
parent
.
postMessage
({
...
_data
},
'*'
);
}
if
(
_this
.
viewdata
)
{
_this
.
$emit
(
'viewdataschange'
,
[{
...
_data
}]);
_this
.
$emit
(
'close'
);
}
else
if
(
this
.
$tabPageExp
)
{
this
.
$tabPageExp
.
onClose
(
this
.
$route
.
fullPath
);
}
});
}
/**
* 当前流程步骤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
ViewWFStep
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
wfsubmit
instanceof
Function
))
{
return
;
}
xData
.
wfsubmit
(
args
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
if
(
_this
.
viewdata
)
{
_this
.
$emit
(
'viewdataschange'
,
[{
...
_data
}]);
_this
.
$emit
(
'close'
);
}
else
if
(
_this
.
$tabPageExp
)
{
_this
.
$tabPageExp
.
onClose
(
_this
.
$route
.
fullPath
);
}
});
}
/**
* 工具栏模型数据
*
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
linkModel
:
Array
<
any
>
=
[];
/**
* 获取工具栏按钮
*
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
getWFLinkModel
():
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
datas
:
any
[]
=
[];
let
xData
:
any
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
Object
.
keys
(
this
.
viewparams
).
length
>
0
){
Object
.
assign
(
datas
,{
'taskDefinitionKey'
:
this
.
viewparams
.
userTaskId
});
}
this
.
appEntityService
.
GetWFLink
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
datas
,
true
).
then
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
200
)
{
this
.
linkModel
=
response
.
data
;
resolve
(
response
.
data
);
}
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
response
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'系统异常'
});
return
;
}
});
});
}
/**
* 动态工具栏点击
*
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public
dynamic_toolbar_click
(
linkItem
:
any
,
$event
:
any
){
let
datas
:
any
[]
=
[];
let
xData
:
any
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
xData
.
wfsubmit
(
datas
,
linkItem
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
this
.
$emit
(
'viewdataschange'
,
[{
...
_data
}]);
this
.
closeView
([{
...
_data
}]);
// if (this.viewdata) {
// this.$emit('viewdataschange', [{ ..._data }]);
// this.$emit('close');
// } else if (this.$tabPageExp) {
// this.$tabPageExp.onClose(this.$route.fullPath);
// }
});
}
}
\ No newline at end of file
app_PIM/src/pages/pcm/hrtransfer-apply-usr2-wfdyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.html
0 → 100644
浏览文件 @
6e67e7db
<studio-view-style2
viewName=
"hrtransferapplyusr2wfdynaeditview"
viewTitle=
"调动申请工作流编辑视图"
class=
'dewfdynaeditview hrtransfer-apply-usr2-wfdyna-edit-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{viewCaption}}
</span>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
v-for=
"(linkItem, index) in linkModel"
:key=
"index"
>
<i-button
@
click=
"dynamic_toolbar_click(linkItem, $event)"
>
<span
class=
'caption'
>
{{linkItem.sequenceFlowName}}
</span>
</i-button>
<div
slot=
'content'
>
{{linkItem.sequenceFlowName}}
</div>
</tooltip>
</div>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
load=
"form_load($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/pcm/hrtransfer-apply-usr2-wfdyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.vue
0 → 100644
浏览文件 @
6e67e7db
<
template
src=
"./hrtransfer-apply-usr2-wfdyna-edit-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRTransferApplyUsr2WFDynaEditViewBase } from './hrtransfer-apply-usr2-wfdyna-edit-view-base';
import view_form from '@widgets/hrtransfer-apply/main-form/main-form.vue';
/**
* 调动申请工作流编辑视图视图
*
* @export
* @class HRTransferApplyUsr2WFDynaEditView
* @extends {HRTransferApplyUsr2WFDynaEditViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRTransferApplyUsr2WFDynaEditView extends HRTransferApplyUsr2WFDynaEditViewBase { }
</script>
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view-base.tsx
浏览文件 @
6e67e7db
...
...
@@ -88,27 +88,10 @@ export class HRTransferApplyWFDynaEditViewBase extends ViewBase {
* @memberof HRTransferApplyWFDynaEditViewBase
*/
protected
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
wflinks
:
[],
};
/**
* 工具栏模型
*
* @type {*}
* @memberof HRTransferApplyWFDynaEditView
*/
public
toolBarModels
:
any
=
{
tbitem3
:
{
name
:
'tbitem3'
,
caption
:
'保存'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存'
,
iconcls
:
'fa fa-save'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Save'
,
target
:
''
,
class
:
''
}
},
tbitem9_saveandstart
:
{
name
:
'tbitem9_saveandstart'
,
caption
:
'开始流程'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'开始流程'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndStart'
,
target
:
''
,
class
:
''
}
},
tbitem10
:
{
name
:
'tbitem10'
,
caption
:
'当前流程步骤'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'当前流程步骤'
,
iconcls
:
'sx-tb-stepactor'
,
icon
:
'../sasrfex/images/default/icon_stepactor.png'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ViewWFStep'
,
target
:
'SINGLEKEY'
,
class
:
''
}
},
};
/**
* 视图唯一标识
...
...
@@ -146,28 +129,6 @@ export class HRTransferApplyWFDynaEditViewBase extends ViewBase {
});
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRTransferApplyWFDynaEditViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9_saveandstart'
))
{
this
.
toolbar_tbitem9_saveandstart_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
/**
* form 部件 save 事件
*
...
...
@@ -201,225 +162,6 @@ export class HRTransferApplyWFDynaEditViewBase extends ViewBase {
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem3_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem9_saveandstart_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem10_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem15_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRTransferApply"
);
}
/**
* 保存
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaEditViewBase
*/
public
Save
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
_this
.
$emit
(
'viewdataschange'
,
[{
...
response
.
data
}]);
});
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
* 开始流程
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaEditViewBase
*/
public
SaveAndStart
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
wfstart
instanceof
Function
))
{
return
;
}
let
localdata
:
any
=
{
processDefinitionKey
:
null
};
xData
.
wfstart
(
args
,
localdata
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
if
(
window
.
parent
){
window
.
parent
.
postMessage
({
...
_data
},
'*'
);
}
if
(
_this
.
viewdata
)
{
_this
.
$emit
(
'viewdataschange'
,
[{
...
_data
}]);
_this
.
$emit
(
'close'
);
}
else
if
(
this
.
$tabPageExp
)
{
this
.
$tabPageExp
.
onClose
(
this
.
$route
.
fullPath
);
}
});
}
/**
* 当前流程步骤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaEditViewBase
*/
public
ViewWFStep
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
wfsubmit
instanceof
Function
))
{
return
;
}
xData
.
wfsubmit
(
args
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
if
(
_this
.
viewdata
)
{
_this
.
$emit
(
'viewdataschange'
,
[{
...
_data
}]);
_this
.
$emit
(
'close'
);
}
else
if
(
_this
.
$tabPageExp
)
{
_this
.
$tabPageExp
.
onClose
(
_this
.
$route
.
fullPath
);
}
});
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyWFDynaEditViewBase
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
/**
* 工具栏模型数据
...
...
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.html
浏览文件 @
6e67e7db
...
...
@@ -2,8 +2,6 @@
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{viewCaption}}
</span>
</template>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
</template>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
v-for=
"(linkItem, index) in linkModel"
:key=
"index"
>
<i-button
@
click=
"dynamic_toolbar_click(linkItem, $event)"
>
...
...
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view-base.tsx
浏览文件 @
6e67e7db
...
...
@@ -741,16 +741,28 @@ export class HRTransferApplyWFDynaExpGridViewBase extends ViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'wfdynaeditview'
,
parameterName
:
'wfdynaeditview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
Object
.
assign
(
_data
,
data
);
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
this
.
$router
.
push
(
routePath
);
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
openIndexViewTab
(
data
);
const
view
:
any
=
{
viewname
:
'hrtransfer-apply-usr2-wfdyna-edit-view'
,
height
:
0
,
width
:
600
,
title
:
this
.
$t
(
'entities.hrtransferapply.views.usr2wfdynaeditview.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_PIM/src/pages/pcm/hrtransfer-apply-wfdyna-exp-grid-view/hrtransfer-apply-wfdyna-exp-grid-view.html
浏览文件 @
6e67e7db
<studio-view-style2
viewName=
"hrtransferapplywfdynaexpgridview"
viewTitle=
"调动申请工作流导航表格视图"
class=
'dewfdynaexpgridview hrtransfer-apply-wfdyna-exp-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{viewCaption}}
</span>
</template>
<split
id=
"hrtransferapplywfdynaexpgridview"
v-model=
"split"
mode=
"horizontal"
>
<div
slot=
'left'
>
<el-tree
ref=
"tree"
:data=
"wfStepModel"
node-key=
"userTaskId"
:highlight-current=
"true"
:props=
"defaultProps"
@
node-click=
"handleNodeClick.apply(_self, arguments)"
></el-tree>
...
...
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
6e67e7db
...
...
@@ -125,6 +125,7 @@ export const PageComponents = {
Vue
.
component
(
'hrdistribution-v-002'
,
()
=>
import
(
'@pages/human-resource/hrdistribution-v-002/hrdistribution-v-002.vue'
));
Vue
.
component
(
'hromhierarchy-pickup-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-pickup-view/hromhierarchy-pickup-view.vue'
));
Vue
.
component
(
'hrcertificate-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrcertificate-grid-view/hrcertificate-grid-view.vue'
));
Vue
.
component
(
'hrtransfer-apply-usr2-wfdyna-edit-view'
,
()
=>
import
(
'@pages/pcm/hrtransfer-apply-usr2-wfdyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.vue'
));
Vue
.
component
(
'hrpost-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-tab-exp-view/hrpost-tab-exp-view.vue'
));
Vue
.
component
(
'hrlegal-tab-exp-view'
,
()
=>
import
(
'@pages/base/hrlegal-tab-exp-view/hrlegal-tab-exp-view.vue'
));
Vue
.
component
(
'hreducation-option-view'
,
()
=>
import
(
'@pages/human-resource/hreducation-option-view/hreducation-option-view.vue'
));
...
...
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
6e67e7db
...
...
@@ -3248,6 +3248,65 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hrcertificate-grid-view/hrcertificate-grid-view.vue'
),
},
{
path
:
'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/usr2wfdynaeditview/:usr2wfdynaeditview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.usr2wfdynaeditview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrposts'
,
parameterName
:
'hrpost'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'usr2wfdynaeditview'
,
parameterName
:
'usr2wfdynaeditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-usr2-wfdyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrtransferapplies/:hrtransferapply?/usr2wfdynaeditview/:usr2wfdynaeditview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.usr2wfdynaeditview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'usr2wfdynaeditview'
,
parameterName
:
'usr2wfdynaeditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-usr2-wfdyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.vue'
),
},
{
path
:
'hrorganizations/:hrorganization?/hrtransferapplies/:hrtransferapply?/usr2wfdynaeditview/:usr2wfdynaeditview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.usr2wfdynaeditview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrorganizations'
,
parameterName
:
'hrorganization'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'usr2wfdynaeditview'
,
parameterName
:
'usr2wfdynaeditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-usr2-wfdyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.vue'
),
},
{
path
:
'hrtransferapplies/:hrtransferapply?/usr2wfdynaeditview/:usr2wfdynaeditview?'
,
meta
:
{
caption
:
'entities.hrtransferapply.views.usr2wfdynaeditview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrtransferapplies'
,
parameterName
:
'hrtransferapply'
},
{
pathName
:
'usr2wfdynaeditview'
,
parameterName
:
'usr2wfdynaeditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/pcm/hrtransfer-apply-usr2-wfdyna-edit-view/hrtransfer-apply-usr2-wfdyna-edit-view.vue'
),
},
{
path
:
'hrposts/:hrpost?/tabexpview/:tabexpview?'
,
meta
:
{
...
...
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
6e67e7db
...
...
@@ -163,6 +163,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'c8310acd7e65d023051725aac59122d9'
,
'7e57cd1a2f2ab626b0328b37a03f1fc5'
,
],
},
{
...
...
@@ -790,6 +791,18 @@ export const viewstate: any = {
'bffe15abbb6a8e5cc8b72099573611cb'
,
],
},
{
viewtag
:
'7e57cd1a2f2ab626b0328b37a03f1fc5'
,
viewmodule
:
'Pcm'
,
viewname
:
'HRTransferApplyUsr2WFDynaEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'04c02737ae62a4f4c014607441ee0401'
,
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
viewtag
:
'811880336a6c1c1beeb894c91404544b'
,
viewmodule
:
'Base'
,
...
...
app_PIM/src/uiservice/hrtransfer-apply/hrtransfer-apply-ui-service-base.ts
浏览文件 @
6e67e7db
...
...
@@ -93,6 +93,7 @@ export default class HRTransferApplyUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'wfdynaexpgridview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_001'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2wfdynaeditview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_004'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'tabexpview'
,
srfappde
:
'hrtransferapplies'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_003'
,
srfappde
:
'hrtransferapplies'
});
...
...
humanresource-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
6e67e7db
...
...
@@ -4,7 +4,7 @@
<!--输出实体[HRARCHIVES]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrarchives-1
0
6-1"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrarchives-1
1
6-1"
>
<createTable
tableName=
"T_HRARCHIVES"
>
<column
name=
"HRARCHIVESID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_HRARCHIVES_HRARCHIVESID"
/>
...
...
@@ -52,7 +52,7 @@
<!--输出实体[HRARCHIVESBORROW]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrarchivesborrow-
11
-2"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrarchivesborrow-
23
-2"
>
<createTable
tableName=
"T_HRARCHIVESBORROW"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -88,7 +88,7 @@
<!--输出实体[HRARCHIVESMOVE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrarchivesmove-
3
-3"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrarchivesmove-
21
-3"
>
<createTable
tableName=
"T_HRARCHIVESMOVE"
>
<column
name=
"HRARCHIVESMOVEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_HRARCHIVESMOVE_HRARCHIVESMO"
/>
...
...
@@ -140,7 +140,7 @@
<!--输出实体[HRCERTIFICATE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrcertificate-9
3
-5"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrcertificate-9
4
-5"
>
<createTable
tableName=
"T_HRCERTIFICATE"
>
<column
name=
"HRCERTIFICATEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_HRCERTIFICATE_HRCERTIFICATE"
/>
...
...
@@ -1094,7 +1094,7 @@
<!--输出实体[HRTRANSFERAPPLY]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrtransferapply-2
05
-35"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-hrtransferapply-2
51
-35"
>
<createTable
tableName=
"T_HRTRANSFERAPPLY"
>
<column
name=
"HRTRANSFERAPPLYID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_HRTRANSFERAPPLY_HRTRANSFERA"
/>
...
...
@@ -1175,26 +1175,26 @@
</changeSet>
<!--输出实体[HRARCHIVES]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrarchives-1
0
6-37"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrarchives-1
1
6-37"
>
<addForeignKeyConstraint
baseColumnNames=
"HREMPLOYEEID"
baseTableName=
"T_HRARCHIVES"
constraintName=
"DER1N_HRARCHIVES_HREMPLOYEE_HR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EMPLOYEEID"
referencedTableName=
"EMPLOYEE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrarchives-1
0
6-38"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrarchives-1
1
6-38"
>
<addForeignKeyConstraint
baseColumnNames=
"HRORGANIZATIONID"
baseTableName=
"T_HRARCHIVES"
constraintName=
"DER1N_HRARCHIVES_HRORGANIZATIO"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGANIZATIONID"
referencedTableName=
"ORGANIZATION"
validate=
"true"
/>
</changeSet>
<!--输出实体[HRARCHIVESBORROW]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrarchivesborrow-
11
-39"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrarchivesborrow-
23
-39"
>
<addForeignKeyConstraint
baseColumnNames=
"HRARCHIVESID"
baseTableName=
"T_HRARCHIVESBORROW"
constraintName=
"DER1N_HRARCHIVESBORROW_HRARCHI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"HRARCHIVESID"
referencedTableName=
"T_HRARCHIVES"
validate=
"true"
/>
</changeSet>
<!--输出实体[HRARCHIVESMOVE]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrarchivesmove-
3
-40"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrarchivesmove-
21
-40"
>
<addForeignKeyConstraint
baseColumnNames=
"HRARCHIVESID"
baseTableName=
"T_HRARCHIVESMOVE"
constraintName=
"DER1N_HRARCHIVESMOVE_HRARCHIVE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"HRARCHIVESID"
referencedTableName=
"T_HRARCHIVES"
validate=
"true"
/>
</changeSet>
<!--输出实体[HRATTENDANCE]外键关系 -->
<!--输出实体[HRCERTIFICATE]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrcertificate-9
3
-41"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrcertificate-9
4
-41"
>
<addForeignKeyConstraint
baseColumnNames=
"HREMPLOYEEID"
baseTableName=
"T_HRCERTIFICATE"
constraintName=
"DER1N_HRCERTIFICATE_HREMPLOYEE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EMPLOYEEID"
referencedTableName=
"EMPLOYEE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrcertificate-9
3
-42"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrcertificate-9
4
-42"
>
<addForeignKeyConstraint
baseColumnNames=
"REGISTERORGANIZATIONID"
baseTableName=
"T_HRCERTIFICATE"
constraintName=
"DER1N_HRCERTIFICATE_HRORGANIZA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGANIZATIONID"
referencedTableName=
"ORGANIZATION"
validate=
"true"
/>
</changeSet>
<!--输出实体[HRCONTRACT]外键关系 -->
...
...
@@ -1314,13 +1314,13 @@
<addForeignKeyConstraint
baseColumnNames=
"HREMPLOYEEID"
baseTableName=
"T_HRTRAININGRECORD"
constraintName=
"DER1N_HRTRAININGRECORD_HREMPLO"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EMPLOYEEID"
referencedTableName=
"EMPLOYEE"
validate=
"true"
/>
</changeSet>
<!--输出实体[HRTRANSFERAPPLY]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrtransferapply-2
05
-74"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrtransferapply-2
51
-74"
>
<addForeignKeyConstraint
baseColumnNames=
"HREMPLOYEEID"
baseTableName=
"T_HRTRANSFERAPPLY"
constraintName=
"DER1N_HRTRANSFERAPPLY_HREMPLOY"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EMPLOYEEID"
referencedTableName=
"EMPLOYEE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrtransferapply-2
05
-75"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrtransferapply-2
51
-75"
>
<addForeignKeyConstraint
baseColumnNames=
"HRORGANIZATIONID2"
baseTableName=
"T_HRTRANSFERAPPLY"
constraintName=
"DER1N_HRTRANSFERAPPLY_HRORGANI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGANIZATIONID"
referencedTableName=
"ORGANIZATION"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrtransferapply-2
05
-76"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-hrtransferapply-2
51
-76"
>
<addForeignKeyConstraint
baseColumnNames=
"HRPOSTID2"
baseTableName=
"T_HRTRANSFERAPPLY"
constraintName=
"DER1N_HRTRANSFERAPPLY_HRPOST_H"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"HRPOSTID"
referencedTableName=
"T_HRPOST"
validate=
"true"
/>
</changeSet>
<!--输出实体[HRWORKRECORD]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录