提交 93595580 编写于 作者: ibizdev's avatar ibizdev

jackwang 部署微服务应用

上级 88133ece
......@@ -209,6 +209,16 @@
"viewtag": "53de2c13a619e20769cdc9dbfa10e1a5",
"memo": "系统自动添加"
},
"hrpostv_004": {
"title": "职位编辑视图",
"caption": "职位",
"viewtype": "DEEDITVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostV_004",
"viewfilename": "hrpost-v-004",
"viewtag": "5efdfaf722e7585dfd685922b16f7f88",
"memo": ""
},
"hrdutyeditview": {
"title": "职务编辑视图",
"caption": "职务",
......@@ -219,6 +229,36 @@
"viewtag": "62468a4082892d924fe855427a8cd0cb",
"memo": "系统自动添加"
},
"hrdistributiongridview": {
"title": "工作人员分配表格视图",
"caption": "工作人员分配",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRDistributionGridView",
"viewfilename": "hrdistribution-grid-view",
"viewtag": "6395cba44e6d6151f19e543b55d88845",
"memo": "系统自动添加"
},
"hrpostrelgridview": {
"title": "职位关系表格视图",
"caption": "职位关系",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostRelGridView",
"viewfilename": "hrpost-rel-grid-view",
"viewtag": "696bc6afaa29aebaa40d4710aa3d7a57",
"memo": ""
},
"hrpostreleditview": {
"title": "职位关系编辑视图",
"caption": "职位关系",
"viewtype": "DEEDITVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostRelEditView",
"viewfilename": "hrpost-rel-edit-view",
"viewtag": "6cf9411c3f3597947dfee8dad2968182",
"memo": "系统自动添加"
},
"hrorgcontactv_001": {
"title": "组织联系信息嵌入组织",
"caption": "组织联系信息嵌入组织",
......@@ -299,6 +339,16 @@
"viewtag": "9559258a9c3ac118e15ead941b780682",
"memo": ""
},
"hrdistributioneditview": {
"title": "工作人员分配编辑视图",
"caption": "工作人员分配",
"viewtype": "DEEDITVIEW",
"viewmodule": "HumanResource",
"viewname": "HRDistributionEditView",
"viewfilename": "hrdistribution-edit-view",
"viewtag": "9e5d3f17ad97fd735b8abc637018301d",
"memo": "系统自动添加"
},
"hromhierarchycateditview": {
"title": "结构层次类别编辑视图",
"caption": "结构层次类别",
......@@ -389,6 +439,16 @@
"viewtag": "bf8512a46ea22c59413ae598a88eda3a",
"memo": ""
},
"hrpostv_005": {
"title": "职位快速新建",
"caption": "快速新建",
"viewtype": "DEOPTVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostV_005",
"viewfilename": "hrpost-v-005",
"viewtag": "c1a754fe9d4ff67c56d0bb4b6ae949be",
"memo": ""
},
"hromhierarchycatdashboardview": {
"title": "结构层次类别看板",
"caption": "结构层次",
......@@ -399,6 +459,16 @@
"viewtag": "c62ff001669cca98c0a2a7bc3383c775",
"memo": ""
},
"hrpostv_006": {
"title": "职位信息",
"caption": "职位信息",
"viewtype": "DETABEXPVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostV_006",
"viewfilename": "hrpost-v-006",
"viewtag": "d2137112227c4243e95ffe9ef7eaafab",
"memo": ""
},
"hroperationunitv_001": {
"title": "快速新建",
"caption": "快速新建",
......@@ -469,6 +539,16 @@
"viewtag": "ebcbf493e0a574cf170412456645a3a7",
"memo": "系统自动添加"
},
"hrpostdashboardview": {
"title": "职位看板",
"caption": "职位看板",
"viewtype": "DEPORTALVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostDashboardView",
"viewfilename": "hrpost-dashboard-view",
"viewtag": "f03c9544f1a1107bb34a97542dde1a3e",
"memo": ""
},
"hrlegaltabexpview": {
"title": "法人信息",
"caption": "法人信息",
......
......@@ -47,10 +47,12 @@ export class AuthServiceRegister {
this.allAuthService.set('hrlegal', () => import('@/authservice/hrlegal/hrlegal-auth-service'));
this.allAuthService.set('hromhierarchypurpose', () => import('@/authservice/hromhierarchypurpose/hromhierarchypurpose-auth-service'));
this.allAuthService.set('hromhierarchy', () => import('@/authservice/hromhierarchy/hromhierarchy-auth-service'));
this.allAuthService.set('hrdistribution', () => import('@/authservice/hrdistribution/hrdistribution-auth-service'));
this.allAuthService.set('hrorgaddress', () => import('@/authservice/hrorg-address/hrorg-address-auth-service'));
this.allAuthService.set('hrpost', () => import('@/authservice/hrpost/hrpost-auth-service'));
this.allAuthService.set('hrorganization', () => import('@/authservice/hrorganization/hrorganization-auth-service'));
this.allAuthService.set('hrduty', () => import('@/authservice/hrduty/hrduty-auth-service'));
this.allAuthService.set('hrpostrel', () => import('@/authservice/hrpost-rel/hrpost-rel-auth-service'));
}
/**
......
import AuthService from '../auth-service';
/**
* 工作人员分配权限服务对象基类
*
* @export
* @class HRDistributionAuthServiceBase
* @extends {AuthService}
*/
export default class HRDistributionAuthServiceBase extends AuthService {
/**
* Creates an instance of HRDistributionAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof HRDistributionAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof HRDistributionAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = JSON.parse(JSON.stringify(this.defaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import HRDistributionAuthServiceBase from './hrdistribution-auth-service-base';
/**
* 工作人员分配权限服务对象
*
* @export
* @class HRDistributionAuthService
* @extends {HRDistributionAuthServiceBase}
*/
export default class HRDistributionAuthService extends HRDistributionAuthServiceBase {
/**
* Creates an instance of HRDistributionAuthService.
*
* @param {*} [opts={}]
* @memberof HRDistributionAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 职位关系权限服务对象基类
*
* @export
* @class HRPostRelAuthServiceBase
* @extends {AuthService}
*/
export default class HRPostRelAuthServiceBase extends AuthService {
/**
* Creates an instance of HRPostRelAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof HRPostRelAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof HRPostRelAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = JSON.parse(JSON.stringify(this.defaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import HRPostRelAuthServiceBase from './hrpost-rel-auth-service-base';
/**
* 职位关系权限服务对象
*
* @export
* @class HRPostRelAuthService
* @extends {HRPostRelAuthServiceBase}
*/
export default class HRPostRelAuthService extends HRPostRelAuthServiceBase {
/**
* Creates an instance of HRPostRelAuthService.
*
* @param {*} [opts={}]
* @memberof HRPostRelAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
/**
* 工作人员分配
*
* @export
* @interface HRDistribution
*/
export interface HRDistribution {
/**
* 更新人
*
* @returns {*}
* @memberof HRDistribution
*/
updateman?: any;
/**
* 工作人员分配名称
*
* @returns {*}
* @memberof HRDistribution
*/
hrdistributionname?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof HRDistribution
*/
createdate?: any;
/**
* 工作人员分配标识
*
* @returns {*}
* @memberof HRDistribution
*/
hrdistributionid?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof HRDistribution
*/
updatedate?: any;
/**
* 建立人
*
* @returns {*}
* @memberof HRDistribution
*/
createman?: any;
/**
* 员工标识
*
* @returns {*}
* @memberof HRDistribution
*/
hremployeeid?: any;
/**
* 员工姓名
*
* @returns {*}
* @memberof HRDistribution
*/
hremployeename?: any;
/**
* 入职时间
*
* @returns {*}
* @memberof HRDistribution
*/
begintime?: any;
/**
* 离职时间
*
* @returns {*}
* @memberof HRDistribution
*/
endtime?: any;
/**
* 职位标识
*
* @returns {*}
* @memberof HRDistribution
*/
hrpostid?: any;
/**
* 职位
*
* @returns {*}
* @memberof HRDistribution
*/
hrpostname?: any;
}
\ No newline at end of file
......@@ -7,7 +7,7 @@
export interface HREmployee {
/**
* 员工名称
* 员工姓名
*
* @returns {*}
* @memberof HREmployee
......
/**
* 职位关系
*
* @export
* @interface HRPostRel
*/
export interface HRPostRel {
/**
* 建立人
*
* @returns {*}
* @memberof HRPostRel
*/
createman?: any;
/**
* 职位关系名称
*
* @returns {*}
* @memberof HRPostRel
*/
hrpostrelname?: any;
/**
* 职位关系标识
*
* @returns {*}
* @memberof HRPostRel
*/
hrpostrelid?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof HRPostRel
*/
createdate?: any;
/**
* 更新人
*
* @returns {*}
* @memberof HRPostRel
*/
updateman?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof HRPostRel
*/
updatedate?: any;
/**
* 职位标识
*
* @returns {*}
* @memberof HRPostRel
*/
hrpostid?: any;
/**
* 职位
*
* @returns {*}
* @memberof HRPostRel
*/
hrpostname?: any;
/**
* 职位标识
*
* @returns {*}
* @memberof HRPostRel
*/
phrpostid?: any;
/**
* 职位
*
* @returns {*}
* @memberof HRPostRel
*/
phrpostname?: any;
/**
* 生效
*
* @returns {*}
* @memberof HRPostRel
*/
begintime?: any;
/**
* 到期
*
* @returns {*}
* @memberof HRPostRel
*/
endtime?: any;
}
\ No newline at end of file
......@@ -117,4 +117,12 @@ export interface HRPost {
* @memberof HRPost
*/
entrytime?: any;
/**
* 编制人数
*
* @returns {*}
* @memberof HRPost
*/
postnum?: any;
}
\ No newline at end of file
......@@ -6,10 +6,12 @@ import hremployee_en_US from '@locale/lanres/entities/hremployee/hremployee_en_U
import hrlegal_en_US from '@locale/lanres/entities/hrlegal/hrlegal_en_US';
import hromhierarchypurpose_en_US from '@locale/lanres/entities/hromhierarchypurpose/hromhierarchypurpose_en_US';
import hromhierarchy_en_US from '@locale/lanres/entities/hromhierarchy/hromhierarchy_en_US';
import hrdistribution_en_US from '@locale/lanres/entities/hrdistribution/hrdistribution_en_US';
import hrorgaddress_en_US from '@locale/lanres/entities/hrorg-address/hrorg-address_en_US';
import hrpost_en_US from '@locale/lanres/entities/hrpost/hrpost_en_US';
import hrorganization_en_US from '@locale/lanres/entities/hrorganization/hrorganization_en_US';
import hrduty_en_US from '@locale/lanres/entities/hrduty/hrduty_en_US';
import hrpostrel_en_US from '@locale/lanres/entities/hrpost-rel/hrpost-rel_en_US';
import components_en_US from '@locale/lanres/components/components_en_US';
import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US';
......@@ -257,10 +259,12 @@ export default {
hrlegal: hrlegal_en_US,
hromhierarchypurpose: hromhierarchypurpose_en_US,
hromhierarchy: hromhierarchy_en_US,
hrdistribution: hrdistribution_en_US,
hrorgaddress: hrorgaddress_en_US,
hrpost: hrpost_en_US,
hrorganization: hrorganization_en_US,
hrduty: hrduty_en_US,
hrpostrel: hrpostrel_en_US,
},
components: components_en_US,
codelist: codelist_en_US,
......
......@@ -6,10 +6,12 @@ import hremployee_zh_CN from '@locale/lanres/entities/hremployee/hremployee_zh_C
import hrlegal_zh_CN from '@locale/lanres/entities/hrlegal/hrlegal_zh_CN';
import hromhierarchypurpose_zh_CN from '@locale/lanres/entities/hromhierarchypurpose/hromhierarchypurpose_zh_CN';
import hromhierarchy_zh_CN from '@locale/lanres/entities/hromhierarchy/hromhierarchy_zh_CN';
import hrdistribution_zh_CN from '@locale/lanres/entities/hrdistribution/hrdistribution_zh_CN';
import hrorgaddress_zh_CN from '@locale/lanres/entities/hrorg-address/hrorg-address_zh_CN';
import hrpost_zh_CN from '@locale/lanres/entities/hrpost/hrpost_zh_CN';
import hrorganization_zh_CN from '@locale/lanres/entities/hrorganization/hrorganization_zh_CN';
import hrduty_zh_CN from '@locale/lanres/entities/hrduty/hrduty_zh_CN';
import hrpostrel_zh_CN from '@locale/lanres/entities/hrpost-rel/hrpost-rel_zh_CN';
import components_zh_CN from '@locale/lanres/components/components_zh_CN';
import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
import userCustom_zh_CN from '@locale/lanres/userCustom/userCustom_zh_CN';
......@@ -256,10 +258,12 @@ export default {
hrlegal: hrlegal_zh_CN,
hromhierarchypurpose: hromhierarchypurpose_zh_CN,
hromhierarchy: hromhierarchy_zh_CN,
hrdistribution: hrdistribution_zh_CN,
hrorgaddress: hrorgaddress_zh_CN,
hrpost: hrpost_zh_CN,
hrorganization: hrorganization_zh_CN,
hrduty: hrduty_zh_CN,
hrpostrel: hrpostrel_zh_CN,
},
components: components_zh_CN,
codelist: codelist_zh_CN,
......
export default {
fields: {
updateman: "更新人",
hrdistributionname: "工作人员分配名称",
createdate: "建立时间",
hrdistributionid: "工作人员分配标识",
updatedate: "更新时间",
createman: "建立人",
hremployeeid: "员工标识",
hremployeename: "员工姓名",
begintime: "入职时间",
endtime: "离职时间",
hrpostid: "职位标识",
hrpostname: "职位",
},
views: {
gridview: {
caption: "工作人员分配",
title: "工作人员分配表格视图",
},
editview: {
caption: "工作人员分配",
title: "工作人员分配编辑视图",
},
},
main_form: {
details: {
group1: "工作人员分配基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "工作人员分配标识",
srfmajortext: "工作人员分配名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
hrdistributionname: "工作人员分配名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
hrdistributionid: "工作人员分配标识",
},
uiactions: {
},
},
main_grid: {
columns: {
hrdistributionname: "工作人员分配名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "Help",
tip: "Help",
},
},
};
\ No newline at end of file
export default {
fields: {
updateman: "更新人",
hrdistributionname: "工作人员分配名称",
createdate: "建立时间",
hrdistributionid: "工作人员分配标识",
updatedate: "更新时间",
createman: "建立人",
hremployeeid: "员工标识",
hremployeename: "员工姓名",
begintime: "入职时间",
endtime: "离职时间",
hrpostid: "职位标识",
hrpostname: "职位",
},
views: {
gridview: {
caption: "工作人员分配",
title: "工作人员分配表格视图",
},
editview: {
caption: "工作人员分配",
title: "工作人员分配编辑视图",
},
},
main_form: {
details: {
group1: "工作人员分配基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "工作人员分配标识",
srfmajortext: "工作人员分配名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
hrdistributionname: "工作人员分配名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
hrdistributionid: "工作人员分配标识",
},
uiactions: {
},
},
main_grid: {
columns: {
hrdistributionname: "工作人员分配名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "新建",
tip: "新建",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "帮助",
tip: "帮助",
},
},
};
\ No newline at end of file
export default {
fields: {
employeename: "员工名称",
employeename: "员工姓名",
updateman: "更新人",
createman: "建立人",
employeeid: "员工标识",
......@@ -28,7 +28,7 @@ export default {
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "员工标识",
srfmajortext: "员工名称",
srfmajortext: "员工姓名",
srftempmode: "",
srfuf: "",
srfdeid: "",
......
export default {
fields: {
employeename: "员工名称",
employeename: "员工姓名",
updateman: "更新人",
createman: "建立人",
employeeid: "员工标识",
......@@ -27,7 +27,7 @@ export default {
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "员工标识",
srfmajortext: "员工名称",
srfmajortext: "员工姓名",
srftempmode: "",
srfuf: "",
srfdeid: "",
......
export default {
fields: {
createman: "建立人",
hrpostrelname: "职位关系名称",
hrpostrelid: "职位关系标识",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
hrpostid: "职位标识",
hrpostname: "职位",
phrpostid: "职位标识",
phrpostname: "职位",
begintime: "生效",
endtime: "到期",
},
views: {
gridview: {
caption: "职位关系",
title: "职位关系表格视图",
},
editview: {
caption: "职位关系",
title: "职位关系编辑视图",
},
},
main_form: {
details: {
group1: "职位关系基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "职位关系标识",
srfmajortext: "职位关系名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
hrpostrelname: "职位关系名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
hrpostrelid: "职位关系标识",
},
uiactions: {
},
},
main_grid: {
columns: {
hrpostrelname: "职位关系名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "Help",
tip: "Help",
},
},
};
\ No newline at end of file
export default {
fields: {
createman: "建立人",
hrpostrelname: "职位关系名称",
hrpostrelid: "职位关系标识",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
hrpostid: "职位标识",
hrpostname: "职位",
phrpostid: "职位标识",
phrpostname: "职位",
begintime: "生效",
endtime: "到期",
},
views: {
gridview: {
caption: "职位关系",
title: "职位关系表格视图",
},
editview: {
caption: "职位关系",
title: "职位关系编辑视图",
},
},
main_form: {
details: {
group1: "职位关系基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "职位关系标识",
srfmajortext: "职位关系名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
hrpostrelname: "职位关系名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
hrpostrelid: "职位关系标识",
},
uiactions: {
},
},
main_grid: {
columns: {
hrpostrelname: "职位关系名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "新建",
tip: "新建",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "帮助",
tip: "帮助",
},
},
};
\ No newline at end of file
......@@ -15,6 +15,7 @@ export default {
hrorganizationid: "组织",
hrorganizationname: "部门",
entrytime: "最早入职时间",
postnum: "编制人数",
},
views: {
v_003: {
......@@ -25,6 +26,10 @@ export default {
caption: "职位",
title: "空缺职位",
},
v_004: {
caption: "职位",
title: "职位编辑视图",
},
editview: {
caption: "职位",
title: "职位编辑视图",
......@@ -37,12 +42,51 @@ export default {
caption: "职位信息",
title: "职位信息",
},
v_005: {
caption: "快速新建",
title: "职位快速新建",
},
v_006: {
caption: "职位信息",
title: "职位信息",
},
gridview: {
caption: "职位",
title: "职位表格",
},
dashboardview: {
caption: "职位看板",
title: "职位看板",
},
},
main_form: {
details: {
group1: "职位基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "职位标识",
srfmajortext: "职位",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
postcode: "编号",
hrpostname: "职位",
hrdutyname: "职务",
posttype: "职位类型",
hrorganizationname: "部门",
activeflag: "是否有效",
postnum: "编制人数",
entrytime: "最早入职时间",
hrpostid: "职位标识",
hrorganizationid: "组织",
hrdutyid: "职务标识",
},
uiactions: {
},
},
ef_001_form: {
details: {
group1: "职位基本信息",
formpage1: "基本信息",
......@@ -67,6 +111,31 @@ export default {
uiactions: {
},
},
if_001_form: {
details: {
group1: "职位基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "职位标识",
srfmajortext: "职位",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
postcode: "编号",
hrpostname: "职位",
hrdutyname: "职务",
posttype: "职位类型",
hrorganizationname: "部门",
activeflag: "是否有效",
postnum: "编制人数",
entrytime: "最早入职时间",
hrpostid: "职位标识",
},
uiactions: {
},
},
main_grid: {
columns: {
postcode: "编号",
......@@ -74,6 +143,8 @@ export default {
hrdutyname: "职务",
posttype: "职位类型",
hrorganizationname: "部门",
postnum: "编制人数",
activeflag: "是否有效",
},
uiactions: {
},
......@@ -120,49 +191,17 @@ export default {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
tbitem1: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem16: {
caption: "-",
seperator1: {
caption: "",
tip: "",
},
tbitem22: {
caption: "Help",
tip: "Help",
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
v_002toolbar_toolbar: {
......@@ -199,15 +238,45 @@ export default {
tip: "Filter",
},
},
v_006toolbar_toolbar: {
tbitem1_ff_003: {
caption: "编辑",
tip: "编辑",
},
tbitem1_remove_sep: {
caption: "",
tip: "",
},
tbitem1_remove: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "关闭",
tip: "关闭",
},
},
v_001toolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
tbitem1_ff_002: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
......
......@@ -14,6 +14,7 @@ export default {
hrorganizationid: "组织",
hrorganizationname: "部门",
entrytime: "最早入职时间",
postnum: "编制人数",
},
views: {
v_003: {
......@@ -24,6 +25,10 @@ export default {
caption: "职位",
title: "空缺职位",
},
v_004: {
caption: "职位",
title: "职位编辑视图",
},
editview: {
caption: "职位",
title: "职位编辑视图",
......@@ -36,12 +41,51 @@ export default {
caption: "职位信息",
title: "职位信息",
},
v_005: {
caption: "快速新建",
title: "职位快速新建",
},
v_006: {
caption: "职位信息",
title: "职位信息",
},
gridview: {
caption: "职位",
title: "职位表格",
},
dashboardview: {
caption: "职位看板",
title: "职位看板",
},
},
main_form: {
details: {
group1: "职位基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "职位标识",
srfmajortext: "职位",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
postcode: "编号",
hrpostname: "职位",
hrdutyname: "职务",
posttype: "职位类型",
hrorganizationname: "部门",
activeflag: "是否有效",
postnum: "编制人数",
entrytime: "最早入职时间",
hrpostid: "职位标识",
hrorganizationid: "组织",
hrdutyid: "职务标识",
},
uiactions: {
},
},
ef_001_form: {
details: {
group1: "职位基本信息",
formpage1: "基本信息",
......@@ -66,6 +110,31 @@ export default {
uiactions: {
},
},
if_001_form: {
details: {
group1: "职位基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "职位标识",
srfmajortext: "职位",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
postcode: "编号",
hrpostname: "职位",
hrdutyname: "职务",
posttype: "职位类型",
hrorganizationname: "部门",
activeflag: "是否有效",
postnum: "编制人数",
entrytime: "最早入职时间",
hrpostid: "职位标识",
},
uiactions: {
},
},
main_grid: {
columns: {
postcode: "编号",
......@@ -73,6 +142,8 @@ export default {
hrdutyname: "职务",
posttype: "职位类型",
hrorganizationname: "部门",
postnum: "编制人数",
activeflag: "是否有效",
},
uiactions: {
},
......@@ -119,49 +190,17 @@ export default {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
},
tbitem5: {
tbitem1: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "新建",
tip: "新建",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
tbitem16: {
caption: "-",
seperator1: {
caption: "",
tip: "",
},
tbitem22: {
caption: "帮助",
tip: "帮助",
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
v_002toolbar_toolbar: {
......@@ -198,15 +237,45 @@ export default {
tip: "过滤",
},
},
v_006toolbar_toolbar: {
tbitem1_ff_003: {
caption: "编辑",
tip: "编辑",
},
tbitem1_remove_sep: {
caption: "",
tip: "",
},
tbitem1_remove: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "关闭",
tip: "关闭",
},
},
v_001toolbar_toolbar: {
tbitem3: {
tbitem1_ff_002: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
......
此差异已折叠。
......@@ -15,7 +15,9 @@ import './entity/hremployees/hremployees';
import './entity/hrlegals/hrlegals';
import './entity/hromhierarchypurposes/hromhierarchypurposes';
import './entity/hromhierarchys/hromhierarchys';
import './entity/hrdistributions/hrdistributions';
import './entity/hrorg-addresss/hrorg-addresss';
import './entity/hrposts/hrposts';
import './entity/hrorganizations/hrorganizations';
import './entity/hrdutys/hrdutys';
import './entity/hrpost-rels/hrpost-rels';
......@@ -175,6 +175,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HROrgContactGridView",
"viewtag": "53de2c13a619e20769cdc9dbfa10e1a5"
},
"hrpostv_004": {
"title": "职位编辑视图",
"caption": "职位",
"viewtype": "DEEDITVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostV_004",
"viewtag": "5efdfaf722e7585dfd685922b16f7f88"
},
"hrdutyeditview": {
"title": "职务编辑视图",
"caption": "职务",
......@@ -183,6 +191,30 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HRDutyEditView",
"viewtag": "62468a4082892d924fe855427a8cd0cb"
},
"hrdistributiongridview": {
"title": "工作人员分配表格视图",
"caption": "工作人员分配",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRDistributionGridView",
"viewtag": "6395cba44e6d6151f19e543b55d88845"
},
"hrpostrelgridview": {
"title": "职位关系表格视图",
"caption": "职位关系",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostRelGridView",
"viewtag": "696bc6afaa29aebaa40d4710aa3d7a57"
},
"hrpostreleditview": {
"title": "职位关系编辑视图",
"caption": "职位关系",
"viewtype": "DEEDITVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostRelEditView",
"viewtag": "6cf9411c3f3597947dfee8dad2968182"
},
"hrorgcontactv_001": {
"title": "组织联系信息嵌入组织",
"caption": "组织联系信息嵌入组织",
......@@ -247,6 +279,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HREmployeeGridView",
"viewtag": "9559258a9c3ac118e15ead941b780682"
},
"hrdistributioneditview": {
"title": "工作人员分配编辑视图",
"caption": "工作人员分配",
"viewtype": "DEEDITVIEW",
"viewmodule": "HumanResource",
"viewname": "HRDistributionEditView",
"viewtag": "9e5d3f17ad97fd735b8abc637018301d"
},
"hromhierarchycateditview": {
"title": "结构层次类别编辑视图",
"caption": "结构层次类别",
......@@ -319,6 +359,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HROperationUnitTabExpView",
"viewtag": "bf8512a46ea22c59413ae598a88eda3a"
},
"hrpostv_005": {
"title": "职位快速新建",
"caption": "快速新建",
"viewtype": "DEOPTVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostV_005",
"viewtag": "c1a754fe9d4ff67c56d0bb4b6ae949be"
},
"hromhierarchycatdashboardview": {
"title": "结构层次类别看板",
"caption": "结构层次",
......@@ -327,6 +375,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HROMHierarchyCatDashboardView",
"viewtag": "c62ff001669cca98c0a2a7bc3383c775"
},
"hrpostv_006": {
"title": "职位信息",
"caption": "职位信息",
"viewtype": "DETABEXPVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostV_006",
"viewtag": "d2137112227c4243e95ffe9ef7eaafab"
},
"hroperationunitv_001": {
"title": "快速新建",
"caption": "快速新建",
......@@ -383,6 +439,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HRDutyPickupView",
"viewtag": "ebcbf493e0a574cf170412456645a3a7"
},
"hrpostdashboardview": {
"title": "职位看板",
"caption": "职位看板",
"viewtype": "DEPORTALVIEW",
"viewmodule": "HumanResource",
"viewname": "HRPostDashboardView",
"viewtag": "f03c9544f1a1107bb34a97542dde1a3e"
},
"hrlegaltabexpview": {
"title": "法人信息",
"caption": "法人信息",
......
<studio-view-style2 viewName="hrdistributioneditview" viewTitle="工作人员分配编辑视图" class='deeditview hrdistribution-edit-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
\ No newline at end of file
<template src="./hrdistribution-edit-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRDistributionEditViewBase } from './hrdistribution-edit-view-base';
import view_form from '@widgets/hrdistribution/main-form/main-form.vue';
/**
* 工作人员分配编辑视图视图
*
* @export
* @class HRDistributionEditView
* @extends {HRDistributionEditViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRDistributionEditView extends HRDistributionEditViewBase { }
</script>
<studio-view-style2 viewName="hrdistributiongridview" viewTitle="工作人员分配表格视图" class='degridview hrdistribution-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" placeholder="工作人员分配名称" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave.apply(_self, arguments)"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata.bind(_self)"
:opendata="opendata.bind(_self)"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./hrdistribution-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRDistributionGridViewBase } from './hrdistribution-grid-view-base';
import view_grid from '@widgets/hrdistribution/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrdistribution/default-searchform/default-searchform.vue';
/**
* 工作人员分配表格视图视图
*
* @export
* @class HRDistributionGridView
* @extends {HRDistributionGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRDistributionGridView extends HRDistributionGridViewBase { }
</script>
......@@ -2,7 +2,7 @@
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" placeholder="员工名称" search @on-search="onSearch($event)"/>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" placeholder="员工姓名" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
......
import { Subject } from 'rxjs';
import { DashboardViewBase } from '@/studio-core';
import HRPostService from '@/service/hrpost/hrpost-service';
import HRPostAuthService from '@/authservice/hrpost/hrpost-auth-service';
import PortalViewEngine from '@engine/view/portal-view-engine';
import HRPostUIService from '@/uiservice/hrpost/hrpost-ui-service';
/**
* 职位看板视图基类
*
* @export
* @class HRPostDashboardViewBase
* @extends {DashboardViewBase}
*/
export class HRPostDashboardViewBase extends DashboardViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRPostDashboardViewBase
*/
protected appDeName: string = 'hrpost';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRPostDashboardViewBase
*/
protected appDeKey: string = 'hrpostid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRPostDashboardViewBase
*/
protected appDeMajor: string = 'hrpostname';
/**
* 实体服务对象
*
* @type {HRPostService}
* @memberof HRPostDashboardViewBase
*/
protected appEntityService: HRPostService = new HRPostService;
/**
* 实体权限服务对象
*
* @type HRPostUIService
* @memberof HRPostDashboardViewBase
*/
public appUIService: HRPostUIService = new HRPostUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRPostDashboardViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRPostDashboardViewBase
*/
protected model: any = {
srfCaption: 'entities.hrpost.views.dashboardview.caption',
srfTitle: 'entities.hrpost.views.dashboardview.title',
srfSubTitle: 'entities.hrpost.views.dashboardview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRPostDashboardViewBase
*/
protected containerModel: any = {
view_dashboard: { name: 'dashboard', type: 'DASHBOARD' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = 'f03c9544f1a1107bb34a97542dde1a3e';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRPostDashboardViewBase
*/
public engine: PortalViewEngine = new PortalViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof HRPostDashboardViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
dashboard: this.$refs.dashboard,
keyPSDEField: 'hrpost',
majorPSDEField: 'hrpostname',
isLoadDefault: true,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRPostDashboardViewBase
*/
public dashboard_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('dashboard', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="hrpostdashboardview" viewTitle="职位看板" class='deportalview hrpost-dashboard-view'>
<view_dashboard
:viewState="viewState"
:viewparams="viewparams"
:context="JSON.parse(JSON.stringify(context))"
:isEnableCustomized = "false"
name="dashboard"
ref='dashboard'
@load="dashboard_load($event)"
@closeview="closeView($event)">
</view_dashboard>
</studio-view-style2>
\ No newline at end of file
<template src="./hrpost-dashboard-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRPostDashboardViewBase } from './hrpost-dashboard-view-base';
import view_dashboard from '@widgets/hrpost/board-001-dashboard/board-001-dashboard.vue';
/**
* 职位看板视图
*
* @export
* @class HRPostDashboardView
* @extends {HRPostDashboardViewBase}
*/
@Component({
components: {
view_dashboard,
}
})
@VueLifeCycleProcessing()
export default class HRPostDashboardView extends HRPostDashboardViewBase { }
</script>
<studio-view-style2 viewName="hrposteditview" viewTitle="职位编辑视图" class='deeditview hrpost-edit-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<view_form
......
......@@ -564,28 +564,16 @@ export class HRPostGridViewBase extends GridViewBase {
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'hrposts', parameterName: 'hrpost' },
{ pathName: 'editview', parameterName: 'editview' },
];
const _this: any = this;
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 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 view: any = {
viewname: 'hrpost-edit-view',
height: 0,
width: 600,
title: this.$t('entities.hrpost.views.editview.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
openIndexViewTab(data);
}
......@@ -610,28 +598,14 @@ export class HRPostGridViewBase extends GridViewBase {
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'hrposts', parameterName: 'hrpost' },
{ pathName: 'editview', parameterName: 'editview' },
];
const _this: any = this;
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: 'hrpost-edit-view',
height: 0,
width: 600,
title: this.$t('entities.hrpost.views.editview.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
const openIndexViewTab = (data: any) => {
const routePath = this.$viewTool.buildUpRoutePath(this.$route, tempContext, deResParameters, parameters, args, data);
this.$router.push(routePath);
}
openIndexViewTab(data);
}
......
<studio-view-style2 viewName="hrpostreleditview" viewTitle="职位关系编辑视图" class='deeditview hrpost-rel-edit-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
\ No newline at end of file
<template src="./hrpost-rel-edit-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRPostRelEditViewBase } from './hrpost-rel-edit-view-base';
import view_form from '@widgets/hrpost-rel/main-form/main-form.vue';
/**
* 职位关系编辑视图视图
*
* @export
* @class HRPostRelEditView
* @extends {HRPostRelEditViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRPostRelEditView extends HRPostRelEditViewBase { }
</script>
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册