Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz商业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz商业套件
iBiz商业中心
提交
052221cf
提交
052221cf
编写于
11月 05, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码 [Spring Boot,员工]
上级
9aa306d8
变更
14
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
229 行增加
和
127 行删除
+229
-127
view-config.json
app_HR/public/assets/json/view-config.json
+1
-1
hr-contract_en_US.ts
...c/locale/lanres/entities/hr-contract/hr-contract_en_US.ts
+1
-1
hr-contract_zh_CN.ts
...c/locale/lanres/entities/hr-contract/hr-contract_zh_CN.ts
+1
-1
hr-employee_en_US.ts
...c/locale/lanres/entities/hr-employee/hr-employee_en_US.ts
+57
-57
hr-employee_zh_CN.ts
...c/locale/lanres/entities/hr-employee/hr-employee_zh_CN.ts
+57
-57
viewconfig.ts
app_HR/src/mock/viewconfig/viewconfig.ts
+1
-1
hr-contract-grid-view-base.tsx
...o-hr/hr-contract-grid-view/hr-contract-grid-view-base.tsx
+1
-1
hr-contract-grid-view.html
.../odoo-hr/hr-contract-grid-view/hr-contract-grid-view.html
+1
-4
hr-contract-grid-view.vue
...s/odoo-hr/hr-contract-grid-view/hr-contract-grid-view.vue
+1
-1
page-register.ts
app_HR/src/pages/odoo-hr/hrindex-view/page-register.ts
+4
-1
router.ts
app_HR/src/pages/odoo-hr/hrindex-view/router.ts
+72
-0
state.ts
app_HR/src/store/modules/view-action/state.ts
+30
-0
master-summary-portlet-base.tsx
...ee/master-summary-portlet/master-summary-portlet-base.tsx
+1
-1
master-summary-portlet.html
...ployee/master-summary-portlet/master-summary-portlet.html
+1
-1
未找到文件。
app_HR/public/assets/json/view-config.json
浏览文件 @
052221cf
...
@@ -720,7 +720,7 @@
...
@@ -720,7 +720,7 @@
"memo"
:
"系统自动添加"
"memo"
:
"系统自动添加"
},
},
"hr_contractgridview"
:
{
"hr_contractgridview"
:
{
"title"
:
"
Contract
表格视图"
,
"title"
:
"
合同
表格视图"
,
"caption"
:
"合同"
,
"caption"
:
"合同"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"odoo_hr"
,
"viewmodule"
:
"odoo_hr"
,
...
...
app_HR/src/locale/lanres/entities/hr-contract/hr-contract_en_US.ts
浏览文件 @
052221cf
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
},
},
gridview
:
{
gridview
:
{
caption
:
"合同"
,
caption
:
"合同"
,
title
:
"
Contract
表格视图"
,
title
:
"
合同
表格视图"
,
},
},
basiceditview
:
{
basiceditview
:
{
caption
:
"合同"
,
caption
:
"合同"
,
...
...
app_HR/src/locale/lanres/entities/hr-contract/hr-contract_zh_CN.ts
浏览文件 @
052221cf
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
},
},
gridview
:
{
gridview
:
{
caption
:
"合同"
,
caption
:
"合同"
,
title
:
"
Contract
表格视图"
,
title
:
"
合同
表格视图"
,
},
},
basiceditview
:
{
basiceditview
:
{
caption
:
"合同"
,
caption
:
"合同"
,
...
...
app_HR/src/locale/lanres/entities/hr-employee/hr-employee_en_US.ts
浏览文件 @
052221cf
...
@@ -161,58 +161,13 @@ export default {
...
@@ -161,58 +161,13 @@ export default {
title
:
"快速新建"
,
title
:
"快速新建"
,
},
},
},
},
ef_master_form
:
{
if_master_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"最后更新时间"
,
srforikey
:
""
,
srfkey
:
"ID"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
id
:
"ID"
,
},
uiactions
:
{
},
},
ef_masterquick_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"最后更新时间"
,
srforikey
:
""
,
srfkey
:
"ID"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
name
:
"名称"
,
job_id
:
"工作岗位"
,
job_id_text
:
"工作岗位"
,
mobile_phone
:
"办公手机"
,
work_phone
:
"办公电话"
,
work_email
:
"工作EMail"
,
work_location
:
"工作地点"
,
company_id
:
"公司"
,
company_id_text
:
"公司"
,
department_id
:
"部门"
,
department_id_text
:
"部门"
,
parent_id
:
"经理"
,
parent_id_text
:
"经理"
,
id
:
"ID"
,
resource_id
:
"资源"
,
},
uiactions
:
{
},
},
personalinfo_form
:
{
details
:
{
details
:
{
grouppanel10
:
"分组面板"
,
grouppanel10
:
"分组面板"
,
group1
:
"基本信息"
,
druipart1
:
""
,
grouppanel12
:
"简历"
,
grouppanel16
:
"技能"
,
grouppanel8
:
"分组面板"
,
grouppanel1
:
"位置"
,
grouppanel1
:
"位置"
,
grouppanel2
:
"负责人"
,
grouppanel2
:
"负责人"
,
grouppanel13
:
"工作信息"
,
grouppanel13
:
"工作信息"
,
...
@@ -244,9 +199,9 @@ export default {
...
@@ -244,9 +199,9 @@ export default {
department_id_text
:
"部门"
,
department_id_text
:
"部门"
,
job_id_text
:
"工作岗位"
,
job_id_text
:
"工作岗位"
,
parent_id_text
:
"经理"
,
parent_id_text
:
"经理"
,
job_id
:
"工作岗位"
,
company_id
:
"公司"
,
company_id
:
"公司"
,
department_id
:
"部门"
,
department_id
:
"部门"
,
job_id
:
"工作岗位"
,
parent_id
:
"经理"
,
parent_id
:
"经理"
,
address_id
:
"工作地址"
,
address_id
:
"工作地址"
,
address_id_text
:
"工作地址"
,
address_id_text
:
"工作地址"
,
...
@@ -284,13 +239,58 @@ export default {
...
@@ -284,13 +239,58 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
if_master_form
:
{
ef_master_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"最后更新时间"
,
srforikey
:
""
,
srfkey
:
"ID"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
id
:
"ID"
,
},
uiactions
:
{
},
},
ef_masterquick_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"最后更新时间"
,
srforikey
:
""
,
srfkey
:
"ID"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
name
:
"名称"
,
job_id
:
"工作岗位"
,
job_id_text
:
"工作岗位"
,
mobile_phone
:
"办公手机"
,
work_phone
:
"办公电话"
,
work_email
:
"工作EMail"
,
work_location
:
"工作地点"
,
company_id
:
"公司"
,
company_id_text
:
"公司"
,
department_id
:
"部门"
,
department_id_text
:
"部门"
,
parent_id
:
"经理"
,
parent_id_text
:
"经理"
,
id
:
"ID"
,
resource_id
:
"资源"
,
},
uiactions
:
{
},
},
personalinfo_form
:
{
details
:
{
details
:
{
grouppanel10
:
"分组面板"
,
grouppanel10
:
"分组面板"
,
druipart1
:
""
,
group1
:
"基本信息"
,
grouppanel12
:
"简历"
,
grouppanel16
:
"技能"
,
grouppanel8
:
"分组面板"
,
grouppanel1
:
"位置"
,
grouppanel1
:
"位置"
,
grouppanel2
:
"负责人"
,
grouppanel2
:
"负责人"
,
grouppanel13
:
"工作信息"
,
grouppanel13
:
"工作信息"
,
...
@@ -322,9 +322,9 @@ export default {
...
@@ -322,9 +322,9 @@ export default {
department_id_text
:
"部门"
,
department_id_text
:
"部门"
,
job_id_text
:
"工作岗位"
,
job_id_text
:
"工作岗位"
,
parent_id_text
:
"经理"
,
parent_id_text
:
"经理"
,
job_id
:
"工作岗位"
,
company_id
:
"公司"
,
company_id
:
"公司"
,
department_id
:
"部门"
,
department_id
:
"部门"
,
job_id
:
"工作岗位"
,
parent_id
:
"经理"
,
parent_id
:
"经理"
,
address_id
:
"工作地址"
,
address_id
:
"工作地址"
,
address_id_text
:
"工作地址"
,
address_id_text
:
"工作地址"
,
...
...
app_HR/src/locale/lanres/entities/hr-employee/hr-employee_zh_CN.ts
浏览文件 @
052221cf
...
@@ -161,58 +161,13 @@ export default {
...
@@ -161,58 +161,13 @@ export default {
title
:
"快速新建"
,
title
:
"快速新建"
,
},
},
},
},
ef_master_form
:
{
if_master_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"最后更新时间"
,
srforikey
:
""
,
srfkey
:
"ID"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
id
:
"ID"
,
},
uiactions
:
{
},
},
ef_masterquick_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"最后更新时间"
,
srforikey
:
""
,
srfkey
:
"ID"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
name
:
"名称"
,
job_id
:
"工作岗位"
,
job_id_text
:
"工作岗位"
,
mobile_phone
:
"办公手机"
,
work_phone
:
"办公电话"
,
work_email
:
"工作EMail"
,
work_location
:
"工作地点"
,
company_id
:
"公司"
,
company_id_text
:
"公司"
,
department_id
:
"部门"
,
department_id_text
:
"部门"
,
parent_id
:
"经理"
,
parent_id_text
:
"经理"
,
id
:
"ID"
,
resource_id
:
"资源"
,
},
uiactions
:
{
},
},
personalinfo_form
:
{
details
:
{
details
:
{
grouppanel10
:
"分组面板"
,
grouppanel10
:
"分组面板"
,
group1
:
"基本信息"
,
druipart1
:
""
,
grouppanel12
:
"简历"
,
grouppanel16
:
"技能"
,
grouppanel8
:
"分组面板"
,
grouppanel1
:
"位置"
,
grouppanel1
:
"位置"
,
grouppanel2
:
"负责人"
,
grouppanel2
:
"负责人"
,
grouppanel13
:
"工作信息"
,
grouppanel13
:
"工作信息"
,
...
@@ -244,9 +199,9 @@ export default {
...
@@ -244,9 +199,9 @@ export default {
department_id_text
:
"部门"
,
department_id_text
:
"部门"
,
job_id_text
:
"工作岗位"
,
job_id_text
:
"工作岗位"
,
parent_id_text
:
"经理"
,
parent_id_text
:
"经理"
,
job_id
:
"工作岗位"
,
company_id
:
"公司"
,
company_id
:
"公司"
,
department_id
:
"部门"
,
department_id
:
"部门"
,
job_id
:
"工作岗位"
,
parent_id
:
"经理"
,
parent_id
:
"经理"
,
address_id
:
"工作地址"
,
address_id
:
"工作地址"
,
address_id_text
:
"工作地址"
,
address_id_text
:
"工作地址"
,
...
@@ -284,13 +239,58 @@ export default {
...
@@ -284,13 +239,58 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
if_master_form
:
{
ef_master_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"最后更新时间"
,
srforikey
:
""
,
srfkey
:
"ID"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
id
:
"ID"
,
},
uiactions
:
{
},
},
ef_masterquick_form
:
{
details
:
{
group1
:
"基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"最后更新时间"
,
srforikey
:
""
,
srfkey
:
"ID"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
name
:
"名称"
,
job_id
:
"工作岗位"
,
job_id_text
:
"工作岗位"
,
mobile_phone
:
"办公手机"
,
work_phone
:
"办公电话"
,
work_email
:
"工作EMail"
,
work_location
:
"工作地点"
,
company_id
:
"公司"
,
company_id_text
:
"公司"
,
department_id
:
"部门"
,
department_id_text
:
"部门"
,
parent_id
:
"经理"
,
parent_id_text
:
"经理"
,
id
:
"ID"
,
resource_id
:
"资源"
,
},
uiactions
:
{
},
},
personalinfo_form
:
{
details
:
{
details
:
{
grouppanel10
:
"分组面板"
,
grouppanel10
:
"分组面板"
,
druipart1
:
""
,
group1
:
"基本信息"
,
grouppanel12
:
"简历"
,
grouppanel16
:
"技能"
,
grouppanel8
:
"分组面板"
,
grouppanel1
:
"位置"
,
grouppanel1
:
"位置"
,
grouppanel2
:
"负责人"
,
grouppanel2
:
"负责人"
,
grouppanel13
:
"工作信息"
,
grouppanel13
:
"工作信息"
,
...
@@ -322,9 +322,9 @@ export default {
...
@@ -322,9 +322,9 @@ export default {
department_id_text
:
"部门"
,
department_id_text
:
"部门"
,
job_id_text
:
"工作岗位"
,
job_id_text
:
"工作岗位"
,
parent_id_text
:
"经理"
,
parent_id_text
:
"经理"
,
job_id
:
"工作岗位"
,
company_id
:
"公司"
,
company_id
:
"公司"
,
department_id
:
"部门"
,
department_id
:
"部门"
,
job_id
:
"工作岗位"
,
parent_id
:
"经理"
,
parent_id
:
"经理"
,
address_id
:
"工作地址"
,
address_id
:
"工作地址"
,
address_id_text
:
"工作地址"
,
address_id_text
:
"工作地址"
,
...
...
app_HR/src/mock/viewconfig/viewconfig.ts
浏览文件 @
052221cf
...
@@ -584,7 +584,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -584,7 +584,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"c81bf4a79286794aba838b3e058622de"
"viewtag"
:
"c81bf4a79286794aba838b3e058622de"
},
},
"hr_contractgridview"
:
{
"hr_contractgridview"
:
{
"title"
:
"
Contract
表格视图"
,
"title"
:
"
合同
表格视图"
,
"caption"
:
"合同"
,
"caption"
:
"合同"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"odoo_hr"
,
"viewmodule"
:
"odoo_hr"
,
...
...
app_HR/src/pages/odoo-hr/hr-contract-grid-view/hr-contract-grid-view-base.tsx
浏览文件 @
052221cf
...
@@ -10,7 +10,7 @@ import CodeListService from "@service/app/codelist-service";
...
@@ -10,7 +10,7 @@ import CodeListService from "@service/app/codelist-service";
/**
/**
*
Contract
表格视图视图基类
*
合同
表格视图视图基类
*
*
* @export
* @export
* @class Hr_contractGridViewBase
* @class Hr_contractGridViewBase
...
...
app_HR/src/pages/odoo-hr/hr-contract-grid-view/hr-contract-grid-view.html
浏览文件 @
052221cf
<studio-view-style2
viewName=
"hr_contractgridview"
viewTitle=
"Contract表格视图"
class=
'degridview hr-contract-grid-view'
>
<studio-view-style2
viewName=
"hr_contractgridview"
viewTitle=
"合同表格视图"
class=
'degridview hr-contract-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{viewCaption}}
</span>
</template>
<i-input
slot=
'quickSearch'
clearable
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"合同参考"
search
@
on-search=
"onSearch($event)"
/>
<i-input
slot=
'quickSearch'
clearable
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"合同参考"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click.apply(_self, arguments)"
/>
...
...
app_HR/src/pages/odoo-hr/hr-contract-grid-view/hr-contract-grid-view.vue
浏览文件 @
052221cf
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/hr-contract/main-grid/main-grid.vue';
...
@@ -7,7 +7,7 @@ import view_grid from '@widgets/hr-contract/main-grid/main-grid.vue';
import view_searchform from '@widgets/hr-contract/default-searchform/default-searchform.vue';
import view_searchform from '@widgets/hr-contract/default-searchform/default-searchform.vue';
/**
/**
*
Contract
表格视图视图
*
合同
表格视图视图
*
*
* @export
* @export
* @class Hr_contractGridView
* @class Hr_contractGridView
...
...
app_HR/src/pages/odoo-hr/hrindex-view/page-register.ts
浏览文件 @
052221cf
export
const
PageComponents
=
{
export
const
PageComponents
=
{
install
(
Vue
:
any
,
opt
:
any
)
{
install
(
Vue
:
any
,
opt
:
any
)
{
Vue
.
component
(
'hr-department-pickup-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-department-pickup-view/hr-department-pickup-view.vue'
));
Vue
.
component
(
'hr-resume-line-line'
,
()
=>
import
(
'@pages/odoo-hr/hr-resume-line-line/hr-resume-line-line.vue'
));
Vue
.
component
(
'hr-department-pickup-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-department-pickup-view/hr-department-pickup-view.vue'
));
Vue
.
component
(
'maintenance-equipment-edit-view'
,
()
=>
import
(
'@pages/odoo-maintenance/maintenance-equipment-edit-view/maintenance-equipment-edit-view.vue'
));
Vue
.
component
(
'maintenance-equipment-edit-view'
,
()
=>
import
(
'@pages/odoo-maintenance/maintenance-equipment-edit-view/maintenance-equipment-edit-view.vue'
));
Vue
.
component
(
'hr-contract-basic-edit-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-contract-basic-edit-view/hr-contract-basic-edit-view.vue'
));
Vue
.
component
(
'hr-contract-basic-edit-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-contract-basic-edit-view/hr-contract-basic-edit-view.vue'
));
Vue
.
component
(
'mail-message-main-view'
,
()
=>
import
(
'@pages/odoo-mail/mail-message-main-view/mail-message-main-view.vue'
));
Vue
.
component
(
'mail-message-main-view'
,
()
=>
import
(
'@pages/odoo-mail/mail-message-main-view/mail-message-main-view.vue'
));
...
@@ -15,6 +16,7 @@ export const PageComponents = {
...
@@ -15,6 +16,7 @@ export const PageComponents = {
Vue
.
component
(
'hr-contract-basic-quick-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-contract-basic-quick-view/hr-contract-basic-quick-view.vue'
));
Vue
.
component
(
'hr-contract-basic-quick-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-contract-basic-quick-view/hr-contract-basic-quick-view.vue'
));
Vue
.
component
(
'hr-resume-line-type-edit-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-resume-line-type-edit-view/hr-resume-line-type-edit-view.vue'
));
Vue
.
component
(
'hr-resume-line-type-edit-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-resume-line-type-edit-view/hr-resume-line-type-edit-view.vue'
));
Vue
.
component
(
'mail-activity-by-res-list-view'
,
()
=>
import
(
'@pages/odoo-mail/mail-activity-by-res-list-view/mail-activity-by-res-list-view.vue'
));
Vue
.
component
(
'mail-activity-by-res-list-view'
,
()
=>
import
(
'@pages/odoo-mail/mail-activity-by-res-list-view/mail-activity-by-res-list-view.vue'
));
Vue
.
component
(
'hr-employee-master-info-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-employee-master-info-view/hr-employee-master-info-view.vue'
));
Vue
.
component
(
'hr-job-master-info-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-job-master-info-view/hr-job-master-info-view.vue'
));
Vue
.
component
(
'hr-job-master-info-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-job-master-info-view/hr-job-master-info-view.vue'
));
Vue
.
component
(
'hr-employee-pickup-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-employee-pickup-view/hr-employee-pickup-view.vue'
));
Vue
.
component
(
'hr-employee-pickup-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-employee-pickup-view/hr-employee-pickup-view.vue'
));
Vue
.
component
(
'res-partner-pickup-grid-view'
,
()
=>
import
(
'@pages/odoo-base/res-partner-pickup-grid-view/res-partner-pickup-grid-view.vue'
));
Vue
.
component
(
'res-partner-pickup-grid-view'
,
()
=>
import
(
'@pages/odoo-base/res-partner-pickup-grid-view/res-partner-pickup-grid-view.vue'
));
...
@@ -45,6 +47,7 @@ export const PageComponents = {
...
@@ -45,6 +47,7 @@ export const PageComponents = {
Vue
.
component
(
'hr-contract-grid-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-contract-grid-view/hr-contract-grid-view.vue'
));
Vue
.
component
(
'hr-contract-grid-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-contract-grid-view/hr-contract-grid-view.vue'
));
Vue
.
component
(
'resource-resource-pickup-view'
,
()
=>
import
(
'@pages/odoo-resource/resource-resource-pickup-view/resource-resource-pickup-view.vue'
));
Vue
.
component
(
'resource-resource-pickup-view'
,
()
=>
import
(
'@pages/odoo-resource/resource-resource-pickup-view/resource-resource-pickup-view.vue'
));
Vue
.
component
(
'ir-attachment-by-res-data-view'
,
()
=>
import
(
'@pages/odoo-ir/ir-attachment-by-res-data-view/ir-attachment-by-res-data-view.vue'
));
Vue
.
component
(
'ir-attachment-by-res-data-view'
,
()
=>
import
(
'@pages/odoo-ir/ir-attachment-by-res-data-view/ir-attachment-by-res-data-view.vue'
));
Vue
.
component
(
'hr-resume-line-edit-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-resume-line-edit-view/hr-resume-line-edit-view.vue'
));
Vue
.
component
(
'resource-resource-pickup-grid-view'
,
()
=>
import
(
'@pages/odoo-resource/resource-resource-pickup-grid-view/resource-resource-pickup-grid-view.vue'
));
Vue
.
component
(
'resource-resource-pickup-grid-view'
,
()
=>
import
(
'@pages/odoo-resource/resource-resource-pickup-grid-view/resource-resource-pickup-grid-view.vue'
));
Vue
.
component
(
'survey-survey-pickup-view'
,
()
=>
import
(
'@pages/odoo-survey/survey-survey-pickup-view/survey-survey-pickup-view.vue'
));
Vue
.
component
(
'survey-survey-pickup-view'
,
()
=>
import
(
'@pages/odoo-survey/survey-survey-pickup-view/survey-survey-pickup-view.vue'
));
Vue
.
component
(
'hr-department-master-quick-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-department-master-quick-view/hr-department-master-quick-view.vue'
));
Vue
.
component
(
'hr-department-master-quick-view'
,
()
=>
import
(
'@pages/odoo-hr/hr-department-master-quick-view/hr-department-master-quick-view.vue'
));
...
...
app_HR/src/pages/odoo-hr/hrindex-view/router.ts
浏览文件 @
052221cf
...
@@ -45,6 +45,35 @@ const router = new Router({
...
@@ -45,6 +45,35 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/odoo-hr/hrindex-view/hrindex-view.vue'
),
component
:
()
=>
import
(
'@pages/odoo-hr/hrindex-view/hrindex-view.vue'
),
children
:
[
children
:
[
{
path
:
'hr_employees/:hr_employee?/hr_resume_lines/:hr_resume_line?/line/:line?'
,
meta
:
{
caption
:
'entities.hr_resume_line.views.line.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'hrindexview'
,
parameterName
:
'hrindexview'
},
{
pathName
:
'hr_employees'
,
parameterName
:
'hr_employee'
},
{
pathName
:
'hr_resume_lines'
,
parameterName
:
'hr_resume_line'
},
{
pathName
:
'line'
,
parameterName
:
'line'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/odoo-hr/hr-resume-line-line/hr-resume-line-line.vue'
),
},
{
path
:
'hr_resume_lines/:hr_resume_line?/line/:line?'
,
meta
:
{
caption
:
'entities.hr_resume_line.views.line.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'hrindexview'
,
parameterName
:
'hrindexview'
},
{
pathName
:
'hr_resume_lines'
,
parameterName
:
'hr_resume_line'
},
{
pathName
:
'line'
,
parameterName
:
'line'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/odoo-hr/hr-resume-line-line/hr-resume-line-line.vue'
),
},
{
{
path
:
'hr_departments/:hr_department?/pickupview/:pickupview?'
,
path
:
'hr_departments/:hr_department?/pickupview/:pickupview?'
,
meta
:
{
meta
:
{
...
@@ -345,6 +374,20 @@ const router = new Router({
...
@@ -345,6 +374,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/odoo-mail/mail-activity-by-res-list-view/mail-activity-by-res-list-view.vue'
),
component
:
()
=>
import
(
'@pages/odoo-mail/mail-activity-by-res-list-view/mail-activity-by-res-list-view.vue'
),
},
},
{
path
:
'hr_employees/:hr_employee?/masterinfoview/:masterinfoview?'
,
meta
:
{
caption
:
'entities.hr_employee.views.masterinfoview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'hrindexview'
,
parameterName
:
'hrindexview'
},
{
pathName
:
'hr_employees'
,
parameterName
:
'hr_employee'
},
{
pathName
:
'masterinfoview'
,
parameterName
:
'masterinfoview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/odoo-hr/hr-employee-master-info-view/hr-employee-master-info-view.vue'
),
},
{
{
path
:
'hr_jobs/:hr_job?/masterinfoview/:masterinfoview?'
,
path
:
'hr_jobs/:hr_job?/masterinfoview/:masterinfoview?'
,
meta
:
{
meta
:
{
...
@@ -840,6 +883,35 @@ const router = new Router({
...
@@ -840,6 +883,35 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/odoo-ir/ir-attachment-by-res-data-view/ir-attachment-by-res-data-view.vue'
),
component
:
()
=>
import
(
'@pages/odoo-ir/ir-attachment-by-res-data-view/ir-attachment-by-res-data-view.vue'
),
},
},
{
path
:
'hr_employees/:hr_employee?/hr_resume_lines/:hr_resume_line?/editview/:editview?'
,
meta
:
{
caption
:
'entities.hr_resume_line.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'hrindexview'
,
parameterName
:
'hrindexview'
},
{
pathName
:
'hr_employees'
,
parameterName
:
'hr_employee'
},
{
pathName
:
'hr_resume_lines'
,
parameterName
:
'hr_resume_line'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/odoo-hr/hr-resume-line-edit-view/hr-resume-line-edit-view.vue'
),
},
{
path
:
'hr_resume_lines/:hr_resume_line?/editview/:editview?'
,
meta
:
{
caption
:
'entities.hr_resume_line.views.editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'hrindexview'
,
parameterName
:
'hrindexview'
},
{
pathName
:
'hr_resume_lines'
,
parameterName
:
'hr_resume_line'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/odoo-hr/hr-resume-line-edit-view/hr-resume-line-edit-view.vue'
),
},
{
{
path
:
'resource_resources/:resource_resource?/pickupgridview/:pickupgridview?'
,
path
:
'resource_resources/:resource_resource?/pickupgridview/:pickupgridview?'
,
meta
:
{
meta
:
{
...
...
app_HR/src/store/modules/view-action/state.ts
浏览文件 @
052221cf
...
@@ -189,6 +189,7 @@ export const viewstate: any = {
...
@@ -189,6 +189,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewaction
:
''
,
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'f3651c83b6944418c948f91616a23eb9'
,
'b0816566792fd556e775203e4dfa964b'
,
'b0816566792fd556e775203e4dfa964b'
,
],
],
},
},
...
@@ -321,6 +322,16 @@ export const viewstate: any = {
...
@@ -321,6 +322,16 @@ export const viewstate: any = {
'e62157d555e4d41070c10edf4b8843d4'
,
'e62157d555e4d41070c10edf4b8843d4'
,
],
],
},
},
{
viewtag
:
'6f8e0737003d72cf20baef50ee849c73'
,
viewmodule
:
'odoo_hr'
,
viewname
:
'hr_resume_lineLine'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'a09d5ebab0b5cec0ed2117814b6e34dc'
,
],
},
{
{
viewtag
:
'765a695b889be2aa0520261276422fb9'
,
viewtag
:
'765a695b889be2aa0520261276422fb9'
,
viewmodule
:
'odoo_hr'
,
viewmodule
:
'odoo_hr'
,
...
@@ -429,6 +440,15 @@ export const viewstate: any = {
...
@@ -429,6 +440,15 @@ export const viewstate: any = {
'40d3ef7b5f091b9a38d760e4f7e6fd88'
,
'40d3ef7b5f091b9a38d760e4f7e6fd88'
,
],
],
},
},
{
viewtag
:
'a09d5ebab0b5cec0ed2117814b6e34dc'
,
viewmodule
:
'odoo_hr'
,
viewname
:
'hr_resume_lineEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
{
viewtag
:
'a149ddfe684227db8e5a34d8516ac6c2'
,
viewtag
:
'a149ddfe684227db8e5a34d8516ac6c2'
,
viewmodule
:
'odoo_hr'
,
viewmodule
:
'odoo_hr'
,
...
@@ -631,6 +651,16 @@ export const viewstate: any = {
...
@@ -631,6 +651,16 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
],
],
},
},
{
viewtag
:
'f3651c83b6944418c948f91616a23eb9'
,
viewmodule
:
'odoo_hr'
,
viewname
:
'hr_employeeMasterInfoView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'6f8e0737003d72cf20baef50ee849c73'
,
],
},
{
{
viewtag
:
'f4d97651e0ab8e42ede8190daba9658a'
,
viewtag
:
'f4d97651e0ab8e42ede8190daba9658a'
,
viewmodule
:
'odoo_hr'
,
viewmodule
:
'odoo_hr'
,
...
...
app_HR/src/widgets/hr-employee/master-summary-portlet/master-summary-portlet-base.tsx
浏览文件 @
052221cf
...
@@ -225,7 +225,7 @@ export class MasterSummaryPortletBase extends MainControlBase {
...
@@ -225,7 +225,7 @@ export class MasterSummaryPortletBase extends MainControlBase {
* @memberof MasterSummaryBase
* @memberof MasterSummaryBase
*/
*/
public
refresh
(
args
?:
any
)
{
public
refresh
(
args
?:
any
)
{
this
.
viewState
.
next
({
tag
:
'hr_employeeMaster
Summary
View'
,
action
:
'refresh'
,
data
:
args
});
this
.
viewState
.
next
({
tag
:
'hr_employeeMaster
Info
View'
,
action
:
'refresh'
,
data
:
args
});
}
}
}
}
app_HR/src/widgets/hr-employee/master-summary-portlet/master-summary-portlet.html
浏览文件 @
052221cf
<div
class=
'portlet master-summary '
:style=
"{}"
>
<div
class=
'portlet master-summary '
:style=
"{}"
>
<div
class=
"portlet-without-title"
>
<div
class=
"portlet-without-title"
>
<hr-employee-master-
summary-view
:portletState=
"viewState"
:viewUsage=
"4"
:viewdata=
"JSON.stringify(context)"
:viewDefaultUsage=
"false"
></hr-employee-master-summary
-view>
<hr-employee-master-
info-view
:portletState=
"viewState"
:viewUsage=
"4"
:viewdata=
"JSON.stringify(context)"
:viewDefaultUsage=
"false"
></hr-employee-master-info
-view>
</div>
</div>
</div>
</div>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录