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

jackwang 部署微服务应用

上级 30855cb7
...@@ -915,6 +915,37 @@ ...@@ -915,6 +915,37 @@
} }
] ]
}, },
{
"srfkey": "CL_HR_0025",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "MOVEIN",
"label": "调入",
"text": "调入",
"data":"",
"codename":"Movein",
"color": "rgba(255, 0, 17, 1)",
"value": "MOVEIN",
"disabled": false,
"default": false
}
, {
"id": "MOVEOUT",
"label": "调出",
"text": "调出",
"data":"",
"codename":"Moveout",
"color": "rgba(0, 89, 255, 1)",
"value": "MOVEOUT",
"disabled": false,
"default": false
}
]
},
{ {
"srfkey": "CL_HR_0019", "srfkey": "CL_HR_0019",
"emptytext": "未定义", "emptytext": "未定义",
......
...@@ -629,6 +629,16 @@ ...@@ -629,6 +629,16 @@
"viewtag": "6395cba44e6d6151f19e543b55d88845", "viewtag": "6395cba44e6d6151f19e543b55d88845",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"hrarchivesmovev_002": {
"title": "调档记录",
"caption": "调档记录",
"viewtype": "DEOPTVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesMoveV_002",
"viewfilename": "hrarchives-move-v-002",
"viewtag": "682bfe80bc00d04530e87b55c178c6f3",
"memo": ""
},
"hrcertificategridview": { "hrcertificategridview": {
"title": "证书", "title": "证书",
"caption": "证书", "caption": "证书",
...@@ -1069,6 +1079,16 @@ ...@@ -1069,6 +1079,16 @@
"viewtag": "b4ef4b87eb87fc3a2a8479027d62ac4c", "viewtag": "b4ef4b87eb87fc3a2a8479027d62ac4c",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"hrarchivesmovev_001": {
"title": "调档记录",
"caption": "调档记录",
"viewtype": "DEGRIDVIEW9",
"viewmodule": "HumanResource",
"viewname": "HRArchivesMoveV_001",
"viewfilename": "hrarchives-move-v-001",
"viewtag": "b50ba73bdcf5631dc218cfb08097d534",
"memo": ""
},
"hrcontractv_005": { "hrcontractv_005": {
"title": "合同信息", "title": "合同信息",
"caption": "合同信息", "caption": "合同信息",
...@@ -1549,6 +1569,16 @@ ...@@ -1549,6 +1569,16 @@
"viewtag": "f03c9544f1a1107bb34a97542dde1a3e", "viewtag": "f03c9544f1a1107bb34a97542dde1a3e",
"memo": "" "memo": ""
}, },
"hrarchivesmovegridview": {
"title": "档案调档",
"caption": "档案调档",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesMoveGridView",
"viewfilename": "hrarchives-move-grid-view",
"viewtag": "f26c77e32eb39f0d5feda6cdd6d73f39",
"memo": ""
},
"hrarchivesborrowgridview": { "hrarchivesborrowgridview": {
"title": "档案借阅表格视图", "title": "档案借阅表格视图",
"caption": "档案借阅", "caption": "档案借阅",
......
...@@ -115,6 +115,11 @@ export default { ...@@ -115,6 +115,11 @@ export default {
"4": "处理故障", "4": "处理故障",
"empty": "" "empty": ""
}, },
CL_HR_0025: {
"MOVEIN": "调入",
"MOVEOUT": "调出",
"empty": ""
},
CL_HR_0019: { CL_HR_0019: {
"ACTIVE": "执行中", "ACTIVE": "执行中",
"WAITSIGN": "待续签", "WAITSIGN": "待续签",
......
...@@ -115,6 +115,11 @@ export default { ...@@ -115,6 +115,11 @@ export default {
"4": "处理故障", "4": "处理故障",
"empty": "", "empty": "",
}, },
CL_HR_0025: {
"MOVEIN": "调入",
"MOVEOUT": "调出",
"empty": "",
},
CL_HR_0019: { CL_HR_0019: {
"ACTIVE": "执行中", "ACTIVE": "执行中",
"WAITSIGN": "待续签", "WAITSIGN": "待续签",
......
...@@ -14,4 +14,92 @@ export default { ...@@ -14,4 +14,92 @@ export default {
activetime: "调档时间", activetime: "调档时间",
memo: "备注", memo: "备注",
}, },
views: {
v_002: {
caption: "调档记录",
title: "调档记录",
},
v_001: {
caption: "调档记录",
title: "调档记录",
},
gridview: {
caption: "档案调档",
title: "档案调档",
},
},
main_form: {
details: {
group1: "调档信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "档案调档标识",
srfmajortext: "档案调档名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
movetype: "调档类型",
moveoutorg: "调出单位",
moveinorg: "调入单位",
activetime: "调档时间",
memo: "备注",
hrarchivesmoveid: "档案调档标识",
},
uiactions: {
},
},
main_grid: {
columns: {
movetype: "调档类型",
moveoutorg: "调出单位",
moveinorg: "调入单位",
activetime: "调档时间",
memo: "备注",
},
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",
},
},
}; };
\ No newline at end of file
...@@ -13,4 +13,92 @@ export default { ...@@ -13,4 +13,92 @@ export default {
activetime: "调档时间", activetime: "调档时间",
memo: "备注", memo: "备注",
}, },
views: {
v_002: {
caption: "调档记录",
title: "调档记录",
},
v_001: {
caption: "调档记录",
title: "调档记录",
},
gridview: {
caption: "档案调档",
title: "档案调档",
},
},
main_form: {
details: {
group1: "调档信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "档案调档标识",
srfmajortext: "档案调档名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
movetype: "调档类型",
moveoutorg: "调出单位",
moveinorg: "调入单位",
activetime: "调档时间",
memo: "备注",
hrarchivesmoveid: "档案调档标识",
},
uiactions: {
},
},
main_grid: {
columns: {
movetype: "调档类型",
moveoutorg: "调出单位",
moveinorg: "调入单位",
activetime: "调档时间",
memo: "备注",
},
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: "过滤",
},
},
}; };
\ No newline at end of file
...@@ -134,7 +134,9 @@ export default { ...@@ -134,7 +134,9 @@ export default {
if_001_form: { if_001_form: {
details: { details: {
group1: "档案信息", group1: "档案信息",
druipart1: "",
grouppanel1: "借阅记录", grouppanel1: "借阅记录",
druipart2: "",
grouppanel2: "调档记录", grouppanel2: "调档记录",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
...@@ -277,7 +279,29 @@ export default { ...@@ -277,7 +279,29 @@ export default {
tip: "Help", tip: "Help",
}, },
}, },
gridviewtoolbar_toolbar: { v_005toolbar_toolbar: {
tbitem1_ff_003: {
caption: "编辑",
tip: "编辑",
},
tbitem1_remove_sep: {
caption: "",
tip: "",
},
tbitem1_remove: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "关闭",
tip: "关闭",
},
},
v_007toolbar_toolbar: {
tbitem1_ff_002: { tbitem1_ff_002: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -319,29 +343,7 @@ export default { ...@@ -319,29 +343,7 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
v_005toolbar_toolbar: { v_009toolbar_toolbar: {
tbitem1_ff_003: {
caption: "编辑",
tip: "编辑",
},
tbitem1_remove_sep: {
caption: "",
tip: "",
},
tbitem1_remove: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "关闭",
tip: "关闭",
},
},
v_007toolbar_toolbar: {
tbitem1_ff_002: { tbitem1_ff_002: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -383,7 +385,7 @@ export default { ...@@ -383,7 +385,7 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
v_009toolbar_toolbar: { v_008toolbar_toolbar: {
tbitem1_ff_002: { tbitem1_ff_002: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -425,7 +427,7 @@ export default { ...@@ -425,7 +427,7 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
v_008toolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_ff_002: { tbitem1_ff_002: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
......
...@@ -133,7 +133,9 @@ export default { ...@@ -133,7 +133,9 @@ export default {
if_001_form: { if_001_form: {
details: { details: {
group1: "档案信息", group1: "档案信息",
druipart1: "",
grouppanel1: "借阅记录", grouppanel1: "借阅记录",
druipart2: "",
grouppanel2: "调档记录", grouppanel2: "调档记录",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
...@@ -276,7 +278,29 @@ export default { ...@@ -276,7 +278,29 @@ export default {
tip: "帮助", tip: "帮助",
}, },
}, },
gridviewtoolbar_toolbar: { v_005toolbar_toolbar: {
tbitem1_ff_003: {
caption: "编辑",
tip: "编辑",
},
tbitem1_remove_sep: {
caption: "",
tip: "",
},
tbitem1_remove: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "关闭",
tip: "关闭",
},
},
v_007toolbar_toolbar: {
tbitem1_ff_002: { tbitem1_ff_002: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -318,29 +342,7 @@ export default { ...@@ -318,29 +342,7 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
v_005toolbar_toolbar: { v_009toolbar_toolbar: {
tbitem1_ff_003: {
caption: "编辑",
tip: "编辑",
},
tbitem1_remove_sep: {
caption: "",
tip: "",
},
tbitem1_remove: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "关闭",
tip: "关闭",
},
},
v_007toolbar_toolbar: {
tbitem1_ff_002: { tbitem1_ff_002: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -382,7 +384,7 @@ export default { ...@@ -382,7 +384,7 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
v_009toolbar_toolbar: { v_008toolbar_toolbar: {
tbitem1_ff_002: { tbitem1_ff_002: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -424,7 +426,7 @@ export default { ...@@ -424,7 +426,7 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
v_008toolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_ff_002: { tbitem1_ff_002: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
......
...@@ -849,6 +849,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -849,6 +849,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
] ]
}, },
{
srfkey: "CL_HR_0025",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "MOVEIN",
label: "调入",
text: "调入",
"data":"",
"codename":"Movein",
"color": "rgba(255, 0, 17, 1)",
value: "MOVEIN",
disabled: false,
},
{
id: "MOVEOUT",
label: "调出",
text: "调出",
"data":"",
"codename":"Moveout",
"color": "rgba(0, 89, 255, 1)",
value: "MOVEOUT",
disabled: false,
},
]
},
{ {
srfkey: "CL_HR_0019", srfkey: "CL_HR_0019",
emptytext: "未定义", emptytext: "未定义",
......
...@@ -511,6 +511,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -511,6 +511,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HRDistributionGridView", "viewname": "HRDistributionGridView",
"viewtag": "6395cba44e6d6151f19e543b55d88845" "viewtag": "6395cba44e6d6151f19e543b55d88845"
}, },
"hrarchivesmovev_002": {
"title": "调档记录",
"caption": "调档记录",
"viewtype": "DEOPTVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesMoveV_002",
"viewtag": "682bfe80bc00d04530e87b55c178c6f3"
},
"hrcertificategridview": { "hrcertificategridview": {
"title": "证书", "title": "证书",
"caption": "证书", "caption": "证书",
...@@ -863,6 +871,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -863,6 +871,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HROrganizationEditView", "viewname": "HROrganizationEditView",
"viewtag": "b4ef4b87eb87fc3a2a8479027d62ac4c" "viewtag": "b4ef4b87eb87fc3a2a8479027d62ac4c"
}, },
"hrarchivesmovev_001": {
"title": "调档记录",
"caption": "调档记录",
"viewtype": "DEGRIDVIEW9",
"viewmodule": "HumanResource",
"viewname": "HRArchivesMoveV_001",
"viewtag": "b50ba73bdcf5631dc218cfb08097d534"
},
"hrcontractv_005": { "hrcontractv_005": {
"title": "合同信息", "title": "合同信息",
"caption": "合同信息", "caption": "合同信息",
...@@ -1247,6 +1263,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1247,6 +1263,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "HRPostDashboardView", "viewname": "HRPostDashboardView",
"viewtag": "f03c9544f1a1107bb34a97542dde1a3e" "viewtag": "f03c9544f1a1107bb34a97542dde1a3e"
}, },
"hrarchivesmovegridview": {
"title": "档案调档",
"caption": "档案调档",
"viewtype": "DEGRIDVIEW",
"viewmodule": "HumanResource",
"viewname": "HRArchivesMoveGridView",
"viewtag": "f26c77e32eb39f0d5feda6cdd6d73f39"
},
"hrarchivesborrowgridview": { "hrarchivesborrowgridview": {
"title": "档案借阅表格视图", "title": "档案借阅表格视图",
"caption": "档案借阅", "caption": "档案借阅",
......
<studio-view-style2 viewName="hrarchivesborrowgridview" viewTitle="档案借阅表格视图" class='degridview hrarchives-borrow-grid-view'>
<template slot='title'>
<span class='caption-info'>{{viewCaption}}</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.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="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="./hrarchives-borrow-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesBorrowGridViewBase } from './hrarchives-borrow-grid-view-base';
import view_grid from '@widgets/hrarchives-borrow/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrarchives-borrow/default-searchform/default-searchform.vue';
/**
* 档案借阅表格视图视图
*
* @export
* @class HRArchivesBorrowGridView
* @extends {HRArchivesBorrowGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesBorrowGridView extends HRArchivesBorrowGridViewBase { }
</script>
import { Subject } from 'rxjs';
import { OptionViewBase } from '@/studio-core';
import HRArchivesBorrowService from '@/service/hrarchives-borrow/hrarchives-borrow-service';
import HRArchivesBorrowAuthService from '@/authservice/hrarchives-borrow/hrarchives-borrow-auth-service';
import OptionViewEngine from '@engine/view/option-view-engine';
import HRArchivesBorrowUIService from '@/uiservice/hrarchives-borrow/hrarchives-borrow-ui-service';
/**
* 档案借阅视图基类
*
* @export
* @class HRArchivesBorrowV_001Base
* @extends {OptionViewBase}
*/
export class HRArchivesBorrowV_001Base extends OptionViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesBorrowV_001Base
*/
protected appDeName: string = 'hrarchivesborrow';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesBorrowV_001Base
*/
protected appDeKey: string = 'hrarchivesborrowid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesBorrowV_001Base
*/
protected appDeMajor: string = 'hrarchivesborrowname';
/**
* 实体服务对象
*
* @type {HRArchivesBorrowService}
* @memberof HRArchivesBorrowV_001Base
*/
protected appEntityService: HRArchivesBorrowService = new HRArchivesBorrowService;
/**
* 实体权限服务对象
*
* @type HRArchivesBorrowUIService
* @memberof HRArchivesBorrowV_001Base
*/
public appUIService: HRArchivesBorrowUIService = new HRArchivesBorrowUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesBorrowV_001Base
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesBorrowV_001Base
*/
protected model: any = {
srfCaption: 'entities.hrarchivesborrow.views.v_001.caption',
srfTitle: 'entities.hrarchivesborrow.views.v_001.title',
srfSubTitle: 'entities.hrarchivesborrow.views.v_001.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesBorrowV_001Base
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
view_okbtn: { name: 'okbtn', type: 'button', text: '确定', disabled: true },
view_cancelbtn: { name: 'cancelbtn', type: 'button', text: '取消', disabled: false },
view_leftbtn: { name: 'leftbtn', type: 'button', text: '左移', disabled: true },
view_rightbtn: { name: 'rightbtn', type: 'button', text: '右移', disabled: true },
view_allleftbtn: { name: 'allleftbtn', type: 'button', text: '全部左移', disabled: true },
view_allrightbtn: { name: 'allrightbtn', type: 'button', text: '全部右移', disabled: true },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '4ff919a1d1c42560df859b49cf8a1542';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesBorrowV_001Base
*/
public engine: OptionViewEngine = new OptionViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesBorrowV_001Base
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'hrarchivesborrow',
majorPSDEField: 'hrarchivesborrowname',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesBorrowV_001Base
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesBorrowV_001Base
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesBorrowV_001Base
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="hrarchivesborrowv_001" viewTitle="档案借阅" class='deoptview hrarchives-borrow-v-001'>
<template slot='title'>
<span class='caption-info'>{{viewCaption}}</span>
</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>
<template slot="footer">
<div class="option-view-footer-actions">
<i-button type='primary' @click="onClickOk.apply(_self, arguments)">{{ containerModel.view_okbtn.text }}</i-button>
&nbsp;&nbsp;
<i-button @click="onClickCancel.apply(_self, arguments)">{{ containerModel.view_cancelbtn.text }}</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
<template src="./hrarchives-borrow-v-001.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesBorrowV_001Base } from './hrarchives-borrow-v-001-base';
import view_form from '@widgets/hrarchives-borrow/main-form/main-form.vue';
/**
* 档案借阅视图
*
* @export
* @class HRArchivesBorrowV_001
* @extends {HRArchivesBorrowV_001Base}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesBorrowV_001 extends HRArchivesBorrowV_001Base { }
</script>
import { Subject } from 'rxjs';
import { GridView9Base } from '@/studio-core';
import HRArchivesBorrowService from '@/service/hrarchives-borrow/hrarchives-borrow-service';
import HRArchivesBorrowAuthService from '@/authservice/hrarchives-borrow/hrarchives-borrow-auth-service';
import GridView9Engine from '@engine/view/grid-view9-engine';
import HRArchivesBorrowUIService from '@/uiservice/hrarchives-borrow/hrarchives-borrow-ui-service';
import CodeListService from "@service/app/codelist-service";
/**
* 档案借阅视图基类
*
* @export
* @class HRArchivesBorrowV_002Base
* @extends {GridView9Base}
*/
export class HRArchivesBorrowV_002Base extends GridView9Base {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesBorrowV_002Base
*/
protected appDeName: string = 'hrarchivesborrow';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesBorrowV_002Base
*/
protected appDeKey: string = 'hrarchivesborrowid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesBorrowV_002Base
*/
protected appDeMajor: string = 'hrarchivesborrowname';
/**
* 实体服务对象
*
* @type {HRArchivesBorrowService}
* @memberof HRArchivesBorrowV_002Base
*/
protected appEntityService: HRArchivesBorrowService = new HRArchivesBorrowService;
/**
* 实体权限服务对象
*
* @type HRArchivesBorrowUIService
* @memberof HRArchivesBorrowV_002Base
*/
public appUIService: HRArchivesBorrowUIService = new HRArchivesBorrowUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesBorrowV_002Base
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesBorrowV_002Base
*/
protected model: any = {
srfCaption: 'entities.hrarchivesborrow.views.v_002.caption',
srfTitle: 'entities.hrarchivesborrow.views.v_002.title',
srfSubTitle: 'entities.hrarchivesborrow.views.v_002.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesBorrowV_002Base
*/
protected containerModel: any = {
view_grid: { name: 'grid', type: 'GRID' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '296fd870f472f231791563de41119283';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesBorrowV_002Base
*/
public engine: GridView9Engine = new GridView9Engine();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesBorrowV_002Base
*/
public engineInit(): void {
this.engine.init({
view: this,
opendata: (args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) => {
this.opendata(args,fullargs, params, $event, xData);
},
newdata: (args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) => {
this.newdata(args,fullargs, params, $event, xData);
},
grid: this.$refs.grid,
keyPSDEField: 'hrarchivesborrow',
majorPSDEField: 'hrarchivesborrowname',
isLoadDefault: true,
});
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesBorrowV_002Base
*/
public grid_selectionchange($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'selectionchange', $event);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesBorrowV_002Base
*/
public grid_beforeload($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'beforeload', $event);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesBorrowV_002Base
*/
public grid_rowdblclick($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'rowdblclick', $event);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesBorrowV_002Base
*/
public grid_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'remove', $event);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesBorrowV_002Base
*/
public grid_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'load', $event);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesBorrowV_002
*/
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
this.$Notice.warning({ title: '错误', desc: '未指定关系视图' });
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesBorrowV_002
*/
public opendata(args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) {
this.$Notice.warning({ title: '错误', desc: '未指定关系视图' });
}
}
\ No newline at end of file
<studio-embed-view-style2 viewName="hrarchivesborrowv_002" viewTitle="档案借阅" class='degridview9 hrarchives-borrow-v-002'>
<template slot='title'>
<span class='caption-info'>{{viewCaption}}</span>
</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-embed-view-style2>
\ No newline at end of file
<template src="./hrarchives-borrow-v-002.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesBorrowV_002Base } from './hrarchives-borrow-v-002-base';
import view_grid from '@widgets/hrarchives-borrow/main-grid/main-grid.vue';
/**
* 档案借阅视图
*
* @export
* @class HRArchivesBorrowV_002
* @extends {HRArchivesBorrowV_002Base}
*/
@Component({
components: {
view_grid,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesBorrowV_002 extends HRArchivesBorrowV_002Base { }
</script>
<studio-view-style2 viewName="hrarchivesmovegridview" viewTitle="档案调档" class='degridview hrarchives-move-grid-view'>
<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="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="./hrarchives-move-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesMoveGridViewBase } from './hrarchives-move-grid-view-base';
import view_grid from '@widgets/hrarchives-move/main-grid/main-grid.vue';
import view_searchform from '@widgets/hrarchives-move/default-searchform/default-searchform.vue';
/**
* 档案调档视图
*
* @export
* @class HRArchivesMoveGridView
* @extends {HRArchivesMoveGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesMoveGridView extends HRArchivesMoveGridViewBase { }
</script>
import { Subject } from 'rxjs';
import { GridView9Base } from '@/studio-core';
import HRArchivesMoveService from '@/service/hrarchives-move/hrarchives-move-service';
import HRArchivesMoveAuthService from '@/authservice/hrarchives-move/hrarchives-move-auth-service';
import GridView9Engine from '@engine/view/grid-view9-engine';
import HRArchivesMoveUIService from '@/uiservice/hrarchives-move/hrarchives-move-ui-service';
import CodeListService from "@service/app/codelist-service";
/**
* 调档记录视图基类
*
* @export
* @class HRArchivesMoveV_001Base
* @extends {GridView9Base}
*/
export class HRArchivesMoveV_001Base extends GridView9Base {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesMoveV_001Base
*/
protected appDeName: string = 'hrarchivesmove';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesMoveV_001Base
*/
protected appDeKey: string = 'hrarchivesmoveid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesMoveV_001Base
*/
protected appDeMajor: string = 'hrarchivesmovename';
/**
* 实体服务对象
*
* @type {HRArchivesMoveService}
* @memberof HRArchivesMoveV_001Base
*/
protected appEntityService: HRArchivesMoveService = new HRArchivesMoveService;
/**
* 实体权限服务对象
*
* @type HRArchivesMoveUIService
* @memberof HRArchivesMoveV_001Base
*/
public appUIService: HRArchivesMoveUIService = new HRArchivesMoveUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesMoveV_001Base
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesMoveV_001Base
*/
protected model: any = {
srfCaption: 'entities.hrarchivesmove.views.v_001.caption',
srfTitle: 'entities.hrarchivesmove.views.v_001.title',
srfSubTitle: 'entities.hrarchivesmove.views.v_001.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesMoveV_001Base
*/
protected containerModel: any = {
view_grid: { name: 'grid', type: 'GRID' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = 'b50ba73bdcf5631dc218cfb08097d534';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesMoveV_001Base
*/
public engine: GridView9Engine = new GridView9Engine();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesMoveV_001Base
*/
public engineInit(): void {
this.engine.init({
view: this,
opendata: (args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) => {
this.opendata(args,fullargs, params, $event, xData);
},
newdata: (args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) => {
this.newdata(args,fullargs, params, $event, xData);
},
grid: this.$refs.grid,
keyPSDEField: 'hrarchivesmove',
majorPSDEField: 'hrarchivesmovename',
isLoadDefault: true,
});
}
/**
* grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesMoveV_001Base
*/
public grid_selectionchange($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'selectionchange', $event);
}
/**
* grid 部件 beforeload 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesMoveV_001Base
*/
public grid_beforeload($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'beforeload', $event);
}
/**
* grid 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesMoveV_001Base
*/
public grid_rowdblclick($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'rowdblclick', $event);
}
/**
* grid 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesMoveV_001Base
*/
public grid_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'remove', $event);
}
/**
* grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesMoveV_001Base
*/
public grid_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('grid', 'load', $event);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesMoveV_001
*/
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
this.$Notice.warning({ title: '错误', desc: '未指定关系视图' });
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof HRArchivesMoveV_001
*/
public opendata(args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) {
this.$Notice.warning({ title: '错误', desc: '未指定关系视图' });
}
}
\ No newline at end of file
<studio-embed-view-style2 viewName="hrarchivesmovev_001" viewTitle="调档记录" class='degridview9 hrarchives-move-v-001'>
<template slot='title'>
<span class='caption-info'>{{viewCaption}}</span>
</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-embed-view-style2>
\ No newline at end of file
<template src="./hrarchives-move-v-001.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesMoveV_001Base } from './hrarchives-move-v-001-base';
import view_grid from '@widgets/hrarchives-move/main-grid/main-grid.vue';
/**
* 调档记录视图
*
* @export
* @class HRArchivesMoveV_001
* @extends {HRArchivesMoveV_001Base}
*/
@Component({
components: {
view_grid,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesMoveV_001 extends HRArchivesMoveV_001Base { }
</script>
import { Subject } from 'rxjs';
import { OptionViewBase } from '@/studio-core';
import HRArchivesMoveService from '@/service/hrarchives-move/hrarchives-move-service';
import HRArchivesMoveAuthService from '@/authservice/hrarchives-move/hrarchives-move-auth-service';
import OptionViewEngine from '@engine/view/option-view-engine';
import HRArchivesMoveUIService from '@/uiservice/hrarchives-move/hrarchives-move-ui-service';
/**
* 调档记录视图基类
*
* @export
* @class HRArchivesMoveV_002Base
* @extends {OptionViewBase}
*/
export class HRArchivesMoveV_002Base extends OptionViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof HRArchivesMoveV_002Base
*/
protected appDeName: string = 'hrarchivesmove';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof HRArchivesMoveV_002Base
*/
protected appDeKey: string = 'hrarchivesmoveid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof HRArchivesMoveV_002Base
*/
protected appDeMajor: string = 'hrarchivesmovename';
/**
* 实体服务对象
*
* @type {HRArchivesMoveService}
* @memberof HRArchivesMoveV_002Base
*/
protected appEntityService: HRArchivesMoveService = new HRArchivesMoveService;
/**
* 实体权限服务对象
*
* @type HRArchivesMoveUIService
* @memberof HRArchivesMoveV_002Base
*/
public appUIService: HRArchivesMoveUIService = new HRArchivesMoveUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof HRArchivesMoveV_002Base
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof HRArchivesMoveV_002Base
*/
protected model: any = {
srfCaption: 'entities.hrarchivesmove.views.v_002.caption',
srfTitle: 'entities.hrarchivesmove.views.v_002.title',
srfSubTitle: 'entities.hrarchivesmove.views.v_002.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof HRArchivesMoveV_002Base
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
view_okbtn: { name: 'okbtn', type: 'button', text: '确定', disabled: true },
view_cancelbtn: { name: 'cancelbtn', type: 'button', text: '取消', disabled: false },
view_leftbtn: { name: 'leftbtn', type: 'button', text: '左移', disabled: true },
view_rightbtn: { name: 'rightbtn', type: 'button', text: '右移', disabled: true },
view_allleftbtn: { name: 'allleftbtn', type: 'button', text: '全部左移', disabled: true },
view_allrightbtn: { name: 'allrightbtn', type: 'button', text: '全部右移', disabled: true },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '682bfe80bc00d04530e87b55c178c6f3';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof HRArchivesMoveV_002Base
*/
public engine: OptionViewEngine = new OptionViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof HRArchivesMoveV_002Base
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'hrarchivesmove',
majorPSDEField: 'hrarchivesmovename',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesMoveV_002Base
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesMoveV_002Base
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof HRArchivesMoveV_002Base
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="hrarchivesmovev_002" viewTitle="调档记录" class='deoptview hrarchives-move-v-002'>
<template slot='title'>
<span class='caption-info'>{{viewCaption}}</span>
</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>
<template slot="footer">
<div class="option-view-footer-actions">
<i-button type='primary' @click="onClickOk.apply(_self, arguments)">{{ containerModel.view_okbtn.text }}</i-button>
&nbsp;&nbsp;
<i-button @click="onClickCancel.apply(_self, arguments)">{{ containerModel.view_cancelbtn.text }}</i-button>
</div>
</template>
</studio-view-style2>
\ No newline at end of file
<template src="./hrarchives-move-v-002.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { HRArchivesMoveV_002Base } from './hrarchives-move-v-002-base';
import view_form from '@widgets/hrarchives-move/main-form/main-form.vue';
/**
* 调档记录视图
*
* @export
* @class HRArchivesMoveV_002
* @extends {HRArchivesMoveV_002Base}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class HRArchivesMoveV_002 extends HRArchivesMoveV_002Base { }
</script>
...@@ -3,6 +3,7 @@ export const PageComponents = { ...@@ -3,6 +3,7 @@ export const PageComponents = {
Vue.component('hrcertificate-edit-view', () => import('@pages/human-resource/hrcertificate-edit-view/hrcertificate-edit-view.vue')); Vue.component('hrcertificate-edit-view', () => import('@pages/human-resource/hrcertificate-edit-view/hrcertificate-edit-view.vue'));
Vue.component('hrreward-grid-view', () => import('@pages/human-resource/hrreward-grid-view/hrreward-grid-view.vue')); Vue.component('hrreward-grid-view', () => import('@pages/human-resource/hrreward-grid-view/hrreward-grid-view.vue'));
Vue.component('hrpost-v-004', () => import('@pages/human-resource/hrpost-v-004/hrpost-v-004.vue')); Vue.component('hrpost-v-004', () => import('@pages/human-resource/hrpost-v-004/hrpost-v-004.vue'));
Vue.component('hrarchives-move-v-002', () => import('@pages/human-resource/hrarchives-move-v-002/hrarchives-move-v-002.vue'));
Vue.component('hrduty-v-001', () => import('@pages/human-resource/hrduty-v-001/hrduty-v-001.vue')); Vue.component('hrduty-v-001', () => import('@pages/human-resource/hrduty-v-001/hrduty-v-001.vue'));
Vue.component('hrcontract-v-001', () => import('@pages/human-resource/hrcontract-v-001/hrcontract-v-001.vue')); Vue.component('hrcontract-v-001', () => import('@pages/human-resource/hrcontract-v-001/hrcontract-v-001.vue'));
Vue.component('hromhierarchy-cat-tab-exp-view', () => import('@pages/base/hromhierarchy-cat-tab-exp-view/hromhierarchy-cat-tab-exp-view.vue')); Vue.component('hromhierarchy-cat-tab-exp-view', () => import('@pages/base/hromhierarchy-cat-tab-exp-view/hromhierarchy-cat-tab-exp-view.vue'));
...@@ -11,6 +12,7 @@ export const PageComponents = { ...@@ -11,6 +12,7 @@ export const PageComponents = {
Vue.component('hroperation-unit-v-001', () => import('@pages/base/hroperation-unit-v-001/hroperation-unit-v-001.vue')); Vue.component('hroperation-unit-v-001', () => import('@pages/base/hroperation-unit-v-001/hroperation-unit-v-001.vue'));
Vue.component('hrcertificate-v-002', () => import('@pages/human-resource/hrcertificate-v-002/hrcertificate-v-002.vue')); Vue.component('hrcertificate-v-002', () => import('@pages/human-resource/hrcertificate-v-002/hrcertificate-v-002.vue'));
Vue.component('hrduty-pickup-grid-view', () => import('@pages/human-resource/hrduty-pickup-grid-view/hrduty-pickup-grid-view.vue')); Vue.component('hrduty-pickup-grid-view', () => import('@pages/human-resource/hrduty-pickup-grid-view/hrduty-pickup-grid-view.vue'));
Vue.component('hrarchives-borrow-grid-view', () => import('@pages/human-resource/hrarchives-borrow-grid-view/hrarchives-borrow-grid-view.vue'));
Vue.component('hrcontract-v-003', () => import('@pages/human-resource/hrcontract-v-003/hrcontract-v-003.vue')); Vue.component('hrcontract-v-003', () => import('@pages/human-resource/hrcontract-v-003/hrcontract-v-003.vue'));
Vue.component('hroperation-unit-v-002', () => import('@pages/base/hroperation-unit-v-002/hroperation-unit-v-002.vue')); Vue.component('hroperation-unit-v-002', () => import('@pages/base/hroperation-unit-v-002/hroperation-unit-v-002.vue'));
Vue.component('hrtechnical-title-v-002', () => import('@pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002.vue')); Vue.component('hrtechnical-title-v-002', () => import('@pages/human-resource/hrtechnical-title-v-002/hrtechnical-title-v-002.vue'));
...@@ -38,6 +40,7 @@ export const PageComponents = { ...@@ -38,6 +40,7 @@ export const PageComponents = {
Vue.component('hromhierarchy-cat-grid-view', () => import('@pages/base/hromhierarchy-cat-grid-view/hromhierarchy-cat-grid-view.vue')); Vue.component('hromhierarchy-cat-grid-view', () => import('@pages/base/hromhierarchy-cat-grid-view/hromhierarchy-cat-grid-view.vue'));
Vue.component('hremployee-v-001', () => import('@pages/human-resource/hremployee-v-001/hremployee-v-001.vue')); Vue.component('hremployee-v-001', () => import('@pages/human-resource/hremployee-v-001/hremployee-v-001.vue'));
Vue.component('hrpost-rel-v-001', () => import('@pages/human-resource/hrpost-rel-v-001/hrpost-rel-v-001.vue')); Vue.component('hrpost-rel-v-001', () => import('@pages/human-resource/hrpost-rel-v-001/hrpost-rel-v-001.vue'));
Vue.component('hrarchives-borrow-v-001', () => import('@pages/human-resource/hrarchives-borrow-v-001/hrarchives-borrow-v-001.vue'));
Vue.component('hrtransfer-apply-v-002', () => import('@pages/pcm/hrtransfer-apply-v-002/hrtransfer-apply-v-002.vue')); Vue.component('hrtransfer-apply-v-002', () => import('@pages/pcm/hrtransfer-apply-v-002/hrtransfer-apply-v-002.vue'));
Vue.component('hrtransfer-apply-wfdyna-edit-view', () => import('@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue')); Vue.component('hrtransfer-apply-wfdyna-edit-view', () => import('@pages/pcm/hrtransfer-apply-wfdyna-edit-view/hrtransfer-apply-wfdyna-edit-view.vue'));
Vue.component('hrresearch-grid-view', () => import('@pages/human-resource/hrresearch-grid-view/hrresearch-grid-view.vue')); Vue.component('hrresearch-grid-view', () => import('@pages/human-resource/hrresearch-grid-view/hrresearch-grid-view.vue'));
...@@ -52,6 +55,7 @@ export const PageComponents = { ...@@ -52,6 +55,7 @@ export const PageComponents = {
Vue.component('hrtransfer-apply-dashboard-view', () => import('@pages/pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view.vue')); Vue.component('hrtransfer-apply-dashboard-view', () => import('@pages/pcm/hrtransfer-apply-dashboard-view/hrtransfer-apply-dashboard-view.vue'));
Vue.component('hrcontract-v-004', () => import('@pages/human-resource/hrcontract-v-004/hrcontract-v-004.vue')); Vue.component('hrcontract-v-004', () => import('@pages/human-resource/hrcontract-v-004/hrcontract-v-004.vue'));
Vue.component('hromhierarchy-cat-pickup-view', () => import('@pages/base/hromhierarchy-cat-pickup-view/hromhierarchy-cat-pickup-view.vue')); Vue.component('hromhierarchy-cat-pickup-view', () => import('@pages/base/hromhierarchy-cat-pickup-view/hromhierarchy-cat-pickup-view.vue'));
Vue.component('hrarchives-move-v-001', () => import('@pages/human-resource/hrarchives-move-v-001/hrarchives-move-v-001.vue'));
Vue.component('hremployee-v-007', () => import('@pages/human-resource/hremployee-v-007/hremployee-v-007.vue')); Vue.component('hremployee-v-007', () => import('@pages/human-resource/hremployee-v-007/hremployee-v-007.vue'));
Vue.component('hrtechnical-title-v-003', () => import('@pages/human-resource/hrtechnical-title-v-003/hrtechnical-title-v-003.vue')); Vue.component('hrtechnical-title-v-003', () => import('@pages/human-resource/hrtechnical-title-v-003/hrtechnical-title-v-003.vue'));
Vue.component('hrpost-v-005', () => import('@pages/human-resource/hrpost-v-005/hrpost-v-005.vue')); Vue.component('hrpost-v-005', () => import('@pages/human-resource/hrpost-v-005/hrpost-v-005.vue'));
...@@ -105,6 +109,7 @@ export const PageComponents = { ...@@ -105,6 +109,7 @@ export const PageComponents = {
Vue.component('hrreward-edit-view', () => import('@pages/human-resource/hrreward-edit-view/hrreward-edit-view.vue')); Vue.component('hrreward-edit-view', () => import('@pages/human-resource/hrreward-edit-view/hrreward-edit-view.vue'));
Vue.component('hrduty-cert-v-001', () => import('@pages/human-resource/hrduty-cert-v-001/hrduty-cert-v-001.vue')); Vue.component('hrduty-cert-v-001', () => import('@pages/human-resource/hrduty-cert-v-001/hrduty-cert-v-001.vue'));
Vue.component('hrcertificate-v-004', () => import('@pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.vue')); Vue.component('hrcertificate-v-004', () => import('@pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.vue'));
Vue.component('hrarchives-move-grid-view', () => import('@pages/human-resource/hrarchives-move-grid-view/hrarchives-move-grid-view.vue'));
Vue.component('hrlegal-dashboard-view', () => import('@pages/base/hrlegal-dashboard-view/hrlegal-dashboard-view.vue')); Vue.component('hrlegal-dashboard-view', () => import('@pages/base/hrlegal-dashboard-view/hrlegal-dashboard-view.vue'));
Vue.component('hrlegal-v-001', () => import('@pages/base/hrlegal-v-001/hrlegal-v-001.vue')); Vue.component('hrlegal-v-001', () => import('@pages/base/hrlegal-v-001/hrlegal-v-001.vue'));
Vue.component('hrwork-record-grid-view', () => import('@pages/human-resource/hrwork-record-grid-view/hrwork-record-grid-view.vue')); Vue.component('hrwork-record-grid-view', () => import('@pages/human-resource/hrwork-record-grid-view/hrwork-record-grid-view.vue'));
...@@ -145,5 +150,6 @@ export const PageComponents = { ...@@ -145,5 +150,6 @@ export const PageComponents = {
Vue.component('hrtransfer-apply-v-004', () => import('@pages/pcm/hrtransfer-apply-v-004/hrtransfer-apply-v-004.vue')); Vue.component('hrtransfer-apply-v-004', () => import('@pages/pcm/hrtransfer-apply-v-004/hrtransfer-apply-v-004.vue'));
Vue.component('hrcertificate-v-003', () => import('@pages/human-resource/hrcertificate-v-003/hrcertificate-v-003.vue')); Vue.component('hrcertificate-v-003', () => import('@pages/human-resource/hrcertificate-v-003/hrcertificate-v-003.vue'));
Vue.component('hrtechnical-title-edit-view', () => import('@pages/human-resource/hrtechnical-title-edit-view/hrtechnical-title-edit-view.vue')); Vue.component('hrtechnical-title-edit-view', () => import('@pages/human-resource/hrtechnical-title-edit-view/hrtechnical-title-edit-view.vue'));
Vue.component('hrarchives-borrow-v-002', () => import('@pages/human-resource/hrarchives-borrow-v-002/hrarchives-borrow-v-002.vue'));
} }
}; };
\ No newline at end of file
...@@ -115,6 +115,20 @@ const router = new Router({ ...@@ -115,6 +115,20 @@ const router = new Router({
}, },
component: () => import('@pages/human-resource/hrpost-v-004/hrpost-v-004.vue'), component: () => import('@pages/human-resource/hrpost-v-004/hrpost-v-004.vue'),
}, },
{
path: 'hrarchivesmoves/:hrarchivesmove?/v_002/:v_002?',
meta: {
caption: 'entities.hrarchivesmove.views.v_002.title',
info:'',
parameters: [
{ pathName: 'pim', parameterName: 'pim' },
{ pathName: 'hrarchivesmoves', parameterName: 'hrarchivesmove' },
{ pathName: 'v_002', parameterName: 'v_002' },
],
requireAuth: true,
},
component: () => import('@pages/human-resource/hrarchives-move-v-002/hrarchives-move-v-002.vue'),
},
{ {
path: 'hrduties/:hrduty?/v_001/:v_001?', path: 'hrduties/:hrduty?/v_001/:v_001?',
meta: { meta: {
...@@ -287,6 +301,20 @@ const router = new Router({ ...@@ -287,6 +301,20 @@ const router = new Router({
}, },
component: () => import('@pages/human-resource/hrduty-pickup-grid-view/hrduty-pickup-grid-view.vue'), component: () => import('@pages/human-resource/hrduty-pickup-grid-view/hrduty-pickup-grid-view.vue'),
}, },
{
path: 'hrarchivesborrows/:hrarchivesborrow?/gridview/:gridview?',
meta: {
caption: 'entities.hrarchivesborrow.views.gridview.title',
info:'',
parameters: [
{ pathName: 'pim', parameterName: 'pim' },
{ pathName: 'hrarchivesborrows', parameterName: 'hrarchivesborrow' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/human-resource/hrarchives-borrow-grid-view/hrarchives-borrow-grid-view.vue'),
},
{ {
path: 'hremployees/:hremployee?/hrcontracts/:hrcontract?/v_003/:v_003?', path: 'hremployees/:hremployee?/hrcontracts/:hrcontract?/v_003/:v_003?',
meta: { meta: {
...@@ -875,6 +903,20 @@ const router = new Router({ ...@@ -875,6 +903,20 @@ const router = new Router({
}, },
component: () => import('@pages/human-resource/hrpost-rel-v-001/hrpost-rel-v-001.vue'), component: () => import('@pages/human-resource/hrpost-rel-v-001/hrpost-rel-v-001.vue'),
}, },
{
path: 'hrarchivesborrows/:hrarchivesborrow?/v_001/:v_001?',
meta: {
caption: 'entities.hrarchivesborrow.views.v_001.title',
info:'',
parameters: [
{ pathName: 'pim', parameterName: 'pim' },
{ pathName: 'hrarchivesborrows', parameterName: 'hrarchivesborrow' },
{ pathName: 'v_001', parameterName: 'v_001' },
],
requireAuth: true,
},
component: () => import('@pages/human-resource/hrarchives-borrow-v-001/hrarchives-borrow-v-001.vue'),
},
{ {
path: 'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/v_002/:v_002?', path: 'hrposts/:hrpost?/hrtransferapplies/:hrtransferapply?/v_002/:v_002?',
meta: { meta: {
...@@ -1326,6 +1368,20 @@ const router = new Router({ ...@@ -1326,6 +1368,20 @@ const router = new Router({
}, },
component: () => import('@pages/base/hromhierarchy-cat-pickup-view/hromhierarchy-cat-pickup-view.vue'), component: () => import('@pages/base/hromhierarchy-cat-pickup-view/hromhierarchy-cat-pickup-view.vue'),
}, },
{
path: 'hrarchivesmoves/:hrarchivesmove?/v_001/:v_001?',
meta: {
caption: 'entities.hrarchivesmove.views.v_001.title',
info:'',
parameters: [
{ pathName: 'pim', parameterName: 'pim' },
{ pathName: 'hrarchivesmoves', parameterName: 'hrarchivesmove' },
{ pathName: 'v_001', parameterName: 'v_001' },
],
requireAuth: true,
},
component: () => import('@pages/human-resource/hrarchives-move-v-001/hrarchives-move-v-001.vue'),
},
{ {
path: 'hremployees/:hremployee?/v_007/:v_007?', path: 'hremployees/:hremployee?/v_007/:v_007?',
meta: { meta: {
...@@ -2683,6 +2739,20 @@ const router = new Router({ ...@@ -2683,6 +2739,20 @@ const router = new Router({
}, },
component: () => import('@pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.vue'), component: () => import('@pages/human-resource/hrcertificate-v-004/hrcertificate-v-004.vue'),
}, },
{
path: 'hrarchivesmoves/:hrarchivesmove?/gridview/:gridview?',
meta: {
caption: 'entities.hrarchivesmove.views.gridview.title',
info:'',
parameters: [
{ pathName: 'pim', parameterName: 'pim' },
{ pathName: 'hrarchivesmoves', parameterName: 'hrarchivesmove' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/human-resource/hrarchives-move-grid-view/hrarchives-move-grid-view.vue'),
},
{ {
path: 'hrlegals/:hrlegal?/dashboardview/:dashboardview?', path: 'hrlegals/:hrlegal?/dashboardview/:dashboardview?',
meta: { meta: {
...@@ -3933,6 +4003,20 @@ const router = new Router({ ...@@ -3933,6 +4003,20 @@ const router = new Router({
}, },
component: () => import('@pages/human-resource/hrtechnical-title-edit-view/hrtechnical-title-edit-view.vue'), component: () => import('@pages/human-resource/hrtechnical-title-edit-view/hrtechnical-title-edit-view.vue'),
}, },
{
path: 'hrarchivesborrows/:hrarchivesborrow?/v_002/:v_002?',
meta: {
caption: 'entities.hrarchivesborrow.views.v_002.title',
info:'',
parameters: [
{ pathName: 'pim', parameterName: 'pim' },
{ pathName: 'hrarchivesborrows', parameterName: 'hrarchivesborrow' },
{ pathName: 'v_002', parameterName: 'v_002' },
],
requireAuth: true,
},
component: () => import('@pages/human-resource/hrarchives-borrow-v-002/hrarchives-borrow-v-002.vue'),
},
...indexRoutes, ...indexRoutes,
], ],
}, },
......
...@@ -305,6 +305,15 @@ export const viewstate: any = { ...@@ -305,6 +305,15 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '296fd870f472f231791563de41119283',
viewmodule: 'HumanResource',
viewname: 'HRArchivesBorrowV_002',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '2b64c322042da1808776304d21c90e45', viewtag: '2b64c322042da1808776304d21c90e45',
viewmodule: 'Base', viewmodule: 'Base',
...@@ -416,6 +425,8 @@ export const viewstate: any = { ...@@ -416,6 +425,8 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'b50ba73bdcf5631dc218cfb08097d534',
'296fd870f472f231791563de41119283',
], ],
}, },
{ {
...@@ -501,6 +512,15 @@ export const viewstate: any = { ...@@ -501,6 +512,15 @@ export const viewstate: any = {
'6cf9411c3f3597947dfee8dad2968182', '6cf9411c3f3597947dfee8dad2968182',
], ],
}, },
{
viewtag: '4ff919a1d1c42560df859b49cf8a1542',
viewmodule: 'HumanResource',
viewname: 'HRArchivesBorrowV_001',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '532833b3a07947f04a46adcc957a0ca6', viewtag: '532833b3a07947f04a46adcc957a0ca6',
viewmodule: 'HumanResource', viewmodule: 'HumanResource',
...@@ -541,8 +561,9 @@ export const viewstate: any = { ...@@ -541,8 +561,9 @@ export const viewstate: any = {
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'4726bc4ee402aed771ecabe7a6ecdaae', '4726bc4ee402aed771ecabe7a6ecdaae',
'f31e79001d0aafc5a665b5dfeb4eea80',
'f26c77e32eb39f0d5feda6cdd6d73f39',
'd33bb4278ea65f691909636c691a0666', 'd33bb4278ea65f691909636c691a0666',
'c01c4604589a2c171c4f41f2ac11f4e2',
], ],
}, },
{ {
...@@ -616,6 +637,15 @@ export const viewstate: any = { ...@@ -616,6 +637,15 @@ export const viewstate: any = {
'cd7f9e0b57fdfdf34307ce460137b152', 'cd7f9e0b57fdfdf34307ce460137b152',
], ],
}, },
{
viewtag: '682bfe80bc00d04530e87b55c178c6f3',
viewmodule: 'HumanResource',
viewname: 'HRArchivesMoveV_002',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '685cd7da1331d604d0382b8d64d90664', viewtag: '685cd7da1331d604d0382b8d64d90664',
viewmodule: 'HumanResource', viewmodule: 'HumanResource',
...@@ -1036,6 +1066,15 @@ export const viewstate: any = { ...@@ -1036,6 +1066,15 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'b50ba73bdcf5631dc218cfb08097d534',
viewmodule: 'HumanResource',
viewname: 'HRArchivesMoveV_001',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'b748e4bd87b9d77bfc24835a2e5e96c9', viewtag: 'b748e4bd87b9d77bfc24835a2e5e96c9',
viewmodule: 'HumanResource', viewmodule: 'HumanResource',
...@@ -1517,6 +1556,26 @@ export const viewstate: any = { ...@@ -1517,6 +1556,26 @@ export const viewstate: any = {
'5efdfaf722e7585dfd685922b16f7f88', '5efdfaf722e7585dfd685922b16f7f88',
], ],
}, },
{
viewtag: 'f26c77e32eb39f0d5feda6cdd6d73f39',
viewmodule: 'HumanResource',
viewname: 'HRArchivesMoveGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'682bfe80bc00d04530e87b55c178c6f3',
],
},
{
viewtag: 'f31e79001d0aafc5a665b5dfeb4eea80',
viewmodule: 'HumanResource',
viewname: 'HRArchivesBorrowGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'4ff919a1d1c42560df859b49cf8a1542',
],
},
{ {
viewtag: 'f6a6d0da81100b5a69aba1b9b967b6ab', viewtag: 'f6a6d0da81100b5a69aba1b9b967b6ab',
viewmodule: 'Base', viewmodule: 'Base',
......
...@@ -89,6 +89,9 @@ export default class HRArchivesMoveUIServiceBase extends UIService { ...@@ -89,6 +89,9 @@ export default class HRArchivesMoveUIServiceBase extends UIService {
* @memberof HRArchivesMoveUIServiceBase * @memberof HRArchivesMoveUIServiceBase
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set(':',{viewname:'v_002',srfappde:'hrarchivesmoves'});
this.allViewMap.set(':',{viewname:'v_001',srfappde:'hrarchivesmoves'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'hrarchivesmoves'});
} }
/** /**
......
import { Prop, Provide, Emit, Model } from 'vue-property-decorator';
import { Subject, Subscription } from 'rxjs';
import { Watch, SearchFormControlBase } from '@/studio-core';
import HRArchivesBorrowService from '@/service/hrarchives-borrow/hrarchives-borrow-service';
import DefaultService from './default-searchform-service';
import HRArchivesBorrowUIService from '@/uiservice/hrarchives-borrow/hrarchives-borrow-ui-service';
import { FormButtonModel, FormPageModel, FormItemModel, FormDRUIPartModel, FormPartModel, FormGroupPanelModel, FormIFrameModel, FormRowItemModel, FormTabPageModel, FormTabPanelModel, FormUserControlModel } from '@/model/form-detail';
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
/**
* searchform部件基类
*
* @export
* @class SearchFormControlBase
* @extends {DefaultSearchFormBase}
*/
export class DefaultSearchFormBase extends SearchFormControlBase {
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof DefaultSearchFormBase
*/
protected controlType: string = 'SEARCHFORM';
/**
* 建构部件服务对象
*
* @type {DefaultService}
* @memberof DefaultSearchFormBase
*/
public service: DefaultService = new DefaultService({ $store: this.$store });
/**
* 实体服务对象
*
* @type {HRArchivesBorrowService}
* @memberof DefaultSearchFormBase
*/
public appEntityService: HRArchivesBorrowService = new HRArchivesBorrowService({ $store: this.$store });
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof DefaultSearchFormBase
*/
protected appDeName: string = 'hrarchivesborrow';
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof DefaultSearchFormBase
*/
protected appDeLogicName: string = '档案借阅';
/**
* 表单数据对象
*
* @type {*}
* @memberof DefaultSearchFormBase
*/
public data: any = {
};
/**
* 详情模型集合
*
* @type {*}
* @memberof DefaultSearchFormBase
*/
public detailsModel: any = {
formpage1: new FormPageModel({ caption: '常规条件', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this })
,
};
}
\ No newline at end of file
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export default class DefaultModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
<i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<input style="display:none;"/>
<div class="search-button">
<i-button size="small" type="primary" ghost @click="onSearch.apply(_self, arguments)">{{$t('app.searchButton.search')}}</i-button>
<i-button size="small" type="default" ghost @click="onReset.apply(_self, arguments)">{{this.$t('app.searchButton.reset')}}</i-button>
</div>
<div class="form-content">
</div>
</i-form>
\ No newline at end of file
<template src="./default-searchform.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { DefaultSearchFormBase } from './default-searchform-base';
/**
* searchform部件
*
* @export
* @class DefaultSearchForm
* @extends {DefaultSearchFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class DefaultSearchForm extends DefaultSearchFormBase { }
</script>
import { Prop, Provide, Emit, Model } from 'vue-property-decorator';
import { Subject, Subscription } from 'rxjs';
import { Watch, EditFormControlBase } from '@/studio-core';
import HRArchivesBorrowService from '@/service/hrarchives-borrow/hrarchives-borrow-service';
import MainService from './main-form-service';
import HRArchivesBorrowUIService from '@/uiservice/hrarchives-borrow/hrarchives-borrow-ui-service';
import { FormButtonModel, FormPageModel, FormItemModel, FormDRUIPartModel, FormPartModel, FormGroupPanelModel, FormIFrameModel, FormRowItemModel, FormTabPageModel, FormTabPanelModel, FormUserControlModel } from '@/model/form-detail';
/**
* form部件基类
*
* @export
* @class EditFormControlBase
* @extends {MainEditFormBase}
*/
export class MainEditFormBase extends EditFormControlBase {
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof MainEditFormBase
*/
protected controlType: string = 'FORM';
/**
* 建构部件服务对象
*
* @type {MainService}
* @memberof MainEditFormBase
*/
public service: MainService = new MainService({ $store: this.$store });
/**
* 实体服务对象
*
* @type {HRArchivesBorrowService}
* @memberof MainEditFormBase
*/
public appEntityService: HRArchivesBorrowService = new HRArchivesBorrowService({ $store: this.$store });
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof MainEditFormBase
*/
protected appDeName: string = 'hrarchivesborrow';
/**
* 应用实体中文名称
*
* @protected
* @type {string}
* @memberof MainEditFormBase
*/
protected appDeLogicName: string = '档案借阅';
/**
* 界面UI服务对象
*
* @type {HRArchivesBorrowUIService}
* @memberof MainEditFormBase
*/
public appUIService:HRArchivesBorrowUIService = new HRArchivesBorrowUIService(this.$store);
/**
* 表单数据对象
*
* @type {*}
* @memberof MainEditFormBase
*/
public data: any = {
srfupdatedate: null,
srforikey: null,
srfkey: null,
srfmajortext: null,
srftempmode: null,
srfuf: null,
srfdeid: null,
srfsourcekey: null,
borrowman: null,
begintime: null,
endtime: null,
checkman: null,
checktime: null,
borrowreason: null,
borrowstate: null,
hrarchivesborrowid: null,
hrarchivesborrow:null,
};
/**
* 属性值规则
*
* @type {*}
* @memberof MainEditFormBase
*/
public rules: any = {
borrowman: [
{ required: true, type: 'string', message: '借阅人 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '借阅人 值不能为空', trigger: 'blur' },
],
begintime: [
{ required: true, type: 'string', message: '借阅时间 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '借阅时间 值不能为空', trigger: 'blur' },
],
borrowstate: [
{ required: true, type: 'string', message: '借阅状态 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '借阅状态 值不能为空', trigger: 'blur' },
],
}
/**
* 属性值规则
*
* @type {*}
* @memberof MainBase
*/
public deRules:any = {
};
/**
* 详情模型集合
*
* @type {*}
* @memberof MainEditFormBase
*/
public detailsModel: any = {
group1: new FormGroupPanelModel({ caption: '档案借阅基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, showMoreMode: 0, uiActionGroup: { caption: '', langbase: 'entities.hrarchivesborrow.main_form', extractMode: 'ITEM', details: [] } }),
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, showMoreMode: 0 }),
srfupdatedate: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
srfkey: new FormItemModel({ caption: '档案借阅标识', detailType: 'FORMITEM', name: 'srfkey', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
srfmajortext: new FormItemModel({ caption: '档案借阅名称', detailType: 'FORMITEM', name: 'srfmajortext', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
srftempmode: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srftempmode', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
srfuf: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfuf', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
srfdeid: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfdeid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
borrowman: new FormItemModel({ caption: '借阅人', detailType: 'FORMITEM', name: 'borrowman', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
begintime: new FormItemModel({ caption: '借阅时间', detailType: 'FORMITEM', name: 'begintime', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
endtime: new FormItemModel({ caption: '归还时间', detailType: 'FORMITEM', name: 'endtime', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
checkman: new FormItemModel({ caption: '审批同意人', detailType: 'FORMITEM', name: 'checkman', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
checktime: new FormItemModel({ caption: '审批时间', detailType: 'FORMITEM', name: 'checktime', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
borrowreason: new FormItemModel({ caption: '借阅原因', detailType: 'FORMITEM', name: 'borrowreason', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
borrowstate: new FormItemModel({ caption: '借阅状态', detailType: 'FORMITEM', name: 'borrowstate', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
hrarchivesborrowid: new FormItemModel({ caption: '档案借阅标识', detailType: 'FORMITEM', name: 'hrarchivesborrowid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
};
}
\ No newline at end of file
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export default class MainModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'hrarchivesborrowid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'hrarchivesborrowname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'borrowman',
prop: 'borrowman',
dataType: 'TEXT',
},
{
name: 'begintime',
prop: 'begintime',
dataType: 'DATE',
},
{
name: 'endtime',
prop: 'endtime',
dataType: 'DATE',
},
{
name: 'checkman',
prop: 'checkman',
dataType: 'TEXT',
},
{
name: 'checktime',
prop: 'checktime',
dataType: 'DATE',
},
{
name: 'borrowreason',
prop: 'borrowreason',
dataType: 'TEXT',
},
{
name: 'borrowstate',
prop: 'borrowstate',
dataType: 'SSCODELIST',
},
{
name: 'hrarchivesborrowid',
prop: 'hrarchivesborrowid',
dataType: 'GUID',
},
{
name: 'hrarchivesborrow',
prop: 'hrarchivesborrowid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
<i-form :model="this.data" class='app-form' ref='form' id='hrarchivesborrow_main' style="">
<input style="display:none;" />
<row >
<i-col class="form-layout-container" v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :model="detailsModel.group1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.hrarchivesborrow.main_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.group1" :data="data" :context="context" :viewparams="viewparams"/>
<row>
<i-col class="form-layout-container" v-show="detailsModel.borrowman.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='borrowman' :itemRules="this.rules.borrowman" class='' :caption="$t('entities.hrarchivesborrow.main_form.details.borrowman')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrowman.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.borrowman"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.borrowman.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col class="form-layout-container" v-show="detailsModel.begintime.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='begintime' :itemRules="this.rules.begintime" class='' :caption="$t('entities.hrarchivesborrow.main_form.details.begintime')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.begintime.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :value="data.begintime" :disabled="detailsModel.begintime.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.begintime = val1 }"></date-picker>
</app-form-item>
</i-col>
<i-col class="form-layout-container" v-show="detailsModel.endtime.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='endtime' :itemRules="this.rules.endtime" class='' :caption="$t('entities.hrarchivesborrow.main_form.details.endtime')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.endtime.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :value="data.endtime" :disabled="detailsModel.endtime.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.endtime = val1 }"></date-picker>
</app-form-item>
</i-col>
<i-col class="form-layout-container" v-show="detailsModel.checkman.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='checkman' :itemRules="this.rules.checkman" class='' :caption="$t('entities.hrarchivesborrow.main_form.details.checkman')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.checkman.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.checkman"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.checkman.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col class="form-layout-container" v-show="detailsModel.checktime.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='checktime' :itemRules="this.rules.checktime" class='' :caption="$t('entities.hrarchivesborrow.main_form.details.checktime')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.checktime.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" placeholder="请选择时间..." :value="data.checktime" :disabled="detailsModel.checktime.disabled" style="min-width: 150px; width:100px;" @on-change="(val1, val2) => { this.data.checktime = val1 }"></date-picker>
</app-form-item>
</i-col>
<i-col class="form-layout-container" v-show="detailsModel.borrowreason.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='borrowreason' :itemRules="this.rules.borrowreason" class='' :caption="$t('entities.hrarchivesborrow.main_form.details.borrowreason')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrowreason.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.borrowreason"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.borrowreason.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col class="form-layout-container" v-show="detailsModel.borrowstate.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='borrowstate' :itemRules="this.rules.borrowstate" class='' :caption="$t('entities.hrarchivesborrow.main_form.details.borrowstate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.borrowstate.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.borrowstate"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.borrowstate.disabled"
valueType="string"
tag='CL_HR_0024'
codelistType='STATIC'
placeholder='请选择...'
/>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
<template src="./main-form.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { MainEditFormBase } from './main-form-base';
/**
* form部件
*
* @export
* @class MainEditForm
* @extends {MainEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class MainEditForm extends MainEditFormBase { }
</script>
<template src="./main-grid.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { MainGridBase } from './main-grid-base';
/**
* grid部件
*
* @export
* @class MainGrid
* @extends {MainGridBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class MainGrid extends MainGridBase { }
</script>
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export default class DefaultModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册