Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
96648c7b
提交
96648c7b
编写于
8月 11, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Miracle 部署微服务应用
上级
7f1ea9a3
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
951 行增加
和
4 行删除
+951
-4
hrtransfer-apply_en_US.ts
...anres/entities/hrtransfer-apply/hrtransfer-apply_en_US.ts
+35
-0
hrtransfer-apply_zh_CN.ts
...anres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN.ts
+35
-0
hrtransfer-apply-v-006.vue
...ges/pcm/hrtransfer-apply-v-006/hrtransfer-apply-v-006.vue
+1
-1
state.ts
app_PIM/src/store/modules/view-action/state.ts
+0
-3
if-001-form-base.tsx
...widgets/hrtransfer-apply/if-001-form/if-001-form-base.tsx
+191
-0
if-001-form-model.ts
...widgets/hrtransfer-apply/if-001-form/if-001-form-model.ts
+161
-0
if-001-form-service.ts
...dgets/hrtransfer-apply/if-001-form/if-001-form-service.ts
+393
-0
if-001-form.html
...src/widgets/hrtransfer-apply/if-001-form/if-001-form.html
+113
-0
if-001-form.vue
.../src/widgets/hrtransfer-apply/if-001-form/if-001-form.vue
+22
-0
未找到文件。
app_PIM/src/locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_en_US.ts
浏览文件 @
96648c7b
...
...
@@ -146,6 +146,41 @@ export default {
uiactions
:
{
},
},
if_001_form
:
{
details
:
{
group1
:
"调动申请信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"调动申请标识"
,
srfmajortext
:
"调动申请名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hremployeename
:
"员工姓名"
,
organizationname
:
"部门"
,
hrpostname
:
"职位"
,
hrdutyname
:
"职务"
,
hrorganizationname2
:
"新部门"
,
hrpostname2
:
"新职位"
,
hrdutyname2
:
"新职务"
,
activetime
:
"生效日期"
,
attachment
:
"任职文件"
,
hrorganizationid2
:
"新组织ID"
,
hrpostid2
:
"新职位标识"
,
hremployeeid
:
"员工标识"
,
organizationid
:
"部门ID"
,
wfinstanceid
:
"工作流实例"
,
checkstatus
:
"工作流业务状态"
,
wfstate
:
"工作流状态"
,
wfversion
:
"工作流版本"
,
wfstep
:
"工作流步骤"
,
hrtransferapplyid
:
"调动申请标识"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
hremployeename
:
"员工姓名"
,
...
...
app_PIM/src/locale/lanres/entities/hrtransfer-apply/hrtransfer-apply_zh_CN.ts
浏览文件 @
96648c7b
...
...
@@ -145,6 +145,41 @@ export default {
uiactions
:
{
},
},
if_001_form
:
{
details
:
{
group1
:
"调动申请信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"调动申请标识"
,
srfmajortext
:
"调动申请名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hremployeename
:
"员工姓名"
,
organizationname
:
"部门"
,
hrpostname
:
"职位"
,
hrdutyname
:
"职务"
,
hrorganizationname2
:
"新部门"
,
hrpostname2
:
"新职位"
,
hrdutyname2
:
"新职务"
,
activetime
:
"生效日期"
,
attachment
:
"任职文件"
,
hrorganizationid2
:
"新组织ID"
,
hrpostid2
:
"新职位标识"
,
hremployeeid
:
"员工标识"
,
organizationid
:
"部门ID"
,
wfinstanceid
:
"工作流实例"
,
checkstatus
:
"工作流业务状态"
,
wfstate
:
"工作流状态"
,
wfversion
:
"工作流版本"
,
wfstep
:
"工作流步骤"
,
hrtransferapplyid
:
"调动申请标识"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
hremployeename
:
"员工姓名"
,
...
...
app_PIM/src/pages/pcm/hrtransfer-apply-v-006/hrtransfer-apply-v-006.vue
浏览文件 @
96648c7b
...
...
@@ -3,7 +3,7 @@
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRTransferApplyV_006Base } from './hrtransfer-apply-v-006-base';
import view_form from '@widgets/hrtransfer-apply/
main-form/main
-form.vue';
import view_form from '@widgets/hrtransfer-apply/
if-001-form/if-001
-form.vue';
/**
* 调动申请编辑视图视图
...
...
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
96648c7b
...
...
@@ -871,9 +871,6 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'04c02737ae62a4f4c014607441ee0401'
,
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
...
...
app_PIM/src/widgets/hrtransfer-apply/if-001-form/if-001-form-base.tsx
0 → 100644
浏览文件 @
96648c7b
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
HRTransferApplyService
from
'@/service/hrtransfer-apply/hrtransfer-apply-service'
;
import
IF_001Service
from
'./if-001-form-service'
;
import
HRTransferApplyUIService
from
'@/uiservice/hrtransfer-apply/hrtransfer-apply-ui-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
/**
* form部件基类
*
* @export
* @class EditFormControlBase
* @extends {IF_001EditFormBase}
*/
export
class
IF_001EditFormBase
extends
EditFormControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof IF_001EditFormBase
*/
protected
controlType
:
string
=
'FORM'
;
/**
* 建构部件服务对象
*
* @type {IF_001Service}
* @memberof IF_001EditFormBase
*/
public
service
:
IF_001Service
=
new
IF_001Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRTransferApplyService}
* @memberof IF_001EditFormBase
*/
public
appEntityService
:
HRTransferApplyService
=
new
HRTransferApplyService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof IF_001EditFormBase
*/
protected
appDeName
:
string
=
'hrtransferapply'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof IF_001EditFormBase
*/
protected
appDeLogicName
:
string
=
'调动申请'
;
/**
* 界面UI服务对象
*
* @type {HRTransferApplyUIService}
* @memberof IF_001EditFormBase
*/
public
appUIService
:
HRTransferApplyUIService
=
new
HRTransferApplyUIService
(
this
.
$store
);
/**
* 表单数据对象
*
* @type {*}
* @memberof IF_001EditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
hremployeename
:
null
,
organizationname
:
null
,
hrpostname
:
null
,
hrdutyname
:
null
,
hrorganizationname2
:
null
,
hrpostname2
:
null
,
hrdutyname2
:
null
,
activetime
:
null
,
attachment
:
null
,
hrorganizationid2
:
null
,
hrpostid2
:
null
,
hremployeeid
:
null
,
organizationid
:
null
,
wfinstanceid
:
null
,
checkstatus
:
null
,
wfstate
:
null
,
wfversion
:
null
,
wfstep
:
null
,
hrtransferapplyid
:
null
,
hrtransferapply
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof IF_001EditFormBase
*/
public
rules
:
any
=
{
}
/**
* 属性值规则
*
* @type {*}
* @memberof IF_001Base
*/
public
deRules
:
any
=
{
};
/**
* 详情模型集合
*
* @type {*}
* @memberof IF_001EditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'调动申请信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrtransferapply.if_001_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfkey
:
new
FormItemModel
({
caption
:
'调动申请标识'
,
detailType
:
'FORMITEM'
,
name
:
'srfkey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfmajortext
:
new
FormItemModel
({
caption
:
'调动申请名称'
,
detailType
:
'FORMITEM'
,
name
:
'srfmajortext'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srftempmode
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srftempmode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfuf
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfuf'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hremployeename
:
new
FormItemModel
({
caption
:
'员工姓名'
,
detailType
:
'FORMITEM'
,
name
:
'hremployeename'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
organizationname
:
new
FormItemModel
({
caption
:
'部门'
,
detailType
:
'FORMITEM'
,
name
:
'organizationname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrpostname
:
new
FormItemModel
({
caption
:
'职位'
,
detailType
:
'FORMITEM'
,
name
:
'hrpostname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrdutyname
:
new
FormItemModel
({
caption
:
'职务'
,
detailType
:
'FORMITEM'
,
name
:
'hrdutyname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrorganizationname2
:
new
FormItemModel
({
caption
:
'新部门'
,
detailType
:
'FORMITEM'
,
name
:
'hrorganizationname2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrpostname2
:
new
FormItemModel
({
caption
:
'新职位'
,
detailType
:
'FORMITEM'
,
name
:
'hrpostname2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrdutyname2
:
new
FormItemModel
({
caption
:
'新职务'
,
detailType
:
'FORMITEM'
,
name
:
'hrdutyname2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
activetime
:
new
FormItemModel
({
caption
:
'生效日期'
,
detailType
:
'FORMITEM'
,
name
:
'activetime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
attachment
:
new
FormItemModel
({
caption
:
'任职文件'
,
detailType
:
'FORMITEM'
,
name
:
'attachment'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrorganizationid2
:
new
FormItemModel
({
caption
:
'新组织ID'
,
detailType
:
'FORMITEM'
,
name
:
'hrorganizationid2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrpostid2
:
new
FormItemModel
({
caption
:
'新职位标识'
,
detailType
:
'FORMITEM'
,
name
:
'hrpostid2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hremployeeid
:
new
FormItemModel
({
caption
:
'员工标识'
,
detailType
:
'FORMITEM'
,
name
:
'hremployeeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
organizationid
:
new
FormItemModel
({
caption
:
'部门ID'
,
detailType
:
'FORMITEM'
,
name
:
'organizationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
wfinstanceid
:
new
FormItemModel
({
caption
:
'工作流实例'
,
detailType
:
'FORMITEM'
,
name
:
'wfinstanceid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
checkstatus
:
new
FormItemModel
({
caption
:
'工作流业务状态'
,
detailType
:
'FORMITEM'
,
name
:
'checkstatus'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
wfstate
:
new
FormItemModel
({
caption
:
'工作流状态'
,
detailType
:
'FORMITEM'
,
name
:
'wfstate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
wfversion
:
new
FormItemModel
({
caption
:
'工作流版本'
,
detailType
:
'FORMITEM'
,
name
:
'wfversion'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
wfstep
:
new
FormItemModel
({
caption
:
'工作流步骤'
,
detailType
:
'FORMITEM'
,
name
:
'wfstep'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrtransferapplyid
:
new
FormItemModel
({
caption
:
'调动申请标识'
,
detailType
:
'FORMITEM'
,
name
:
'hrtransferapplyid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
};
}
\ No newline at end of file
app_PIM/src/widgets/hrtransfer-apply/if-001-form/if-001-form-model.ts
0 → 100644
浏览文件 @
96648c7b
/**
* IF_001 部件模型
*
* @export
* @class IF_001Model
*/
export
default
class
IF_001Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof IF_001Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'hrtransferapplyid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'hrtransferapplyname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'hremployeename'
,
prop
:
'hremployeename'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'organizationname'
,
prop
:
'organizationname'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'hrpostname'
,
prop
:
'hrpostname'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'hrdutyname'
,
prop
:
'hrdutyname'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'hrorganizationname2'
,
prop
:
'hrorganizationname2'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'hrpostname2'
,
prop
:
'hrpostname2'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'hrdutyname2'
,
prop
:
'hrdutyname2'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'activetime'
,
prop
:
'activetime'
,
dataType
:
'DATE'
,
},
{
name
:
'attachment'
,
prop
:
'attachment'
,
dataType
:
'TEXT'
,
},
{
name
:
'hrorganizationid2'
,
prop
:
'hrorganizationid2'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hrpostid2'
,
prop
:
'hrpostid2'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'organizationid'
,
prop
:
'organizationid'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'wfinstanceid'
,
prop
:
'wfinstanceid'
,
dataType
:
'TEXT'
,
},
{
name
:
'checkstatus'
,
prop
:
'checkstatus'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'wfstate'
,
prop
:
'wfstate'
,
dataType
:
'WFSTATE'
,
},
{
name
:
'wfversion'
,
prop
:
'wfversion'
,
dataType
:
'TEXT'
,
},
{
name
:
'wfstep'
,
prop
:
'wfstep'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'hrtransferapplyid'
,
prop
:
'hrtransferapplyid'
,
dataType
:
'GUID'
,
},
{
name
:
'hrtransferapply'
,
prop
:
'hrtransferapplyid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_PIM/src/widgets/hrtransfer-apply/if-001-form/if-001-form-service.ts
0 → 100644
浏览文件 @
96648c7b
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
HRTransferApplyService
from
'@/service/hrtransfer-apply/hrtransfer-apply-service'
;
import
IF_001Model
from
'./if-001-form-model'
;
/**
* IF_001 部件服务对象
*
* @export
* @class IF_001Service
*/
export
default
class
IF_001Service
extends
ControlService
{
/**
* 调动申请服务对象
*
* @type {HRTransferApplyService}
* @memberof IF_001Service
*/
public
appEntityService
:
HRTransferApplyService
=
new
HRTransferApplyService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof IF_001Service
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of IF_001Service.
*
* @param {*} [opts={}]
* @memberof IF_001Service
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
IF_001Model
();
}
/**
* 处理数据
*
* @private
* @param {Promise<any>} promise
* @returns {Promise<any>}
* @memberof IF_001Service
*/
private
doItems
(
promise
:
Promise
<
any
>
,
deKeyField
:
string
,
deName
:
string
):
Promise
<
any
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
promise
.
then
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
200
)
{
const
data
=
response
.
data
;
data
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
item
[
deName
]
=
item
[
deKeyField
];
data
[
index
]
=
item
;
});
resolve
(
data
);
}
else
{
reject
([])
}
}).
catch
((
response
:
any
)
=>
{
reject
([])
});
});
}
/**
* 获取跨实体数据集合
*
* @param {string} serviceName 服务名称
* @param {string} interfaceName 接口名称
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any[]>}
* @memberof IF_001Service
*/
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
size
=
data
.
size
?
data
.
size
:
1000
;
return
Promise
.
reject
([])
}
/**
* 启动工作流
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @param {*} [localdata]
* @returns {Promise<any>}
* @memberof IF_001Service
*/
@
Errorlog
public
wfstart
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
,
localdata
?:
any
):
Promise
<
any
>
{
data
=
this
.
handleWFData
(
data
);
context
=
this
.
handleRequestData
(
action
,
context
,
data
).
context
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
context
,
data
,
isloading
,
localdata
);
}
else
{
result
=
this
.
appEntityService
.
WFStart
(
context
,
data
,
isloading
,
localdata
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 提交工作流
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @param {*} [localdata]
* @returns {Promise<any>}
* @memberof IF_001Service
*/
@
Errorlog
public
wfsubmit
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
,
localdata
?:
any
):
Promise
<
any
>
{
data
=
this
.
handleWFData
(
data
,
true
);
context
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
).
context
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
context
,
data
,
isloading
,
localdata
);
}
else
{
result
=
this
.
appEntityService
.
WFSubmit
(
context
,
data
,
isloading
,
localdata
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 添加数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IF_001Service
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IF_001Service
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IF_001Service
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IF_001Service
*/
@
Errorlog
public
get
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Get
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 加载草稿
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IF_001Service
*/
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
hrtransferapplyid
=
PrimaryKey
;
Data
.
hrtransferapply
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
hrtransferapplyid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 前台逻辑
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IF_001Service
*/
@
Errorlog
public
frontLogic
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
return
Promise
.
reject
({
status
:
500
,
data
:
{
title
:
'失败'
,
message
:
'系统异常'
}
});
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
})
}
/**
* 处理请求数据
*
* @param action 行为
* @param data 数据
* @memberof IF_001Service
*/
public
handleRequestData
(
action
:
string
,
context
:
any
,
data
:
any
=
{},
isMerge
:
boolean
=
false
){
let
mode
:
any
=
this
.
getMode
();
if
(
!
mode
&&
mode
.
getDataItems
instanceof
Function
)
{
return
data
;
}
let
formItemItems
:
any
[]
=
mode
.
getDataItems
();
let
requestData
:
any
=
{};
if
(
isMerge
&&
(
data
&&
data
.
viewparams
)){
Object
.
assign
(
requestData
,
data
.
viewparams
);
}
formItemItems
.
forEach
((
item
:
any
)
=>
{
if
(
item
&&
item
.
dataType
&&
Object
.
is
(
item
.
dataType
,
'FONTKEY'
)){
if
(
item
&&
item
.
prop
){
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
}
}
else
{
if
(
item
&&
item
.
prop
){
requestData
[
item
.
prop
]
=
data
[
item
.
name
];
}
}
});
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
if
(
tempContext
&&
tempContext
.
srfsessionid
){
tempContext
.
srfsessionkey
=
tempContext
.
srfsessionid
;
delete
tempContext
.
srfsessionid
;
}
return
{
context
:
tempContext
,
data
:
requestData
};
}
/**
* 通过属性名称获取表单项名称
*
* @param name 实体属性名称
* @memberof IF_001Service
*/
public
getItemNameByDeName
(
name
:
string
)
:
string
{
let
itemName
=
name
;
let
mode
:
any
=
this
.
getMode
();
if
(
!
mode
&&
mode
.
getDataItems
instanceof
Function
)
{
return
name
;
}
let
formItemItems
:
any
[]
=
mode
.
getDataItems
();
formItemItems
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
prop
===
name
){
itemName
=
item
.
name
;
}
});
return
itemName
.
trim
();
}
}
\ No newline at end of file
app_PIM/src/widgets/hrtransfer-apply/if-001-form/if-001-form.html
0 → 100644
浏览文件 @
96648c7b
<i-form
:model=
"this.data"
class=
'app-form info-form-mode'
ref=
'form'
id=
'hrtransferapply_if_001'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hrtransferapply.if_001_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"1"
:isInfoGroupMode=
"true"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hremployeename.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'hremployeename'
:itemRules=
"this.rules.hremployeename"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.hremployeename')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hremployeename.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'hremployeename'
:value=
"data.hremployeename"
dataType=
"PICKUPTEXT"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.organizationname.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'organizationname'
:itemRules=
"this.rules.organizationname"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.organizationname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.organizationname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'organizationname'
:value=
"data.organizationname"
dataType=
"PICKUPDATA"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrpostname.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'hrpostname'
:itemRules=
"this.rules.hrpostname"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.hrpostname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrpostname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'hrpostname'
:value=
"data.hrpostname"
dataType=
"PICKUPDATA"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrdutyname.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'hrdutyname'
:itemRules=
"this.rules.hrdutyname"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.hrdutyname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrdutyname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'hrdutyname'
:value=
"data.hrdutyname"
dataType=
"PICKUPDATA"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrorganizationname2.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'hrorganizationname2'
:itemRules=
"this.rules.hrorganizationname2"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.hrorganizationname2')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrorganizationname2.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'hrorganizationname2'
:value=
"data.hrorganizationname2"
dataType=
"PICKUPTEXT"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrpostname2.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'hrpostname2'
:itemRules=
"this.rules.hrpostname2"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.hrpostname2')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrpostname2.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'hrpostname2'
:value=
"data.hrpostname2"
dataType=
"PICKUPTEXT"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.hrdutyname2.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'hrdutyname2'
:itemRules=
"this.rules.hrdutyname2"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.hrdutyname2')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrdutyname2.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'hrdutyname2'
:value=
"data.hrdutyname2"
dataType=
"PICKUPDATA"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.activetime.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'activetime'
:itemRules=
"this.rules.activetime"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.activetime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.activetime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'activetime'
:value=
"data.activetime"
dataType=
"DATE"
valueFormat=
"%1$tY-%1$tm-%1$td"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.attachment.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 24, offset: 0 }"
:lg=
"{ span: 24, offset: 0 }"
:xl=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'attachment'
:itemRules=
"this.rules.attachment"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.attachment')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.attachment.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-file-upload
:formState=
"formState"
:ignorefieldvaluechange=
"ignorefieldvaluechange"
@
formitemvaluechange=
"onFormItemValueChange($event)"
:data=
"JSON.stringify(this.data)"
name=
'attachment'
:value=
"data.attachment"
:disabled=
"detailsModel.attachment.disabled"
:uploadparams=
'{}'
:exportparams=
'{}'
style=
"overflow: auto;"
></app-file-upload>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.organizationid.visible"
:style=
"{}"
:sm=
"{ span: 24, offset: 0 }"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 6, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'organizationid'
:itemRules=
"this.rules.organizationid"
class=
''
:caption=
"$t('entities.hrtransferapply.if_001_form.details.organizationid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.organizationid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'organizationid'
:value=
"data.organizationid"
dataType=
"PICKUPDATA"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_PIM/src/widgets/hrtransfer-apply/if-001-form/if-001-form.vue
0 → 100644
浏览文件 @
96648c7b
<
template
src=
"./if-001-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { IF_001EditFormBase } from './if-001-form-base';
/**
* form部件
*
* @export
* @class IF_001EditForm
* @extends {IF_001EditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class IF_001EditForm extends IF_001EditFormBase { }
</script>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录