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

jackwang 部署微服务应用

上级 9cc06251
......@@ -249,6 +249,16 @@
"viewtag": "188f3997d02da7fc34bac190ccd439e6",
"memo": ""
},
"hrarchivesv_007": {
"title": "档案",
"caption": "档案信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesV_007",
"viewfilename": "hrarchives-v-007",
"viewtag": "1d3844e75211900a75e23efd0993ba25",
"memo": ""
},
"hromhierarchycatmpickupview": {
"title": "结构层次类别数据多项选择视图",
"caption": "结构层次类别",
......@@ -359,6 +369,16 @@
"viewtag": "3180604a9489c03131e6642e456cd5c0",
"memo": ""
},
"hrarchivesv_009": {
"title": "档案",
"caption": "档案信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesV_009",
"viewfilename": "hrarchives-v-009",
"viewtag": "32399525785c11b3d942279a4974420d",
"memo": ""
},
"hrpostv_003": {
"title": "失效职位",
"caption": "职位",
......@@ -999,6 +1019,16 @@
"viewtag": "af1a0e288eecf89cd99ed798594e1753",
"memo": ""
},
"hrarchivesv_008": {
"title": "档案",
"caption": "档案信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesV_008",
"viewfilename": "hrarchives-v-008",
"viewtag": "b0527570befbf06448caf276ca882838",
"memo": ""
},
"hrpostv_001": {
"title": "有效职位",
"caption": "职位",
......@@ -1159,6 +1189,16 @@
"viewtag": "c01c4604589a2c171c4f41f2ac11f4e2",
"memo": "系统自动添加"
},
"hrarchivesv_006": {
"title": "档案",
"caption": "档案",
"viewtype": "DETABEXPVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesV_006",
"viewfilename": "hrarchives-v-006",
"viewtag": "c16477290fe18f68c65916e3cbee4a65",
"memo": ""
},
"hrtransferapplypickupview": {
"title": "调动申请数据选择视图",
"caption": "调动申请",
......
......@@ -33,6 +33,14 @@ export default {
caption: "档案信息",
title: "档案",
},
v_007: {
caption: "档案信息",
title: "档案",
},
v_009: {
caption: "档案信息",
title: "档案",
},
v_003: {
caption: "档案信息",
title: "档案信息",
......@@ -49,10 +57,18 @@ export default {
caption: "档案信息",
title: "档案信息",
},
v_008: {
caption: "档案信息",
title: "档案",
},
gridview: {
caption: "档案信息",
title: "档案",
},
v_006: {
caption: "档案",
title: "档案",
},
v_004: {
caption: "档案信息",
title: "档案看板",
......@@ -90,11 +106,9 @@ export default {
uiactions: {
},
},
if_001_form: {
ef_001_form: {
details: {
group1: "档案信息",
grouppanel1: "借阅记录",
grouppanel2: "调档记录",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
......@@ -104,26 +118,24 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
hremployeename: "员工姓名",
archivescode: "档案编号",
hrorganizationname: "档案管理单位",
archivesplace: "档案保管地",
archivesroom: "档案室",
hremployeename: "员工姓名",
employeecode: "员工编号",
organizationname: "单位",
activeflag: "是否有效",
degree: "档案学历",
birthday: "档案出生日期",
startworktime: "档案参加工作时间",
politicaltime: "档案入党时间",
hremployeeid: "员工标识",
hrorganizationid: "档案管理单位ID",
hrarchivesid: "档案信息标识",
},
uiactions: {
},
},
ef_001_form: {
if_001_form: {
details: {
group1: "档案信息",
grouppanel1: "借阅记录",
grouppanel2: "调档记录",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
......@@ -133,14 +145,18 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
hremployeename: "员工姓名",
archivescode: "档案编号",
hrorganizationname: "档案管理单位",
archivesplace: "档案保管地",
archivesroom: "档案室",
hremployeename: "员工姓名",
employeecode: "员工编号",
organizationname: "单位",
activeflag: "是否有效",
hremployeeid: "员工标识",
hrorganizationid: "档案管理单位ID",
degree: "档案学历",
birthday: "档案出生日期",
startworktime: "档案参加工作时间",
politicaltime: "档案入党时间",
hrarchivesid: "档案信息标识",
},
uiactions: {
......@@ -325,4 +341,130 @@ export default {
tip: "关闭",
},
},
v_007toolbar_toolbar: {
tbitem1_ff_002: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {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",
},
},
v_009toolbar_toolbar: {
tbitem1_ff_002: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {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",
},
},
v_008toolbar_toolbar: {
tbitem1_ff_002: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {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",
},
},
};
\ No newline at end of file
......@@ -32,6 +32,14 @@ export default {
caption: "档案信息",
title: "档案",
},
v_007: {
caption: "档案信息",
title: "档案",
},
v_009: {
caption: "档案信息",
title: "档案",
},
v_003: {
caption: "档案信息",
title: "档案信息",
......@@ -48,10 +56,18 @@ export default {
caption: "档案信息",
title: "档案信息",
},
v_008: {
caption: "档案信息",
title: "档案",
},
gridview: {
caption: "档案信息",
title: "档案",
},
v_006: {
caption: "档案",
title: "档案",
},
v_004: {
caption: "档案信息",
title: "档案看板",
......@@ -89,11 +105,9 @@ export default {
uiactions: {
},
},
if_001_form: {
ef_001_form: {
details: {
group1: "档案信息",
grouppanel1: "借阅记录",
grouppanel2: "调档记录",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
......@@ -103,26 +117,24 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
hremployeename: "员工姓名",
archivescode: "档案编号",
hrorganizationname: "档案管理单位",
archivesplace: "档案保管地",
archivesroom: "档案室",
hremployeename: "员工姓名",
employeecode: "员工编号",
organizationname: "单位",
activeflag: "是否有效",
degree: "档案学历",
birthday: "档案出生日期",
startworktime: "档案参加工作时间",
politicaltime: "档案入党时间",
hremployeeid: "员工标识",
hrorganizationid: "档案管理单位ID",
hrarchivesid: "档案信息标识",
},
uiactions: {
},
},
ef_001_form: {
if_001_form: {
details: {
group1: "档案信息",
grouppanel1: "借阅记录",
grouppanel2: "调档记录",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
......@@ -132,14 +144,18 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
hremployeename: "员工姓名",
archivescode: "档案编号",
hrorganizationname: "档案管理单位",
archivesplace: "档案保管地",
archivesroom: "档案室",
hremployeename: "员工姓名",
employeecode: "员工编号",
organizationname: "单位",
activeflag: "是否有效",
hremployeeid: "员工标识",
hrorganizationid: "档案管理单位ID",
degree: "档案学历",
birthday: "档案出生日期",
startworktime: "档案参加工作时间",
politicaltime: "档案入党时间",
hrarchivesid: "档案信息标识",
},
uiactions: {
......@@ -324,4 +340,130 @@ export default {
tip: "关闭",
},
},
v_007toolbar_toolbar: {
tbitem1_ff_002: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
v_009toolbar_toolbar: {
tbitem1_ff_002: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
v_008toolbar_toolbar: {
tbitem1_ff_002: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
};
\ No newline at end of file
......@@ -207,6 +207,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HROMHierarchyGridView",
"viewtag": "188f3997d02da7fc34bac190ccd439e6"
},
"hrarchivesv_007": {
"title": "档案",
"caption": "档案信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesV_007",
"viewtag": "1d3844e75211900a75e23efd0993ba25"
},
"hromhierarchycatmpickupview": {
"title": "结构层次类别数据多项选择视图",
"caption": "结构层次类别",
......@@ -295,6 +303,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HRDutyCertV_002",
"viewtag": "3180604a9489c03131e6642e456cd5c0"
},
"hrarchivesv_009": {
"title": "档案",
"caption": "档案信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesV_009",
"viewtag": "32399525785c11b3d942279a4974420d"
},
"hrpostv_003": {
"title": "失效职位",
"caption": "职位",
......@@ -807,6 +823,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HRLegalV_001",
"viewtag": "af1a0e288eecf89cd99ed798594e1753"
},
"hrarchivesv_008": {
"title": "档案",
"caption": "档案信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesV_008",
"viewtag": "b0527570befbf06448caf276ca882838"
},
"hrpostv_001": {
"title": "有效职位",
"caption": "职位",
......@@ -935,6 +959,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HRArchivesGridView",
"viewtag": "c01c4604589a2c171c4f41f2ac11f4e2"
},
"hrarchivesv_006": {
"title": "档案",
"caption": "档案",
"viewtype": "DETABEXPVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesV_006",
"viewtag": "c16477290fe18f68c65916e3cbee4a65"
},
"hrtransferapplypickupview": {
"title": "调动申请数据选择视图",
"caption": "调动申请",
......
import { Subject } from 'rxjs';
import { TabExpViewBase } from '@/studio-core';
import HRArchivesService from '@/service/hrarchives/hrarchives-service';
import HRArchivesAuthService from '@/authservice/hrarchives/hrarchives-auth-service';
import TabExpViewEngine from '@engine/view/tab-exp-view-engine';
import HRArchivesUIService from '@/uiservice/hrarchives/hrarchives-ui-service';
/**
* 档案视图基类
*
* @export
* @class HRArchivesV_006Base
* @extends {TabExpViewBase}
*/
export class HRArchivesV_006Base extends TabExpViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesV_006Base
*/
protected appDeName: string = 'hrarchives';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesV_006Base
*/
protected appDeKey: string = 'hrarchivesid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesV_006Base
*/
protected appDeMajor: string = 'hrarchivesname';
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof HRArchivesV_006Base
*/
protected appEntityService: HRArchivesService = new HRArchivesService;
/**
* 实体权限服务对象
*
* @type HRArchivesUIService
* @memberof HRArchivesV_006Base
*/
public appUIService: HRArchivesUIService = new HRArchivesUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesV_006Base
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesV_006Base
*/
protected model: any = {
srfCaption: 'entities.hrarchives.views.v_006.caption',
srfTitle: 'entities.hrarchives.views.v_006.title',
srfSubTitle: 'entities.hrarchives.views.v_006.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesV_006Base
*/
protected containerModel: any = {
view_tabexppanel: { name: 'tabexppanel', type: 'TABEXPPANEL' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = 'c16477290fe18f68c65916e3cbee4a65';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesV_006Base
*/
public engine: TabExpViewEngine = new TabExpViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesV_006Base
*/
public engineInit(): void {
this.engine.init({
view: this,
keyPSDEField: 'hrarchives',
majorPSDEField: 'hrarchivesname',
isLoadDefault: true,
});
}
}
\ No newline at end of file
<studio-view-style2 viewName="hrarchivesv_006" viewTitle="档案" class='detabexpview hrarchives-v-006'>
<view_tabexppanel
:viewState="viewState"
:viewparams="viewparams"
:context="context"
name="tabexppanel"
ref='tabexppanel'
@closeview="closeView($event)">
</view_tabexppanel>
</studio-view-style2>
\ No newline at end of file
<template src="./hrarchives-v-006.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_006Base } from './hrarchives-v-006-base';
import view_tabexppanel from '@widgets/hrarchives/v-006tabexppanel-tabexppanel/v-006tabexppanel-tabexppanel.vue';
/**
* 档案视图
*
* @export
* @class HRArchivesV_006
* @extends {HRArchivesV_006Base}
*/
@Component({
components: {
view_tabexppanel,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_006 extends HRArchivesV_006Base { }
</script>
<studio-view-style2 viewName="hrarchivesv_007" viewTitle="档案" class='degridview hrarchives-v-007'>
<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.apply(_self, arguments)"/> </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="FetchNonEmployee"
: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="./hrarchives-v-007.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_007Base } from './hrarchives-v-007-base';
import view_grid from '@widgets/hrarchives/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrarchives/default-searchform/default-searchform.vue';
/**
* 档案视图
*
* @export
* @class HRArchivesV_007
* @extends {HRArchivesV_007Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_007 extends HRArchivesV_007Base { }
</script>
<studio-view-style2 viewName="hrarchivesv_008" viewTitle="档案" class='degridview hrarchives-v-008'>
<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.apply(_self, arguments)"/> </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="FetchNonArchives"
: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="./hrarchives-v-008.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_008Base } from './hrarchives-v-008-base';
import view_grid from '@widgets/hrarchives/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrarchives/default-searchform/default-searchform.vue';
/**
* 档案视图
*
* @export
* @class HRArchivesV_008
* @extends {HRArchivesV_008Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_008 extends HRArchivesV_008Base { }
</script>
<studio-view-style2 viewName="hrarchivesv_009" viewTitle="档案" class='degridview hrarchives-v-009'>
<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.apply(_self, arguments)"/> </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="FetchActive"
: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="./hrarchives-v-009.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesV_009Base } from './hrarchives-v-009-base';
import view_grid from '@widgets/hrarchives/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrarchives/default-searchform/default-searchform.vue';
/**
* 档案视图
*
* @export
* @class HRArchivesV_009
* @extends {HRArchivesV_009Base}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesV_009 extends HRArchivesV_009Base { }
</script>
......@@ -252,6 +252,17 @@ export const viewstate: any = {
'4a61d63445d504cab11cf5f45536b314',
],
},
{
viewtag: '1d3844e75211900a75e23efd0993ba25',
viewmodule: 'HumanResource',
viewname: 'HRArchivesV_007',
viewaction: '',
viewdatachange: false,
refviews: [
'5748c15cb24deb3f3fb24d68668711dd',
'8bd2a4a14135c358985d4ff9b7ffb88e',
],
},
{
viewtag: '1fda62030d6149cb5ee6f088bc4f0aa7',
viewmodule: 'HumanResource',
......@@ -354,6 +365,17 @@ export const viewstate: any = {
'2ee255b61cfa5e9bb8991f1421e807c3',
],
},
{
viewtag: '32399525785c11b3d942279a4974420d',
viewmodule: 'HumanResource',
viewname: 'HRArchivesV_009',
viewaction: '',
viewdatachange: false,
refviews: [
'5748c15cb24deb3f3fb24d68668711dd',
'8bd2a4a14135c358985d4ff9b7ffb88e',
],
},
{
viewtag: '3274463a5fe4c1bcb99fee2240c044ed',
viewmodule: 'HumanResource',
......@@ -387,6 +409,15 @@ export const viewstate: any = {
'af1a0e288eecf89cd99ed798594e1753',
],
},
{
viewtag: '4577fe920c1f8dc9da44a0cab28ca33b',
viewmodule: 'HumanResource',
viewname: 'HRArchivesV_003',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '4726bc4ee402aed771ecabe7a6ecdaae',
viewmodule: 'HumanResource',
......@@ -405,18 +436,19 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'286e8ac9eca7b6eb8058fde93995db10',
'8e90bfab442fc1c89453722dfe094408',
'1556b6299248ca949822a15645afc066',
'997c27311a28f6ed4e41153c43a5f723',
'bae1de77dc5bd2584e2dcf7201a06495',
'0d8ac739134947cc5f6545d4041024de',
'10c50502a4eebb3c2f6373326db96fc5',
'b9130f18de0b66cd31ecaddb5a841aae',
'41036146909ab3f28ff59b80370514b2',
'8edb721608ec0094af042929943e498e',
'114f056047eddd92374e982356e59852',
'71c5da4234a5c4d3e46c572556dd52d9',
'114f056047eddd92374e982356e59852',
'286e8ac9eca7b6eb8058fde93995db10',
'c16477290fe18f68c65916e3cbee4a65',
'1556b6299248ca949822a15645afc066',
'bae1de77dc5bd2584e2dcf7201a06495',
'b9130f18de0b66cd31ecaddb5a841aae',
'8edb721608ec0094af042929943e498e',
],
},
{
......@@ -501,6 +533,18 @@ export const viewstate: any = {
'069985244f19f8c6f8e74e39ef573e9a',
],
},
{
viewtag: '5748c15cb24deb3f3fb24d68668711dd',
viewmodule: 'HumanResource',
viewname: 'HRArchivesV_005',
viewaction: '',
viewdatachange: false,
refviews: [
'4726bc4ee402aed771ecabe7a6ecdaae',
'd33bb4278ea65f691909636c691a0666',
'c01c4604589a2c171c4f41f2ac11f4e2',
],
},
{
viewtag: '57dbe1035c2366090a02ceb7c8269ebb',
viewmodule: 'HumanResource',
......@@ -757,6 +801,17 @@ export const viewstate: any = {
'e7ba37699bd458dc8dd5c02abac8dadd',
],
},
{
viewtag: '8bd2a4a14135c358985d4ff9b7ffb88e',
viewmodule: 'HumanResource',
viewname: 'HRArchivesV_002',
viewaction: '',
viewdatachange: false,
refviews: [
'ec9d9fe37bbfc3fcb623e2dc34b48dbc',
'e7ba37699bd458dc8dd5c02abac8dadd',
],
},
{
viewtag: '8db1cc9344908f2f9e2fb21f3849a539',
viewmodule: 'HumanResource',
......@@ -950,6 +1005,17 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'b0527570befbf06448caf276ca882838',
viewmodule: 'HumanResource',
viewname: 'HRArchivesV_008',
viewaction: '',
viewdatachange: false,
refviews: [
'5748c15cb24deb3f3fb24d68668711dd',
'8bd2a4a14135c358985d4ff9b7ffb88e',
],
},
{
viewtag: 'b4b751d7088fd1c29aed976e9e9528b2',
viewmodule: 'HumanResource',
......@@ -1122,6 +1188,30 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'c01c4604589a2c171c4f41f2ac11f4e2',
viewmodule: 'HumanResource',
viewname: 'HRArchivesGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'5748c15cb24deb3f3fb24d68668711dd',
'8bd2a4a14135c358985d4ff9b7ffb88e',
],
},
{
viewtag: 'c16477290fe18f68c65916e3cbee4a65',
viewmodule: 'HumanResource',
viewname: 'HRArchivesV_006',
viewaction: '',
viewdatachange: false,
refviews: [
'b0527570befbf06448caf276ca882838',
'c01c4604589a2c171c4f41f2ac11f4e2',
'1d3844e75211900a75e23efd0993ba25',
'32399525785c11b3d942279a4974420d',
],
},
{
viewtag: 'c1a754fe9d4ff67c56d0bb4b6ae949be',
viewmodule: 'HumanResource',
......@@ -1227,6 +1317,16 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'd33bb4278ea65f691909636c691a0666',
viewmodule: 'HumanResource',
viewname: 'HRArchivesV_004',
viewaction: '',
viewdatachange: false,
refviews: [
'4577fe920c1f8dc9da44a0cab28ca33b',
],
},
{
viewtag: 'd4d0e128d8c7e5c141f99540b62fd9bf',
viewmodule: 'HumanResource',
......
......@@ -90,11 +90,15 @@ export default class HRArchivesUIServiceBase extends UIService {
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'v_001',srfappde:'hrarchives'});
this.allViewMap.set(':',{viewname:'v_007',srfappde:'hrarchives'});
this.allViewMap.set(':',{viewname:'v_009',srfappde:'hrarchives'});
this.allViewMap.set(':',{viewname:'v_003',srfappde:'hrarchives'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'hrarchives'});
this.allViewMap.set(':',{viewname:'v_005',srfappde:'hrarchives'});
this.allViewMap.set(':',{viewname:'v_002',srfappde:'hrarchives'});
this.allViewMap.set(':',{viewname:'v_008',srfappde:'hrarchives'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'hrarchives'});
this.allViewMap.set(':',{viewname:'v_006',srfappde:'hrarchives'});
this.allViewMap.set(':',{viewname:'v_004',srfappde:'hrarchives'});
}
......
......@@ -94,8 +94,8 @@ export class PIMBase extends Vue {
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'hrtechnicaltitles', parameterName: 'hrtechnicaltitle' },
{ pathName: 'tabexpview', parameterName: 'tabexpview' },
{ pathName: 'hrarchives', parameterName: 'hrarchives' },
{ pathName: 'v_006', parameterName: 'v_006' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
......
......@@ -210,7 +210,7 @@ export default class PIMModel {
textcls: '',
appfunctag: '_12',
appfuncyype: 'APPVIEW',
viewname: 'hrtechnical-title-tab-exp-view',
viewname: 'hrarchives-v-006',
resourcetag: '',
}
,
......@@ -595,12 +595,12 @@ export default class PIMModel {
appfunctag: '_12',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'hrtechnicaltitletabexpview',
codename: 'hrarchivesv_006',
deResParameters: [],
routepath: '/pim/:pim?/hrtechnicaltitles/:hrtechnicaltitle?/tabexpview/:tabexpview?',
routepath: '/pim/:pim?/hrarchives/:hrarchives?/v_006/:v_006?',
parameters: [
{ pathName: 'hrtechnicaltitles', parameterName: 'hrtechnicaltitle' },
{ pathName: 'tabexpview', parameterName: 'tabexpview' },
{ pathName: 'hrarchives', parameterName: 'hrarchives' },
{ pathName: 'v_006', parameterName: 'v_006' },
],
},
{
......
import { Prop, Provide, Emit, Model } from 'vue-property-decorator';
import { Subject, Subscription } from 'rxjs';
import { Watch, TabExpPanelControlBase } from '@/studio-core';
import HRArchivesService from '@/service/hrarchives/hrarchives-service';
import V_006tabexppanelService from './v-006tabexppanel-tabexppanel-service';
import HRArchivesUIService from '@/uiservice/hrarchives/hrarchives-ui-service';
/**
* tabexppanel部件基类
*
* @export
* @class TabExpPanelControlBase
* @extends {V_006tabexppanelTabexppanelBase}
*/
export class V_006tabexppanelTabexppanelBase extends TabExpPanelControlBase {
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof V_006tabexppanelTabexppanelBase
*/
protected controlType: string = 'TABEXPPANEL';
/**
* 建构部件服务对象
*
* @type {V_006tabexppanelService}
* @memberof V_006tabexppanelTabexppanelBase
*/
public service: V_006tabexppanelService = new V_006tabexppanelService({ $store: this.$store });
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabexppanelTabexppanelBase
*/
public appEntityService: HRArchivesService = new HRArchivesService({ $store: this.$store });
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof V_006tabexppanelTabexppanelBase
*/
protected appDeName: string = 'hrarchives';
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof V_006tabexppanelTabexppanelBase
*/
protected appDeLogicName: string = '档案信息';
/**
* 是否初始化
*
* @protected
* @returns {any}
* @memberof V_006tabexppanel
*/
protected isInit: any = {
tabviewpanel: true ,
tabviewpanel3: false ,
tabviewpanel4: false ,
tabviewpanel2: false ,
}
/**
* 被激活的分页面板
*
* @protected
* @type {string}
* @memberof V_006tabexppanel
*/
protected activatedTabViewPanel: string = 'tabviewpanel';
/**
* 组件创建完毕
*
* @protected
* @memberof V_006tabexppanel
*/
protected ctrlCreated(): void {
//设置分页导航srfparentdename和srfparentkey
if (this.context.hrarchives) {
Object.assign(this.context, { srfparentdename: 'HRArchives', srfparentkey: this.context.hrarchives });
}
super.ctrlCreated();
}
}
\ No newline at end of file
/**
* V_006tabexppanel 部件模型
*
* @export
* @class V_006tabexppanelModel
*/
export default class V_006tabexppanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof V_006tabexppanelModel
*/
public getDataItems(): any[] {
return [
{
name: 'hrarchives',
prop: 'hrarchivesid',
},
{
name: 'hrarchivesname',
},
{
name: 'createman',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'updatedate',
},
{
name: 'hremployeeid',
},
{
name: 'hremployeename',
},
{
name: 'employeecode',
},
{
name: 'organizationname',
},
{
name: 'organizationid',
},
{
name: 'empstate',
},
{
name: 'archivescode',
},
{
name: 'archivesroom',
},
{
name: 'archivesplacetype',
},
{
name: 'archivesplace',
},
{
name: 'degree',
},
{
name: 'birthday',
},
{
name: 'politicaltime',
},
{
name: 'startworktime',
},
{
name: 'activeflag',
},
{
name: 'attachment',
},
{
name: 'memo',
},
{
name: 'borrowstate',
},
{
name: 'hrorganizationid',
},
{
name: 'hrorganizationname',
},
]
}
}
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import HRArchivesService from '@/service/hrarchives/hrarchives-service';
import V_006tabexppanelModel from './v-006tabexppanel-tabexppanel-model';
/**
* V_006tabexppanel 部件服务对象
*
* @export
* @class V_006tabexppanelService
*/
export default class V_006tabexppanelService extends ControlService {
/**
* 档案信息服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabexppanelService
*/
public appEntityService: HRArchivesService = new HRArchivesService({ $store: this.getStore() });
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof V_006tabexppanelService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of V_006tabexppanelService.
*
* @param {*} [opts={}]
* @memberof V_006tabexppanelService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new V_006tabexppanelModel();
}
}
\ No newline at end of file
<div class='tabviewpanel'>
<tabs :value="activatedTabViewPanel" :animated="false" class='tabexppanel' name='v_006tabexppanel' @on-click="tabPanelClick($event)">
<tab-pane :index="0" name='tabviewpanel' tab='v_006tabexppanel' class=''
:label="(h) =>{
return h('div', [
h('i',{
class:'fa fa-check-square',
style:{
'margin-right' : '2px'
}
}),
h('span', '有效档案'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view_tabviewpanel
:viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))"
v-if="isInit.tabviewpanel"
name="tabviewpanel"
ref='tabviewpanel'
:expActive="activatedTabViewPanel === 'tabviewpanel'"
@viewpanelDatasChange = "tabViewPanelDatasChange"
@closeview="closeView($event)">
</view_tabviewpanel>
</tab-pane>
<tab-pane :index="1" name='tabviewpanel3' tab='v_006tabexppanel' class=''
:label="(h) =>{
return h('div', [
h('i',{
class:'fa fa-user',
style:{
'margin-right' : '2px'
}
}),
h('span', '员工不在档'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view_tabviewpanel3
:viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))"
v-if="isInit.tabviewpanel3"
name="tabviewpanel3"
ref='tabviewpanel3'
:expActive="activatedTabViewPanel === 'tabviewpanel3'"
@viewpanelDatasChange = "tabViewPanelDatasChange"
@closeview="closeView($event)">
</view_tabviewpanel3>
</tab-pane>
<tab-pane :index="2" name='tabviewpanel4' tab='v_006tabexppanel' class=''
:label="(h) =>{
return h('div', [
h('i',{
class:'fa fa-list-alt',
style:{
'margin-right' : '2px'
}
}),
h('span', '全部档案'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view_tabviewpanel4
:viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))"
v-if="isInit.tabviewpanel4"
name="tabviewpanel4"
ref='tabviewpanel4'
:expActive="activatedTabViewPanel === 'tabviewpanel4'"
@viewpanelDatasChange = "tabViewPanelDatasChange"
@closeview="closeView($event)">
</view_tabviewpanel4>
</tab-pane>
<tab-pane :index="3" name='tabviewpanel2' tab='v_006tabexppanel' class=''
:label="(h) =>{
return h('div', [
h('i',{
class:'fa fa-warning',
style:{
'margin-right' : '2px'
}
}),
h('span', '非员工在档'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view_tabviewpanel2
:viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))"
v-if="isInit.tabviewpanel2"
name="tabviewpanel2"
ref='tabviewpanel2'
:expActive="activatedTabViewPanel === 'tabviewpanel2'"
@viewpanelDatasChange = "tabViewPanelDatasChange"
@closeview="closeView($event)">
</view_tabviewpanel2>
</tab-pane>
</tabs>
</div>
\ No newline at end of file
<template src="./v-006tabexppanel-tabexppanel.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { V_006tabexppanelTabexppanelBase } from './v-006tabexppanel-tabexppanel-base';
import view_tabviewpanel from '@widgets/hrarchives/v-006tabviewpanel-tabviewpanel/v-006tabviewpanel-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/hrarchives/v-006tabviewpanel3-tabviewpanel/v-006tabviewpanel3-tabviewpanel.vue';
import view_tabviewpanel4 from '@widgets/hrarchives/v-006tabviewpanel4-tabviewpanel/v-006tabviewpanel4-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/hrarchives/v-006tabviewpanel2-tabviewpanel/v-006tabviewpanel2-tabviewpanel.vue';
/**
* tabexppanel部件
*
* @export
* @class V_006tabexppanelTabexppanel
* @extends {V_006tabexppanelTabexppanelBase}
*/
@Component({
components: {
view_tabviewpanel,
view_tabviewpanel3,
view_tabviewpanel4,
view_tabviewpanel2,
}
})
@VueLifeCycleProcessing()
export default class V_006tabexppanelTabexppanel extends V_006tabexppanelTabexppanelBase { }
</script>
import { Prop, Provide, Emit, Model } from 'vue-property-decorator';
import { Subject, Subscription } from 'rxjs';
import { Watch, MainControlBase } from '@/studio-core';
import HRArchivesService from '@/service/hrarchives/hrarchives-service';
import V_006tabviewpanelService from './v-006tabviewpanel-tabviewpanel-service';
import HRArchivesUIService from '@/uiservice/hrarchives/hrarchives-ui-service';
/**
* tabviewpanel部件基类
*
* @export
* @class MainControlBase
* @extends {V_006tabviewpanelTabviewpanelBase}
*/
export class V_006tabviewpanelTabviewpanelBase extends MainControlBase {
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
protected controlType: string = 'TABVIEWPANEL';
/**
* 建构部件服务对象
*
* @type {V_006tabviewpanelService}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
public service: V_006tabviewpanelService = new V_006tabviewpanelService({ $store: this.$store });
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
public appEntityService: HRArchivesService = new HRArchivesService({ $store: this.$store });
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
protected appDeName: string = 'hrarchives';
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanelTabviewpanelBase
*/
protected appDeLogicName: string = '档案信息';
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof V_006tabviewpanel
*/
@Prop()
public expActive!: any;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof V_006tabviewpanel
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof V_006tabviewpanel
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof V_006tabviewpanel
*/
public isActivied: boolean = true;
/**
* 局部上下文
*
* @type {*}
* @memberof V_006tabviewpanel
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof V_006tabviewpanel
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof V_006tabviewpanel
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof V_006tabviewpanel
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof V_006tabviewpanel
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.initNavParam();
});
}
}
/**
* 初始化导航参数
*
* @memberof V_006tabviewpanel
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['majorentity']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData({},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData({},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof V_006tabviewpanel
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof V_006tabviewpanel
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof V_006tabviewpanel
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
\ No newline at end of file
/**
* V_006tabviewpanel 部件模型
*
* @export
* @class V_006tabviewpanelModel
*/
export default class V_006tabviewpanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof V_006tabviewpanelModel
*/
public getDataItems(): any[] {
return [
{
name: 'hrarchives',
prop: 'hrarchivesid',
},
{
name: 'hrarchivesname',
},
{
name: 'createman',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'updatedate',
},
{
name: 'hremployeeid',
},
{
name: 'hremployeename',
},
{
name: 'employeecode',
},
{
name: 'organizationname',
},
{
name: 'organizationid',
},
{
name: 'empstate',
},
{
name: 'archivescode',
},
{
name: 'archivesroom',
},
{
name: 'archivesplacetype',
},
{
name: 'archivesplace',
},
{
name: 'degree',
},
{
name: 'birthday',
},
{
name: 'politicaltime',
},
{
name: 'startworktime',
},
{
name: 'activeflag',
},
{
name: 'attachment',
},
{
name: 'memo',
},
{
name: 'borrowstate',
},
{
name: 'hrorganizationid',
},
{
name: 'hrorganizationname',
},
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* V_006tabviewpanel 部件服务对象
*
* @export
* @class V_006tabviewpanelService
*/
export default class V_006tabviewpanelService extends ControlService {
}
\ No newline at end of file
<div class='tabviewpanel' v-if='isActivied'>
<hrarchives-v-009
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false"
:viewUsage="7"
:expActive="expActive"
@closeview="closeView($event)"
/>
</div>
\ No newline at end of file
<template src="./v-006tabviewpanel-tabviewpanel.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { V_006tabviewpanelTabviewpanelBase } from './v-006tabviewpanel-tabviewpanel-base';
/**
* tabviewpanel部件
*
* @export
* @class V_006tabviewpanelTabviewpanel
* @extends {V_006tabviewpanelTabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class V_006tabviewpanelTabviewpanel extends V_006tabviewpanelTabviewpanelBase { }
</script>
import { Prop, Provide, Emit, Model } from 'vue-property-decorator';
import { Subject, Subscription } from 'rxjs';
import { Watch, MainControlBase } from '@/studio-core';
import HRArchivesService from '@/service/hrarchives/hrarchives-service';
import V_006tabviewpanel2Service from './v-006tabviewpanel2-tabviewpanel-service';
import HRArchivesUIService from '@/uiservice/hrarchives/hrarchives-ui-service';
/**
* tabviewpanel2部件基类
*
* @export
* @class MainControlBase
* @extends {V_006tabviewpanel2TabviewpanelBase}
*/
export class V_006tabviewpanel2TabviewpanelBase extends MainControlBase {
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
protected controlType: string = 'TABVIEWPANEL';
/**
* 建构部件服务对象
*
* @type {V_006tabviewpanel2Service}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
public service: V_006tabviewpanel2Service = new V_006tabviewpanel2Service({ $store: this.$store });
/**
* 实体服务对象
*
* @type {HRArchivesService}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
public appEntityService: HRArchivesService = new HRArchivesService({ $store: this.$store });
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
protected appDeName: string = 'hrarchives';
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof V_006tabviewpanel2TabviewpanelBase
*/
protected appDeLogicName: string = '档案信息';
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof V_006tabviewpanel2
*/
@Prop()
public expActive!: any;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof V_006tabviewpanel2
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof V_006tabviewpanel2
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof V_006tabviewpanel2
*/
public isActivied: boolean = true;
/**
* 局部上下文
*
* @type {*}
* @memberof V_006tabviewpanel2
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof V_006tabviewpanel2
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof V_006tabviewpanel2
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof V_006tabviewpanel2
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof V_006tabviewpanel2
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.initNavParam();
});
}
}
/**
* 初始化导航参数
*
* @memberof V_006tabviewpanel2
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['majorentity']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData({},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData({},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof V_006tabviewpanel2
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof V_006tabviewpanel2
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof V_006tabviewpanel2
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
\ No newline at end of file
/**
* V_006tabviewpanel2 部件模型
*
* @export
* @class V_006tabviewpanel2Model
*/
export default class V_006tabviewpanel2Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof V_006tabviewpanel2Model
*/
public getDataItems(): any[] {
return [
{
name: 'hrarchives',
prop: 'hrarchivesid',
},
{
name: 'hrarchivesname',
},
{
name: 'createman',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'updatedate',
},
{
name: 'hremployeeid',
},
{
name: 'hremployeename',
},
{
name: 'employeecode',
},
{
name: 'organizationname',
},
{
name: 'organizationid',
},
{
name: 'empstate',
},
{
name: 'archivescode',
},
{
name: 'archivesroom',
},
{
name: 'archivesplacetype',
},
{
name: 'archivesplace',
},
{
name: 'degree',
},
{
name: 'birthday',
},
{
name: 'politicaltime',
},
{
name: 'startworktime',
},
{
name: 'activeflag',
},
{
name: 'attachment',
},
{
name: 'memo',
},
{
name: 'borrowstate',
},
{
name: 'hrorganizationid',
},
{
name: 'hrorganizationname',
},
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* V_006tabviewpanel2 部件服务对象
*
* @export
* @class V_006tabviewpanel2Service
*/
export default class V_006tabviewpanel2Service extends ControlService {
}
\ No newline at end of file
<div class='tabviewpanel' v-if='isActivied'>
<hrarchives-v-007
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false"
:viewUsage="7"
:expActive="expActive"
@closeview="closeView($event)"
/>
</div>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册