Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
3c562804
提交
3c562804
编写于
8月 11, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
a137abec
变更
58
隐藏空白字符变更
内嵌
并排
正在显示
58 个修改的文件
包含
5772 行增加
和
1798 行删除
+5772
-1798
data-dictionary.json
app_PIM/public/assets/json/data-dictionary.json
+716
-687
view-config.json
app_PIM/public/assets/json/view-config.json
+10
-0
hrcontract.ts
app_PIM/src/interface/entity/hrcontract.ts
+8
-0
codelist_en_US.ts
app_PIM/src/locale/lanres/codelist/codelist_en_US.ts
+86
-81
codelist_zh_CN.ts
app_PIM/src/locale/lanres/codelist/codelist_zh_CN.ts
+86
-81
hrcontract_en_US.ts
...src/locale/lanres/entities/hrcontract/hrcontract_en_US.ts
+71
-8
hrcontract_zh_CN.ts
...src/locale/lanres/entities/hrcontract/hrcontract_zh_CN.ts
+71
-8
hremployee_en_US.ts
...src/locale/lanres/entities/hremployee/hremployee_en_US.ts
+18
-26
hremployee_zh_CN.ts
...src/locale/lanres/entities/hremployee/hremployee_zh_CN.ts
+18
-26
codelist.ts
app_PIM/src/mock/codelist/codelist.ts
+686
-659
viewconfig.ts
app_PIM/src/mock/viewconfig/viewconfig.ts
+8
-0
hrcontract-grid-view-base.tsx
...source/hrcontract-grid-view/hrcontract-grid-view-base.tsx
+39
-13
hrcontract-v-002-base.tsx
...human-resource/hrcontract-v-002/hrcontract-v-002-base.tsx
+38
-12
hrcontract-v-002.vue
...ages/human-resource/hrcontract-v-002/hrcontract-v-002.vue
+1
-1
hrcontract-v-003-base.tsx
...human-resource/hrcontract-v-003/hrcontract-v-003-base.tsx
+38
-12
hrcontract-v-003.vue
...ages/human-resource/hrcontract-v-003/hrcontract-v-003.vue
+1
-1
hrcontract-v-004-base.tsx
...human-resource/hrcontract-v-004/hrcontract-v-004-base.tsx
+38
-12
hrcontract-v-004.vue
...ages/human-resource/hrcontract-v-004/hrcontract-v-004.vue
+1
-1
hrcontract-v-005-base.tsx
...human-resource/hrcontract-v-005/hrcontract-v-005-base.tsx
+171
-0
hrcontract-v-005.html
...ges/human-resource/hrcontract-v-005/hrcontract-v-005.html
+31
-0
hrcontract-v-005.vue
...ages/human-resource/hrcontract-v-005/hrcontract-v-005.vue
+22
-0
hremployee-v-007-base.tsx
...human-resource/hremployee-v-007/hremployee-v-007-base.tsx
+0
-35
page-register.ts
app_PIM/src/pages/ungroup/pim/page-register.ts
+2
-1
router.ts
app_PIM/src/pages/ungroup/pim/router.ts
+39
-10
codelist-service.ts
app_PIM/src/service/app/codelist-service.ts
+7
-7
state.ts
app_PIM/src/store/modules/view-action/state.ts
+17
-4
hrcontract-ui-service-base.ts
...IM/src/uiservice/hrcontract/hrcontract-ui-service-base.ts
+129
-0
active-grid-base.tsx
...M/src/widgets/hrcontract/active-grid/active-grid-base.tsx
+306
-0
active-grid-model.ts
...M/src/widgets/hrcontract/active-grid/active-grid-model.ts
+139
-0
active-grid-service.ts
...src/widgets/hrcontract/active-grid/active-grid-service.ts
+345
-0
active-grid.html
app_PIM/src/widgets/hrcontract/active-grid/active-grid.html
+186
-0
active-grid.vue
app_PIM/src/widgets/hrcontract/active-grid/active-grid.vue
+22
-0
main-form-base.tsx
app_PIM/src/widgets/hrcontract/main-form/main-form-base.tsx
+76
-16
main-form-model.ts
app_PIM/src/widgets/hrcontract/main-form/main-form-model.ts
+68
-13
main-form-service.ts
...PIM/src/widgets/hrcontract/main-form/main-form-service.ts
+24
-0
main-form.html
app_PIM/src/widgets/hrcontract/main-form/main-form.html
+174
-55
tab-exp-viewtabexppanel-tabexppanel-model.ts
...-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-model.ts
+3
-0
tab-exp-viewtabexppanel-tabexppanel.html
...anel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.html
+4
-4
tab-exp-viewtabviewpanel-tabviewpanel-model.ts
...bviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-model.ts
+3
-0
tab-exp-viewtabviewpanel2-tabviewpanel-model.ts
...viewpanel/tab-exp-viewtabviewpanel2-tabviewpanel-model.ts
+3
-0
tab-exp-viewtabviewpanel3-tabviewpanel-model.ts
...viewpanel/tab-exp-viewtabviewpanel3-tabviewpanel-model.ts
+3
-0
tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
...viewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
+3
-0
tab-exp-viewtabviewpanel5-tabviewpanel-model.ts
...viewpanel/tab-exp-viewtabviewpanel5-tabviewpanel-model.ts
+3
-0
wait-sign-grid-base.tsx
...widgets/hrcontract/wait-sign-grid/wait-sign-grid-base.tsx
+338
-0
wait-sign-grid-model.ts
...widgets/hrcontract/wait-sign-grid/wait-sign-grid-model.ts
+139
-0
wait-sign-grid-service.ts
...dgets/hrcontract/wait-sign-grid/wait-sign-grid-service.ts
+345
-0
wait-sign-grid.html
...src/widgets/hrcontract/wait-sign-grid/wait-sign-grid.html
+191
-0
wait-sign-grid.vue
.../src/widgets/hrcontract/wait-sign-grid/wait-sign-grid.vue
+22
-0
wait-stop-grid-base.tsx
...widgets/hrcontract/wait-stop-grid/wait-stop-grid-base.tsx
+306
-0
wait-stop-grid-model.ts
...widgets/hrcontract/wait-stop-grid/wait-stop-grid-model.ts
+139
-0
wait-stop-grid-service.ts
...dgets/hrcontract/wait-stop-grid/wait-stop-grid-service.ts
+345
-0
wait-stop-grid.html
...src/widgets/hrcontract/wait-stop-grid/wait-stop-grid.html
+186
-0
wait-stop-grid.vue
.../src/widgets/hrcontract/wait-stop-grid/wait-stop-grid.vue
+22
-0
config.xml
config.xml
+5
-5
Dockerfile
...urce-app/humanresource-app-pim/src/main/docker/Dockerfile
+1
-1
humanresource-app-pim.yaml
...source-app-pim/src/main/docker/humanresource-app-pim.yaml
+17
-1
Dockerfile
...r/humanresource-provider-hrapi/src/main/docker/Dockerfile
+1
-1
humanresource-provider-hrapi.yaml
...r-hrapi/src/main/docker/humanresource-provider-hrapi.yaml
+1
-17
未找到文件。
app_PIM/public/assets/json/data-dictionary.json
浏览文件 @
3c562804
[
{
"srfkey"
:
"SysOperator"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
""
,
"appdedataset"
:
""
,
"items"
:
[]
},
{
"srfkey"
:
"CL_HR_0009"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"IDCARD"
,
"label"
:
"身份证"
,
"text"
:
"身份证"
,
"data"
:
""
,
"codename"
:
"Idcard"
,
"value"
:
"IDCARD"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"PASSPORT"
,
"label"
:
"护照"
,
"text"
:
"护照"
,
"data"
:
""
,
"codename"
:
"Passport"
,
"value"
:
"PASSPORT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"OTHER"
,
"label"
:
"其他"
,
"text"
:
"其他"
,
"data"
:
""
,
"codename"
:
"Other"
,
"value"
:
"OTHER"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"CL_HR_0021"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
...
...
@@ -99,28 +51,50 @@
]
},
{
"srfkey"
:
"CL_HR_001
2
"
,
"srfkey"
:
"CL_HR_001
1
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
FARM
"
,
"label"
:
"
农业户口
"
,
"text"
:
"
农业户口
"
,
"id"
:
"
SINGLE
"
,
"label"
:
"
未婚
"
,
"text"
:
"
未婚
"
,
"data"
:
""
,
"codename"
:
"
Farm
"
,
"value"
:
"
FARM
"
,
"codename"
:
"
Single
"
,
"value"
:
"
SINGLE
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
NONFARM
"
,
"label"
:
"
非农业户口
"
,
"text"
:
"
非农业户口
"
,
"id"
:
"
MARRIED
"
,
"label"
:
"
已婚
"
,
"text"
:
"
已婚
"
,
"data"
:
""
,
"codename"
:
"Nonfarm"
,
"value"
:
"NONFARM"
,
"codename"
:
"Married"
,
"value"
:
"MARRIED"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"WIDOWED"
,
"label"
:
"丧偶"
,
"text"
:
"丧偶"
,
"data"
:
""
,
"codename"
:
"Widowed"
,
"value"
:
"WIDOWED"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"DIVORCED"
,
"label"
:
"离异"
,
"text"
:
"离异"
,
"data"
:
""
,
"codename"
:
"Divorced"
,
"value"
:
"DIVORCED"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -139,83 +113,61 @@
]
},
{
"srfkey"
:
"
WFStates
"
,
"srfkey"
:
"
CL_HR_0003
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"0"
,
"label"
:
"未启动"
,
"text"
:
"未启动"
,
"data"
:
""
,
"codename"
:
"Item_0"
,
"value"
:
"0"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"1"
,
"label"
:
"流程中"
,
"text"
:
"流程中"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"2"
,
"label"
:
"已完成"
,
"text"
:
"已完成"
,
"id"
:
"TEL"
,
"label"
:
"电话"
,
"text"
:
"电话"
,
"data"
:
""
,
"codename"
:
"
Item_2
"
,
"value"
:
"
2
"
,
"codename"
:
"
Tel
"
,
"value"
:
"
TEL
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
3
"
,
"label"
:
"
已取消
"
,
"text"
:
"
已取消
"
,
"id"
:
"
EMAIL
"
,
"label"
:
"
电子邮件地址
"
,
"text"
:
"
电子邮件地址
"
,
"data"
:
""
,
"codename"
:
"
Item_3
"
,
"value"
:
"
3
"
,
"codename"
:
"
Email
"
,
"value"
:
"
EMAIL
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
31
"
,
"label"
:
"
已取消(人工)
"
,
"text"
:
"
已取消(人工)
"
,
"id"
:
"
WECHAT
"
,
"label"
:
"
微信
"
,
"text"
:
"
微信
"
,
"data"
:
""
,
"codename"
:
"
Item_31
"
,
"value"
:
"
31
"
,
"codename"
:
"
Wechat
"
,
"value"
:
"
WECHAT
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
32
"
,
"label"
:
"
已取消(超时)
"
,
"text"
:
"
已取消(超时)
"
,
"id"
:
"
QQ
"
,
"label"
:
"
QQ
"
,
"text"
:
"
QQ
"
,
"data"
:
""
,
"codename"
:
"
Item_32
"
,
"value"
:
"
32
"
,
"codename"
:
"
Qq
"
,
"value"
:
"
QQ
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
4
"
,
"label"
:
"
处理故障
"
,
"text"
:
"
处理故障
"
,
"id"
:
"
FAX
"
,
"label"
:
"
传真
"
,
"text"
:
"
传真
"
,
"data"
:
""
,
"codename"
:
"
Item_4
"
,
"value"
:
"
4
"
,
"codename"
:
"
Fax
"
,
"value"
:
"
FAX
"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -223,65 +175,61 @@
]
},
{
"srfkey"
:
"CL_HR_00
19
"
,
"srfkey"
:
"CL_HR_00
07
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"A
CTIVE
"
,
"label"
:
"
执行中
"
,
"text"
:
"
执行中
"
,
"id"
:
"A"
,
"label"
:
"
A
"
,
"text"
:
"
A
"
,
"data"
:
""
,
"codename"
:
"A
ctive
"
,
"value"
:
"A
CTIVE
"
,
"codename"
:
"A"
,
"value"
:
"A"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
WAITSIGN
"
,
"label"
:
"
待续签
"
,
"text"
:
"
待续签
"
,
"id"
:
"
B
"
,
"label"
:
"
B
"
,
"text"
:
"
B
"
,
"data"
:
""
,
"codename"
:
"Waitsign"
,
"color"
:
"rgba(255, 0, 0, 1)"
,
"value"
:
"WAITSIGN"
,
"codename"
:
"B"
,
"value"
:
"B"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
HAVESIGN
"
,
"label"
:
"
已续签
"
,
"text"
:
"
已续签
"
,
"id"
:
"
AB
"
,
"label"
:
"
AB
"
,
"text"
:
"
AB
"
,
"data"
:
""
,
"codename"
:
"Havesign"
,
"color"
:
"rgba(49, 27, 146, 1)"
,
"value"
:
"HAVESIGN"
,
"codename"
:
"Ab"
,
"value"
:
"AB"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
WAITSTOP
"
,
"label"
:
"
待终止
"
,
"text"
:
"
待终止
"
,
"id"
:
"
O
"
,
"label"
:
"
O
"
,
"text"
:
"
O
"
,
"data"
:
""
,
"codename"
:
"Waitstop"
,
"color"
:
"rgba(255, 0, 0, 1)"
,
"value"
:
"WAITSTOP"
,
"codename"
:
"O"
,
"value"
:
"O"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
HAVESTOP
"
,
"label"
:
"
已终止
"
,
"text"
:
"
已终止
"
,
"id"
:
"
其他
"
,
"label"
:
"
其他
"
,
"text"
:
"
其他
"
,
"data"
:
""
,
"codename"
:
"Havestop"
,
"color"
:
"rgba(49, 27, 146, 1)"
,
"value"
:
"HAVESTOP"
,
"codename"
:
"Item_5"
,
"value"
:
"其他"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -289,90 +237,116 @@
]
},
{
"srfkey"
:
"
YesNo
"
,
"srfkey"
:
"
CL_HR_0014
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"
是
"
,
"text"
:
"
是
"
,
"id"
:
"1
0
"
,
"label"
:
"
博士后
"
,
"text"
:
"
博士后
"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"codename"
:
"Item_1
0
"
,
"value"
:
"1
0
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"0"
,
"label"
:
"
否
"
,
"text"
:
"
否
"
,
"id"
:
"
2
0"
,
"label"
:
"
硕士研究生
"
,
"text"
:
"
硕士研究生
"
,
"data"
:
""
,
"codename"
:
"Item_0"
,
"value"
:
"0"
,
"codename"
:
"Item_
2
0"
,
"value"
:
"
2
0"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"CL_HR_0011"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"SINGLE"
,
"label"
:
"未婚"
,
"text"
:
"未婚"
,
"data"
:
""
,
"codename"
:
"Single"
,
"value"
:
"SINGLE"
,
,
{
"id"
:
"30"
,
"label"
:
"大学本科"
,
"text"
:
"大学本科"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
"value"
:
"30"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
MARRIED
"
,
"label"
:
"
已婚
"
,
"text"
:
"
已婚
"
,
"id"
:
"
40
"
,
"label"
:
"
中等专科
"
,
"text"
:
"
中等专科
"
,
"data"
:
""
,
"codename"
:
"
Married
"
,
"value"
:
"
MARRIED
"
,
"codename"
:
"
Item_40
"
,
"value"
:
"
40
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
WIDOWED
"
,
"label"
:
"
丧偶
"
,
"text"
:
"
丧偶
"
,
"id"
:
"
50
"
,
"label"
:
"
职业高中
"
,
"text"
:
"
职业高中
"
,
"data"
:
""
,
"codename"
:
"
Widowed
"
,
"value"
:
"
WIDOWED
"
,
"codename"
:
"
Item_50
"
,
"value"
:
"
50
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
DIVORCED
"
,
"label"
:
"
离异
"
,
"text"
:
"
离异
"
,
"id"
:
"
60
"
,
"label"
:
"
技工学校
"
,
"text"
:
"
技工学校
"
,
"data"
:
""
,
"codename"
:
"
Divorced
"
,
"value"
:
"
DIVORCED
"
,
"codename"
:
"
Item_60
"
,
"value"
:
"
60
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"OTHER"
,
"id"
:
"70"
,
"label"
:
"普通高中"
,
"text"
:
"普通高中"
,
"data"
:
""
,
"codename"
:
"Item_70"
,
"value"
:
"70"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"80"
,
"label"
:
"初中"
,
"text"
:
"初中"
,
"data"
:
""
,
"codename"
:
"Item_80"
,
"value"
:
"80"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"90"
,
"label"
:
"小学"
,
"text"
:
"小学"
,
"data"
:
""
,
"codename"
:
"Item_90"
,
"value"
:
"90"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"100"
,
"label"
:
"其他"
,
"text"
:
"其他"
,
"data"
:
""
,
"codename"
:
"
Other
"
,
"value"
:
"
OTHER
"
,
"codename"
:
"
Item_100
"
,
"value"
:
"
100
"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -380,79 +354,171 @@
]
},
{
"srfkey"
:
"CL_HR_000
4
"
,
"srfkey"
:
"CL_HR_000
2
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
FULLTIME
"
,
"label"
:
"
全职
"
,
"text"
:
"
全职
"
,
"id"
:
"
BUSINESS
"
,
"label"
:
"
业务
"
,
"text"
:
"
业务
"
,
"data"
:
""
,
"codename"
:
"
Fulltime
"
,
"value"
:
"
FULLTIME
"
,
"codename"
:
"
Business
"
,
"value"
:
"
BUSINESS
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
PARTTI
ME"
,
"label"
:
"
兼职
"
,
"text"
:
"
兼职
"
,
"id"
:
"
HO
ME"
,
"label"
:
"
家庭住址
"
,
"text"
:
"
家庭住址
"
,
"data"
:
""
,
"codename"
:
"
Partti
me"
,
"value"
:
"
PARTTI
ME"
,
"codename"
:
"
Ho
me"
,
"value"
:
"
HO
ME"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"CL_HR_0001"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"COSTCENTER"
,
"label"
:
"成本中心"
,
"text"
:
"成本中心"
,
,
{
"id"
:
"REALLOCATION"
,
"label"
:
"实际位置"
,
"text"
:
"实际位置"
,
"data"
:
""
,
"codename"
:
"
Costcenter
"
,
"value"
:
"
COSTCENTER
"
,
"codename"
:
"
Reallocation
"
,
"value"
:
"
REALLOCATION
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
BUSINESSUN
IT"
,
"label"
:
"
业务单位
"
,
"text"
:
"
业务单位
"
,
"id"
:
"
RECRU
IT"
,
"label"
:
"
招聘
"
,
"text"
:
"
招聘
"
,
"data"
:
""
,
"codename"
:
"
Businessun
it"
,
"value"
:
"
BUSINESSUN
IT"
,
"codename"
:
"
Recru
it"
,
"value"
:
"
RECRU
IT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
DEPARTMENT
"
,
"label"
:
"
部门
"
,
"text"
:
"
部门
"
,
"id"
:
"
SERVICE
"
,
"label"
:
"
服务
"
,
"text"
:
"
服务
"
,
"data"
:
""
,
"codename"
:
"
Department
"
,
"value"
:
"
DEPARTMENT
"
,
"codename"
:
"
Service
"
,
"value"
:
"
SERVICE
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
COMMERCIAL
"
,
"label"
:
"
商业渠道
"
,
"text"
:
"
商业渠道
"
,
"id"
:
"
HEADCOMPANY
"
,
"label"
:
"
总公司
"
,
"text"
:
"
总公司
"
,
"data"
:
""
,
"codename"
:
"Commercial"
,
"value"
:
"COMMERCIAL"
,
"codename"
:
"Headcompany"
,
"value"
:
"HEADCOMPANY"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"INVOICE"
,
"label"
:
"发票"
,
"text"
:
"发票"
,
"data"
:
""
,
"codename"
:
"Invoice"
,
"value"
:
"INVOICE"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"PAYMENT"
,
"label"
:
"付款"
,
"text"
:
"付款"
,
"data"
:
""
,
"codename"
:
"Payment"
,
"value"
:
"PAYMENT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"REMIT"
,
"label"
:
"汇款至"
,
"text"
:
"汇款至"
,
"data"
:
""
,
"codename"
:
"Remit"
,
"value"
:
"REMIT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"STATEMENT"
,
"label"
:
"对帐单"
,
"text"
:
"对帐单"
,
"data"
:
""
,
"codename"
:
"Statement"
,
"value"
:
"STATEMENT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"CONSIGNMENT"
,
"label"
:
"托运"
,
"text"
:
"托运"
,
"data"
:
""
,
"codename"
:
"Consignment"
,
"value"
:
"CONSIGNMENT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"DELIVERY"
,
"label"
:
"交货"
,
"text"
:
"交货"
,
"data"
:
""
,
"codename"
:
"Delivery"
,
"value"
:
"DELIVERY"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"LADING"
,
"label"
:
"装货"
,
"text"
:
"装货"
,
"data"
:
""
,
"codename"
:
"Lading"
,
"value"
:
"LADING"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"UNLADING"
,
"label"
:
"卸货"
,
"text"
:
"卸货"
,
"data"
:
""
,
"codename"
:
"Unlading"
,
"value"
:
"UNLADING"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"OTHER"
,
"label"
:
"其他"
,
"text"
:
"其他"
,
"data"
:
""
,
"codename"
:
"Other"
,
"value"
:
"OTHER"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -460,90 +526,157 @@
]
},
{
"srfkey"
:
"CL_HR_0003"
,
"srfkey"
:
"CL_HR_0016"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
"HREmpState"
,
"appdedataset"
:
"FetchDefault"
,
"items"
:
[]
},
{
"srfkey"
:
"CL_HR_0013"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
TEL
"
,
"label"
:
"
电话
"
,
"text"
:
"
电话
"
,
"id"
:
"
10
"
,
"label"
:
"
中共党员
"
,
"text"
:
"
中共党员
"
,
"data"
:
""
,
"codename"
:
"
Tel
"
,
"value"
:
"
TEL
"
,
"codename"
:
"
Item_10
"
,
"value"
:
"
10
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
EMAIL
"
,
"label"
:
"
电子邮件地址
"
,
"text"
:
"
电子邮件地址
"
,
"id"
:
"
30
"
,
"label"
:
"
共青团员
"
,
"text"
:
"
共青团员
"
,
"data"
:
""
,
"codename"
:
"
Email
"
,
"value"
:
"
EMAIL
"
,
"codename"
:
"
Item_30
"
,
"value"
:
"
30
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
WECHAT
"
,
"label"
:
"
微信
"
,
"text"
:
"
微信
"
,
"id"
:
"
40
"
,
"label"
:
"
群众
"
,
"text"
:
"
群众
"
,
"data"
:
""
,
"codename"
:
"
Wechat
"
,
"value"
:
"
WECHAT
"
,
"codename"
:
"
Item_40
"
,
"value"
:
"
40
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
QQ
"
,
"label"
:
"
QQ
"
,
"text"
:
"
QQ
"
,
"id"
:
"
50
"
,
"label"
:
"
民进会员
"
,
"text"
:
"
民进会员
"
,
"data"
:
""
,
"codename"
:
"
Qq
"
,
"value"
:
"
QQ
"
,
"codename"
:
"
Item_50
"
,
"value"
:
"
50
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"FAX"
,
"label"
:
"传真"
,
"text"
:
"传真"
,
"id"
:
"60"
,
"label"
:
"民革会员"
,
"text"
:
"民革会员"
,
"data"
:
""
,
"codename"
:
"Item_60"
,
"value"
:
"60"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"70"
,
"label"
:
"民盟会员"
,
"text"
:
"民盟会员"
,
"data"
:
""
,
"codename"
:
"Item_70"
,
"value"
:
"70"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"80"
,
"label"
:
"民建会员"
,
"text"
:
"民建会员"
,
"data"
:
""
,
"codename"
:
"Item_80"
,
"value"
:
"80"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"90"
,
"label"
:
"农工党党员"
,
"text"
:
"农工党党员"
,
"data"
:
""
,
"codename"
:
"Item_90"
,
"value"
:
"90"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"100"
,
"label"
:
"致公党党员"
,
"text"
:
"致公党党员"
,
"data"
:
""
,
"codename"
:
"Item_100"
,
"value"
:
"100"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"110"
,
"label"
:
"台盟盟员"
,
"text"
:
"台盟盟员"
,
"data"
:
""
,
"codename"
:
"Item_110"
,
"value"
:
"110"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"120"
,
"label"
:
"九三学社社员"
,
"text"
:
"九三学社社员"
,
"data"
:
""
,
"codename"
:
"
Fax
"
,
"value"
:
"
FAX
"
,
"codename"
:
"
Item_120
"
,
"value"
:
"
120
"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"OrganizationType"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"LEGAL"
,
"label"
:
"法人"
,
"text"
:
"法人"
,
,
{
"id"
:
"130"
,
"label"
:
"无党派民主人士"
,
"text"
:
"无党派民主人士"
,
"data"
:
""
,
"codename"
:
"
Legal
"
,
"value"
:
"
LEGAL
"
,
"codename"
:
"
Item_130
"
,
"value"
:
"
130
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
OPERATIONUNIT
"
,
"label"
:
"
运营单位
"
,
"text"
:
"
运营单位
"
,
"id"
:
"
140
"
,
"label"
:
"
其他
"
,
"text"
:
"
其他
"
,
"data"
:
""
,
"codename"
:
"
Operationunit
"
,
"value"
:
"
OPERATIONUNIT
"
,
"codename"
:
"
Item_140
"
,
"value"
:
"
140
"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -551,61 +684,47 @@
]
},
{
"srfkey"
:
"CL_HR_0022"
,
"srfkey"
:
"SysOperator"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
""
,
"appdedataset"
:
""
,
"items"
:
[]
},
{
"srfkey"
:
"CL_HR_0009"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"10"
,
"label"
:
"有固定期限劳动合同"
,
"text"
:
"有固定期限劳动合同"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
"value"
:
"10"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"20"
,
"label"
:
"无固定期限劳动合同"
,
"text"
:
"无固定期限劳动合同"
,
"data"
:
""
,
"codename"
:
"Item_20"
,
"value"
:
"20"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"30"
,
"label"
:
"完成一定工作任务期限劳动合同"
,
"text"
:
"完成一定工作任务期限劳动合同"
,
"id"
:
"IDCARD"
,
"label"
:
"身份证"
,
"text"
:
"身份证"
,
"data"
:
""
,
"codename"
:
"I
tem_30
"
,
"value"
:
"
30
"
,
"codename"
:
"I
dcard
"
,
"value"
:
"
IDCARD
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
40
"
,
"label"
:
"
非全日制劳动合同
"
,
"text"
:
"
非全日制劳动合同
"
,
"id"
:
"
PASSPORT
"
,
"label"
:
"
护照
"
,
"text"
:
"
护照
"
,
"data"
:
""
,
"codename"
:
"
Item_40
"
,
"value"
:
"
40
"
,
"codename"
:
"
Passport
"
,
"value"
:
"
PASSPORT
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
50
"
,
"label"
:
"
事实劳动合同
"
,
"text"
:
"
事实劳动合同
"
,
"id"
:
"
OTHER
"
,
"label"
:
"
其他
"
,
"text"
:
"
其他
"
,
"data"
:
""
,
"codename"
:
"
Item_50
"
,
"value"
:
"
50
"
,
"codename"
:
"
Other
"
,
"value"
:
"
OTHER
"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -613,53 +732,39 @@
]
},
{
"srfkey"
:
"CL_HR_001
7
"
,
"srfkey"
:
"CL_HR_001
2
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"10"
,
"label"
:
"拟稿"
,
"text"
:
"拟稿"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
"value"
:
"10"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"20"
,
"label"
:
"审批中"
,
"text"
:
"审批中"
,
"id"
:
"FARM"
,
"label"
:
"农业户口"
,
"text"
:
"农业户口"
,
"data"
:
""
,
"codename"
:
"Item_20"
,
"color"
:
"rgba(255, 0, 0, 0.92)"
,
"value"
:
"20"
,
"codename"
:
"Farm"
,
"value"
:
"FARM"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
30
"
,
"label"
:
"
已完成
"
,
"text"
:
"
已完成
"
,
"id"
:
"
NONFARM
"
,
"label"
:
"
非农业户口
"
,
"text"
:
"
非农业户口
"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
"color"
:
"rgba(0, 55, 255, 1)"
,
"value"
:
"30"
,
"codename"
:
"Nonfarm"
,
"value"
:
"NONFARM"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
40
"
,
"label"
:
"
已取消
"
,
"text"
:
"
已取消
"
,
"id"
:
"
OTHER
"
,
"label"
:
"
其他
"
,
"text"
:
"
其他
"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
"color"
:
"rgba(213, 0, 255, 1)"
,
"value"
:
"40"
,
"codename"
:
"Other"
,
"value"
:
"OTHER"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -667,28 +772,28 @@
]
},
{
"srfkey"
:
"CL_HR_00
1
0"
,
"srfkey"
:
"CL_HR_00
2
0"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
MALE
"
,
"label"
:
"
男
"
,
"text"
:
"
男
"
,
"id"
:
"
FIRST
"
,
"label"
:
"
初签
"
,
"text"
:
"
初签
"
,
"data"
:
""
,
"codename"
:
"
Male
"
,
"value"
:
"
MALE
"
,
"codename"
:
"
First
"
,
"value"
:
"
FIRST
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
FEMALE
"
,
"label"
:
"
女
"
,
"text"
:
"
女
"
,
"id"
:
"
SECOND
"
,
"label"
:
"
续签
"
,
"text"
:
"
续签
"
,
"data"
:
""
,
"codename"
:
"
Female
"
,
"value"
:
"
FEMALE
"
,
"codename"
:
"
Second
"
,
"value"
:
"
SECOND
"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -696,61 +801,83 @@
]
},
{
"srfkey"
:
"
CL_HR_0007
"
,
"srfkey"
:
"
WFStates
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
A
"
,
"label"
:
"
A
"
,
"text"
:
"
A
"
,
"id"
:
"
0
"
,
"label"
:
"
未启动
"
,
"text"
:
"
未启动
"
,
"data"
:
""
,
"codename"
:
"
A
"
,
"value"
:
"
A
"
,
"codename"
:
"
Item_0
"
,
"value"
:
"
0
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
B
"
,
"label"
:
"
B
"
,
"text"
:
"
B
"
,
"id"
:
"
1
"
,
"label"
:
"
流程中
"
,
"text"
:
"
流程中
"
,
"data"
:
""
,
"codename"
:
"
B
"
,
"value"
:
"
B
"
,
"codename"
:
"
Item_1
"
,
"value"
:
"
1
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
AB
"
,
"label"
:
"
AB
"
,
"text"
:
"
AB
"
,
"id"
:
"
2
"
,
"label"
:
"
已完成
"
,
"text"
:
"
已完成
"
,
"data"
:
""
,
"codename"
:
"
Ab
"
,
"value"
:
"
AB
"
,
"codename"
:
"
Item_2
"
,
"value"
:
"
2
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
O
"
,
"label"
:
"
O
"
,
"text"
:
"
O
"
,
"id"
:
"
3
"
,
"label"
:
"
已取消
"
,
"text"
:
"
已取消
"
,
"data"
:
""
,
"codename"
:
"
O
"
,
"value"
:
"
O
"
,
"codename"
:
"
Item_3
"
,
"value"
:
"
3
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
其他
"
,
"label"
:
"
其他
"
,
"text"
:
"
其他
"
,
"id"
:
"
31
"
,
"label"
:
"
已取消(人工)
"
,
"text"
:
"
已取消(人工)
"
,
"data"
:
""
,
"codename"
:
"Item_5"
,
"value"
:
"其他"
,
"codename"
:
"Item_31"
,
"value"
:
"31"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"32"
,
"label"
:
"已取消(超时)"
,
"text"
:
"已取消(超时)"
,
"data"
:
""
,
"codename"
:
"Item_32"
,
"value"
:
"32"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"4"
,
"label"
:
"处理故障"
,
"text"
:
"处理故障"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
"value"
:
"4"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -758,116 +885,123 @@
]
},
{
"srfkey"
:
"CL_HR_001
4
"
,
"srfkey"
:
"CL_HR_001
9
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"10"
,
"label"
:
"博士后"
,
"text"
:
"博士后"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
"value"
:
"10"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"20"
,
"label"
:
"硕士研究生"
,
"text"
:
"硕士研究生"
,
"id"
:
"ACTIVE"
,
"label"
:
"执行中"
,
"text"
:
"执行中"
,
"data"
:
""
,
"codename"
:
"
Item_20
"
,
"value"
:
"
20
"
,
"codename"
:
"
Active
"
,
"value"
:
"
ACTIVE
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
30
"
,
"label"
:
"
大学本科
"
,
"text"
:
"
大学本科
"
,
"id"
:
"
WAITSIGN
"
,
"label"
:
"
待续签
"
,
"text"
:
"
待续签
"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
"value"
:
"30"
,
"codename"
:
"Waitsign"
,
"color"
:
"rgba(255, 0, 0, 1)"
,
"value"
:
"WAITSIGN"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
40
"
,
"label"
:
"
中等专科
"
,
"text"
:
"
中等专科
"
,
"id"
:
"
HAVESIGN
"
,
"label"
:
"
已续签
"
,
"text"
:
"
已续签
"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
"value"
:
"40"
,
"codename"
:
"Havesign"
,
"color"
:
"rgba(49, 27, 146, 1)"
,
"value"
:
"HAVESIGN"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
50
"
,
"label"
:
"
职业高中
"
,
"text"
:
"
职业高中
"
,
"id"
:
"
WAITSTOP
"
,
"label"
:
"
待终止
"
,
"text"
:
"
待终止
"
,
"data"
:
""
,
"codename"
:
"Item_50"
,
"value"
:
"50"
,
"codename"
:
"Waitstop"
,
"color"
:
"rgba(255, 0, 0, 1)"
,
"value"
:
"WAITSTOP"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
60
"
,
"label"
:
"
技工学校
"
,
"text"
:
"
技工学校
"
,
"id"
:
"
HAVESTOP
"
,
"label"
:
"
已终止
"
,
"text"
:
"
已终止
"
,
"data"
:
""
,
"codename"
:
"Item_60"
,
"value"
:
"60"
,
"codename"
:
"Havestop"
,
"color"
:
"rgba(49, 27, 146, 1)"
,
"value"
:
"HAVESTOP"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"70"
,
"label"
:
"普通高中"
,
"text"
:
"普通高中"
,
]
},
{
"srfkey"
:
"YesNo"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"是"
,
"text"
:
"是"
,
"data"
:
""
,
"codename"
:
"Item_
70
"
,
"value"
:
"
70
"
,
"codename"
:
"Item_
1
"
,
"value"
:
"
1
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
8
0"
,
"label"
:
"
初中
"
,
"text"
:
"
初中
"
,
"id"
:
"0"
,
"label"
:
"
否
"
,
"text"
:
"
否
"
,
"data"
:
""
,
"codename"
:
"Item_
8
0"
,
"value"
:
"
8
0"
,
"codename"
:
"Item_0"
,
"value"
:
"0"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"90"
,
"label"
:
"小学"
,
"text"
:
"小学"
,
]
},
{
"srfkey"
:
"CL_HR_0004"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"FULLTIME"
,
"label"
:
"全职"
,
"text"
:
"全职"
,
"data"
:
""
,
"codename"
:
"
Item_90
"
,
"value"
:
"
90
"
,
"codename"
:
"
Fulltime
"
,
"value"
:
"
FULLTIME
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
100
"
,
"label"
:
"
其他
"
,
"text"
:
"
其他
"
,
"id"
:
"
PARTTIME
"
,
"label"
:
"
兼职
"
,
"text"
:
"
兼职
"
,
"data"
:
""
,
"codename"
:
"
Item_100
"
,
"value"
:
"
100
"
,
"codename"
:
"
Parttime
"
,
"value"
:
"
PARTTIME
"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -875,39 +1009,50 @@
]
},
{
"srfkey"
:
"CL_HR_000
5
"
,
"srfkey"
:
"CL_HR_000
1
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
HIGH
"
,
"label"
:
"
高
"
,
"text"
:
"
高
"
,
"id"
:
"
COSTCENTER
"
,
"label"
:
"
成本中心
"
,
"text"
:
"
成本中心
"
,
"data"
:
""
,
"codename"
:
"
High
"
,
"value"
:
"
HIGH
"
,
"codename"
:
"
Costcenter
"
,
"value"
:
"
COSTCENTER
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
MID
"
,
"label"
:
"
中
"
,
"text"
:
"
中
"
,
"id"
:
"
BUSINESSUNIT
"
,
"label"
:
"
业务单位
"
,
"text"
:
"
业务单位
"
,
"data"
:
""
,
"codename"
:
"
Mid
"
,
"value"
:
"
MID
"
,
"codename"
:
"
Businessunit
"
,
"value"
:
"
BUSINESSUNIT
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
LOW
"
,
"label"
:
"
低
"
,
"text"
:
"
低
"
,
"id"
:
"
DEPARTMENT
"
,
"label"
:
"
部门
"
,
"text"
:
"
部门
"
,
"data"
:
""
,
"codename"
:
"Low"
,
"value"
:
"LOW"
,
"codename"
:
"Department"
,
"value"
:
"DEPARTMENT"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"COMMERCIAL"
,
"label"
:
"商业渠道"
,
"text"
:
"商业渠道"
,
"data"
:
""
,
"codename"
:
"Commercial"
,
"value"
:
"COMMERCIAL"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -915,17 +1060,28 @@
]
},
{
"srfkey"
:
"
CL_HR_0008
"
,
"srfkey"
:
"
OrganizationType
"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
汉
"
,
"label"
:
"
汉
"
,
"text"
:
"
汉
"
,
"id"
:
"
LEGAL
"
,
"label"
:
"
法人
"
,
"text"
:
"
法人
"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"汉"
,
"codename"
:
"Legal"
,
"value"
:
"LEGAL"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"OPERATIONUNIT"
,
"label"
:
"运营单位"
,
"text"
:
"运营单位"
,
"data"
:
""
,
"codename"
:
"Operationunit"
,
"value"
:
"OPERATIONUNIT"
,
"disabled"
:
false
,
"default"
:
false
...
...
@@ -933,185 +1089,208 @@
]
},
{
"srfkey"
:
"CL_HR_00
0
2"
,
"srfkey"
:
"CL_HR_00
2
2"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"
BUSINESS
"
,
"label"
:
"
业务
"
,
"text"
:
"
业务
"
,
"id"
:
"
10
"
,
"label"
:
"
有固定期限劳动合同
"
,
"text"
:
"
有固定期限劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Business
"
,
"value"
:
"
BUSINESS
"
,
"codename"
:
"
Item_10
"
,
"value"
:
"
10
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
HOME
"
,
"label"
:
"
家庭住址
"
,
"text"
:
"
家庭住址
"
,
"id"
:
"
20
"
,
"label"
:
"
无固定期限劳动合同
"
,
"text"
:
"
无固定期限劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Home
"
,
"value"
:
"
HOME
"
,
"codename"
:
"
Item_20
"
,
"value"
:
"
20
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
REALLOCATION
"
,
"label"
:
"
实际位置
"
,
"text"
:
"
实际位置
"
,
"id"
:
"
30
"
,
"label"
:
"
完成一定工作任务期限劳动合同
"
,
"text"
:
"
完成一定工作任务期限劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Reallocation
"
,
"value"
:
"
REALLOCATION
"
,
"codename"
:
"
Item_30
"
,
"value"
:
"
30
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
RECRUIT
"
,
"label"
:
"
招聘
"
,
"text"
:
"
招聘
"
,
"id"
:
"
40
"
,
"label"
:
"
非全日制劳动合同
"
,
"text"
:
"
非全日制劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Recruit
"
,
"value"
:
"
RECRUIT
"
,
"codename"
:
"
Item_40
"
,
"value"
:
"
40
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
SERVICE
"
,
"label"
:
"
服务
"
,
"text"
:
"
服务
"
,
"id"
:
"
50
"
,
"label"
:
"
事实劳动合同
"
,
"text"
:
"
事实劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Service
"
,
"value"
:
"
SERVICE
"
,
"codename"
:
"
Item_50
"
,
"value"
:
"
50
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"HEADCOMPANY"
,
"label"
:
"总公司"
,
"text"
:
"总公司"
,
]
},
{
"srfkey"
:
"CL_HR_0017"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"10"
,
"label"
:
"拟稿"
,
"text"
:
"拟稿"
,
"data"
:
""
,
"codename"
:
"
Headcompany
"
,
"value"
:
"
HEADCOMPANY
"
,
"codename"
:
"
Item_10
"
,
"value"
:
"
10
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
INVOICE
"
,
"label"
:
"
发票
"
,
"text"
:
"
发票
"
,
"id"
:
"
20
"
,
"label"
:
"
审批中
"
,
"text"
:
"
审批中
"
,
"data"
:
""
,
"codename"
:
"Invoice"
,
"value"
:
"INVOICE"
,
"codename"
:
"Item_20"
,
"color"
:
"rgba(255, 0, 0, 0.92)"
,
"value"
:
"20"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
PAYMENT
"
,
"label"
:
"
付款
"
,
"text"
:
"
付款
"
,
"id"
:
"
30
"
,
"label"
:
"
已完成
"
,
"text"
:
"
已完成
"
,
"data"
:
""
,
"codename"
:
"Payment"
,
"value"
:
"PAYMENT"
,
"codename"
:
"Item_30"
,
"color"
:
"rgba(0, 55, 255, 1)"
,
"value"
:
"30"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
REMIT
"
,
"label"
:
"
汇款至
"
,
"text"
:
"
汇款至
"
,
"id"
:
"
40
"
,
"label"
:
"
已取消
"
,
"text"
:
"
已取消
"
,
"data"
:
""
,
"codename"
:
"Remit"
,
"value"
:
"REMIT"
,
"codename"
:
"Item_40"
,
"color"
:
"rgba(213, 0, 255, 1)"
,
"value"
:
"40"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"STATEMENT"
,
"label"
:
"对帐单"
,
"text"
:
"对帐单"
,
]
},
{
"srfkey"
:
"CL_HR_0010"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"MALE"
,
"label"
:
"男"
,
"text"
:
"男"
,
"data"
:
""
,
"codename"
:
"
Statement
"
,
"value"
:
"
STATEMENT
"
,
"codename"
:
"
Male
"
,
"value"
:
"
MALE
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
CONSIGNMENT
"
,
"label"
:
"
托运
"
,
"text"
:
"
托运
"
,
"id"
:
"
FEMALE
"
,
"label"
:
"
女
"
,
"text"
:
"
女
"
,
"data"
:
""
,
"codename"
:
"
Consignment
"
,
"value"
:
"
CONSIGNMENT
"
,
"codename"
:
"
Female
"
,
"value"
:
"
FEMALE
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"DELIVERY"
,
"label"
:
"交货"
,
"text"
:
"交货"
,
]
},
{
"srfkey"
:
"CL_HR_0005"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"HIGH"
,
"label"
:
"高"
,
"text"
:
"高"
,
"data"
:
""
,
"codename"
:
"
Delivery
"
,
"value"
:
"
DELIVERY
"
,
"codename"
:
"
High
"
,
"value"
:
"
HIGH
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
LADING
"
,
"label"
:
"
装货
"
,
"text"
:
"
装货
"
,
"id"
:
"
MID
"
,
"label"
:
"
中
"
,
"text"
:
"
中
"
,
"data"
:
""
,
"codename"
:
"
Lading
"
,
"value"
:
"
LADING
"
,
"codename"
:
"
Mid
"
,
"value"
:
"
MID
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"
UNLADING
"
,
"label"
:
"
卸货
"
,
"text"
:
"
卸货
"
,
"id"
:
"
LOW
"
,
"label"
:
"
低
"
,
"text"
:
"
低
"
,
"data"
:
""
,
"codename"
:
"
Unlading
"
,
"value"
:
"
UNLADING
"
,
"codename"
:
"
Low
"
,
"value"
:
"
LOW
"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"OTHER"
,
"label"
:
"其他"
,
"text"
:
"其他"
,
]
},
{
"srfkey"
:
"CL_HR_0008"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"汉"
,
"label"
:
"汉"
,
"text"
:
"汉"
,
"data"
:
""
,
"codename"
:
"
Other
"
,
"value"
:
"
OTHER
"
,
"codename"
:
"
Item_1
"
,
"value"
:
"
汉
"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"CL_HR_0016"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
"HREmpState"
,
"appdedataset"
:
"FetchDefault"
,
"items"
:
[]
},
{
"srfkey"
:
"CL_HR_0015"
,
"emptytext"
:
"未定义"
,
...
...
@@ -1246,156 +1425,6 @@
"color"
:
"rgba(4, 0, 255, 1)"
,
"value"
:
"60"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
"srfkey"
:
"CL_HR_0013"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"10"
,
"label"
:
"中共党员"
,
"text"
:
"中共党员"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
"value"
:
"10"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"30"
,
"label"
:
"共青团员"
,
"text"
:
"共青团员"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
"value"
:
"30"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"40"
,
"label"
:
"群众"
,
"text"
:
"群众"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
"value"
:
"40"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"50"
,
"label"
:
"民进会员"
,
"text"
:
"民进会员"
,
"data"
:
""
,
"codename"
:
"Item_50"
,
"value"
:
"50"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"60"
,
"label"
:
"民革会员"
,
"text"
:
"民革会员"
,
"data"
:
""
,
"codename"
:
"Item_60"
,
"value"
:
"60"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"70"
,
"label"
:
"民盟会员"
,
"text"
:
"民盟会员"
,
"data"
:
""
,
"codename"
:
"Item_70"
,
"value"
:
"70"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"80"
,
"label"
:
"民建会员"
,
"text"
:
"民建会员"
,
"data"
:
""
,
"codename"
:
"Item_80"
,
"value"
:
"80"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"90"
,
"label"
:
"农工党党员"
,
"text"
:
"农工党党员"
,
"data"
:
""
,
"codename"
:
"Item_90"
,
"value"
:
"90"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"100"
,
"label"
:
"致公党党员"
,
"text"
:
"致公党党员"
,
"data"
:
""
,
"codename"
:
"Item_100"
,
"value"
:
"100"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"110"
,
"label"
:
"台盟盟员"
,
"text"
:
"台盟盟员"
,
"data"
:
""
,
"codename"
:
"Item_110"
,
"value"
:
"110"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"120"
,
"label"
:
"九三学社社员"
,
"text"
:
"九三学社社员"
,
"data"
:
""
,
"codename"
:
"Item_120"
,
"value"
:
"120"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"130"
,
"label"
:
"无党派民主人士"
,
"text"
:
"无党派民主人士"
,
"data"
:
""
,
"codename"
:
"Item_130"
,
"value"
:
"130"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"140"
,
"label"
:
"其他"
,
"text"
:
"其他"
,
"data"
:
""
,
"codename"
:
"Item_140"
,
"value"
:
"140"
,
"disabled"
:
false
,
"default"
:
false
}
...
...
app_PIM/public/assets/json/view-config.json
浏览文件 @
3c562804
...
...
@@ -899,6 +899,16 @@
"viewtag"
:
"b4ef4b87eb87fc3a2a8479027d62ac4c"
,
"memo"
:
"系统自动添加"
},
"hrcontractv_005"
:
{
"title"
:
"合同信息"
,
"caption"
:
"合同信息"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRContractV_005"
,
"viewfilename"
:
"hrcontract-v-005"
,
"viewtag"
:
"b748e4bd87b9d77bfc24835a2e5e96c9"
,
"memo"
:
""
},
"hrtransferapplyv_006"
:
{
"title"
:
"调动申请编辑视图"
,
"caption"
:
"调动预览"
,
...
...
app_PIM/src/interface/entity/hrcontract.ts
浏览文件 @
3c562804
...
...
@@ -181,4 +181,12 @@ export interface HRContract {
* @memberof HRContract
*/
contractsignnum
?:
any
;
/**
* 附件
*
* @returns {*}
* @memberof HRContract
*/
attachment
?:
any
;
}
\ No newline at end of file
app_PIM/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
3c562804
export
default
{
CL_HR_0021
:
{
"CONTRACT"
:
"劳动合同"
,
"LABOR"
:
"劳务派遣合同"
,
"AGREEMENT"
:
"协议"
,
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0011
:
{
"SINGLE"
:
"未婚"
,
"MARRIED"
:
"已婚"
,
"WIDOWED"
:
"丧偶"
,
"DIVORCED"
:
"离异"
,
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0003
:
{
"TEL"
:
"电话"
,
"EMAIL"
:
"电子邮件地址"
,
"WECHAT"
:
"微信"
,
"QQ"
:
"QQ"
,
"FAX"
:
"传真"
,
"empty"
:
""
},
CL_HR_0007
:
{
"A"
:
"A"
,
"B"
:
"B"
,
"AB"
:
"AB"
,
"O"
:
"O"
,
"其他"
:
"其他"
,
"empty"
:
""
},
CL_HR_0014
:
{
"10"
:
"博士后"
,
"20"
:
"硕士研究生"
,
"30"
:
"大学本科"
,
"40"
:
"中等专科"
,
"50"
:
"职业高中"
,
"60"
:
"技工学校"
,
"70"
:
"普通高中"
,
"80"
:
"初中"
,
"90"
:
"小学"
,
"100"
:
"其他"
,
"empty"
:
""
},
CL_HR_0002
:
{
"BUSINESS"
:
"业务"
,
"HOME"
:
"家庭住址"
,
"REALLOCATION"
:
"实际位置"
,
"RECRUIT"
:
"招聘"
,
"SERVICE"
:
"服务"
,
"HEADCOMPANY"
:
"总公司"
,
"INVOICE"
:
"发票"
,
"PAYMENT"
:
"付款"
,
"REMIT"
:
"汇款至"
,
"STATEMENT"
:
"对帐单"
,
"CONSIGNMENT"
:
"托运"
,
"DELIVERY"
:
"交货"
,
"LADING"
:
"装货"
,
"UNLADING"
:
"卸货"
,
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0016
:
{
"empty"
:
""
,
},
CL_HR_0013
:
{
"10"
:
"中共党员"
,
"30"
:
"共青团员"
,
"40"
:
"群众"
,
"50"
:
"民进会员"
,
"60"
:
"民革会员"
,
"70"
:
"民盟会员"
,
"80"
:
"民建会员"
,
"90"
:
"农工党党员"
,
"100"
:
"致公党党员"
,
"110"
:
"台盟盟员"
,
"120"
:
"九三学社社员"
,
"130"
:
"无党派民主人士"
,
"140"
:
"其他"
,
"empty"
:
""
},
SysOperator
:
{
"empty"
:
""
,
},
...
...
@@ -8,19 +89,17 @@ export default {
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0021
:
{
"CONTRACT"
:
"劳动合同"
,
"LABOR"
:
"劳务派遣合同"
,
"AGREEMENT"
:
"协议"
,
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0012
:
{
"FARM"
:
"农业户口"
,
"NONFARM"
:
"非农业户口"
,
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0020
:
{
"FIRST"
:
"初签"
,
"SECOND"
:
"续签"
,
"empty"
:
""
},
WFStates
:
{
"0"
:
"未启动"
,
"1"
:
"流程中"
,
...
...
@@ -44,14 +123,6 @@ export default {
"0"
:
"否"
,
"empty"
:
""
},
CL_HR_0011
:
{
"SINGLE"
:
"未婚"
,
"MARRIED"
:
"已婚"
,
"WIDOWED"
:
"丧偶"
,
"DIVORCED"
:
"离异"
,
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0004
:
{
"FULLTIME"
:
"全职"
,
"PARTTIME"
:
"兼职"
,
...
...
@@ -64,14 +135,6 @@ export default {
"COMMERCIAL"
:
"商业渠道"
,
"empty"
:
""
},
CL_HR_0003
:
{
"TEL"
:
"电话"
,
"EMAIL"
:
"电子邮件地址"
,
"WECHAT"
:
"微信"
,
"QQ"
:
"QQ"
,
"FAX"
:
"传真"
,
"empty"
:
""
},
OrganizationType
:
{
"LEGAL"
:
"法人"
,
"OPERATIONUNIT"
:
"运营单位"
,
...
...
@@ -97,27 +160,6 @@ export default {
"FEMALE"
:
"女"
,
"empty"
:
""
},
CL_HR_0007
:
{
"A"
:
"A"
,
"B"
:
"B"
,
"AB"
:
"AB"
,
"O"
:
"O"
,
"其他"
:
"其他"
,
"empty"
:
""
},
CL_HR_0014
:
{
"10"
:
"博士后"
,
"20"
:
"硕士研究生"
,
"30"
:
"大学本科"
,
"40"
:
"中等专科"
,
"50"
:
"职业高中"
,
"60"
:
"技工学校"
,
"70"
:
"普通高中"
,
"80"
:
"初中"
,
"90"
:
"小学"
,
"100"
:
"其他"
,
"empty"
:
""
},
CL_HR_0005
:
{
"HIGH"
:
"高"
,
"MID"
:
"中"
,
...
...
@@ -128,27 +170,6 @@ export default {
"汉"
:
"汉"
,
"empty"
:
""
},
CL_HR_0002
:
{
"BUSINESS"
:
"业务"
,
"HOME"
:
"家庭住址"
,
"REALLOCATION"
:
"实际位置"
,
"RECRUIT"
:
"招聘"
,
"SERVICE"
:
"服务"
,
"HEADCOMPANY"
:
"总公司"
,
"INVOICE"
:
"发票"
,
"PAYMENT"
:
"付款"
,
"REMIT"
:
"汇款至"
,
"STATEMENT"
:
"对帐单"
,
"CONSIGNMENT"
:
"托运"
,
"DELIVERY"
:
"交货"
,
"LADING"
:
"装货"
,
"UNLADING"
:
"卸货"
,
"OTHER"
:
"其他"
,
"empty"
:
""
},
CL_HR_0016
:
{
"empty"
:
""
,
},
CL_HR_0015
:
{
"10"
:
"校园招聘"
,
"20"
:
"社会招聘"
,
...
...
@@ -166,20 +187,4 @@ export default {
"60"
:
"总部审核"
,
"empty"
:
""
},
CL_HR_0013
:
{
"10"
:
"中共党员"
,
"30"
:
"共青团员"
,
"40"
:
"群众"
,
"50"
:
"民进会员"
,
"60"
:
"民革会员"
,
"70"
:
"民盟会员"
,
"80"
:
"民建会员"
,
"90"
:
"农工党党员"
,
"100"
:
"致公党党员"
,
"110"
:
"台盟盟员"
,
"120"
:
"九三学社社员"
,
"130"
:
"无党派民主人士"
,
"140"
:
"其他"
,
"empty"
:
""
},
};
\ No newline at end of file
app_PIM/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
3c562804
export
default
{
CL_HR_0021
:
{
"CONTRACT"
:
"劳动合同"
,
"LABOR"
:
"劳务派遣合同"
,
"AGREEMENT"
:
"协议"
,
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0011
:
{
"SINGLE"
:
"未婚"
,
"MARRIED"
:
"已婚"
,
"WIDOWED"
:
"丧偶"
,
"DIVORCED"
:
"离异"
,
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0003
:
{
"TEL"
:
"电话"
,
"EMAIL"
:
"电子邮件地址"
,
"WECHAT"
:
"微信"
,
"QQ"
:
"QQ"
,
"FAX"
:
"传真"
,
"empty"
:
""
,
},
CL_HR_0007
:
{
"A"
:
"A"
,
"B"
:
"B"
,
"AB"
:
"AB"
,
"O"
:
"O"
,
"其他"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0014
:
{
"10"
:
"博士后"
,
"20"
:
"硕士研究生"
,
"30"
:
"大学本科"
,
"40"
:
"中等专科"
,
"50"
:
"职业高中"
,
"60"
:
"技工学校"
,
"70"
:
"普通高中"
,
"80"
:
"初中"
,
"90"
:
"小学"
,
"100"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0002
:
{
"BUSINESS"
:
"业务"
,
"HOME"
:
"家庭住址"
,
"REALLOCATION"
:
"实际位置"
,
"RECRUIT"
:
"招聘"
,
"SERVICE"
:
"服务"
,
"HEADCOMPANY"
:
"总公司"
,
"INVOICE"
:
"发票"
,
"PAYMENT"
:
"付款"
,
"REMIT"
:
"汇款至"
,
"STATEMENT"
:
"对帐单"
,
"CONSIGNMENT"
:
"托运"
,
"DELIVERY"
:
"交货"
,
"LADING"
:
"装货"
,
"UNLADING"
:
"卸货"
,
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0016
:
{
"empty"
:
""
,
},
CL_HR_0013
:
{
"10"
:
"中共党员"
,
"30"
:
"共青团员"
,
"40"
:
"群众"
,
"50"
:
"民进会员"
,
"60"
:
"民革会员"
,
"70"
:
"民盟会员"
,
"80"
:
"民建会员"
,
"90"
:
"农工党党员"
,
"100"
:
"致公党党员"
,
"110"
:
"台盟盟员"
,
"120"
:
"九三学社社员"
,
"130"
:
"无党派民主人士"
,
"140"
:
"其他"
,
"empty"
:
""
,
},
SysOperator
:
{
"empty"
:
""
,
},
...
...
@@ -8,19 +89,17 @@ export default {
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0021
:
{
"CONTRACT"
:
"劳动合同"
,
"LABOR"
:
"劳务派遣合同"
,
"AGREEMENT"
:
"协议"
,
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0012
:
{
"FARM"
:
"农业户口"
,
"NONFARM"
:
"非农业户口"
,
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0020
:
{
"FIRST"
:
"初签"
,
"SECOND"
:
"续签"
,
"empty"
:
""
,
},
WFStates
:
{
"0"
:
"未启动"
,
"1"
:
"流程中"
,
...
...
@@ -44,14 +123,6 @@ export default {
"0"
:
"否"
,
"empty"
:
""
,
},
CL_HR_0011
:
{
"SINGLE"
:
"未婚"
,
"MARRIED"
:
"已婚"
,
"WIDOWED"
:
"丧偶"
,
"DIVORCED"
:
"离异"
,
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0004
:
{
"FULLTIME"
:
"全职"
,
"PARTTIME"
:
"兼职"
,
...
...
@@ -64,14 +135,6 @@ export default {
"COMMERCIAL"
:
"商业渠道"
,
"empty"
:
""
,
},
CL_HR_0003
:
{
"TEL"
:
"电话"
,
"EMAIL"
:
"电子邮件地址"
,
"WECHAT"
:
"微信"
,
"QQ"
:
"QQ"
,
"FAX"
:
"传真"
,
"empty"
:
""
,
},
OrganizationType
:
{
"LEGAL"
:
"法人"
,
"OPERATIONUNIT"
:
"运营单位"
,
...
...
@@ -97,27 +160,6 @@ export default {
"FEMALE"
:
"女"
,
"empty"
:
""
,
},
CL_HR_0007
:
{
"A"
:
"A"
,
"B"
:
"B"
,
"AB"
:
"AB"
,
"O"
:
"O"
,
"其他"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0014
:
{
"10"
:
"博士后"
,
"20"
:
"硕士研究生"
,
"30"
:
"大学本科"
,
"40"
:
"中等专科"
,
"50"
:
"职业高中"
,
"60"
:
"技工学校"
,
"70"
:
"普通高中"
,
"80"
:
"初中"
,
"90"
:
"小学"
,
"100"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0005
:
{
"HIGH"
:
"高"
,
"MID"
:
"中"
,
...
...
@@ -128,27 +170,6 @@ export default {
"汉"
:
"汉"
,
"empty"
:
""
,
},
CL_HR_0002
:
{
"BUSINESS"
:
"业务"
,
"HOME"
:
"家庭住址"
,
"REALLOCATION"
:
"实际位置"
,
"RECRUIT"
:
"招聘"
,
"SERVICE"
:
"服务"
,
"HEADCOMPANY"
:
"总公司"
,
"INVOICE"
:
"发票"
,
"PAYMENT"
:
"付款"
,
"REMIT"
:
"汇款至"
,
"STATEMENT"
:
"对帐单"
,
"CONSIGNMENT"
:
"托运"
,
"DELIVERY"
:
"交货"
,
"LADING"
:
"装货"
,
"UNLADING"
:
"卸货"
,
"OTHER"
:
"其他"
,
"empty"
:
""
,
},
CL_HR_0016
:
{
"empty"
:
""
,
},
CL_HR_0015
:
{
"10"
:
"校园招聘"
,
"20"
:
"社会招聘"
,
...
...
@@ -166,20 +187,4 @@ export default {
"60"
:
"总部审核"
,
"empty"
:
""
,
},
CL_HR_0013
:
{
"10"
:
"中共党员"
,
"30"
:
"共青团员"
,
"40"
:
"群众"
,
"50"
:
"民进会员"
,
"60"
:
"民革会员"
,
"70"
:
"民盟会员"
,
"80"
:
"民建会员"
,
"90"
:
"农工党党员"
,
"100"
:
"致公党党员"
,
"110"
:
"台盟盟员"
,
"120"
:
"九三学社社员"
,
"130"
:
"无党派民主人士"
,
"140"
:
"其他"
,
"empty"
:
""
,
},
};
\ No newline at end of file
app_PIM/src/locale/lanres/entities/hrcontract/hrcontract_en_US.ts
浏览文件 @
3c562804
...
...
@@ -23,6 +23,7 @@ export default {
contractsigntype
:
"签订类型"
,
memo
:
"备注"
,
contractsignnum
:
"合同签订次数"
,
attachment
:
"附件"
,
},
views
:
{
gridview
:
{
...
...
@@ -45,6 +46,10 @@ export default {
caption
:
"合同信息"
,
title
:
"合同表格(全部合同)"
,
},
v_005
:
{
caption
:
"合同信息"
,
title
:
"合同信息"
,
},
v_003
:
{
caption
:
"合同信息"
,
title
:
"合同表格(全部合同)"
,
...
...
@@ -56,10 +61,8 @@ export default {
},
main_form
:
{
details
:
{
group1
:
"合同信息
基本信息
"
,
group1
:
"合同信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"合同信息标识"
,
...
...
@@ -68,11 +71,22 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hrcontractname
:
"合同信息名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
hremployeename
:
"员工姓名"
,
contractcode
:
"合同编号"
,
contractmode
:
"合同类别"
,
contracttype
:
"合同类型"
,
begintime
:
"开始日期"
,
endtime
:
"结束日期"
,
mgrorganizationname
:
"合同管理单位"
,
signorganizationname
:
"合同签约单位"
,
contractsigntype
:
"签订类型"
,
contractstate
:
"合同状态"
,
probationtime
:
"试用期"
,
attachment
:
"附件"
,
memo
:
"备注"
,
signorganizationid
:
"合同签约单位ID"
,
hremployeeid
:
"员工标识"
,
mgrorganizationid
:
"合同管理单位ID"
,
hrcontractid
:
"合同信息标识"
,
},
uiactions
:
{
...
...
@@ -106,6 +120,55 @@ export default {
uiactions
:
{
},
},
waitsign_grid
:
{
columns
:
{
contractcode
:
"合同编号"
,
contractmode
:
"合同类别"
,
contracttype
:
"合同类型"
,
begintime
:
"开始日期"
,
endtime
:
"结束日期"
,
mgrorganizationname
:
"合同管理单位"
,
signorganizationname
:
"合同签约单位"
,
contractstate
:
"合同状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hrcontract_sign
:
"续签"
,
hrcontract_stop
:
"终止"
,
},
},
waitstop_grid
:
{
columns
:
{
contractcode
:
"合同编号"
,
contractmode
:
"合同类别"
,
contracttype
:
"合同类型"
,
begintime
:
"开始日期"
,
endtime
:
"结束日期"
,
mgrorganizationname
:
"合同管理单位"
,
signorganizationname
:
"合同签约单位"
,
contractstate
:
"合同状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hrcontract_stop
:
"终止"
,
},
},
active_grid
:
{
columns
:
{
contractcode
:
"合同编号"
,
contractmode
:
"合同类别"
,
contracttype
:
"合同类型"
,
begintime
:
"开始日期"
,
endtime
:
"结束日期"
,
mgrorganizationname
:
"合同管理单位"
,
signorganizationname
:
"合同签约单位"
,
contractstate
:
"合同状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hrcontract_stop
:
"终止"
,
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
...
...
app_PIM/src/locale/lanres/entities/hrcontract/hrcontract_zh_CN.ts
浏览文件 @
3c562804
...
...
@@ -22,6 +22,7 @@ export default {
contractsigntype
:
"签订类型"
,
memo
:
"备注"
,
contractsignnum
:
"合同签订次数"
,
attachment
:
"附件"
,
},
views
:
{
gridview
:
{
...
...
@@ -44,6 +45,10 @@ export default {
caption
:
"合同信息"
,
title
:
"合同表格(全部合同)"
,
},
v_005
:
{
caption
:
"合同信息"
,
title
:
"合同信息"
,
},
v_003
:
{
caption
:
"合同信息"
,
title
:
"合同表格(全部合同)"
,
...
...
@@ -55,10 +60,8 @@ export default {
},
main_form
:
{
details
:
{
group1
:
"合同信息
基本信息
"
,
group1
:
"合同信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"合同信息标识"
,
...
...
@@ -67,11 +70,22 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
hrcontractname
:
"合同信息名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
hremployeename
:
"员工姓名"
,
contractcode
:
"合同编号"
,
contractmode
:
"合同类别"
,
contracttype
:
"合同类型"
,
begintime
:
"开始日期"
,
endtime
:
"结束日期"
,
mgrorganizationname
:
"合同管理单位"
,
signorganizationname
:
"合同签约单位"
,
contractsigntype
:
"签订类型"
,
contractstate
:
"合同状态"
,
probationtime
:
"试用期"
,
attachment
:
"附件"
,
memo
:
"备注"
,
signorganizationid
:
"合同签约单位ID"
,
hremployeeid
:
"员工标识"
,
mgrorganizationid
:
"合同管理单位ID"
,
hrcontractid
:
"合同信息标识"
,
},
uiactions
:
{
...
...
@@ -105,6 +119,55 @@ export default {
uiactions
:
{
},
},
waitsign_grid
:
{
columns
:
{
contractcode
:
"合同编号"
,
contractmode
:
"合同类别"
,
contracttype
:
"合同类型"
,
begintime
:
"开始日期"
,
endtime
:
"结束日期"
,
mgrorganizationname
:
"合同管理单位"
,
signorganizationname
:
"合同签约单位"
,
contractstate
:
"合同状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hrcontract_sign
:
"续签"
,
hrcontract_stop
:
"终止"
,
},
},
waitstop_grid
:
{
columns
:
{
contractcode
:
"合同编号"
,
contractmode
:
"合同类别"
,
contracttype
:
"合同类型"
,
begintime
:
"开始日期"
,
endtime
:
"结束日期"
,
mgrorganizationname
:
"合同管理单位"
,
signorganizationname
:
"合同签约单位"
,
contractstate
:
"合同状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hrcontract_stop
:
"终止"
,
},
},
active_grid
:
{
columns
:
{
contractcode
:
"合同编号"
,
contractmode
:
"合同类别"
,
contracttype
:
"合同类型"
,
begintime
:
"开始日期"
,
endtime
:
"结束日期"
,
mgrorganizationname
:
"合同管理单位"
,
signorganizationname
:
"合同签约单位"
,
contractstate
:
"合同状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hrcontract_stop
:
"终止"
,
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
...
...
app_PIM/src/locale/lanres/entities/hremployee/hremployee_en_US.ts
浏览文件 @
3c562804
...
...
@@ -234,7 +234,7 @@ export default {
uiactions
:
{
},
},
grid_001
_grid
:
{
main
_grid
:
{
columns
:
{
employeecode
:
"员工编号"
,
employeename
:
"员工姓名"
,
...
...
@@ -247,13 +247,11 @@ export default {
mobile
:
"移动电话"
,
email
:
"电子邮箱"
,
empstate
:
"员工状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hremployee_signcontract
:
"新签"
,
},
},
main
_grid
:
{
grid_001
_grid
:
{
columns
:
{
employeecode
:
"员工编号"
,
employeename
:
"员工姓名"
,
...
...
@@ -266,8 +264,10 @@ export default {
mobile
:
"移动电话"
,
email
:
"电子邮箱"
,
empstate
:
"员工状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hremployee_signcontract
:
"新签"
,
},
},
default_searchform
:
{
...
...
@@ -277,6 +277,20 @@ export default {
uiactions
:
{
},
},
v_007toolbar_toolbar
:
{
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem12
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
"Save And Close"
,
...
...
@@ -313,28 +327,6 @@ export default {
tip
:
"关闭"
,
},
},
v_007toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem12
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
v_006toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
...
...
app_PIM/src/locale/lanres/entities/hremployee/hremployee_zh_CN.ts
浏览文件 @
3c562804
...
...
@@ -233,7 +233,7 @@ export default {
uiactions
:
{
},
},
grid_001
_grid
:
{
main
_grid
:
{
columns
:
{
employeecode
:
"员工编号"
,
employeename
:
"员工姓名"
,
...
...
@@ -246,13 +246,11 @@ export default {
mobile
:
"移动电话"
,
email
:
"电子邮箱"
,
empstate
:
"员工状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hremployee_signcontract
:
"新签"
,
},
},
main
_grid
:
{
grid_001
_grid
:
{
columns
:
{
employeecode
:
"员工编号"
,
employeename
:
"员工姓名"
,
...
...
@@ -265,8 +263,10 @@ export default {
mobile
:
"移动电话"
,
email
:
"电子邮箱"
,
empstate
:
"员工状态"
,
uagridcolumn1
:
"操作"
,
},
uiactions
:
{
hremployee_signcontract
:
"新签"
,
},
},
default_searchform
:
{
...
...
@@ -276,6 +276,20 @@ export default {
uiactions
:
{
},
},
v_007toolbar_toolbar
:
{
tbitem13
:
{
caption
:
"导出"
,
tip
:
"导出"
,
},
tbitem12
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem1
:
{
caption
:
"保存并关闭"
,
...
...
@@ -312,28 +326,6 @@ export default {
tip
:
"关闭"
,
},
},
v_007toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"导出"
,
tip
:
"导出"
,
},
tbitem12
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
},
v_006toolbar_toolbar
:
{
tbitem1_ff_002
:
{
caption
:
"新建"
,
...
...
app_PIM/src/mock/codelist/codelist.ts
浏览文件 @
3c562804
...
...
@@ -8,51 +8,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
let
status
=
MockAdapter
.
mockStatus
(
config
);
return
[
status
,
[
{
"srfkey"
:
"SysOperator"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
""
,
"appdedataset"
:
""
,
"items"
:
[]
},
{
srfkey
:
"CL_HR_0009"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"IDCARD"
,
label
:
"身份证"
,
text
:
"身份证"
,
"data"
:
""
,
"codename"
:
"Idcard"
,
value
:
"IDCARD"
,
disabled
:
false
,
},
{
id
:
"PASSPORT"
,
label
:
"护照"
,
text
:
"护照"
,
"data"
:
""
,
"codename"
:
"Passport"
,
value
:
"PASSPORT"
,
disabled
:
false
,
},
{
id
:
"OTHER"
,
label
:
"其他"
,
text
:
"其他"
,
"data"
:
""
,
"codename"
:
"Other"
,
value
:
"OTHER"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0021"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
...
...
@@ -100,27 +55,47 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
]
},
{
srfkey
:
"CL_HR_001
2
"
,
srfkey
:
"CL_HR_001
1
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
FARM
"
,
label
:
"
农业户口
"
,
text
:
"
农业户口
"
,
id
:
"
SINGLE
"
,
label
:
"
未婚
"
,
text
:
"
未婚
"
,
"data"
:
""
,
"codename"
:
"
Farm
"
,
value
:
"
FARM
"
,
"codename"
:
"
Single
"
,
value
:
"
SINGLE
"
,
disabled
:
false
,
},
{
id
:
"
NONFARM
"
,
label
:
"
非农业户口
"
,
text
:
"
非农业户口
"
,
id
:
"
MARRIED
"
,
label
:
"
已婚
"
,
text
:
"
已婚
"
,
"data"
:
""
,
"codename"
:
"Nonfarm"
,
value
:
"NONFARM"
,
"codename"
:
"Married"
,
value
:
"MARRIED"
,
disabled
:
false
,
},
{
id
:
"WIDOWED"
,
label
:
"丧偶"
,
text
:
"丧偶"
,
"data"
:
""
,
"codename"
:
"Widowed"
,
value
:
"WIDOWED"
,
disabled
:
false
,
},
{
id
:
"DIVORCED"
,
label
:
"离异"
,
text
:
"离异"
,
"data"
:
""
,
"codename"
:
"Divorced"
,
value
:
"DIVORCED"
,
disabled
:
false
,
},
...
...
@@ -137,901 +112,1090 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
]
},
{
srfkey
:
"
WFStates
"
,
srfkey
:
"
CL_HR_0003
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"0"
,
label
:
"未启动"
,
text
:
"未启动"
,
"data"
:
""
,
"codename"
:
"Item_0"
,
value
:
"0"
,
disabled
:
false
,
},
{
id
:
"1"
,
label
:
"流程中"
,
text
:
"流程中"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"1"
,
disabled
:
false
,
},
{
id
:
"2"
,
label
:
"已完成"
,
text
:
"已完成"
,
id
:
"TEL"
,
label
:
"电话"
,
text
:
"电话"
,
"data"
:
""
,
"codename"
:
"
Item_2
"
,
value
:
"
2
"
,
"codename"
:
"
Tel
"
,
value
:
"
TEL
"
,
disabled
:
false
,
},
{
id
:
"
3
"
,
label
:
"
已取消
"
,
text
:
"
已取消
"
,
id
:
"
EMAIL
"
,
label
:
"
电子邮件地址
"
,
text
:
"
电子邮件地址
"
,
"data"
:
""
,
"codename"
:
"
Item_3
"
,
value
:
"
3
"
,
"codename"
:
"
Email
"
,
value
:
"
EMAIL
"
,
disabled
:
false
,
},
{
id
:
"
31
"
,
label
:
"
已取消(人工)
"
,
text
:
"
已取消(人工)
"
,
id
:
"
WECHAT
"
,
label
:
"
微信
"
,
text
:
"
微信
"
,
"data"
:
""
,
"codename"
:
"
Item_31
"
,
value
:
"
31
"
,
"codename"
:
"
Wechat
"
,
value
:
"
WECHAT
"
,
disabled
:
false
,
},
{
id
:
"
32
"
,
label
:
"
已取消(超时)
"
,
text
:
"
已取消(超时)
"
,
id
:
"
QQ
"
,
label
:
"
QQ
"
,
text
:
"
QQ
"
,
"data"
:
""
,
"codename"
:
"
Item_32
"
,
value
:
"
32
"
,
"codename"
:
"
Qq
"
,
value
:
"
QQ
"
,
disabled
:
false
,
},
{
id
:
"
4
"
,
label
:
"
处理故障
"
,
text
:
"
处理故障
"
,
id
:
"
FAX
"
,
label
:
"
传真
"
,
text
:
"
传真
"
,
"data"
:
""
,
"codename"
:
"
Item_4
"
,
value
:
"
4
"
,
"codename"
:
"
Fax
"
,
value
:
"
FAX
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_00
19
"
,
srfkey
:
"CL_HR_00
07
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"A
CTIVE
"
,
label
:
"
执行中
"
,
text
:
"
执行中
"
,
id
:
"A"
,
label
:
"
A
"
,
text
:
"
A
"
,
"data"
:
""
,
"codename"
:
"A
ctive
"
,
value
:
"A
CTIVE
"
,
"codename"
:
"A"
,
value
:
"A"
,
disabled
:
false
,
},
{
id
:
"
WAITSIGN
"
,
label
:
"
待续签
"
,
text
:
"
待续签
"
,
id
:
"
B
"
,
label
:
"
B
"
,
text
:
"
B
"
,
"data"
:
""
,
"codename"
:
"Waitsign"
,
"color"
:
"rgba(255, 0, 0, 1)"
,
value
:
"WAITSIGN"
,
"codename"
:
"B"
,
value
:
"B"
,
disabled
:
false
,
},
{
id
:
"
HAVESIGN
"
,
label
:
"
已续签
"
,
text
:
"
已续签
"
,
id
:
"
AB
"
,
label
:
"
AB
"
,
text
:
"
AB
"
,
"data"
:
""
,
"codename"
:
"Havesign"
,
"color"
:
"rgba(49, 27, 146, 1)"
,
value
:
"HAVESIGN"
,
"codename"
:
"Ab"
,
value
:
"AB"
,
disabled
:
false
,
},
{
id
:
"
WAITSTOP
"
,
label
:
"
待终止
"
,
text
:
"
待终止
"
,
id
:
"
O
"
,
label
:
"
O
"
,
text
:
"
O
"
,
"data"
:
""
,
"codename"
:
"Waitstop"
,
"color"
:
"rgba(255, 0, 0, 1)"
,
value
:
"WAITSTOP"
,
"codename"
:
"O"
,
value
:
"O"
,
disabled
:
false
,
},
{
id
:
"
HAVESTOP
"
,
label
:
"
已终止
"
,
text
:
"
已终止
"
,
id
:
"
其他
"
,
label
:
"
其他
"
,
text
:
"
其他
"
,
"data"
:
""
,
"codename"
:
"Havestop"
,
"color"
:
"rgba(49, 27, 146, 1)"
,
value
:
"HAVESTOP"
,
"codename"
:
"Item_5"
,
value
:
"其他"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"
YesNo
"
,
srfkey
:
"
CL_HR_0014
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"1"
,
label
:
"
是
"
,
text
:
"
是
"
,
id
:
"1
0
"
,
label
:
"
博士后
"
,
text
:
"
博士后
"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"1"
,
"codename"
:
"Item_1
0
"
,
value
:
"1
0
"
,
disabled
:
false
,
},
{
id
:
"0"
,
label
:
"
否
"
,
text
:
"
否
"
,
id
:
"
2
0"
,
label
:
"
硕士研究生
"
,
text
:
"
硕士研究生
"
,
"data"
:
""
,
"codename"
:
"Item_0"
,
value
:
"0"
,
"codename"
:
"Item_
2
0"
,
value
:
"
2
0"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0011"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
SINGLE
"
,
label
:
"
未婚
"
,
text
:
"
未婚
"
,
id
:
"
30
"
,
label
:
"
大学本科
"
,
text
:
"
大学本科
"
,
"data"
:
""
,
"codename"
:
"
Single
"
,
value
:
"
SINGLE
"
,
"codename"
:
"
Item_30
"
,
value
:
"
30
"
,
disabled
:
false
,
},
{
id
:
"
MARRIED
"
,
label
:
"
已婚
"
,
text
:
"
已婚
"
,
id
:
"
40
"
,
label
:
"
中等专科
"
,
text
:
"
中等专科
"
,
"data"
:
""
,
"codename"
:
"
Married
"
,
value
:
"
MARRIED
"
,
"codename"
:
"
Item_40
"
,
value
:
"
40
"
,
disabled
:
false
,
},
{
id
:
"
WIDOWED
"
,
label
:
"
丧偶
"
,
text
:
"
丧偶
"
,
id
:
"
50
"
,
label
:
"
职业高中
"
,
text
:
"
职业高中
"
,
"data"
:
""
,
"codename"
:
"
Widowed
"
,
value
:
"
WIDOWED
"
,
"codename"
:
"
Item_50
"
,
value
:
"
50
"
,
disabled
:
false
,
},
{
id
:
"
DIVORCED
"
,
label
:
"
离异
"
,
text
:
"
离异
"
,
id
:
"
60
"
,
label
:
"
技工学校
"
,
text
:
"
技工学校
"
,
"data"
:
""
,
"codename"
:
"
Divorced
"
,
value
:
"
DIVORCED
"
,
"codename"
:
"
Item_60
"
,
value
:
"
60
"
,
disabled
:
false
,
},
{
id
:
"OTHER"
,
id
:
"70"
,
label
:
"普通高中"
,
text
:
"普通高中"
,
"data"
:
""
,
"codename"
:
"Item_70"
,
value
:
"70"
,
disabled
:
false
,
},
{
id
:
"80"
,
label
:
"初中"
,
text
:
"初中"
,
"data"
:
""
,
"codename"
:
"Item_80"
,
value
:
"80"
,
disabled
:
false
,
},
{
id
:
"90"
,
label
:
"小学"
,
text
:
"小学"
,
"data"
:
""
,
"codename"
:
"Item_90"
,
value
:
"90"
,
disabled
:
false
,
},
{
id
:
"100"
,
label
:
"其他"
,
text
:
"其他"
,
"data"
:
""
,
"codename"
:
"
Other
"
,
value
:
"
OTHER
"
,
"codename"
:
"
Item_100
"
,
value
:
"
100
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_000
4
"
,
srfkey
:
"CL_HR_000
2
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
FULLTIME
"
,
label
:
"
全职
"
,
text
:
"
全职
"
,
id
:
"
BUSINESS
"
,
label
:
"
业务
"
,
text
:
"
业务
"
,
"data"
:
""
,
"codename"
:
"
Fulltime
"
,
value
:
"
FULLTIME
"
,
"codename"
:
"
Business
"
,
value
:
"
BUSINESS
"
,
disabled
:
false
,
},
{
id
:
"
PARTTI
ME"
,
label
:
"
兼职
"
,
text
:
"
兼职
"
,
id
:
"
HO
ME"
,
label
:
"
家庭住址
"
,
text
:
"
家庭住址
"
,
"data"
:
""
,
"codename"
:
"
Partti
me"
,
value
:
"
PARTTI
ME"
,
"codename"
:
"
Ho
me"
,
value
:
"
HO
ME"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0001"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
COSTCENTER
"
,
label
:
"
成本中心
"
,
text
:
"
成本中心
"
,
id
:
"
REALLOCATION
"
,
label
:
"
实际位置
"
,
text
:
"
实际位置
"
,
"data"
:
""
,
"codename"
:
"
Costcenter
"
,
value
:
"
COSTCENTER
"
,
"codename"
:
"
Reallocation
"
,
value
:
"
REALLOCATION
"
,
disabled
:
false
,
},
{
id
:
"
BUSINESSUN
IT"
,
label
:
"
业务单位
"
,
text
:
"
业务单位
"
,
id
:
"
RECRU
IT"
,
label
:
"
招聘
"
,
text
:
"
招聘
"
,
"data"
:
""
,
"codename"
:
"
Businessun
it"
,
value
:
"
BUSINESSUN
IT"
,
"codename"
:
"
Recru
it"
,
value
:
"
RECRU
IT"
,
disabled
:
false
,
},
{
id
:
"
DEPARTMENT
"
,
label
:
"
部门
"
,
text
:
"
部门
"
,
id
:
"
SERVICE
"
,
label
:
"
服务
"
,
text
:
"
服务
"
,
"data"
:
""
,
"codename"
:
"
Department
"
,
value
:
"
DEPARTMENT
"
,
"codename"
:
"
Service
"
,
value
:
"
SERVICE
"
,
disabled
:
false
,
},
{
id
:
"
COMMERCIAL
"
,
label
:
"
商业渠道
"
,
text
:
"
商业渠道
"
,
id
:
"
HEADCOMPANY
"
,
label
:
"
总公司
"
,
text
:
"
总公司
"
,
"data"
:
""
,
"codename"
:
"Commercial"
,
value
:
"COMMERCIAL"
,
"codename"
:
"Headcompany"
,
value
:
"HEADCOMPANY"
,
disabled
:
false
,
},
{
id
:
"INVOICE"
,
label
:
"发票"
,
text
:
"发票"
,
"data"
:
""
,
"codename"
:
"Invoice"
,
value
:
"INVOICE"
,
disabled
:
false
,
},
{
id
:
"PAYMENT"
,
label
:
"付款"
,
text
:
"付款"
,
"data"
:
""
,
"codename"
:
"Payment"
,
value
:
"PAYMENT"
,
disabled
:
false
,
},
{
id
:
"REMIT"
,
label
:
"汇款至"
,
text
:
"汇款至"
,
"data"
:
""
,
"codename"
:
"Remit"
,
value
:
"REMIT"
,
disabled
:
false
,
},
{
id
:
"STATEMENT"
,
label
:
"对帐单"
,
text
:
"对帐单"
,
"data"
:
""
,
"codename"
:
"Statement"
,
value
:
"STATEMENT"
,
disabled
:
false
,
},
{
id
:
"CONSIGNMENT"
,
label
:
"托运"
,
text
:
"托运"
,
"data"
:
""
,
"codename"
:
"Consignment"
,
value
:
"CONSIGNMENT"
,
disabled
:
false
,
},
{
id
:
"DELIVERY"
,
label
:
"交货"
,
text
:
"交货"
,
"data"
:
""
,
"codename"
:
"Delivery"
,
value
:
"DELIVERY"
,
disabled
:
false
,
},
{
id
:
"LADING"
,
label
:
"装货"
,
text
:
"装货"
,
"data"
:
""
,
"codename"
:
"Lading"
,
value
:
"LADING"
,
disabled
:
false
,
},
{
id
:
"UNLADING"
,
label
:
"卸货"
,
text
:
"卸货"
,
"data"
:
""
,
"codename"
:
"Unlading"
,
value
:
"UNLADING"
,
disabled
:
false
,
},
{
id
:
"OTHER"
,
label
:
"其他"
,
text
:
"其他"
,
"data"
:
""
,
"codename"
:
"Other"
,
value
:
"OTHER"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0003"
,
"srfkey"
:
"CL_HR_0016"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
"HREmpState"
,
"appdedataset"
:
"FetchDefault"
,
"items"
:
[]
},
{
srfkey
:
"CL_HR_0013"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
TEL
"
,
label
:
"
电话
"
,
text
:
"
电话
"
,
id
:
"
10
"
,
label
:
"
中共党员
"
,
text
:
"
中共党员
"
,
"data"
:
""
,
"codename"
:
"
Tel
"
,
value
:
"
TEL
"
,
"codename"
:
"
Item_10
"
,
value
:
"
10
"
,
disabled
:
false
,
},
{
id
:
"
EMAIL
"
,
label
:
"
电子邮件地址
"
,
text
:
"
电子邮件地址
"
,
id
:
"
30
"
,
label
:
"
共青团员
"
,
text
:
"
共青团员
"
,
"data"
:
""
,
"codename"
:
"Email"
,
value
:
"EMAIL"
,
"codename"
:
"Item_30"
,
value
:
"30"
,
disabled
:
false
,
},
{
id
:
"40"
,
label
:
"群众"
,
text
:
"群众"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
value
:
"40"
,
disabled
:
false
,
},
{
id
:
"50"
,
label
:
"民进会员"
,
text
:
"民进会员"
,
"data"
:
""
,
"codename"
:
"Item_50"
,
value
:
"50"
,
disabled
:
false
,
},
{
id
:
"60"
,
label
:
"民革会员"
,
text
:
"民革会员"
,
"data"
:
""
,
"codename"
:
"Item_60"
,
value
:
"60"
,
disabled
:
false
,
},
{
id
:
"70"
,
label
:
"民盟会员"
,
text
:
"民盟会员"
,
"data"
:
""
,
"codename"
:
"Item_70"
,
value
:
"70"
,
disabled
:
false
,
},
{
id
:
"80"
,
label
:
"民建会员"
,
text
:
"民建会员"
,
"data"
:
""
,
"codename"
:
"Item_80"
,
value
:
"80"
,
disabled
:
false
,
},
{
id
:
"90"
,
label
:
"农工党党员"
,
text
:
"农工党党员"
,
"data"
:
""
,
"codename"
:
"Item_90"
,
value
:
"90"
,
disabled
:
false
,
},
{
id
:
"
WECHAT
"
,
label
:
"
微信
"
,
text
:
"
微信
"
,
id
:
"
100
"
,
label
:
"
致公党党员
"
,
text
:
"
致公党党员
"
,
"data"
:
""
,
"codename"
:
"
Wechat
"
,
value
:
"
WECHAT
"
,
"codename"
:
"
Item_100
"
,
value
:
"
100
"
,
disabled
:
false
,
},
{
id
:
"
QQ
"
,
label
:
"
QQ
"
,
text
:
"
QQ
"
,
id
:
"
110
"
,
label
:
"
台盟盟员
"
,
text
:
"
台盟盟员
"
,
"data"
:
""
,
"codename"
:
"
Qq
"
,
value
:
"
QQ
"
,
"codename"
:
"
Item_110
"
,
value
:
"
110
"
,
disabled
:
false
,
},
{
id
:
"
FAX
"
,
label
:
"
传真
"
,
text
:
"
传真
"
,
id
:
"
120
"
,
label
:
"
九三学社社员
"
,
text
:
"
九三学社社员
"
,
"data"
:
""
,
"codename"
:
"
Fax
"
,
value
:
"
FAX
"
,
"codename"
:
"
Item_120
"
,
value
:
"
120
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"OrganizationType"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
LEGAL
"
,
label
:
"
法人
"
,
text
:
"
法人
"
,
id
:
"
130
"
,
label
:
"
无党派民主人士
"
,
text
:
"
无党派民主人士
"
,
"data"
:
""
,
"codename"
:
"
Legal
"
,
value
:
"
LEGAL
"
,
"codename"
:
"
Item_130
"
,
value
:
"
130
"
,
disabled
:
false
,
},
{
id
:
"
OPERATIONUNIT
"
,
label
:
"
运营单位
"
,
text
:
"
运营单位
"
,
id
:
"
140
"
,
label
:
"
其他
"
,
text
:
"
其他
"
,
"data"
:
""
,
"codename"
:
"
Operationunit
"
,
value
:
"
OPERATIONUNIT
"
,
"codename"
:
"
Item_140
"
,
value
:
"
140
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0022"
,
"srfkey"
:
"SysOperator"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
""
,
"appdedataset"
:
""
,
"items"
:
[]
},
{
srfkey
:
"CL_HR_0009"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"10"
,
label
:
"有固定期限劳动合同"
,
text
:
"有固定期限劳动合同"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
value
:
"10"
,
disabled
:
false
,
},
{
id
:
"20"
,
label
:
"无固定期限劳动合同"
,
text
:
"无固定期限劳动合同"
,
"data"
:
""
,
"codename"
:
"Item_20"
,
value
:
"20"
,
disabled
:
false
,
},
{
id
:
"30"
,
label
:
"完成一定工作任务期限劳动合同"
,
text
:
"完成一定工作任务期限劳动合同"
,
id
:
"IDCARD"
,
label
:
"身份证"
,
text
:
"身份证"
,
"data"
:
""
,
"codename"
:
"I
tem_30
"
,
value
:
"
30
"
,
"codename"
:
"I
dcard
"
,
value
:
"
IDCARD
"
,
disabled
:
false
,
},
{
id
:
"
40
"
,
label
:
"
非全日制劳动合同
"
,
text
:
"
非全日制劳动合同
"
,
id
:
"
PASSPORT
"
,
label
:
"
护照
"
,
text
:
"
护照
"
,
"data"
:
""
,
"codename"
:
"
Item_40
"
,
value
:
"
40
"
,
"codename"
:
"
Passport
"
,
value
:
"
PASSPORT
"
,
disabled
:
false
,
},
{
id
:
"
50
"
,
label
:
"
事实劳动合同
"
,
text
:
"
事实劳动合同
"
,
id
:
"
OTHER
"
,
label
:
"
其他
"
,
text
:
"
其他
"
,
"data"
:
""
,
"codename"
:
"
Item_50
"
,
value
:
"
50
"
,
"codename"
:
"
Other
"
,
value
:
"
OTHER
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_001
7
"
,
srfkey
:
"CL_HR_001
2
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"10"
,
label
:
"拟稿"
,
text
:
"拟稿"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
value
:
"10"
,
disabled
:
false
,
},
{
id
:
"20"
,
label
:
"审批中"
,
text
:
"审批中"
,
id
:
"FARM"
,
label
:
"农业户口"
,
text
:
"农业户口"
,
"data"
:
""
,
"codename"
:
"Item_20"
,
"color"
:
"rgba(255, 0, 0, 0.92)"
,
value
:
"20"
,
"codename"
:
"Farm"
,
value
:
"FARM"
,
disabled
:
false
,
},
{
id
:
"
30
"
,
label
:
"
已完成
"
,
text
:
"
已完成
"
,
id
:
"
NONFARM
"
,
label
:
"
非农业户口
"
,
text
:
"
非农业户口
"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
"color"
:
"rgba(0, 55, 255, 1)"
,
value
:
"30"
,
"codename"
:
"Nonfarm"
,
value
:
"NONFARM"
,
disabled
:
false
,
},
{
id
:
"
40
"
,
label
:
"
已取消
"
,
text
:
"
已取消
"
,
id
:
"
OTHER
"
,
label
:
"
其他
"
,
text
:
"
其他
"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
"color"
:
"rgba(213, 0, 255, 1)"
,
value
:
"40"
,
"codename"
:
"Other"
,
value
:
"OTHER"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_00
1
0"
,
srfkey
:
"CL_HR_00
2
0"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
MALE
"
,
label
:
"
男
"
,
text
:
"
男
"
,
id
:
"
FIRST
"
,
label
:
"
初签
"
,
text
:
"
初签
"
,
"data"
:
""
,
"codename"
:
"
Male
"
,
value
:
"
MALE
"
,
"codename"
:
"
First
"
,
value
:
"
FIRST
"
,
disabled
:
false
,
},
{
id
:
"
FEMALE
"
,
label
:
"
女
"
,
text
:
"
女
"
,
id
:
"
SECOND
"
,
label
:
"
续签
"
,
text
:
"
续签
"
,
"data"
:
""
,
"codename"
:
"
Female
"
,
value
:
"
FEMALE
"
,
"codename"
:
"
Second
"
,
value
:
"
SECOND
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"
CL_HR_0007
"
,
srfkey
:
"
WFStates
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
A
"
,
label
:
"
A
"
,
text
:
"
A
"
,
id
:
"
0
"
,
label
:
"
未启动
"
,
text
:
"
未启动
"
,
"data"
:
""
,
"codename"
:
"
A
"
,
value
:
"
A
"
,
"codename"
:
"
Item_0
"
,
value
:
"
0
"
,
disabled
:
false
,
},
{
id
:
"
B
"
,
label
:
"
B
"
,
text
:
"
B
"
,
id
:
"
1
"
,
label
:
"
流程中
"
,
text
:
"
流程中
"
,
"data"
:
""
,
"codename"
:
"
B
"
,
value
:
"
B
"
,
"codename"
:
"
Item_1
"
,
value
:
"
1
"
,
disabled
:
false
,
},
{
id
:
"
AB
"
,
label
:
"
AB
"
,
text
:
"
AB
"
,
id
:
"
2
"
,
label
:
"
已完成
"
,
text
:
"
已完成
"
,
"data"
:
""
,
"codename"
:
"
Ab
"
,
value
:
"
AB
"
,
"codename"
:
"
Item_2
"
,
value
:
"
2
"
,
disabled
:
false
,
},
{
id
:
"
O
"
,
label
:
"
O
"
,
text
:
"
O
"
,
id
:
"
3
"
,
label
:
"
已取消
"
,
text
:
"
已取消
"
,
"data"
:
""
,
"codename"
:
"
O
"
,
value
:
"
O
"
,
"codename"
:
"
Item_3
"
,
value
:
"
3
"
,
disabled
:
false
,
},
{
id
:
"
其他
"
,
label
:
"
其他
"
,
text
:
"
其他
"
,
id
:
"
31
"
,
label
:
"
已取消(人工)
"
,
text
:
"
已取消(人工)
"
,
"data"
:
""
,
"codename"
:
"Item_
5
"
,
value
:
"
其他
"
,
"codename"
:
"Item_
31
"
,
value
:
"
31
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0014"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
10
"
,
label
:
"
博士后
"
,
text
:
"
博士后
"
,
id
:
"
32
"
,
label
:
"
已取消(超时)
"
,
text
:
"
已取消(超时)
"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
value
:
"10"
,
"codename"
:
"Item_32"
,
value
:
"32"
,
disabled
:
false
,
},
{
id
:
"4"
,
label
:
"处理故障"
,
text
:
"处理故障"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
value
:
"4"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0019"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
20
"
,
label
:
"
硕士研究生
"
,
text
:
"
硕士研究生
"
,
id
:
"
ACTIVE
"
,
label
:
"
执行中
"
,
text
:
"
执行中
"
,
"data"
:
""
,
"codename"
:
"
Item_20
"
,
value
:
"
20
"
,
"codename"
:
"
Active
"
,
value
:
"
ACTIVE
"
,
disabled
:
false
,
},
{
id
:
"
30
"
,
label
:
"
大学本科
"
,
text
:
"
大学本科
"
,
id
:
"
WAITSIGN
"
,
label
:
"
待续签
"
,
text
:
"
待续签
"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
value
:
"30"
,
"codename"
:
"Waitsign"
,
"color"
:
"rgba(255, 0, 0, 1)"
,
value
:
"WAITSIGN"
,
disabled
:
false
,
},
{
id
:
"
40
"
,
label
:
"
中等专科
"
,
text
:
"
中等专科
"
,
id
:
"
HAVESIGN
"
,
label
:
"
已续签
"
,
text
:
"
已续签
"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
value
:
"40"
,
"codename"
:
"Havesign"
,
"color"
:
"rgba(49, 27, 146, 1)"
,
value
:
"HAVESIGN"
,
disabled
:
false
,
},
{
id
:
"
50
"
,
label
:
"
职业高中
"
,
text
:
"
职业高中
"
,
id
:
"
WAITSTOP
"
,
label
:
"
待终止
"
,
text
:
"
待终止
"
,
"data"
:
""
,
"codename"
:
"Item_50"
,
value
:
"50"
,
"codename"
:
"Waitstop"
,
"color"
:
"rgba(255, 0, 0, 1)"
,
value
:
"WAITSTOP"
,
disabled
:
false
,
},
{
id
:
"
60
"
,
label
:
"
技工学校
"
,
text
:
"
技工学校
"
,
id
:
"
HAVESTOP
"
,
label
:
"
已终止
"
,
text
:
"
已终止
"
,
"data"
:
""
,
"codename"
:
"Item_60"
,
value
:
"60"
,
"codename"
:
"Havestop"
,
"color"
:
"rgba(49, 27, 146, 1)"
,
value
:
"HAVESTOP"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"YesNo"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
70
"
,
label
:
"
普通高中
"
,
text
:
"
普通高中
"
,
id
:
"
1
"
,
label
:
"
是
"
,
text
:
"
是
"
,
"data"
:
""
,
"codename"
:
"Item_
70
"
,
value
:
"
70
"
,
"codename"
:
"Item_
1
"
,
value
:
"
1
"
,
disabled
:
false
,
},
{
id
:
"
8
0"
,
label
:
"
初中
"
,
text
:
"
初中
"
,
id
:
"0"
,
label
:
"
否
"
,
text
:
"
否
"
,
"data"
:
""
,
"codename"
:
"Item_
8
0"
,
value
:
"
8
0"
,
"codename"
:
"Item_0"
,
value
:
"0"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0004"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
90
"
,
label
:
"
小学
"
,
text
:
"
小学
"
,
id
:
"
FULLTIME
"
,
label
:
"
全职
"
,
text
:
"
全职
"
,
"data"
:
""
,
"codename"
:
"
Item_90
"
,
value
:
"
90
"
,
"codename"
:
"
Fulltime
"
,
value
:
"
FULLTIME
"
,
disabled
:
false
,
},
{
id
:
"
100
"
,
label
:
"
其他
"
,
text
:
"
其他
"
,
id
:
"
PARTTIME
"
,
label
:
"
兼职
"
,
text
:
"
兼职
"
,
"data"
:
""
,
"codename"
:
"
Item_100
"
,
value
:
"
100
"
,
"codename"
:
"
Parttime
"
,
value
:
"
PARTTIME
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_000
5
"
,
srfkey
:
"CL_HR_000
1
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
HIGH
"
,
label
:
"
高
"
,
text
:
"
高
"
,
id
:
"
COSTCENTER
"
,
label
:
"
成本中心
"
,
text
:
"
成本中心
"
,
"data"
:
""
,
"codename"
:
"
High
"
,
value
:
"
HIGH
"
,
"codename"
:
"
Costcenter
"
,
value
:
"
COSTCENTER
"
,
disabled
:
false
,
},
{
id
:
"
MID
"
,
label
:
"
中
"
,
text
:
"
中
"
,
id
:
"
BUSINESSUNIT
"
,
label
:
"
业务单位
"
,
text
:
"
业务单位
"
,
"data"
:
""
,
"codename"
:
"
Mid
"
,
value
:
"
MID
"
,
"codename"
:
"
Businessunit
"
,
value
:
"
BUSINESSUNIT
"
,
disabled
:
false
,
},
{
id
:
"
LOW
"
,
label
:
"
低
"
,
text
:
"
低
"
,
id
:
"
DEPARTMENT
"
,
label
:
"
部门
"
,
text
:
"
部门
"
,
"data"
:
""
,
"codename"
:
"Low"
,
value
:
"LOW"
,
"codename"
:
"Department"
,
value
:
"DEPARTMENT"
,
disabled
:
false
,
},
{
id
:
"COMMERCIAL"
,
label
:
"商业渠道"
,
text
:
"商业渠道"
,
"data"
:
""
,
"codename"
:
"Commercial"
,
value
:
"COMMERCIAL"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"
CL_HR_0008
"
,
srfkey
:
"
OrganizationType
"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
汉
"
,
label
:
"
汉
"
,
text
:
"
汉
"
,
id
:
"
LEGAL
"
,
label
:
"
法人
"
,
text
:
"
法人
"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"汉"
,
"codename"
:
"Legal"
,
value
:
"LEGAL"
,
disabled
:
false
,
},
{
id
:
"OPERATIONUNIT"
,
label
:
"运营单位"
,
text
:
"运营单位"
,
"data"
:
""
,
"codename"
:
"Operationunit"
,
value
:
"OPERATIONUNIT"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_00
0
2"
,
srfkey
:
"CL_HR_00
2
2"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"BUSINESS"
,
label
:
"业务"
,
text
:
"业务"
,
"data"
:
""
,
"codename"
:
"Business"
,
value
:
"BUSINESS"
,
disabled
:
false
,
},
{
id
:
"HOME"
,
label
:
"家庭住址"
,
text
:
"家庭住址"
,
id
:
"10"
,
label
:
"有固定期限劳动合同"
,
text
:
"有固定期限劳动合同"
,
"data"
:
""
,
"codename"
:
"
Home
"
,
value
:
"
HOME
"
,
"codename"
:
"
Item_10
"
,
value
:
"
10
"
,
disabled
:
false
,
},
{
id
:
"
REALLOCATION
"
,
label
:
"
实际位置
"
,
text
:
"
实际位置
"
,
id
:
"
20
"
,
label
:
"
无固定期限劳动合同
"
,
text
:
"
无固定期限劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Reallocation
"
,
value
:
"
REALLOCATION
"
,
"codename"
:
"
Item_20
"
,
value
:
"
20
"
,
disabled
:
false
,
},
{
id
:
"
RECRUIT
"
,
label
:
"
招聘
"
,
text
:
"
招聘
"
,
id
:
"
30
"
,
label
:
"
完成一定工作任务期限劳动合同
"
,
text
:
"
完成一定工作任务期限劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Recruit
"
,
value
:
"
RECRUIT
"
,
"codename"
:
"
Item_30
"
,
value
:
"
30
"
,
disabled
:
false
,
},
{
id
:
"
SERVICE
"
,
label
:
"
服务
"
,
text
:
"
服务
"
,
id
:
"
40
"
,
label
:
"
非全日制劳动合同
"
,
text
:
"
非全日制劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Service
"
,
value
:
"
SERVICE
"
,
"codename"
:
"
Item_40
"
,
value
:
"
40
"
,
disabled
:
false
,
},
{
id
:
"
HEADCOMPANY
"
,
label
:
"
总公司
"
,
text
:
"
总公司
"
,
id
:
"
50
"
,
label
:
"
事实劳动合同
"
,
text
:
"
事实劳动合同
"
,
"data"
:
""
,
"codename"
:
"
Headcompany
"
,
value
:
"
HEADCOMPANY
"
,
"codename"
:
"
Item_50
"
,
value
:
"
50
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0017"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
INVOICE
"
,
label
:
"
发票
"
,
text
:
"
发票
"
,
id
:
"
10
"
,
label
:
"
拟稿
"
,
text
:
"
拟稿
"
,
"data"
:
""
,
"codename"
:
"I
nvoice
"
,
value
:
"
INVOICE
"
,
"codename"
:
"I
tem_10
"
,
value
:
"
10
"
,
disabled
:
false
,
},
{
id
:
"
PAYMENT
"
,
label
:
"
付款
"
,
text
:
"
付款
"
,
id
:
"
20
"
,
label
:
"
审批中
"
,
text
:
"
审批中
"
,
"data"
:
""
,
"codename"
:
"Payment"
,
value
:
"PAYMENT"
,
"codename"
:
"Item_20"
,
"color"
:
"rgba(255, 0, 0, 0.92)"
,
value
:
"20"
,
disabled
:
false
,
},
{
id
:
"
REMIT
"
,
label
:
"
汇款至
"
,
text
:
"
汇款至
"
,
id
:
"
30
"
,
label
:
"
已完成
"
,
text
:
"
已完成
"
,
"data"
:
""
,
"codename"
:
"Remit"
,
value
:
"REMIT"
,
"codename"
:
"Item_30"
,
"color"
:
"rgba(0, 55, 255, 1)"
,
value
:
"30"
,
disabled
:
false
,
},
{
id
:
"
STATEMENT
"
,
label
:
"
对帐单
"
,
text
:
"
对帐单
"
,
id
:
"
40
"
,
label
:
"
已取消
"
,
text
:
"
已取消
"
,
"data"
:
""
,
"codename"
:
"Statement"
,
value
:
"STATEMENT"
,
"codename"
:
"Item_40"
,
"color"
:
"rgba(213, 0, 255, 1)"
,
value
:
"40"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0010"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
CONSIGNMENT
"
,
label
:
"
托运
"
,
text
:
"
托运
"
,
id
:
"
MALE
"
,
label
:
"
男
"
,
text
:
"
男
"
,
"data"
:
""
,
"codename"
:
"
Consignment
"
,
value
:
"
CONSIGNMENT
"
,
"codename"
:
"
Male
"
,
value
:
"
MALE
"
,
disabled
:
false
,
},
{
id
:
"
DELIVERY
"
,
label
:
"
交货
"
,
text
:
"
交货
"
,
id
:
"
FEMALE
"
,
label
:
"
女
"
,
text
:
"
女
"
,
"data"
:
""
,
"codename"
:
"
Delivery
"
,
value
:
"
DELIVERY
"
,
"codename"
:
"
Female
"
,
value
:
"
FEMALE
"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0005"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"
LADING
"
,
label
:
"
装货
"
,
text
:
"
装货
"
,
id
:
"
HIGH
"
,
label
:
"
高
"
,
text
:
"
高
"
,
"data"
:
""
,
"codename"
:
"
Lading
"
,
value
:
"
LADING
"
,
"codename"
:
"
High
"
,
value
:
"
HIGH
"
,
disabled
:
false
,
},
{
id
:
"
UNLADING
"
,
label
:
"
卸货
"
,
text
:
"
卸货
"
,
id
:
"
MID
"
,
label
:
"
中
"
,
text
:
"
中
"
,
"data"
:
""
,
"codename"
:
"
Unlading
"
,
value
:
"
UNLADING
"
,
"codename"
:
"
Mid
"
,
value
:
"
MID
"
,
disabled
:
false
,
},
{
id
:
"
OTHER
"
,
label
:
"
其他
"
,
text
:
"
其他
"
,
id
:
"
LOW
"
,
label
:
"
低
"
,
text
:
"
低
"
,
"data"
:
""
,
"codename"
:
"
Other
"
,
value
:
"
OTHER
"
,
"codename"
:
"
Low
"
,
value
:
"
LOW
"
,
disabled
:
false
,
},
]
},
{
"srfkey"
:
"CL_HR_0016"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"dynamic"
,
"appdataentity"
:
"HREmpState"
,
"appdedataset"
:
"FetchDefault"
,
"items"
:
[]
srfkey
:
"CL_HR_0008"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"汉"
,
label
:
"汉"
,
text
:
"汉"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
"汉"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0015"
,
...
...
@@ -1157,143 +1321,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"color"
:
"rgba(4, 0, 255, 1)"
,
value
:
"60"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CL_HR_0013"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"10"
,
label
:
"中共党员"
,
text
:
"中共党员"
,
"data"
:
""
,
"codename"
:
"Item_10"
,
value
:
"10"
,
disabled
:
false
,
},
{
id
:
"30"
,
label
:
"共青团员"
,
text
:
"共青团员"
,
"data"
:
""
,
"codename"
:
"Item_30"
,
value
:
"30"
,
disabled
:
false
,
},
{
id
:
"40"
,
label
:
"群众"
,
text
:
"群众"
,
"data"
:
""
,
"codename"
:
"Item_40"
,
value
:
"40"
,
disabled
:
false
,
},
{
id
:
"50"
,
label
:
"民进会员"
,
text
:
"民进会员"
,
"data"
:
""
,
"codename"
:
"Item_50"
,
value
:
"50"
,
disabled
:
false
,
},
{
id
:
"60"
,
label
:
"民革会员"
,
text
:
"民革会员"
,
"data"
:
""
,
"codename"
:
"Item_60"
,
value
:
"60"
,
disabled
:
false
,
},
{
id
:
"70"
,
label
:
"民盟会员"
,
text
:
"民盟会员"
,
"data"
:
""
,
"codename"
:
"Item_70"
,
value
:
"70"
,
disabled
:
false
,
},
{
id
:
"80"
,
label
:
"民建会员"
,
text
:
"民建会员"
,
"data"
:
""
,
"codename"
:
"Item_80"
,
value
:
"80"
,
disabled
:
false
,
},
{
id
:
"90"
,
label
:
"农工党党员"
,
text
:
"农工党党员"
,
"data"
:
""
,
"codename"
:
"Item_90"
,
value
:
"90"
,
disabled
:
false
,
},
{
id
:
"100"
,
label
:
"致公党党员"
,
text
:
"致公党党员"
,
"data"
:
""
,
"codename"
:
"Item_100"
,
value
:
"100"
,
disabled
:
false
,
},
{
id
:
"110"
,
label
:
"台盟盟员"
,
text
:
"台盟盟员"
,
"data"
:
""
,
"codename"
:
"Item_110"
,
value
:
"110"
,
disabled
:
false
,
},
{
id
:
"120"
,
label
:
"九三学社社员"
,
text
:
"九三学社社员"
,
"data"
:
""
,
"codename"
:
"Item_120"
,
value
:
"120"
,
disabled
:
false
,
},
{
id
:
"130"
,
label
:
"无党派民主人士"
,
text
:
"无党派民主人士"
,
"data"
:
""
,
"codename"
:
"Item_130"
,
value
:
"130"
,
disabled
:
false
,
},
{
id
:
"140"
,
label
:
"其他"
,
text
:
"其他"
,
"data"
:
""
,
"codename"
:
"Item_140"
,
value
:
"140"
,
disabled
:
false
,
},
]
...
...
app_PIM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
3c562804
...
...
@@ -727,6 +727,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"HROrganizationEditView"
,
"viewtag"
:
"b4ef4b87eb87fc3a2a8479027d62ac4c"
},
"hrcontractv_005"
:
{
"title"
:
"合同信息"
,
"caption"
:
"合同信息"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"HumanResource"
,
"viewname"
:
"HRContractV_005"
,
"viewtag"
:
"b748e4bd87b9d77bfc24835a2e5e96c9"
},
"hrtransferapplyv_006"
:
{
"title"
:
"调动申请编辑视图"
,
"caption"
:
"调动预览"
,
...
...
app_PIM/src/pages/human-resource/hrcontract-grid-view/hrcontract-grid-view-base.tsx
浏览文件 @
3c562804
...
...
@@ -569,16 +569,28 @@ export class HRContractGridViewBase extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
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
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
this
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
@@ -608,14 +620,28 @@ export class HRContractGridViewBase extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
openIndexViewTab
(
data
);
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
);
});
}
const
view
:
any
=
{
viewname
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
this
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_PIM/src/pages/human-resource/hrcontract-v-002/hrcontract-v-002-base.tsx
浏览文件 @
3c562804
...
...
@@ -344,16 +344,28 @@ export class HRContractV_002Base extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
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
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
this
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
@@ -383,14 +395,28 @@ export class HRContractV_002Base extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
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
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
this
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_PIM/src/pages/human-resource/hrcontract-v-002/hrcontract-v-002.vue
浏览文件 @
3c562804
...
...
@@ -3,7 +3,7 @@
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRContractV_002Base } from './hrcontract-v-002-base';
import view_grid from '@widgets/hrcontract/
main-grid/mai
n-grid.vue';
import view_grid from '@widgets/hrcontract/
wait-sign-grid/wait-sig
n-grid.vue';
import view_searchform from '@widgets/hrcontract/default-searchform/default-searchform.vue';
/**
...
...
app_PIM/src/pages/human-resource/hrcontract-v-003/hrcontract-v-003-base.tsx
浏览文件 @
3c562804
...
...
@@ -344,16 +344,28 @@ export class HRContractV_003Base extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
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
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
this
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
@@ -383,14 +395,28 @@ export class HRContractV_003Base extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
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
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
this
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_PIM/src/pages/human-resource/hrcontract-v-003/hrcontract-v-003.vue
浏览文件 @
3c562804
...
...
@@ -3,7 +3,7 @@
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRContractV_003Base } from './hrcontract-v-003-base';
import view_grid from '@widgets/hrcontract/
main-grid/main
-grid.vue';
import view_grid from '@widgets/hrcontract/
wait-stop-grid/wait-stop
-grid.vue';
import view_searchform from '@widgets/hrcontract/default-searchform/default-searchform.vue';
/**
...
...
app_PIM/src/pages/human-resource/hrcontract-v-004/hrcontract-v-004-base.tsx
浏览文件 @
3c562804
...
...
@@ -344,16 +344,28 @@ export class HRContractV_004Base extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
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
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
this
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
@@ -383,14 +395,28 @@ export class HRContractV_004Base extends GridViewBase {
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
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
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
this
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
...
...
app_PIM/src/pages/human-resource/hrcontract-v-004/hrcontract-v-004.vue
浏览文件 @
3c562804
...
...
@@ -3,7 +3,7 @@
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRContractV_004Base } from './hrcontract-v-004-base';
import view_grid from '@widgets/hrcontract/
main-grid/main
-grid.vue';
import view_grid from '@widgets/hrcontract/
active-grid/active
-grid.vue';
import view_searchform from '@widgets/hrcontract/default-searchform/default-searchform.vue';
/**
...
...
app_PIM/src/pages/human-resource/hrcontract-v-005/hrcontract-v-005-base.tsx
0 → 100644
浏览文件 @
3c562804
import
{
Subject
}
from
'rxjs'
;
import
{
OptionViewBase
}
from
'@/studio-core'
;
import
HRContractService
from
'@/service/hrcontract/hrcontract-service'
;
import
HRContractAuthService
from
'@/authservice/hrcontract/hrcontract-auth-service'
;
import
OptionViewEngine
from
'@engine/view/option-view-engine'
;
import
HRContractUIService
from
'@/uiservice/hrcontract/hrcontract-ui-service'
;
/**
* 合同信息视图基类
*
* @export
* @class HRContractV_005Base
* @extends {OptionViewBase}
*/
export
class
HRContractV_005Base
extends
OptionViewBase
{
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRContractV_005Base
*/
protected
appDeName
:
string
=
'hrcontract'
;
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRContractV_005Base
*/
protected
appDeKey
:
string
=
'hrcontractid'
;
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRContractV_005Base
*/
protected
appDeMajor
:
string
=
'hrcontractname'
;
/**
* 实体服务对象
*
* @type {HRContractService}
* @memberof HRContractV_005Base
*/
protected
appEntityService
:
HRContractService
=
new
HRContractService
;
/**
* 实体权限服务对象
*
* @type HRContractUIService
* @memberof HRContractV_005Base
*/
public
appUIService
:
HRContractUIService
=
new
HRContractUIService
(
this
.
$store
);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRContractV_005Base
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRContractV_005Base
*/
protected
model
:
any
=
{
srfCaption
:
'entities.hrcontract.views.v_005.caption'
,
srfTitle
:
'entities.hrcontract.views.v_005.title'
,
srfSubTitle
:
'entities.hrcontract.views.v_005.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRContractV_005Base
*/
protected
containerModel
:
any
=
{
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'b748e4bd87b9d77bfc24835a2e5e96c9'
;
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRContractV_005Base
*/
public
engine
:
OptionViewEngine
=
new
OptionViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof HRContractV_005Base
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'hrcontract'
,
majorPSDEField
:
'hrcontractname'
,
isLoadDefault
:
true
,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRContractV_005Base
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRContractV_005Base
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRContractV_005Base
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
):
void
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
}
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcontract-v-005/hrcontract-v-005.html
0 → 100644
浏览文件 @
3c562804
<studio-view-style2
viewName=
"hrcontractv_005"
viewTitle=
"合同信息"
class=
'deoptview hrcontract-v-005'
>
<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
>
<template
slot=
"footer"
>
<div
class=
"option-view-footer-actions"
>
<i-button
type=
'primary'
@
click=
"onClickOk.apply(_self, arguments)"
>
{{ containerModel.view_okbtn.text }}
</i-button>
<i-button
@
click=
"onClickCancel.apply(_self, arguments)"
>
{{ containerModel.view_cancelbtn.text }}
</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
app_PIM/src/pages/human-resource/hrcontract-v-005/hrcontract-v-005.vue
0 → 100644
浏览文件 @
3c562804
<
template
src=
"./hrcontract-v-005.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRContractV_005Base } from './hrcontract-v-005-base';
import view_form from '@widgets/hrcontract/main-form/main-form.vue';
/**
* 合同信息视图
*
* @export
* @class HRContractV_005
* @extends {HRContractV_005Base}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRContractV_005 extends HRContractV_005Base { }
</script>
app_PIM/src/pages/human-resource/hremployee-v-007/hremployee-v-007-base.tsx
浏览文件 @
3c562804
...
...
@@ -103,9 +103,6 @@ export class HREmployeeV_007Base extends GridViewBase {
* @memberof HREmployeeV_007
*/
public
toolBarModels
:
any
=
{
tbitem1_ff_002
:
{
name
:
'tbitem1_ff_002'
,
caption
:
'新建'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'新建'
,
iconcls
:
'fa fa-user-plus'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'FF_002'
,
target
:
'NONE'
,
class
:
''
}
},
tbitem9
:
{
name
:
'tbitem9'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem13
:
{
name
:
'tbitem13'
,
caption
:
'导出'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'导出'
,
iconcls
:
'fa fa-file-excel-o'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ExportExcel'
,
target
:
''
},
MaxRowCount
:
1000
,
class
:
''
},
tbitem12
:
{
name
:
'tbitem12'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
@@ -165,9 +162,6 @@ export class HREmployeeV_007Base extends GridViewBase {
* @memberof HREmployeeV_007Base
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_ff_002'
))
{
this
.
toolbar_tbitem1_ff_002_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
...
...
@@ -264,35 +258,6 @@ export class HREmployeeV_007Base extends GridViewBase {
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem1_ff_002_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
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
HREmployeeUIService
=
new
HREmployeeUIService
();
curUIService
.
HREmployee_FF_002
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HREmployee"
);
}
/**
* 逻辑事件
*
...
...
app_PIM/src/pages/ungroup/pim/page-register.ts
浏览文件 @
3c562804
...
...
@@ -15,8 +15,8 @@ export const PageComponents = {
Vue
.
component
(
'hremployee-pickup-grid-view'
,
()
=>
import
(
'@pages/human-resource/hremployee-pickup-grid-view/hremployee-pickup-grid-view.vue'
));
Vue
.
component
(
'hrcontract-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-grid-view/hrcontract-grid-view.vue'
));
Vue
.
component
(
'hromhierarchy-tree-exp-view'
,
()
=>
import
(
'@pages/base/hromhierarchy-tree-exp-view/hromhierarchy-tree-exp-view.vue'
));
Vue
.
component
(
'hrpost-v-006'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-006/hrpost-v-006.vue'
));
Vue
.
component
(
'hrlegal-grid-view'
,
()
=>
import
(
'@pages/base/hrlegal-grid-view/hrlegal-grid-view.vue'
));
Vue
.
component
(
'hrpost-v-006'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-006/hrpost-v-006.vue'
));
Vue
.
component
(
'hrlegal-v-002'
,
()
=>
import
(
'@pages/base/hrlegal-v-002/hrlegal-v-002.vue'
));
Vue
.
component
(
'hrcontract-tab-exp-view'
,
()
=>
import
(
'@pages/human-resource/hrcontract-tab-exp-view/hrcontract-tab-exp-view.vue'
));
Vue
.
component
(
'hremployee-v-003'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-003/hremployee-v-003.vue'
));
...
...
@@ -60,6 +60,7 @@ export const PageComponents = {
Vue
.
component
(
'hrpost-grid-view'
,
()
=>
import
(
'@pages/human-resource/hrpost-grid-view/hrpost-grid-view.vue'
));
Vue
.
component
(
'hrwork-record-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrwork-record-edit-view/hrwork-record-edit-view.vue'
));
Vue
.
component
(
'hremployee-v-004'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-004/hremployee-v-004.vue'
));
Vue
.
component
(
'hrcontract-v-005'
,
()
=>
import
(
'@pages/human-resource/hrcontract-v-005/hrcontract-v-005.vue'
));
Vue
.
component
(
'hrpost-v-002'
,
()
=>
import
(
'@pages/human-resource/hrpost-v-002/hrpost-v-002.vue'
));
Vue
.
component
(
'hremployee-v-005'
,
()
=>
import
(
'@pages/human-resource/hremployee-v-005/hremployee-v-005.vue'
));
Vue
.
component
(
'hrdistribution-edit-view'
,
()
=>
import
(
'@pages/human-resource/hrdistribution-edit-view/hrdistribution-edit-view.vue'
));
...
...
app_PIM/src/pages/ungroup/pim/router.ts
浏览文件 @
3c562804
...
...
@@ -374,32 +374,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/hromhierarchy-tree-exp-view/hromhierarchy-tree-exp-view.vue'
),
},
{
path
:
'hr
posts/:hrpost?/v_006/:v_006
?'
,
path
:
'hr
legals/:hrlegal?/gridview/:gridview
?'
,
meta
:
{
caption
:
'entities.hr
post.views.v_006
.title'
,
caption
:
'entities.hr
legal.views.gridview
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
v_006'
,
parameterName
:
'v_006
'
},
{
pathName
:
'hr
legals'
,
parameterName
:
'hrlegal
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'gridview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
human-resource/hrpost-v-006/hrpost-v-006
.vue'
),
component
:
()
=>
import
(
'@pages/
base/hrlegal-grid-view/hrlegal-grid-view
.vue'
),
},
{
path
:
'hr
legals/:hrlegal?/gridview/:gridview
?'
,
path
:
'hr
posts/:hrpost?/v_006/:v_006
?'
,
meta
:
{
caption
:
'entities.hr
legal.views.gridview
.title'
,
caption
:
'entities.hr
post.views.v_006
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hr
legals'
,
parameterName
:
'hrlegal
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'gridview
'
},
{
pathName
:
'hr
posts'
,
parameterName
:
'hrpost
'
},
{
pathName
:
'
v_006'
,
parameterName
:
'v_006
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/
base/hrlegal-grid-view/hrlegal-grid-view
.vue'
),
component
:
()
=>
import
(
'@pages/
human-resource/hrpost-v-006/hrpost-v-006
.vue'
),
},
{
path
:
'hrlegals/:hrlegal?/v_002/:v_002?'
,
...
...
@@ -1348,6 +1348,35 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/human-resource/hremployee-v-004/hremployee-v-004.vue'
),
},
{
path
:
'hremployees/:hremployee?/hrcontracts/:hrcontract?/v_005/:v_005?'
,
meta
:
{
caption
:
'entities.hrcontract.views.v_005.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'v_005'
,
parameterName
:
'v_005'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcontract-v-005/hrcontract-v-005.vue'
),
},
{
path
:
'hrcontracts/:hrcontract?/v_005/:v_005?'
,
meta
:
{
caption
:
'entities.hrcontract.views.v_005.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'pim'
,
parameterName
:
'pim'
},
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
{
pathName
:
'v_005'
,
parameterName
:
'v_005'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/human-resource/hrcontract-v-005/hrcontract-v-005.vue'
),
},
{
path
:
'hrposts/:hrpost?/v_002/:v_002?'
,
meta
:
{
...
...
app_PIM/src/service/app/codelist-service.ts
浏览文件 @
3c562804
import
SysOperator
from
'@/codelist/sys-operator'
;
import
CL_HR_0016
from
'@/codelist/cl-hr-0016'
;
import
SysOperator
from
'@/codelist/sys-operator'
;
import
{
Store
}
from
'vuex'
;
/**
...
...
@@ -52,20 +52,20 @@ export default class CodeListService {
/**
* 代码表--
云系统操作者
* 代码表--
员工状态
*
* @type {
SysOperator
}
* @type {
CL_HR_0016
}
* @memberof CodeListService
*/
public
SysOperator
:
SysOperator
=
new
SysOperator
();
public
CL_HR_0016
:
CL_HR_0016
=
new
CL_HR_0016
();
/**
* 代码表--
员工状态
* 代码表--
云系统操作者
*
* @type {
CL_HR_0016
}
* @type {
SysOperator
}
* @memberof CodeListService
*/
public
CL_HR_0016
:
CL_HR_0016
=
new
CL_HR_0016
();
public
SysOperator
:
SysOperator
=
new
SysOperator
();
/**
* 获取动态代码表
...
...
app_PIM/src/store/modules/view-action/state.ts
浏览文件 @
3c562804
...
...
@@ -70,7 +70,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
a03a955d89ac96b26f80ca2caf2cc023
'
,
'
b748e4bd87b9d77bfc24835a2e5e96c9
'
,
],
},
{
...
...
@@ -737,7 +737,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
a03a955d89ac96b26f80ca2caf2cc023
'
,
'
b748e4bd87b9d77bfc24835a2e5e96c9
'
,
],
},
{
...
...
@@ -781,6 +781,8 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
...
...
@@ -810,7 +812,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
a03a955d89ac96b26f80ca2caf2cc023
'
,
'
b748e4bd87b9d77bfc24835a2e5e96c9
'
,
],
},
{
...
...
@@ -864,6 +866,17 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'b748e4bd87b9d77bfc24835a2e5e96c9'
,
viewmodule
:
'HumanResource'
,
viewname
:
'HRContractV_005'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'ec9d9fe37bbfc3fcb623e2dc34b48dbc'
,
'e7ba37699bd458dc8dd5c02abac8dadd'
,
],
},
{
viewtag
:
'b867c0ac78993f1cdce1bc1495b815d4'
,
viewmodule
:
'Pcm'
,
...
...
@@ -1033,7 +1046,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
a03a955d89ac96b26f80ca2caf2cc023
'
,
'
b748e4bd87b9d77bfc24835a2e5e96c9
'
,
],
},
{
...
...
app_PIM/src/uiservice/hrcontract/hrcontract-ui-service-base.ts
浏览文件 @
3c562804
...
...
@@ -94,6 +94,7 @@ export default class HRContractUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_004'
,
srfappde
:
'hrcontracts'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'hrcontracts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_002'
,
srfappde
:
'hrcontracts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_005'
,
srfappde
:
'hrcontracts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_003'
,
srfappde
:
'hrcontracts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'v_001'
,
srfappde
:
'hrcontracts'
});
}
...
...
@@ -114,6 +115,134 @@ export default class HRContractUIServiceBase extends UIService {
public
initDeMainStateOPPrivsMap
(){
}
/**
* 续签
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
HRContract_Sign
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
hrcontract
:
'%hrcontract%'
});
Object
.
assign
(
params
,
{
hrcontractid
:
'%hrcontract%'
});
Object
.
assign
(
params
,
{
hrcontractname
:
'%hrcontractname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
if
(
context
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
];
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$appdrawer
.
openDrawer
(
view
,
context
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
const
_this
:
any
=
actionContext
;
return
result
.
datas
;
});
}
const
view
:
any
=
{
viewname
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
actionContext
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 终止
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
HRContract_Stop
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
hrcontract
:
'%hrcontract%'
});
Object
.
assign
(
params
,
{
hrcontractid
:
'%hrcontract%'
});
Object
.
assign
(
params
,
{
hrcontractname
:
'%hrcontractname%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
if
(
context
.
hremployee
&&
true
){
deResParameters
=
[
{
pathName
:
'hremployees'
,
parameterName
:
'hremployee'
},
]
}
const
parameters
:
any
[]
=
[
{
pathName
:
'hrcontracts'
,
parameterName
:
'hrcontract'
},
];
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$appdrawer
.
openDrawer
(
view
,
context
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
const
_this
:
any
=
actionContext
;
return
result
.
datas
;
});
}
const
view
:
any
=
{
viewname
:
'hrcontract-v-005'
,
height
:
0
,
width
:
1024
,
title
:
actionContext
.
$t
(
'entities.hrcontract.views.v_005.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
}
/**
* 获取指定数据的重定向页面
...
...
app_PIM/src/widgets/hrcontract/active-grid/active-grid-base.tsx
0 → 100644
浏览文件 @
3c562804
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
GridControlBase
}
from
'@/studio-core'
;
import
HRContractService
from
'@/service/hrcontract/hrcontract-service'
;
import
ActiveService
from
'./active-grid-service'
;
import
HRContractUIService
from
'@/uiservice/hrcontract/hrcontract-ui-service'
;
import
{
FormItemModel
}
from
'@/model/form-detail'
;
/**
* grid部件基类
*
* @export
* @class GridControlBase
* @extends {ActiveGridBase}
*/
export
class
ActiveGridBase
extends
GridControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof ActiveGridBase
*/
protected
controlType
:
string
=
'GRID'
;
/**
* 建构部件服务对象
*
* @type {ActiveService}
* @memberof ActiveGridBase
*/
public
service
:
ActiveService
=
new
ActiveService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRContractService}
* @memberof ActiveGridBase
*/
public
appEntityService
:
HRContractService
=
new
HRContractService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof ActiveGridBase
*/
protected
appDeName
:
string
=
'hrcontract'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof ActiveGridBase
*/
protected
appDeLogicName
:
string
=
'合同信息'
;
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
grid_uagridcolumn1_u8163855_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
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
HRContractUIService
=
new
HRContractUIService
();
curUIService
.
HRContract_Stop
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRContract"
);
}
/**
* 界面UI服务对象
*
* @type {HRContractUIService}
* @memberof ActiveBase
*/
public
appUIService
:
HRContractUIService
=
new
HRContractUIService
(
this
.
$store
);
/**
* 界面行为模型
*
* @type {*}
* @memberof ActiveBase
*/
public
ActionModel
:
any
=
{
Stop
:
{
name
:
'Stop'
,
disabled
:
false
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
target
:
'SINGLEKEY'
}
};
/**
* 本地缓存标识
*
* @protected
* @type {string}
* @memberof ActiveBase
*/
protected
localStorageTag
:
string
=
'hrcontract_active_grid'
;
/**
* 所有列成员
*
* @type {any[]}
* @memberof ActiveGridBase
*/
public
allColumns
:
any
[]
=
[
{
name
:
'contractcode'
,
label
:
'合同编号'
,
langtag
:
'entities.hrcontract.active_grid.columns.contractcode'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contractmode'
,
label
:
'合同类别'
,
langtag
:
'entities.hrcontract.active_grid.columns.contractmode'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contracttype'
,
label
:
'合同类型'
,
langtag
:
'entities.hrcontract.active_grid.columns.contracttype'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'begintime'
,
label
:
'开始日期'
,
langtag
:
'entities.hrcontract.active_grid.columns.begintime'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'endtime'
,
label
:
'结束日期'
,
langtag
:
'entities.hrcontract.active_grid.columns.endtime'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'mgrorganizationname'
,
label
:
'合同管理单位'
,
langtag
:
'entities.hrcontract.active_grid.columns.mgrorganizationname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'signorganizationname'
,
label
:
'合同签约单位'
,
langtag
:
'entities.hrcontract.active_grid.columns.signorganizationname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contractstate'
,
label
:
'合同状态'
,
langtag
:
'entities.hrcontract.active_grid.columns.contractstate'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'uagridcolumn1'
,
label
:
'操作'
,
langtag
:
'entities.hrcontract.active_grid.columns.uagridcolumn1'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
]
/**
* 获取表格行模型
*
* @type {*}
* @memberof ActiveGridBase
*/
public
getGridRowModel
(){
return
{
srfkey
:
new
FormItemModel
(),
}
}
/**
* 属性值规则
*
* @type {*}
* @memberof ActiveGridBase
*/
public
rules
:
any
=
{
srfkey
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'合同信息标识 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'合同信息标识 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
* 获取对应列class
*
* @type {*}
* @memberof ActiveBase
*/
public
hasRowEdit
:
any
=
{
'contractcode'
:
false
,
'contractmode'
:
false
,
'contracttype'
:
false
,
'begintime'
:
false
,
'endtime'
:
false
,
'mgrorganizationname'
:
false
,
'signorganizationname'
:
false
,
'contractstate'
:
false
,
'uagridcolumn1'
:
false
,
};
/**
* 获取对应列class
*
* @param {*} $args row 行数据,column 列数据,rowIndex 行索引,列索引
* @returns {void}
* @memberof ActiveBase
*/
public
getCellClassName
(
args
:
{
row
:
any
,
column
:
any
,
rowIndex
:
number
,
columnIndex
:
number
}):
any
{
return
(
this
.
hasRowEdit
[
args
.
column
.
property
]
&&
this
.
actualIsOpenEdit
)
?
"edit-cell"
:
"info-cell"
;
}
/**
* 导出数据格式化
*
* @param {*} filterVal
* @param {*} jsonData
* @param {any[]} [codelistColumns=[]]
* @returns {Promise<any>}
* @memberof ActiveGridBase
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'contractmode'
,
srfkey
:
'CL_HR_0021'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'contracttype'
,
srfkey
:
'CL_HR_0022'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'contractstate'
,
srfkey
:
'CL_HR_0019'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
]);
}
/**
* 界面行为
*
* @param {*} row
* @param {*} tag
* @param {*} $event
* @memberof ActiveGridBase
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
):
void
{
$event
.
stopPropagation
();
if
(
Object
.
is
(
'Stop'
,
tag
))
{
this
.
grid_uagridcolumn1_u8163855_click
(
row
,
tag
,
$event
);
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/active-grid/active-grid-model.ts
0 → 100644
浏览文件 @
3c562804
/**
* Active 部件模型
*
* @export
* @class ActiveModel
*/
export
default
class
ActiveModel
{
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof ActiveGridMode
*/
public
isDEExport
:
boolean
=
false
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ActiveGridMode
*/
public
getDataItems
():
any
[]
{
if
(
this
.
isDEExport
){
return
[
]
}
else
{
return
[
{
name
:
'endtime'
,
prop
:
'endtime'
,
dataType
:
'DATE'
,
},
{
name
:
'mgrorganizationname'
,
prop
:
'mgrorganizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'contractcode'
,
prop
:
'contractcode'
,
dataType
:
'TEXT'
,
},
{
name
:
'begintime'
,
prop
:
'begintime'
,
dataType
:
'DATE'
,
},
{
name
:
'mgrorganizationid'
,
prop
:
'mgrorganizationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'srfmajortext'
,
prop
:
'hrcontractname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfkey'
,
prop
:
'hrcontractid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'srfdataaccaction'
,
prop
:
'hrcontractid'
,
dataType
:
'GUID'
,
},
{
name
:
'signorganizationid'
,
prop
:
'signorganizationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'contracttype'
,
prop
:
'contracttype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'contractstate'
,
prop
:
'contractstate'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'signorganizationname'
,
prop
:
'signorganizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'contractmode'
,
prop
:
'contractmode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'hrcontract'
,
prop
:
'hrcontractid'
,
},
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
name
:
'page'
,
prop
:
'page'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'srfparentdata'
,
prop
:
'srfparentdata'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/active-grid/active-grid-service.ts
0 → 100644
浏览文件 @
3c562804
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
HRContractService
from
'@/service/hrcontract/hrcontract-service'
;
import
ActiveModel
from
'./active-grid-model'
;
/**
* Active 部件服务对象
*
* @export
* @class ActiveService
*/
export
default
class
ActiveService
extends
ControlService
{
/**
* 合同信息服务对象
*
* @type {HRContractService}
* @memberof ActiveService
*/
public
appEntityService
:
HRContractService
=
new
HRContractService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof ActiveService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of ActiveService.
*
* @param {*} [opts={}]
* @memberof ActiveService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
ActiveModel
();
}
/**
* 处理数据
*
* @public
* @param {Promise<any>} promise
* @returns {Promise<any>}
* @memberof ActiveService
*/
public
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 ActiveService
*/
@
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]
* @returns {Promise<any>}
* @memberof ActiveService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestDataWithUpdate
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ActiveService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ActiveService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestDataWithUpdate
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 获取数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ActiveService
*/
@
Errorlog
public
get
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
)
=>
{
//处理返回数据,补充判断标识
if
(
response
.
data
){
Object
.
assign
(
response
.
data
,{
srfuf
:
0
});
}
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ActiveService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
((
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 ActiveService
*/
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
)
=>
{
//处理返回数据,补充判断标识
if
(
response
.
data
){
Object
.
assign
(
response
.
data
,{
srfuf
:
'0'
});
//仿真主键数据
response
.
data
.
hrcontractid
=
Util
.
createUUID
();
}
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 ActiveService
*/
@
Errorlog
public
frontLogic
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
})
}
/**
* 处理请求数据(修改或增加数据)
*
* @param action 行为
* @param data 数据
* @memberof ActiveService
*/
public
handleRequestDataWithUpdate
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isMerge
:
boolean
=
false
){
let
model
:
any
=
this
.
getMode
();
if
(
!
model
&&
model
.
getDataItems
instanceof
Function
)
{
return
data
;
}
let
dataItems
:
any
[]
=
model
.
getDataItems
();
let
requestData
:
any
=
{};
if
(
isMerge
&&
(
data
&&
data
.
viewparams
)){
Object
.
assign
(
requestData
,
data
.
viewparams
);
}
dataItems
.
forEach
((
item
:
any
)
=>
{
if
(
item
&&
item
.
dataType
&&
Object
.
is
(
item
.
dataType
,
'FONTKEY'
)){
if
(
item
&&
item
.
prop
&&
item
.
name
){
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
}
}
else
{
if
(
item
&&
item
.
isEditable
&&
item
.
prop
&&
item
.
name
&&
(
data
[
item
.
name
]
||
Object
.
is
(
data
[
item
.
name
],
0
))
){
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
};
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/active-grid/active-grid.html
0 → 100644
浏览文件 @
3c562804
<div
:class=
"{ 'grid': true, 'show-paging-bar': isEnablePagingBar, 'hidden-paging-bar': !isEnablePagingBar }"
>
<i-form>
<el-table
v-if=
"isDisplay === true"
:default-sort=
"{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"
@
sort-change=
"onSortChange($event)"
:border=
"isDragendCol"
:highlight-current-row =
"isSingleSelect"
:row-class-name=
"getRowClassName.bind(_self)"
:cell-class-name=
"getCellClassName.bind(_self)"
size=
"mini"
stripe
@
row-click=
"rowClick($event)"
@
select-all=
"selectAll($event)"
@
select=
"select($event)"
@
row-class-name=
"onRowClassName($event)"
@
row-dblclick=
"rowDBLClick($event)"
ref=
'multipleTable'
:data=
"items"
:show-header=
"!isHideHeader"
>
<template
slot=
"empty"
>
无数据
<span
class=
"quick-toolbar"
>
</span>
</template>
<template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
<template
v-if=
"getColumnState('contractcode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractcode'"
:label=
"$t('entities.hrcontract.active_grid.columns.contractcode')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.active_grid.columns.contractcode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.contractcode}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contractmode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractmode'"
:label=
"$t('entities.hrcontract.active_grid.columns.contractmode')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.active_grid.columns.contractmode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contractmode"
tag=
'CL_HR_0021'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contracttype')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contracttype'"
:label=
"$t('entities.hrcontract.active_grid.columns.contracttype')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.active_grid.columns.contracttype')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contracttype"
tag=
'CL_HR_0022'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('begintime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'begintime'"
:label=
"$t('entities.hrcontract.active_grid.columns.begintime')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.active_grid.columns.begintime')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.begintime"
></app-format-data>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('endtime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'endtime'"
:label=
"$t('entities.hrcontract.active_grid.columns.endtime')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.active_grid.columns.endtime')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.endtime"
></app-format-data>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('mgrorganizationname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'mgrorganizationname'"
:label=
"$t('entities.hrcontract.active_grid.columns.mgrorganizationname')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.active_grid.columns.mgrorganizationname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.mgrorganizationname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('signorganizationname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'signorganizationname'"
:label=
"$t('entities.hrcontract.active_grid.columns.signorganizationname')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.active_grid.columns.signorganizationname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.signorganizationname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contractstate')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractstate'"
:label=
"$t('entities.hrcontract.active_grid.columns.contractstate')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.active_grid.columns.contractstate')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contractstate"
tag=
'CL_HR_0019'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('uagridcolumn1')"
>
<el-table-column
:column-key=
"'uagridcolumn1'"
:label=
"$t('entities.hrcontract.active_grid.columns.uagridcolumn1')"
:width=
"100"
:align=
"'center'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
<i
class=
'fa fa-pencil'
></i>
{{$t('entities.hrcontract.active_grid.columns.uagridcolumn1')}}
</span>
</template>
<template
slot-scope=
"scope"
>
<div
style=
"text-align: center;"
>
<a
v-show=
"scope.row.Stop.visabled"
:disabled=
"scope.row.Stop.disabled"
@
click=
"uiAction(scope.row, 'Stop', $event)"
:title=
"$t('entities.hrcontract.active_grid.uiactions.hrcontract_stop')"
>
<i
class=
'fa fa-power-off'
></i>
{{$t('entities.hrcontract.active_grid.uiactions.hrcontract_stop')}}
</a>
</div>
</template>
</el-table-column>
</template>
<template
v-if=
"adaptiveState"
>
<el-table-column></el-table-column>
</template>
</el-table>
<row
class=
'grid-pagination'
v-show=
"items.length > 0"
>
<page
class=
'pull-right'
@
on-change=
"pageOnChange($event)"
@
on-page-size-change=
"onPageSizeChange($event)"
:transfer=
"true"
:total=
"totalRecord"
show-sizer
:current=
"curPage"
:page-size=
"limit"
:page-size-opts=
"[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]"
show-elevator
show-total
>
<span>
<span
class=
"page-column"
>
<poptip
transfer
placement=
"top-start"
>
<i-button
icon=
"md-menu"
>
{{$t('app.gridpage.choicecolumns')}}
</i-button>
<div
slot=
"content"
>
<template
v-for=
"col in allColumns"
>
<div
:key=
"col.name"
><el-checkbox
v-model=
"col.show"
@
change=
"onColChange()"
>
{{$t(col.langtag)}}
</el-checkbox></div>
</template>
</div>
</poptip>
</span>
<span
v-if=
"selections.length > 0"
class=
"batch-toolbar"
>
</span>
<span
class=
"page-button"
><i-button
icon=
"md-refresh"
:title=
"$t('app.gridpage.refresh')"
@
click=
"pageRefresh()"
></i-button></span>
<span>
{{$t('app.gridpage.show')}}
<span>
<template
v-if=
"items.length === 1"
>
1
</template>
<template
v-else
>
<span>
{{(curPage - 1) * limit + 1}}
-
{{totalRecord > curPage * limit ? curPage * limit : totalRecord}}
</span>
</template>
</span>
{{$t('app.gridpage.records')}},{{$t('app.gridpage.totle')}}
{{totalRecord}}
{{$t('app.gridpage.records')}}
</span>
</span>
</page>
</row>
</i-form>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrcontract/active-grid/active-grid.vue
0 → 100644
浏览文件 @
3c562804
<
template
src=
"./active-grid.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ActiveGridBase } from './active-grid-base';
/**
* grid部件
*
* @export
* @class ActiveGrid
* @extends {ActiveGridBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class ActiveGrid extends ActiveGridBase { }
</script>
app_PIM/src/widgets/hrcontract/main-form/main-form-base.tsx
浏览文件 @
3c562804
...
...
@@ -82,11 +82,22 @@ export class MainEditFormBase extends EditFormControlBase {
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
hrcontractname
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
updatedate
:
null
,
hremployeename
:
null
,
contractcode
:
null
,
contractmode
:
null
,
contracttype
:
null
,
begintime
:
null
,
endtime
:
null
,
mgrorganizationname
:
null
,
signorganizationname
:
null
,
contractsigntype
:
null
,
contractstate
:
null
,
probationtime
:
null
,
attachment
:
null
,
memo
:
null
,
signorganizationid
:
null
,
hremployeeid
:
null
,
mgrorganizationid
:
null
,
hrcontractid
:
null
,
hrcontract
:
null
,
};
...
...
@@ -98,6 +109,38 @@ export class MainEditFormBase extends EditFormControlBase {
* @memberof MainEditFormBase
*/
public
rules
:
any
=
{
hremployeename
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'员工姓名 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'员工姓名 值不能为空'
,
trigger
:
'blur'
},
],
contractcode
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'合同编号 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'合同编号 值不能为空'
,
trigger
:
'blur'
},
],
contractmode
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'合同类别 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'合同类别 值不能为空'
,
trigger
:
'blur'
},
],
contracttype
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'合同类型 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'合同类型 值不能为空'
,
trigger
:
'blur'
},
],
begintime
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'开始日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'开始日期 值不能为空'
,
trigger
:
'blur'
},
],
mgrorganizationname
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'合同管理单位 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'合同管理单位 值不能为空'
,
trigger
:
'blur'
},
],
contractsigntype
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'签订类型 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'签订类型 值不能为空'
,
trigger
:
'blur'
},
],
contractstate
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'合同状态 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'合同状态 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
...
...
@@ -116,14 +159,10 @@ export class MainEditFormBase extends EditFormControlBase {
* @memberof MainEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'合同信息
基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
tru
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrcontract.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
group1
:
new
FormGroupPanelModel
({
caption
:
'合同信息
'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
fals
e
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrcontract.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
group2
:
new
FormGroupPanelModel
({
caption
:
'操作信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.hrcontract.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage2
:
new
FormPageModel
({
caption
:
'其它'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage2'
,
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
}),
...
...
@@ -140,18 +179,39 @@ export class MainEditFormBase extends EditFormControlBase {
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrcontractname
:
new
FormItemModel
({
caption
:
'合同信息名称'
,
detailType
:
'FORMITEM'
,
name
:
'hrcontractname'
,
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
}),
contractcode
:
new
FormItemModel
({
caption
:
'合同编号'
,
detailType
:
'FORMITEM'
,
name
:
'contractcode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
contractmode
:
new
FormItemModel
({
caption
:
'合同类别'
,
detailType
:
'FORMITEM'
,
name
:
'contractmode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
contracttype
:
new
FormItemModel
({
caption
:
'合同类型'
,
detailType
:
'FORMITEM'
,
name
:
'contracttype'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
begintime
:
new
FormItemModel
({
caption
:
'开始日期'
,
detailType
:
'FORMITEM'
,
name
:
'begintime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
endtime
:
new
FormItemModel
({
caption
:
'结束日期'
,
detailType
:
'FORMITEM'
,
name
:
'endtime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
mgrorganizationname
:
new
FormItemModel
({
caption
:
'合同管理单位'
,
detailType
:
'FORMITEM'
,
name
:
'mgrorganizationname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
signorganizationname
:
new
FormItemModel
({
caption
:
'合同签约单位'
,
detailType
:
'FORMITEM'
,
name
:
'signorganizationname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
contractsigntype
:
new
FormItemModel
({
caption
:
'签订类型'
,
detailType
:
'FORMITEM'
,
name
:
'contractsigntype'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
contractstate
:
new
FormItemModel
({
caption
:
'合同状态'
,
detailType
:
'FORMITEM'
,
name
:
'contractstate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
probationtime
:
new
FormItemModel
({
caption
:
'试用期'
,
detailType
:
'FORMITEM'
,
name
:
'probationtime'
,
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
}),
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
memo
:
new
FormItemModel
({
caption
:
'备注'
,
detailType
:
'FORMITEM'
,
name
:
'memo
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdate
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
signorganizationid
:
new
FormItemModel
({
caption
:
'合同签约单位ID'
,
detailType
:
'FORMITEM'
,
name
:
'signorganizationid
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
updateman
:
new
FormItemModel
({
caption
:
'更新人'
,
detailType
:
'FORMITEM'
,
name
:
'updateman
'
,
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
}),
updatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'updatedate
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
mgrorganizationid
:
new
FormItemModel
({
caption
:
'合同管理单位ID'
,
detailType
:
'FORMITEM'
,
name
:
'mgrorganizationid
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
hrcontractid
:
new
FormItemModel
({
caption
:
'合同信息标识'
,
detailType
:
'FORMITEM'
,
name
:
'hrcontractid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
form
:
new
FormTabPanelModel
({
caption
:
'form'
,
detailType
:
'TABPANEL'
,
name
:
'form'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
};
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/main-form/main-form-model.ts
浏览文件 @
3c562804
...
...
@@ -56,29 +56,84 @@ export default class MainModel {
name
:
'srfsourcekey'
,
},
{
name
:
'hr
contract
name'
,
prop
:
'hr
contract
name'
,
dataType
:
'TEXT'
,
name
:
'hr
employee
name'
,
prop
:
'hr
employee
name'
,
dataType
:
'
PICKUP
TEXT'
,
},
{
name
:
'c
reateman
'
,
prop
:
'c
reateman
'
,
name
:
'c
ontractcode
'
,
prop
:
'c
ontractcode
'
,
dataType
:
'TEXT'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
name
:
'contractmode'
,
prop
:
'contractmode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'contracttype'
,
prop
:
'contracttype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'begintime'
,
prop
:
'begintime'
,
dataType
:
'DATE'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
name
:
'endtime'
,
prop
:
'endtime'
,
dataType
:
'DATE'
,
},
{
name
:
'mgrorganizationname'
,
prop
:
'mgrorganizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'signorganizationname'
,
prop
:
'signorganizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'contractsigntype'
,
prop
:
'contractsigntype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'contractstate'
,
prop
:
'contractstate'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'probationtime'
,
prop
:
'probationtime'
,
dataType
:
'DATE'
,
},
{
name
:
'attachment'
,
prop
:
'attachment'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
name
:
'memo'
,
prop
:
'memo'
,
dataType
:
'LONGTEXT_1000'
,
},
{
name
:
'signorganizationid'
,
prop
:
'signorganizationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'mgrorganizationid'
,
prop
:
'mgrorganizationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hrcontractid'
,
...
...
app_PIM/src/widgets/hrcontract/main-form/main-form-service.ts
浏览文件 @
3c562804
...
...
@@ -2,6 +2,8 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
HRContractService
from
'@/service/hrcontract/hrcontract-service'
;
import
MainModel
from
'./main-form-model'
;
import
HREmployeeService
from
'@/service/hremployee/hremployee-service'
;
import
HROrganizationService
from
'@/service/hrorganization/hrorganization-service'
;
/**
...
...
@@ -41,6 +43,22 @@ export default class MainService extends ControlService {
this
.
model
=
new
MainModel
();
}
/**
* 员工服务对象
*
* @type {HREmployeeService}
* @memberof MainService
*/
public
hremployeeService
:
HREmployeeService
=
new
HREmployeeService
();
/**
* 组织服务对象
*
* @type {HROrganizationService}
* @memberof MainService
*/
public
hrorganizationService
:
HROrganizationService
=
new
HROrganizationService
();
/**
* 处理数据
*
...
...
@@ -82,6 +100,12 @@ export default class MainService extends ControlService {
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
;
if
(
Object
.
is
(
serviceName
,
'HREmployeeService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
hremployeeService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'employeeid'
,
'hremployee'
);
}
if
(
Object
.
is
(
serviceName
,
'HROrganizationService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
hrorganizationService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'organizationid'
,
'hrorganization'
);
}
return
Promise
.
reject
([])
}
...
...
app_PIM/src/widgets/hrcontract/main-form/main-form.html
浏览文件 @
3c562804
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'hrcontract_main'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<tabs
:animated=
"false"
size=
"small"
name=
'main'
:value=
"detailsModel.form.activiedPage"
@
on-click=
"detailsModel.form.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'main'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.hrcontract.main_form.details.formpage1')
])
}"
>
<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.hrcontract.main_form.details.group1')"
:isShowCaption=
"
tru
e"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hrcontract.main_form.details.group1')"
:isShowCaption=
"
fals
e"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<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.hrcontractname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'hrcontractname'
:itemRules=
"this.rules.hrcontractname"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.hrcontractname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hrcontractname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<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.hrcontract.main_form.details.hremployeename')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.hremployeename.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.hremployeename.disabled"
name=
'hremployeename'
deMajorField=
'employeename'
deKeyField=
'hremployee'
:service=
"service"
:acParams=
"{ serviceName: 'HREmployeeService', interfaceName: 'FetchDefault'}"
valueitem=
'hremployeeid'
:value=
"data.hremployeename"
:pickupView=
"{ viewname: 'hremployee-pickup-view', title: $t('entities.hremployee.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'hremployees', parameterName: 'hremployee' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.contractcode.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=
'contractcode'
:itemRules=
"this.rules.contractcode"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.contractcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.contractcode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.
hrcontractnam
e"
v-model=
"data.
contractcod
e"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.
hrcontractnam
e.disabled"
:disabled=
"detailsModel.
contractcod
e.disabled"
type=
'text'
style=
""
>
</input-box>
...
...
@@ -30,63 +46,168 @@
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.contractmode.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=
'contractmode'
:itemRules=
"this.rules.contractmode"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.contractmode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.contractmode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
</row>
</app-form-group>
<dropdown-list
v-model=
"data.contractmode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.contractmode.disabled"
valueType=
"string"
tag=
'CL_HR_0021'
codelistType=
'STATIC'
placeholder=
'请选择...'
/>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.contracttype.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=
'contracttype'
:itemRules=
"this.rules.contracttype"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.contracttype')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.contracttype.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.contracttype"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.contracttype.disabled"
valueType=
"string"
tag=
'CL_HR_0022'
codelistType=
'STATIC'
placeholder=
'请选择...'
/>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.begintime.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=
'begintime'
:itemRules=
"this.rules.begintime"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.begintime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.begintime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
placeholder=
"请选择时间..."
:value=
"data.begintime"
:disabled=
"detailsModel.begintime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) => { this.data.begintime = val1 }"
></date-picker>
</app-form-item>
</tab-pane>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'main'
class=
''
:label=
"(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.hrcontract.main_form.details.formpage2')
])
}"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.group2.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group2"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.hrcontract.main_form.details.group2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group2"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.createman.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'createman'
:itemRules=
"this.rules.createman"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.createman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createman'
:value=
"data.createman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.endtime.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=
'endtime'
:itemRules=
"this.rules.endtime"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.endtime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.endtime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
placeholder=
"请选择时间..."
:value=
"data.endtime"
:disabled=
"detailsModel.endtime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) => { this.data.endtime = val1 }"
></date-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
createdate.visible"
:style=
"{}"
:lg=
"{ span: 24
, offset: 0 }"
>
<app-form-item
name=
'
createdate'
:itemRules=
"this.rules.createdate"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.createdate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createdat
e.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
mgrorganizationname.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=
'
mgrorganizationname'
:itemRules=
"this.rules.mgrorganizationname"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.mgrorganizationname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.mgrorganizationnam
e.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createdate'
:value=
"data.createdate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.mgrorganizationname.disabled"
name=
'mgrorganizationname'
deMajorField=
'organizationname'
deKeyField=
'hrorganization'
:service=
"service"
:acParams=
"{ serviceName: 'HROrganizationService', interfaceName: 'FetchDefault'}"
valueitem=
'mgrorganizationid'
:value=
"data.mgrorganizationname"
:pickupView=
"{ viewname: 'hrorganization-pickup-view', title: $t('entities.hrorganization.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'hrorganizations', parameterName: 'hrorganization' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
updateman.visible"
:style=
"{}"
:lg=
"{ span: 24
, offset: 0 }"
>
<app-form-item
name=
'
updateman'
:itemRules=
"this.rules.updateman"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.updateman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updateman
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
signorganizationname.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=
'
signorganizationname'
:itemRules=
"this.rules.signorganizationname"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.signorganizationname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.signorganizationname
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updateman'
:value=
"data.updateman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
style=
""
>
</app-span>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.signorganizationname.disabled"
name=
'signorganizationname'
deMajorField=
'organizationname'
deKeyField=
'hrorganization'
:service=
"service"
:acParams=
"{ serviceName: 'HROrganizationService', interfaceName: 'FetchDefault'}"
valueitem=
'signorganizationid'
:value=
"data.signorganizationname"
:pickupView=
"{ viewname: 'hrorganization-pickup-view', title: $t('entities.hrorganization.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'hrorganizations', parameterName: 'hrorganization' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.updatedate.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'updatedate'
:itemRules=
"this.rules.updatedate"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.updatedate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updatedate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.contractsigntype.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=
'contractsigntype'
:itemRules=
"this.rules.contractsigntype"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.contractsigntype')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.contractsigntype.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.contractsigntype"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.contractsigntype.disabled"
valueType=
"string"
tag=
'CL_HR_0020'
codelistType=
'STATIC'
placeholder=
'请选择...'
<app-span
name=
'updatedate'
:value=
"data.updatedate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
: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.contractstate.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=
'contractstate'
:itemRules=
"this.rules.contractstate"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.contractstate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.contractstate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.contractstate"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.contractstate.disabled"
valueType=
"string"
tag=
'CL_HR_0019'
codelistType=
'STATIC'
placeholder=
'请选择...'
/>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.probationtime.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=
'probationtime'
:itemRules=
"this.rules.probationtime"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.probationtime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.probationtime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
placeholder=
"请选择时间..."
:value=
"data.probationtime"
:disabled=
"detailsModel.probationtime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) => { this.data.probationtime = val1 }"
></date-picker>
</app-form-item>
</i-col>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.attachment.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=
'attachment'
:itemRules=
"this.rules.attachment"
class=
''
:caption=
"$t('entities.hrcontract.main_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.memo.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=
'memo'
:itemRules=
"this.rules.memo"
class=
''
:caption=
"$t('entities.hrcontract.main_form.details.memo')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.memo.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.memo"
:textareaId=
"this.$util.createUUID()"
:disabled=
"detailsModel.memo.disabled"
type=
'textarea'
textareaStyle=
"height:200px;"
></input-box>
</app-form-item>
...
...
@@ -98,7 +219,5 @@ tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewpa
</i-col>
</tab-pane>
</tabs>
</row>
</i-form>
\ No newline at end of file
app_PIM/src/widgets/hrcontract/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel-model.ts
浏览文件 @
3c562804
...
...
@@ -81,6 +81,9 @@ export default class TabExpViewtabexppanelModel {
{
name
:
'contractsignnum'
,
},
{
name
:
'attachment'
,
},
]
}
...
...
app_PIM/src/widgets/hrcontract/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.html
浏览文件 @
3c562804
...
...
@@ -9,7 +9,7 @@
'margin-right' : '2px'
}
}),
h('span', '待新签'),
h('span', '待新签
合同
'),
h('Badge', {
props: {
count: undefined,
...
...
@@ -39,7 +39,7 @@
'margin-right' : '2px'
}
}),
h('span', '待续签'),
h('span', '待续签
合同
'),
h('Badge', {
props: {
count: undefined,
...
...
@@ -69,7 +69,7 @@
'margin-right' : '2px'
}
}),
h('span', '待终止'),
h('span', '待终止
合同
'),
h('Badge', {
props: {
count: undefined,
...
...
@@ -99,7 +99,7 @@
'margin-right' : '2px'
}
}),
h('span', '执行中'),
h('span', '执行中
合同
'),
h('Badge', {
props: {
count: undefined,
...
...
app_PIM/src/widgets/hrcontract/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel-model.ts
浏览文件 @
3c562804
...
...
@@ -81,6 +81,9 @@ export default class TabExpViewtabviewpanelModel {
{
name
:
'contractsignnum'
,
},
{
name
:
'attachment'
,
},
]
}
...
...
app_PIM/src/widgets/hrcontract/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel-model.ts
浏览文件 @
3c562804
...
...
@@ -81,6 +81,9 @@ export default class TabExpViewtabviewpanel2Model {
{
name
:
'contractsignnum'
,
},
{
name
:
'attachment'
,
},
]
}
...
...
app_PIM/src/widgets/hrcontract/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel-model.ts
浏览文件 @
3c562804
...
...
@@ -81,6 +81,9 @@ export default class TabExpViewtabviewpanel3Model {
{
name
:
'contractsignnum'
,
},
{
name
:
'attachment'
,
},
]
}
...
...
app_PIM/src/widgets/hrcontract/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel-model.ts
浏览文件 @
3c562804
...
...
@@ -81,6 +81,9 @@ export default class TabExpViewtabviewpanel4Model {
{
name
:
'contractsignnum'
,
},
{
name
:
'attachment'
,
},
]
}
...
...
app_PIM/src/widgets/hrcontract/tab-exp-viewtabviewpanel5-tabviewpanel/tab-exp-viewtabviewpanel5-tabviewpanel-model.ts
浏览文件 @
3c562804
...
...
@@ -81,6 +81,9 @@ export default class TabExpViewtabviewpanel5Model {
{
name
:
'contractsignnum'
,
},
{
name
:
'attachment'
,
},
]
}
...
...
app_PIM/src/widgets/hrcontract/wait-sign-grid/wait-sign-grid-base.tsx
0 → 100644
浏览文件 @
3c562804
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
GridControlBase
}
from
'@/studio-core'
;
import
HRContractService
from
'@/service/hrcontract/hrcontract-service'
;
import
WaitSignService
from
'./wait-sign-grid-service'
;
import
HRContractUIService
from
'@/uiservice/hrcontract/hrcontract-ui-service'
;
import
{
FormItemModel
}
from
'@/model/form-detail'
;
/**
* grid部件基类
*
* @export
* @class GridControlBase
* @extends {WaitSignGridBase}
*/
export
class
WaitSignGridBase
extends
GridControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof WaitSignGridBase
*/
protected
controlType
:
string
=
'GRID'
;
/**
* 建构部件服务对象
*
* @type {WaitSignService}
* @memberof WaitSignGridBase
*/
public
service
:
WaitSignService
=
new
WaitSignService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRContractService}
* @memberof WaitSignGridBase
*/
public
appEntityService
:
HRContractService
=
new
HRContractService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof WaitSignGridBase
*/
protected
appDeName
:
string
=
'hrcontract'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof WaitSignGridBase
*/
protected
appDeLogicName
:
string
=
'合同信息'
;
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
grid_uagridcolumn1_uffccd03_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
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
HRContractUIService
=
new
HRContractUIService
();
curUIService
.
HRContract_Sign
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRContract"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
grid_uagridcolumn1_ub2c1b0a_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
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
HRContractUIService
=
new
HRContractUIService
();
curUIService
.
HRContract_Stop
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRContract"
);
}
/**
* 界面UI服务对象
*
* @type {HRContractUIService}
* @memberof WaitSignBase
*/
public
appUIService
:
HRContractUIService
=
new
HRContractUIService
(
this
.
$store
);
/**
* 界面行为模型
*
* @type {*}
* @memberof WaitSignBase
*/
public
ActionModel
:
any
=
{
Sign
:
{
name
:
'Sign'
,
disabled
:
false
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
target
:
'SINGLEKEY'
},
Stop
:
{
name
:
'Stop'
,
disabled
:
false
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
target
:
'SINGLEKEY'
}
};
/**
* 本地缓存标识
*
* @protected
* @type {string}
* @memberof WaitSignBase
*/
protected
localStorageTag
:
string
=
'hrcontract_waitsign_grid'
;
/**
* 所有列成员
*
* @type {any[]}
* @memberof WaitSignGridBase
*/
public
allColumns
:
any
[]
=
[
{
name
:
'contractcode'
,
label
:
'合同编号'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.contractcode'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contractmode'
,
label
:
'合同类别'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.contractmode'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contracttype'
,
label
:
'合同类型'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.contracttype'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'begintime'
,
label
:
'开始日期'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.begintime'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'endtime'
,
label
:
'结束日期'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.endtime'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'mgrorganizationname'
,
label
:
'合同管理单位'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.mgrorganizationname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'signorganizationname'
,
label
:
'合同签约单位'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.signorganizationname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contractstate'
,
label
:
'合同状态'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.contractstate'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'uagridcolumn1'
,
label
:
'操作'
,
langtag
:
'entities.hrcontract.waitsign_grid.columns.uagridcolumn1'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
]
/**
* 获取表格行模型
*
* @type {*}
* @memberof WaitSignGridBase
*/
public
getGridRowModel
(){
return
{
srfkey
:
new
FormItemModel
(),
}
}
/**
* 属性值规则
*
* @type {*}
* @memberof WaitSignGridBase
*/
public
rules
:
any
=
{
srfkey
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'合同信息标识 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'合同信息标识 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
* 获取对应列class
*
* @type {*}
* @memberof WaitSignBase
*/
public
hasRowEdit
:
any
=
{
'contractcode'
:
false
,
'contractmode'
:
false
,
'contracttype'
:
false
,
'begintime'
:
false
,
'endtime'
:
false
,
'mgrorganizationname'
:
false
,
'signorganizationname'
:
false
,
'contractstate'
:
false
,
'uagridcolumn1'
:
false
,
};
/**
* 获取对应列class
*
* @param {*} $args row 行数据,column 列数据,rowIndex 行索引,列索引
* @returns {void}
* @memberof WaitSignBase
*/
public
getCellClassName
(
args
:
{
row
:
any
,
column
:
any
,
rowIndex
:
number
,
columnIndex
:
number
}):
any
{
return
(
this
.
hasRowEdit
[
args
.
column
.
property
]
&&
this
.
actualIsOpenEdit
)
?
"edit-cell"
:
"info-cell"
;
}
/**
* 导出数据格式化
*
* @param {*} filterVal
* @param {*} jsonData
* @param {any[]} [codelistColumns=[]]
* @returns {Promise<any>}
* @memberof WaitSignGridBase
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'contractmode'
,
srfkey
:
'CL_HR_0021'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'contracttype'
,
srfkey
:
'CL_HR_0022'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'contractstate'
,
srfkey
:
'CL_HR_0019'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
]);
}
/**
* 界面行为
*
* @param {*} row
* @param {*} tag
* @param {*} $event
* @memberof WaitSignGridBase
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
):
void
{
$event
.
stopPropagation
();
if
(
Object
.
is
(
'Sign'
,
tag
))
{
this
.
grid_uagridcolumn1_uffccd03_click
(
row
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Stop'
,
tag
))
{
this
.
grid_uagridcolumn1_ub2c1b0a_click
(
row
,
tag
,
$event
);
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/wait-sign-grid/wait-sign-grid-model.ts
0 → 100644
浏览文件 @
3c562804
/**
* WaitSign 部件模型
*
* @export
* @class WaitSignModel
*/
export
default
class
WaitSignModel
{
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof WaitSignGridMode
*/
public
isDEExport
:
boolean
=
false
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof WaitSignGridMode
*/
public
getDataItems
():
any
[]
{
if
(
this
.
isDEExport
){
return
[
]
}
else
{
return
[
{
name
:
'endtime'
,
prop
:
'endtime'
,
dataType
:
'DATE'
,
},
{
name
:
'mgrorganizationname'
,
prop
:
'mgrorganizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'contractcode'
,
prop
:
'contractcode'
,
dataType
:
'TEXT'
,
},
{
name
:
'begintime'
,
prop
:
'begintime'
,
dataType
:
'DATE'
,
},
{
name
:
'mgrorganizationid'
,
prop
:
'mgrorganizationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'srfmajortext'
,
prop
:
'hrcontractname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfkey'
,
prop
:
'hrcontractid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'srfdataaccaction'
,
prop
:
'hrcontractid'
,
dataType
:
'GUID'
,
},
{
name
:
'signorganizationid'
,
prop
:
'signorganizationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'contracttype'
,
prop
:
'contracttype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'contractstate'
,
prop
:
'contractstate'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'signorganizationname'
,
prop
:
'signorganizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'contractmode'
,
prop
:
'contractmode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'hrcontract'
,
prop
:
'hrcontractid'
,
},
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
name
:
'page'
,
prop
:
'page'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'srfparentdata'
,
prop
:
'srfparentdata'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/wait-sign-grid/wait-sign-grid-service.ts
0 → 100644
浏览文件 @
3c562804
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
HRContractService
from
'@/service/hrcontract/hrcontract-service'
;
import
WaitSignModel
from
'./wait-sign-grid-model'
;
/**
* WaitSign 部件服务对象
*
* @export
* @class WaitSignService
*/
export
default
class
WaitSignService
extends
ControlService
{
/**
* 合同信息服务对象
*
* @type {HRContractService}
* @memberof WaitSignService
*/
public
appEntityService
:
HRContractService
=
new
HRContractService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof WaitSignService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of WaitSignService.
*
* @param {*} [opts={}]
* @memberof WaitSignService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
WaitSignModel
();
}
/**
* 处理数据
*
* @public
* @param {Promise<any>} promise
* @returns {Promise<any>}
* @memberof WaitSignService
*/
public
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 WaitSignService
*/
@
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]
* @returns {Promise<any>}
* @memberof WaitSignService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestDataWithUpdate
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WaitSignService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WaitSignService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestDataWithUpdate
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 获取数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WaitSignService
*/
@
Errorlog
public
get
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
)
=>
{
//处理返回数据,补充判断标识
if
(
response
.
data
){
Object
.
assign
(
response
.
data
,{
srfuf
:
0
});
}
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WaitSignService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
((
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 WaitSignService
*/
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
)
=>
{
//处理返回数据,补充判断标识
if
(
response
.
data
){
Object
.
assign
(
response
.
data
,{
srfuf
:
'0'
});
//仿真主键数据
response
.
data
.
hrcontractid
=
Util
.
createUUID
();
}
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 WaitSignService
*/
@
Errorlog
public
frontLogic
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
})
}
/**
* 处理请求数据(修改或增加数据)
*
* @param action 行为
* @param data 数据
* @memberof WaitSignService
*/
public
handleRequestDataWithUpdate
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isMerge
:
boolean
=
false
){
let
model
:
any
=
this
.
getMode
();
if
(
!
model
&&
model
.
getDataItems
instanceof
Function
)
{
return
data
;
}
let
dataItems
:
any
[]
=
model
.
getDataItems
();
let
requestData
:
any
=
{};
if
(
isMerge
&&
(
data
&&
data
.
viewparams
)){
Object
.
assign
(
requestData
,
data
.
viewparams
);
}
dataItems
.
forEach
((
item
:
any
)
=>
{
if
(
item
&&
item
.
dataType
&&
Object
.
is
(
item
.
dataType
,
'FONTKEY'
)){
if
(
item
&&
item
.
prop
&&
item
.
name
){
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
}
}
else
{
if
(
item
&&
item
.
isEditable
&&
item
.
prop
&&
item
.
name
&&
(
data
[
item
.
name
]
||
Object
.
is
(
data
[
item
.
name
],
0
))
){
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
};
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/wait-sign-grid/wait-sign-grid.html
0 → 100644
浏览文件 @
3c562804
<div
:class=
"{ 'grid': true, 'show-paging-bar': isEnablePagingBar, 'hidden-paging-bar': !isEnablePagingBar }"
>
<i-form>
<el-table
v-if=
"isDisplay === true"
:default-sort=
"{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"
@
sort-change=
"onSortChange($event)"
:border=
"isDragendCol"
:highlight-current-row =
"isSingleSelect"
:row-class-name=
"getRowClassName.bind(_self)"
:cell-class-name=
"getCellClassName.bind(_self)"
size=
"mini"
stripe
@
row-click=
"rowClick($event)"
@
select-all=
"selectAll($event)"
@
select=
"select($event)"
@
row-class-name=
"onRowClassName($event)"
@
row-dblclick=
"rowDBLClick($event)"
ref=
'multipleTable'
:data=
"items"
:show-header=
"!isHideHeader"
>
<template
slot=
"empty"
>
无数据
<span
class=
"quick-toolbar"
>
</span>
</template>
<template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
<template
v-if=
"getColumnState('contractcode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractcode'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.contractcode')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitsign_grid.columns.contractcode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.contractcode}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contractmode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractmode'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.contractmode')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitsign_grid.columns.contractmode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contractmode"
tag=
'CL_HR_0021'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contracttype')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contracttype'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.contracttype')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitsign_grid.columns.contracttype')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contracttype"
tag=
'CL_HR_0022'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('begintime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'begintime'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.begintime')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitsign_grid.columns.begintime')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.begintime"
></app-format-data>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('endtime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'endtime'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.endtime')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitsign_grid.columns.endtime')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.endtime"
></app-format-data>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('mgrorganizationname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'mgrorganizationname'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.mgrorganizationname')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitsign_grid.columns.mgrorganizationname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.mgrorganizationname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('signorganizationname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'signorganizationname'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.signorganizationname')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitsign_grid.columns.signorganizationname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.signorganizationname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contractstate')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractstate'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.contractstate')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitsign_grid.columns.contractstate')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contractstate"
tag=
'CL_HR_0019'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('uagridcolumn1')"
>
<el-table-column
:column-key=
"'uagridcolumn1'"
:label=
"$t('entities.hrcontract.waitsign_grid.columns.uagridcolumn1')"
:width=
"100"
:align=
"'center'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
<i
class=
'fa fa-pencil'
></i>
{{$t('entities.hrcontract.waitsign_grid.columns.uagridcolumn1')}}
</span>
</template>
<template
slot-scope=
"scope"
>
<div
style=
"text-align: center;"
>
<a
v-show=
"scope.row.Sign.visabled"
:disabled=
"scope.row.Sign.disabled"
@
click=
"uiAction(scope.row, 'Sign', $event)"
:title=
"$t('entities.hrcontract.waitsign_grid.uiactions.hrcontract_sign')"
>
<i
class=
'fa fa-pencil'
></i>
{{$t('entities.hrcontract.waitsign_grid.uiactions.hrcontract_sign')}}
</a>
<divider
v-show=
"scope.row.Stop.visabled"
type=
'vertical'
></divider>
<a
v-show=
"scope.row.Stop.visabled"
:disabled=
"scope.row.Stop.disabled"
@
click=
"uiAction(scope.row, 'Stop', $event)"
:title=
"$t('entities.hrcontract.waitsign_grid.uiactions.hrcontract_stop')"
>
<i
class=
'fa fa-power-off'
></i>
{{$t('entities.hrcontract.waitsign_grid.uiactions.hrcontract_stop')}}
</a>
</div>
</template>
</el-table-column>
</template>
<template
v-if=
"adaptiveState"
>
<el-table-column></el-table-column>
</template>
</el-table>
<row
class=
'grid-pagination'
v-show=
"items.length > 0"
>
<page
class=
'pull-right'
@
on-change=
"pageOnChange($event)"
@
on-page-size-change=
"onPageSizeChange($event)"
:transfer=
"true"
:total=
"totalRecord"
show-sizer
:current=
"curPage"
:page-size=
"limit"
:page-size-opts=
"[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]"
show-elevator
show-total
>
<span>
<span
class=
"page-column"
>
<poptip
transfer
placement=
"top-start"
>
<i-button
icon=
"md-menu"
>
{{$t('app.gridpage.choicecolumns')}}
</i-button>
<div
slot=
"content"
>
<template
v-for=
"col in allColumns"
>
<div
:key=
"col.name"
><el-checkbox
v-model=
"col.show"
@
change=
"onColChange()"
>
{{$t(col.langtag)}}
</el-checkbox></div>
</template>
</div>
</poptip>
</span>
<span
v-if=
"selections.length > 0"
class=
"batch-toolbar"
>
</span>
<span
class=
"page-button"
><i-button
icon=
"md-refresh"
:title=
"$t('app.gridpage.refresh')"
@
click=
"pageRefresh()"
></i-button></span>
<span>
{{$t('app.gridpage.show')}}
<span>
<template
v-if=
"items.length === 1"
>
1
</template>
<template
v-else
>
<span>
{{(curPage - 1) * limit + 1}}
-
{{totalRecord > curPage * limit ? curPage * limit : totalRecord}}
</span>
</template>
</span>
{{$t('app.gridpage.records')}},{{$t('app.gridpage.totle')}}
{{totalRecord}}
{{$t('app.gridpage.records')}}
</span>
</span>
</page>
</row>
</i-form>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrcontract/wait-sign-grid/wait-sign-grid.vue
0 → 100644
浏览文件 @
3c562804
<
template
src=
"./wait-sign-grid.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { WaitSignGridBase } from './wait-sign-grid-base';
/**
* grid部件
*
* @export
* @class WaitSignGrid
* @extends {WaitSignGridBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class WaitSignGrid extends WaitSignGridBase { }
</script>
app_PIM/src/widgets/hrcontract/wait-stop-grid/wait-stop-grid-base.tsx
0 → 100644
浏览文件 @
3c562804
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
GridControlBase
}
from
'@/studio-core'
;
import
HRContractService
from
'@/service/hrcontract/hrcontract-service'
;
import
WaitStopService
from
'./wait-stop-grid-service'
;
import
HRContractUIService
from
'@/uiservice/hrcontract/hrcontract-ui-service'
;
import
{
FormItemModel
}
from
'@/model/form-detail'
;
/**
* grid部件基类
*
* @export
* @class GridControlBase
* @extends {WaitStopGridBase}
*/
export
class
WaitStopGridBase
extends
GridControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof WaitStopGridBase
*/
protected
controlType
:
string
=
'GRID'
;
/**
* 建构部件服务对象
*
* @type {WaitStopService}
* @memberof WaitStopGridBase
*/
public
service
:
WaitStopService
=
new
WaitStopService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {HRContractService}
* @memberof WaitStopGridBase
*/
public
appEntityService
:
HRContractService
=
new
HRContractService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof WaitStopGridBase
*/
protected
appDeName
:
string
=
'hrcontract'
;
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof WaitStopGridBase
*/
protected
appDeLogicName
:
string
=
'合同信息'
;
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
grid_uagridcolumn1_u8163855_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
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
HRContractUIService
=
new
HRContractUIService
();
curUIService
.
HRContract_Stop
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"HRContract"
);
}
/**
* 界面UI服务对象
*
* @type {HRContractUIService}
* @memberof WaitStopBase
*/
public
appUIService
:
HRContractUIService
=
new
HRContractUIService
(
this
.
$store
);
/**
* 界面行为模型
*
* @type {*}
* @memberof WaitStopBase
*/
public
ActionModel
:
any
=
{
Stop
:
{
name
:
'Stop'
,
disabled
:
false
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
target
:
'SINGLEKEY'
}
};
/**
* 本地缓存标识
*
* @protected
* @type {string}
* @memberof WaitStopBase
*/
protected
localStorageTag
:
string
=
'hrcontract_waitstop_grid'
;
/**
* 所有列成员
*
* @type {any[]}
* @memberof WaitStopGridBase
*/
public
allColumns
:
any
[]
=
[
{
name
:
'contractcode'
,
label
:
'合同编号'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.contractcode'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contractmode'
,
label
:
'合同类别'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.contractmode'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contracttype'
,
label
:
'合同类型'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.contracttype'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'begintime'
,
label
:
'开始日期'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.begintime'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'endtime'
,
label
:
'结束日期'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.endtime'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'mgrorganizationname'
,
label
:
'合同管理单位'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.mgrorganizationname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'signorganizationname'
,
label
:
'合同签约单位'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.signorganizationname'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'contractstate'
,
label
:
'合同状态'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.contractstate'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
name
:
'uagridcolumn1'
,
label
:
'操作'
,
langtag
:
'entities.hrcontract.waitstop_grid.columns.uagridcolumn1'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
]
/**
* 获取表格行模型
*
* @type {*}
* @memberof WaitStopGridBase
*/
public
getGridRowModel
(){
return
{
srfkey
:
new
FormItemModel
(),
}
}
/**
* 属性值规则
*
* @type {*}
* @memberof WaitStopGridBase
*/
public
rules
:
any
=
{
srfkey
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'合同信息标识 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'合同信息标识 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
* 获取对应列class
*
* @type {*}
* @memberof WaitStopBase
*/
public
hasRowEdit
:
any
=
{
'contractcode'
:
false
,
'contractmode'
:
false
,
'contracttype'
:
false
,
'begintime'
:
false
,
'endtime'
:
false
,
'mgrorganizationname'
:
false
,
'signorganizationname'
:
false
,
'contractstate'
:
false
,
'uagridcolumn1'
:
false
,
};
/**
* 获取对应列class
*
* @param {*} $args row 行数据,column 列数据,rowIndex 行索引,列索引
* @returns {void}
* @memberof WaitStopBase
*/
public
getCellClassName
(
args
:
{
row
:
any
,
column
:
any
,
rowIndex
:
number
,
columnIndex
:
number
}):
any
{
return
(
this
.
hasRowEdit
[
args
.
column
.
property
]
&&
this
.
actualIsOpenEdit
)
?
"edit-cell"
:
"info-cell"
;
}
/**
* 导出数据格式化
*
* @param {*} filterVal
* @param {*} jsonData
* @param {any[]} [codelistColumns=[]]
* @returns {Promise<any>}
* @memberof WaitStopGridBase
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'contractmode'
,
srfkey
:
'CL_HR_0021'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'contracttype'
,
srfkey
:
'CL_HR_0022'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
{
name
:
'contractstate'
,
srfkey
:
'CL_HR_0019'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
]);
}
/**
* 界面行为
*
* @param {*} row
* @param {*} tag
* @param {*} $event
* @memberof WaitStopGridBase
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
):
void
{
$event
.
stopPropagation
();
if
(
Object
.
is
(
'Stop'
,
tag
))
{
this
.
grid_uagridcolumn1_u8163855_click
(
row
,
tag
,
$event
);
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/wait-stop-grid/wait-stop-grid-model.ts
0 → 100644
浏览文件 @
3c562804
/**
* WaitStop 部件模型
*
* @export
* @class WaitStopModel
*/
export
default
class
WaitStopModel
{
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof WaitStopGridMode
*/
public
isDEExport
:
boolean
=
false
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof WaitStopGridMode
*/
public
getDataItems
():
any
[]
{
if
(
this
.
isDEExport
){
return
[
]
}
else
{
return
[
{
name
:
'endtime'
,
prop
:
'endtime'
,
dataType
:
'DATE'
,
},
{
name
:
'mgrorganizationname'
,
prop
:
'mgrorganizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'contractcode'
,
prop
:
'contractcode'
,
dataType
:
'TEXT'
,
},
{
name
:
'begintime'
,
prop
:
'begintime'
,
dataType
:
'DATE'
,
},
{
name
:
'mgrorganizationid'
,
prop
:
'mgrorganizationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'srfmajortext'
,
prop
:
'hrcontractname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfkey'
,
prop
:
'hrcontractid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'srfdataaccaction'
,
prop
:
'hrcontractid'
,
dataType
:
'GUID'
,
},
{
name
:
'signorganizationid'
,
prop
:
'signorganizationid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'hremployeeid'
,
prop
:
'hremployeeid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'contracttype'
,
prop
:
'contracttype'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'contractstate'
,
prop
:
'contractstate'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'signorganizationname'
,
prop
:
'signorganizationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'contractmode'
,
prop
:
'contractmode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'hrcontract'
,
prop
:
'hrcontractid'
,
},
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'filter'
,
prop
:
'filter'
},
{
name
:
'page'
,
prop
:
'page'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'srfparentdata'
,
prop
:
'srfparentdata'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/wait-stop-grid/wait-stop-grid-service.ts
0 → 100644
浏览文件 @
3c562804
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
HRContractService
from
'@/service/hrcontract/hrcontract-service'
;
import
WaitStopModel
from
'./wait-stop-grid-model'
;
/**
* WaitStop 部件服务对象
*
* @export
* @class WaitStopService
*/
export
default
class
WaitStopService
extends
ControlService
{
/**
* 合同信息服务对象
*
* @type {HRContractService}
* @memberof WaitStopService
*/
public
appEntityService
:
HRContractService
=
new
HRContractService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof WaitStopService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of WaitStopService.
*
* @param {*} [opts={}]
* @memberof WaitStopService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
WaitStopModel
();
}
/**
* 处理数据
*
* @public
* @param {Promise<any>} promise
* @returns {Promise<any>}
* @memberof WaitStopService
*/
public
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 WaitStopService
*/
@
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]
* @returns {Promise<any>}
* @memberof WaitStopService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestDataWithUpdate
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WaitStopService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WaitStopService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestDataWithUpdate
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 获取数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WaitStopService
*/
@
Errorlog
public
get
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
)
=>
{
//处理返回数据,补充判断标识
if
(
response
.
data
){
Object
.
assign
(
response
.
data
,{
srfuf
:
0
});
}
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WaitStopService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
((
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 WaitStopService
*/
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
)
=>
{
//处理返回数据,补充判断标识
if
(
response
.
data
){
Object
.
assign
(
response
.
data
,{
srfuf
:
'0'
});
//仿真主键数据
response
.
data
.
hrcontractid
=
Util
.
createUUID
();
}
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 WaitStopService
*/
@
Errorlog
public
frontLogic
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
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
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
})
}
/**
* 处理请求数据(修改或增加数据)
*
* @param action 行为
* @param data 数据
* @memberof WaitStopService
*/
public
handleRequestDataWithUpdate
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isMerge
:
boolean
=
false
){
let
model
:
any
=
this
.
getMode
();
if
(
!
model
&&
model
.
getDataItems
instanceof
Function
)
{
return
data
;
}
let
dataItems
:
any
[]
=
model
.
getDataItems
();
let
requestData
:
any
=
{};
if
(
isMerge
&&
(
data
&&
data
.
viewparams
)){
Object
.
assign
(
requestData
,
data
.
viewparams
);
}
dataItems
.
forEach
((
item
:
any
)
=>
{
if
(
item
&&
item
.
dataType
&&
Object
.
is
(
item
.
dataType
,
'FONTKEY'
)){
if
(
item
&&
item
.
prop
&&
item
.
name
){
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
}
}
else
{
if
(
item
&&
item
.
isEditable
&&
item
.
prop
&&
item
.
name
&&
(
data
[
item
.
name
]
||
Object
.
is
(
data
[
item
.
name
],
0
))
){
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
};
}
}
\ No newline at end of file
app_PIM/src/widgets/hrcontract/wait-stop-grid/wait-stop-grid.html
0 → 100644
浏览文件 @
3c562804
<div
:class=
"{ 'grid': true, 'show-paging-bar': isEnablePagingBar, 'hidden-paging-bar': !isEnablePagingBar }"
>
<i-form>
<el-table
v-if=
"isDisplay === true"
:default-sort=
"{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"
@
sort-change=
"onSortChange($event)"
:border=
"isDragendCol"
:highlight-current-row =
"isSingleSelect"
:row-class-name=
"getRowClassName.bind(_self)"
:cell-class-name=
"getCellClassName.bind(_self)"
size=
"mini"
stripe
@
row-click=
"rowClick($event)"
@
select-all=
"selectAll($event)"
@
select=
"select($event)"
@
row-class-name=
"onRowClassName($event)"
@
row-dblclick=
"rowDBLClick($event)"
ref=
'multipleTable'
:data=
"items"
:show-header=
"!isHideHeader"
>
<template
slot=
"empty"
>
无数据
<span
class=
"quick-toolbar"
>
</span>
</template>
<template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
<template
v-if=
"getColumnState('contractcode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractcode'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.contractcode')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitstop_grid.columns.contractcode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.contractcode}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contractmode')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractmode'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.contractmode')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitstop_grid.columns.contractmode')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contractmode"
tag=
'CL_HR_0021'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contracttype')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contracttype'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.contracttype')"
:width=
"150"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitstop_grid.columns.contracttype')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contracttype"
tag=
'CL_HR_0022'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('begintime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'begintime'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.begintime')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitstop_grid.columns.begintime')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.begintime"
></app-format-data>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('endtime')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'endtime'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.endtime')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitstop_grid.columns.endtime')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.endtime"
></app-format-data>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('mgrorganizationname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'mgrorganizationname'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.mgrorganizationname')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitstop_grid.columns.mgrorganizationname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.mgrorganizationname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('signorganizationname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'signorganizationname'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.signorganizationname')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitstop_grid.columns.signorganizationname')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.signorganizationname}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('contractstate')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'contractstate'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.contractstate')"
:width=
"120"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hrcontract.waitstop_grid.columns.contractstate')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.contractstate"
tag=
'CL_HR_0019'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('uagridcolumn1')"
>
<el-table-column
:column-key=
"'uagridcolumn1'"
:label=
"$t('entities.hrcontract.waitstop_grid.columns.uagridcolumn1')"
:width=
"100"
:align=
"'center'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
<i
class=
'fa fa-pencil'
></i>
{{$t('entities.hrcontract.waitstop_grid.columns.uagridcolumn1')}}
</span>
</template>
<template
slot-scope=
"scope"
>
<div
style=
"text-align: center;"
>
<a
v-show=
"scope.row.Stop.visabled"
:disabled=
"scope.row.Stop.disabled"
@
click=
"uiAction(scope.row, 'Stop', $event)"
:title=
"$t('entities.hrcontract.waitstop_grid.uiactions.hrcontract_stop')"
>
<i
class=
'fa fa-power-off'
></i>
{{$t('entities.hrcontract.waitstop_grid.uiactions.hrcontract_stop')}}
</a>
</div>
</template>
</el-table-column>
</template>
<template
v-if=
"adaptiveState"
>
<el-table-column></el-table-column>
</template>
</el-table>
<row
class=
'grid-pagination'
v-show=
"items.length > 0"
>
<page
class=
'pull-right'
@
on-change=
"pageOnChange($event)"
@
on-page-size-change=
"onPageSizeChange($event)"
:transfer=
"true"
:total=
"totalRecord"
show-sizer
:current=
"curPage"
:page-size=
"limit"
:page-size-opts=
"[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]"
show-elevator
show-total
>
<span>
<span
class=
"page-column"
>
<poptip
transfer
placement=
"top-start"
>
<i-button
icon=
"md-menu"
>
{{$t('app.gridpage.choicecolumns')}}
</i-button>
<div
slot=
"content"
>
<template
v-for=
"col in allColumns"
>
<div
:key=
"col.name"
><el-checkbox
v-model=
"col.show"
@
change=
"onColChange()"
>
{{$t(col.langtag)}}
</el-checkbox></div>
</template>
</div>
</poptip>
</span>
<span
v-if=
"selections.length > 0"
class=
"batch-toolbar"
>
</span>
<span
class=
"page-button"
><i-button
icon=
"md-refresh"
:title=
"$t('app.gridpage.refresh')"
@
click=
"pageRefresh()"
></i-button></span>
<span>
{{$t('app.gridpage.show')}}
<span>
<template
v-if=
"items.length === 1"
>
1
</template>
<template
v-else
>
<span>
{{(curPage - 1) * limit + 1}}
-
{{totalRecord > curPage * limit ? curPage * limit : totalRecord}}
</span>
</template>
</span>
{{$t('app.gridpage.records')}},{{$t('app.gridpage.totle')}}
{{totalRecord}}
{{$t('app.gridpage.records')}}
</span>
</span>
</page>
</row>
</i-form>
</div>
\ No newline at end of file
app_PIM/src/widgets/hrcontract/wait-stop-grid/wait-stop-grid.vue
0 → 100644
浏览文件 @
3c562804
<
template
src=
"./wait-stop-grid.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { WaitStopGridBase } from './wait-stop-grid-base';
/**
* grid部件
*
* @export
* @class WaitStopGrid
* @extends {WaitStopGridBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class WaitStopGrid extends WaitStopGridBase { }
</script>
config.xml
浏览文件 @
3c562804
...
...
@@ -37,11 +37,11 @@
git clone -b master $para2 ibizhumanresources/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizhumanresources/
mvn clean package -P
hrapi
cd humanresource-
provider/humanresource-provider-hrapi
mvn -P
hrapi
docker:build
mvn -P
hrapi
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-
provider-hrapi.yaml iBizEE --with-registry-auth
mvn clean package -P
pim
cd humanresource-
app/humanresource-app-pim
mvn -P
pim
docker:build
mvn -P
pim
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-
app-pim.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
humanresource-app/humanresource-app-pim/src/main/docker/Dockerfile
浏览文件 @
3c562804
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-app-pim.jar
EXPOSE
8080
EXPOSE
10327
ADD
humanresource-app-pim.jar /humanresource-app-pim.jar
humanresource-app/humanresource-app-pim/src/main/docker/humanresource-app-pim.yaml
浏览文件 @
3c562804
...
...
@@ -3,9 +3,25 @@ services:
humanresource-app-pim
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-app-pim:latest
ports
:
-
"
8080:8080
"
-
"
10327:10327
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=10327
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
-
SPRING_DATASOURCE_PASSWORD=b1@@@772
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
resources
:
limits
:
...
...
humanresource-provider/humanresource-provider-hrapi/src/main/docker/Dockerfile
浏览文件 @
3c562804
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-provider-hrapi.jar
EXPOSE
10317
EXPOSE
8081
ADD
humanresource-provider-hrapi.jar /humanresource-provider-hrapi.jar
humanresource-provider/humanresource-provider-hrapi/src/main/docker/humanresource-provider-hrapi.yaml
浏览文件 @
3c562804
...
...
@@ -3,25 +3,9 @@ services:
humanresource-provider-hrapi
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-provider-hrapi:latest
ports
:
-
"
10317:10317
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=10317
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
-
SPRING_DATASOURCE_PASSWORD=b1@@@772
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
resources
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录