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

lab_gzf 部署微服务应用

上级 1fba92ac
......@@ -339,6 +339,16 @@
"viewtag": "c6a93309b2a9d12617cdbaf29731d2a4",
"memo": ""
},
"eamassetchildgridview": {
"title": "资产表格视图",
"caption": "资产",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetChildGridView",
"viewfilename": "eamasset-child-grid-view",
"viewtag": "c8bf8b682adc459f7f285328199ba4b4",
"memo": "系统自动添加"
},
"eamlocationsummaryview": {
"title": "功能位置数据看板视图",
"caption": "功能位置",
......
......@@ -143,6 +143,7 @@ export default {
menuitem10: "资产状态",
menuitem11: "资产状态模型",
menuitem12: "资产类型",
menuitem13: "资产管理",
menuitem3: "维护申请",
menuitem4: "工单管理",
menuitem5: "维护计划",
......
......@@ -143,6 +143,7 @@ export default {
menuitem10: "资产状态",
menuitem11: "资产状态模型",
menuitem12: "资产类型",
menuitem13: "资产管理",
menuitem3: "维护申请",
menuitem4: "工单管理",
menuitem5: "维护计划",
......
......@@ -42,6 +42,10 @@ export default {
caption: "资产",
title: "资产信息",
},
childgridview: {
caption: "资产",
title: "资产表格视图",
},
gridview: {
caption: "资产",
title: "资产信息",
......
......@@ -41,6 +41,10 @@ export default {
caption: "资产",
title: "资产信息",
},
childgridview: {
caption: "资产",
title: "资产表格视图",
},
gridview: {
caption: "资产",
title: "资产信息",
......
......@@ -151,7 +151,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-navicon',
icon: '',
textcls: '',
appfunctag: '_8',
appfunctag: '_9',
resourcetag: '',
},
],
......@@ -225,6 +225,24 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-legal',
icon: '',
textcls: '',
appfunctag: '_8',
resourcetag: '',
},
{
id: '4E96FE14-1C7E-4C47-8FDE-444B19EAB2A5',
name: 'menuitem13',
text: '资产管理',
type: 'MENUITEM',
counterid: '',
tooltip: '资产管理',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-rocket',
icon: '',
textcls: '',
appfunctag: '_7',
resourcetag: '',
},
......
......@@ -279,6 +279,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetLocationAssetGridView",
"viewtag": "c6a93309b2a9d12617cdbaf29731d2a4"
},
"eamassetchildgridview": {
"title": "资产表格视图",
"caption": "资产",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetChildGridView",
"viewtag": "c8bf8b682adc459f7f285328199ba4b4"
},
"eamlocationsummaryview": {
"title": "功能位置数据看板视图",
"caption": "功能位置",
......
<studio-view-style2 viewName="eamassetchildgridview" viewTitle="资产表格视图" class='degridview eamasset-child-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" placeholder="资产名称" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave.apply(_self, arguments)"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata.bind(_self)"
:opendata="opendata.bind(_self)"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./eamasset-child-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetChildGridViewBase } from './eamasset-child-grid-view-base';
import view_grid from '@widgets/eamasset/child-grid-grid/child-grid-grid.vue';
import view_searchform from '@widgets/eamasset/default-searchform/default-searchform.vue';
/**
* 资产表格视图视图
*
* @export
* @class EAMAssetChildGridView
* @extends {EAMAssetChildGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetChildGridView extends EAMAssetChildGridViewBase { }
</script>
<studio-view-style2 viewName="eamasseteditview" viewTitle="资产编辑视图" class='deeditview eamasset-edit-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
\ No newline at end of file
<template src="./eamasset-edit-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetEditViewBase } from './eamasset-edit-view-base';
import view_form from '@widgets/eamasset/main-form/main-form.vue';
/**
* 资产编辑视图视图
*
* @export
* @class EAMAssetEditView
* @extends {EAMAssetEditViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetEditView extends EAMAssetEditViewBase { }
</script>
<studio-view-style2 viewName="eamassetgridview" viewTitle="资产信息" class='degridview eamasset-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" placeholder="资产名称" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave.apply(_self, arguments)"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata.bind(_self)"
:opendata="opendata.bind(_self)"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./eamasset-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetGridViewBase } from './eamasset-grid-view-base';
import view_grid from '@widgets/eamasset/main-grid/main-grid.vue';
import view_searchform from '@widgets/eamasset/default-searchform/default-searchform.vue';
/**
* 资产信息视图
*
* @export
* @class EAMAssetGridView
* @extends {EAMAssetGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetGridView extends EAMAssetGridViewBase { }
</script>
import { Subject } from 'rxjs';
import { EditViewBase } from '@/studio-core';
import EAMAssetService from '@/service/eamasset/eamasset-service';
import EAMAssetAuthService from '@/authservice/eamasset/eamasset-auth-service';
import EditViewEngine from '@engine/view/edit-view-engine';
import EAMAssetUIService from '@/uiservice/eamasset/eamasset-ui-service';
/**
* 资产信息视图基类
*
* @export
* @class EAMAssetInfo_MainViewBase
* @extends {EditViewBase}
*/
export class EAMAssetInfo_MainViewBase extends EditViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMAssetInfo_MainViewBase
*/
protected appDeName: string = 'eamasset';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMAssetInfo_MainViewBase
*/
protected appDeKey: string = 'assetid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMAssetInfo_MainViewBase
*/
protected appDeMajor: string = 'assetname';
/**
* 实体服务对象
*
* @type {EAMAssetService}
* @memberof EAMAssetInfo_MainViewBase
*/
protected appEntityService: EAMAssetService = new EAMAssetService;
/**
* 实体权限服务对象
*
* @type EAMAssetUIService
* @memberof EAMAssetInfo_MainViewBase
*/
public appUIService: EAMAssetUIService = new EAMAssetUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMAssetInfo_MainViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMAssetInfo_MainViewBase
*/
protected model: any = {
srfCaption: 'entities.eamasset.views.info_mainview.caption',
srfTitle: 'entities.eamasset.views.info_mainview.title',
srfSubTitle: 'entities.eamasset.views.info_mainview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMAssetInfo_MainViewBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = 'afb13d98ae97ebb876598388432f8c1d';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMAssetInfo_MainViewBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMAssetInfo_MainViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'eamasset',
majorPSDEField: 'assetname',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetInfo_MainViewBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetInfo_MainViewBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetInfo_MainViewBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="eamassetinfo_mainview" viewTitle="资产信息" class='deeditview eamasset-info-main-view from-dashboard-style'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</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>
</studio-view-style2>
\ No newline at end of file
<template src="./eamasset-info-main-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetInfo_MainViewBase } from './eamasset-info-main-view-base';
import view_form from '@widgets/eamasset/info-main-form/info-main-form.vue';
/**
* 资产信息视图
*
* @export
* @class EAMAssetInfo_MainView
* @extends {EAMAssetInfo_MainViewBase}
*/
@Component({
components: {
view_form,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetInfo_MainView extends EAMAssetInfo_MainViewBase { }
</script>
import { Subject } from 'rxjs';
import { TabExpViewBase } from '@/studio-core';
import EAMAssetService from '@/service/eamasset/eamasset-service';
import EAMAssetAuthService from '@/authservice/eamasset/eamasset-auth-service';
import TabExpViewEngine from '@engine/view/tab-exp-view-engine';
import EAMAssetUIService from '@/uiservice/eamasset/eamasset-ui-service';
/**
* 资产信息视图基类
*
* @export
* @class EAMAssetInfoViewBase
* @extends {TabExpViewBase}
*/
export class EAMAssetInfoViewBase extends TabExpViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMAssetInfoViewBase
*/
protected appDeName: string = 'eamasset';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMAssetInfoViewBase
*/
protected appDeKey: string = 'assetid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMAssetInfoViewBase
*/
protected appDeMajor: string = 'assetname';
/**
* 实体服务对象
*
* @type {EAMAssetService}
* @memberof EAMAssetInfoViewBase
*/
protected appEntityService: EAMAssetService = new EAMAssetService;
/**
* 实体权限服务对象
*
* @type EAMAssetUIService
* @memberof EAMAssetInfoViewBase
*/
public appUIService: EAMAssetUIService = new EAMAssetUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMAssetInfoViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMAssetInfoViewBase
*/
protected model: any = {
srfCaption: 'entities.eamasset.views.infoview.caption',
srfTitle: 'entities.eamasset.views.infoview.title',
srfSubTitle: 'entities.eamasset.views.infoview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMAssetInfoViewBase
*/
protected containerModel: any = {
view_tabexppanel: { name: 'tabexppanel', type: 'TABEXPPANEL' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '6c816d46a07d56b2a9afca077d9bbfc3';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMAssetInfoViewBase
*/
public engine: TabExpViewEngine = new TabExpViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMAssetInfoViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
keyPSDEField: 'eamasset',
majorPSDEField: 'assetname',
isLoadDefault: true,
});
}
}
\ No newline at end of file
<studio-view-style2 viewName="eamassetinfoview" viewTitle="资产信息" class='detabexpview eamasset-info-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<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="./eamasset-info-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetInfoViewBase } from './eamasset-info-view-base';
import view_tabexppanel from '@widgets/eamasset/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel.vue';
/**
* 资产信息视图
*
* @export
* @class EAMAssetInfoView
* @extends {EAMAssetInfoViewBase}
*/
@Component({
components: {
view_tabexppanel,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetInfoView extends EAMAssetInfoViewBase { }
</script>
<studio-view-style2 viewName="eamassetlocationassetgridview" viewTitle="资产信息" class='degridview eamasset-location-asset-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" placeholder="资产名称" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
name="searchform"
ref='searchform'
@save="searchform_save($event)"
@search="searchform_search($event)"
@load="searchform_load($event)"
@closeview="closeView($event)">
</view_searchform>
</template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isGridSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode"
@save="onSave.apply(_self, arguments)"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:newdata="newdata.bind(_self)"
:opendata="opendata.bind(_self)"
name="grid"
ref='grid'
@selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)"
@load="grid_load($event)"
@closeview="closeView($event)">
</view_grid>
</studio-view-style2>
\ No newline at end of file
<template src="./eamasset-location-asset-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetLocationAssetGridViewBase } from './eamasset-location-asset-grid-view-base';
import view_grid from '@widgets/eamasset/main-grid/main-grid.vue';
import view_searchform from '@widgets/eamasset/default-searchform/default-searchform.vue';
/**
* 资产信息视图
*
* @export
* @class EAMAssetLocationAssetGridView
* @extends {EAMAssetLocationAssetGridViewBase}
*/
@Component({
components: {
view_grid,
view_searchform,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetLocationAssetGridView extends EAMAssetLocationAssetGridViewBase { }
</script>
import { Subject } from 'rxjs';
import { DashboardViewBase } from '@/studio-core';
import EAMAssetService from '@/service/eamasset/eamasset-service';
import EAMAssetAuthService from '@/authservice/eamasset/eamasset-auth-service';
import PortalViewEngine from '@engine/view/portal-view-engine';
import EAMAssetUIService from '@/uiservice/eamasset/eamasset-ui-service';
/**
* 资产数据看板视图视图基类
*
* @export
* @class EAMAssetSummaryViewBase
* @extends {DashboardViewBase}
*/
export class EAMAssetSummaryViewBase extends DashboardViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMAssetSummaryViewBase
*/
protected appDeName: string = 'eamasset';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMAssetSummaryViewBase
*/
protected appDeKey: string = 'assetid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMAssetSummaryViewBase
*/
protected appDeMajor: string = 'assetname';
/**
* 实体服务对象
*
* @type {EAMAssetService}
* @memberof EAMAssetSummaryViewBase
*/
protected appEntityService: EAMAssetService = new EAMAssetService;
/**
* 实体权限服务对象
*
* @type EAMAssetUIService
* @memberof EAMAssetSummaryViewBase
*/
public appUIService: EAMAssetUIService = new EAMAssetUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMAssetSummaryViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMAssetSummaryViewBase
*/
protected model: any = {
srfCaption: 'entities.eamasset.views.summaryview.caption',
srfTitle: 'entities.eamasset.views.summaryview.title',
srfSubTitle: 'entities.eamasset.views.summaryview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMAssetSummaryViewBase
*/
protected containerModel: any = {
view_dashboard: { name: 'dashboard', type: 'DASHBOARD' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '4db903dc10459c98d4834775020d8b74';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMAssetSummaryViewBase
*/
public engine: PortalViewEngine = new PortalViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMAssetSummaryViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
dashboard: this.$refs.dashboard,
keyPSDEField: 'eamasset',
majorPSDEField: 'assetname',
isLoadDefault: true,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetSummaryViewBase
*/
public dashboard_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('dashboard', 'load', $event);
}
}
\ No newline at end of file
<studio-view-style2 viewName="eamassetsummaryview" viewTitle="资产数据看板视图" class='deportalview eamasset-summary-view'>
<view_dashboard
:viewState="viewState"
:viewparams="viewparams"
:context="JSON.parse(JSON.stringify(context))"
:isEnableCustomized = "false"
name="dashboard"
ref='dashboard'
@load="dashboard_load($event)"
@closeview="closeView($event)">
</view_dashboard>
</studio-view-style2>
\ No newline at end of file
<template src="./eamasset-summary-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetSummaryViewBase } from './eamasset-summary-view-base';
import view_dashboard from '@widgets/eamasset/main-info-dashboard/main-info-dashboard.vue';
/**
* 资产数据看板视图视图
*
* @export
* @class EAMAssetSummaryView
* @extends {EAMAssetSummaryViewBase}
*/
@Component({
components: {
view_dashboard,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetSummaryView extends EAMAssetSummaryViewBase { }
</script>
import { Subject } from 'rxjs';
import { TreeExpViewBase } from '@/studio-core';
import EAMAssetService from '@/service/eamasset/eamasset-service';
import EAMAssetAuthService from '@/authservice/eamasset/eamasset-auth-service';
import TreeExpViewEngine from '@engine/view/tree-exp-view-engine';
import EAMAssetUIService from '@/uiservice/eamasset/eamasset-ui-service';
/**
* 资产信息视图基类
*
* @export
* @class EAMAssetTreeExpViewBase
* @extends {TreeExpViewBase}
*/
export class EAMAssetTreeExpViewBase extends TreeExpViewBase {
/**
* 视图对应应用实体名称
*
* @protected
* @type {string}
* @memberof EAMAssetTreeExpViewBase
*/
protected appDeName: string = 'eamasset';
/**
* 应用实体主键
*
* @protected
* @type {string}
* @memberof EAMAssetTreeExpViewBase
*/
protected appDeKey: string = 'assetid';
/**
* 应用实体主信息
*
* @protected
* @type {string}
* @memberof EAMAssetTreeExpViewBase
*/
protected appDeMajor: string = 'assetname';
/**
* 实体服务对象
*
* @type {EAMAssetService}
* @memberof EAMAssetTreeExpViewBase
*/
protected appEntityService: EAMAssetService = new EAMAssetService;
/**
* 实体权限服务对象
*
* @type EAMAssetUIService
* @memberof EAMAssetTreeExpViewBase
*/
public appUIService: EAMAssetUIService = new EAMAssetUIService(this.$store);
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof EAMAssetTreeExpViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof EAMAssetTreeExpViewBase
*/
protected model: any = {
srfCaption: 'entities.eamasset.views.treeexpview.caption',
srfTitle: 'entities.eamasset.views.treeexpview.title',
srfSubTitle: 'entities.eamasset.views.treeexpview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof EAMAssetTreeExpViewBase
*/
protected containerModel: any = {
view_treeexpbar: { name: 'treeexpbar', type: 'TREEEXPBAR' },
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected viewtag: string = '075e8b706da4cd2328cf2239fd6f4d06';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof EAMAssetTreeExpViewBase
*/
public engine: TreeExpViewEngine = new TreeExpViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof EAMAssetTreeExpViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
treeexpbar: this.$refs.treeexpbar,
keyPSDEField: 'eamasset',
majorPSDEField: 'assetname',
isLoadDefault: true,
});
}
/**
* treeexpbar 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTreeExpViewBase
*/
public treeexpbar_selectionchange($event: any, $event2?: any): void {
this.engine.onCtrlEvent('treeexpbar', 'selectionchange', $event);
}
/**
* treeexpbar 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTreeExpViewBase
*/
public treeexpbar_activated($event: any, $event2?: any): void {
this.engine.onCtrlEvent('treeexpbar', 'activated', $event);
}
/**
* treeexpbar 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof EAMAssetTreeExpViewBase
*/
public treeexpbar_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('treeexpbar', 'load', $event);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof EAMAssetTreeExpView
*/
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 EAMAssetTreeExpView
*/
public opendata(args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) {
this.$Notice.warning({ title: '错误', desc: '未指定关系视图' });
}
/**
* 视图唯一标识
*
* @type {string}
* @memberof EAMAssetTreeExpView
*/
public viewUID: string = 'asset-eamasset-tree-exp-view';
}
\ No newline at end of file
<studio-view-style2 viewName="eamassettreeexpview" viewTitle="资产信息" class='detreeexpview eamasset-tree-exp-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_treeexpbar
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:viewUID="viewUID"
:newdata="newdata"
:opendata="opendata"
name="treeexpbar"
ref='treeexpbar'
@selectionchange="treeexpbar_selectionchange($event)"
@activated="treeexpbar_activated($event)"
@load="treeexpbar_load($event)"
@closeview="closeView($event)">
</view_treeexpbar>
</studio-view-style2>
\ No newline at end of file
<template src="./eamasset-tree-exp-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { EAMAssetTreeExpViewBase } from './eamasset-tree-exp-view-base';
import view_treeexpbar from '@widgets/eamasset/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar.vue';
/**
* 资产信息视图
*
* @export
* @class EAMAssetTreeExpView
* @extends {EAMAssetTreeExpViewBase}
*/
@Component({
components: {
view_treeexpbar,
}
})
@VueLifeCycleProcessing()
export default class EAMAssetTreeExpView extends EAMAssetTreeExpViewBase { }
</script>
......@@ -4,17 +4,22 @@ export const PageComponents = {
Vue.component('eamlocation-type-pickup-grid-view', () => import('@pages/location/eamlocation-type-pickup-grid-view/eamlocation-type-pickup-grid-view.vue'));
Vue.component('eamasset-state-model-line-edit-view', () => import('@pages/asset/eamasset-state-model-line-edit-view/eamasset-state-model-line-edit-view.vue'));
Vue.component('eamasset-type-edit-view', () => import('@pages/asset/eamasset-type-edit-view/eamasset-type-edit-view.vue'));
Vue.component('eamasset-tree-exp-view', () => import('@pages/asset/eamasset-tree-exp-view/eamasset-tree-exp-view.vue'));
Vue.component('eamasset-summary-view', () => import('@pages/asset/eamasset-summary-view/eamasset-summary-view.vue'));
Vue.component('eamasset-child-grid-view', () => import('@pages/asset/eamasset-child-grid-view/eamasset-child-grid-view.vue'));
Vue.component('eamasset-state-model-line-grid-view', () => import('@pages/asset/eamasset-state-model-line-grid-view/eamasset-state-model-line-grid-view.vue'));
Vue.component('eamlocation-tree-exp-view', () => import('@pages/location/eamlocation-tree-exp-view/eamlocation-tree-exp-view.vue'));
Vue.component('eamlocation-edit-view', () => import('@pages/location/eamlocation-edit-view/eamlocation-edit-view.vue'));
Vue.component('eamlocation-state-edit-view', () => import('@pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view.vue'));
Vue.component('eamlocation-type-grid-view', () => import('@pages/location/eamlocation-type-grid-view/eamlocation-type-grid-view.vue'));
Vue.component('eamasset-info-view', () => import('@pages/asset/eamasset-info-view/eamasset-info-view.vue'));
Vue.component('eamlocation-tree-child-grid-view', () => import('@pages/location/eamlocation-tree-child-grid-view/eamlocation-tree-child-grid-view.vue'));
Vue.component('eamasset-state-edit-view', () => import('@pages/asset/eamasset-state-edit-view/eamasset-state-edit-view.vue'));
Vue.component('eamasset-state-model-edit-view', () => import('@pages/asset/eamasset-state-model-edit-view/eamasset-state-model-edit-view.vue'));
Vue.component('eamasset-state-pickup-grid-view', () => import('@pages/asset/eamasset-state-pickup-grid-view/eamasset-state-pickup-grid-view.vue'));
Vue.component('eamlocation-state-pickup-grid-view', () => import('@pages/location/eamlocation-state-pickup-grid-view/eamlocation-state-pickup-grid-view.vue'));
Vue.component('eamlocation-state-model-edit-view', () => import('@pages/location/eamlocation-state-model-edit-view/eamlocation-state-model-edit-view.vue'));
Vue.component('eamasset-grid-view', () => import('@pages/asset/eamasset-grid-view/eamasset-grid-view.vue'));
Vue.component('eamasset-state-model-pickup-view', () => import('@pages/asset/eamasset-state-model-pickup-view/eamasset-state-model-pickup-view.vue'));
Vue.component('eamlocation-state-model-pickup-grid-view', () => import('@pages/location/eamlocation-state-model-pickup-grid-view/eamlocation-state-model-pickup-grid-view.vue'));
Vue.component('eamlocation-child-grid-view', () => import('@pages/location/eamlocation-child-grid-view/eamlocation-child-grid-view.vue'));
......@@ -23,18 +28,21 @@ export const PageComponents = {
Vue.component('eamlocation-pickup-view', () => import('@pages/location/eamlocation-pickup-view/eamlocation-pickup-view.vue'));
Vue.component('eamlocation-state-model-line-grid-view', () => import('@pages/location/eamlocation-state-model-line-grid-view/eamlocation-state-model-line-grid-view.vue'));
Vue.component('eamlocation-type-edit-view', () => import('@pages/location/eamlocation-type-edit-view/eamlocation-type-edit-view.vue'));
Vue.component('eamlocation-state-model-pickup-view', () => import('@pages/location/eamlocation-state-model-pickup-view/eamlocation-state-model-pickup-view.vue'));
Vue.component('eamlocation-state-pickup-view', () => import('@pages/location/eamlocation-state-pickup-view/eamlocation-state-pickup-view.vue'));
Vue.component('eamlocation-state-model-pickup-view', () => import('@pages/location/eamlocation-state-model-pickup-view/eamlocation-state-model-pickup-view.vue'));
Vue.component('eamlocation-info-main-view', () => import('@pages/location/eamlocation-info-main-view/eamlocation-info-main-view.vue'));
Vue.component('eamlocation-pickup-grid-view', () => import('@pages/location/eamlocation-pickup-grid-view/eamlocation-pickup-grid-view.vue'));
Vue.component('eamlocation-summary-view', () => import('@pages/location/eamlocation-summary-view/eamlocation-summary-view.vue'));
Vue.component('eamasset-state-pickup-view', () => import('@pages/asset/eamasset-state-pickup-view/eamasset-state-pickup-view.vue'));
Vue.component('eamlocation-type-pickup-view', () => import('@pages/location/eamlocation-type-pickup-view/eamlocation-type-pickup-view.vue'));
Vue.component('eamasset-state-grid-view', () => import('@pages/asset/eamasset-state-grid-view/eamasset-state-grid-view.vue'));
Vue.component('eamasset-info-main-view', () => import('@pages/asset/eamasset-info-main-view/eamasset-info-main-view.vue'));
Vue.component('eamasset-state-model-grid-view', () => import('@pages/asset/eamasset-state-model-grid-view/eamasset-state-model-grid-view.vue'));
Vue.component('eamasset-edit-view', () => import('@pages/asset/eamasset-edit-view/eamasset-edit-view.vue'));
Vue.component('eamlocation-grid-view', () => import('@pages/location/eamlocation-grid-view/eamlocation-grid-view.vue'));
Vue.component('eamasset-type-grid-view', () => import('@pages/asset/eamasset-type-grid-view/eamasset-type-grid-view.vue'));
Vue.component('eamasset-state-model-pickup-grid-view', () => import('@pages/asset/eamasset-state-model-pickup-grid-view/eamasset-state-model-pickup-grid-view.vue'));
Vue.component('eamlocation-state-model-grid-view', () => import('@pages/location/eamlocation-state-model-grid-view/eamlocation-state-model-grid-view.vue'));
Vue.component('eamasset-location-asset-grid-view', () => import('@pages/asset/eamasset-location-asset-grid-view/eamasset-location-asset-grid-view.vue'));
}
};
\ No newline at end of file
......@@ -13,6 +13,17 @@ export const viewstate: any = {
'251816f09cb8f040c9309992cf957370',
],
},
{
viewtag: '075e8b706da4cd2328cf2239fd6f4d06',
viewmodule: 'Asset',
viewname: 'EAMAssetTreeExpView',
viewaction: '',
viewdatachange: false,
refviews: [
'fc4b884f4116e498cafad375e0b6cb7d',
'c6a93309b2a9d12617cdbaf29731d2a4',
],
},
{
viewtag: '0b6fa9e6ebc1f6d1afaf3c19585840b0',
viewmodule: 'Location',
......@@ -96,6 +107,15 @@ export const viewstate: any = {
'6c2c69027dbbe13ab8d2732923487f59',
],
},
{
viewtag: '3bac4846ece1082b8c3799d9a1fc7dde',
viewmodule: 'Asset',
viewname: 'EAMAssetEditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '3d676a12800fca23bec463d5c5217413',
viewmodule: 'Location',
......@@ -126,6 +146,16 @@ export const viewstate: any = {
'dd09755644dcf1e57c062b4e08e4ce3a',
],
},
{
viewtag: '4db903dc10459c98d4834775020d8b74',
viewmodule: 'Asset',
viewname: 'EAMAssetSummaryView',
viewaction: '',
viewdatachange: false,
refviews: [
'afb13d98ae97ebb876598388432f8c1d',
],
},
{
viewtag: '6a395ea52232233416d9c7120518863d',
viewmodule: 'Location',
......@@ -145,6 +175,17 @@ export const viewstate: any = {
'15caf81deb1f02479030f14d90ce5c3e',
],
},
{
viewtag: '6c816d46a07d56b2a9afca077d9bbfc3',
viewmodule: 'Asset',
viewname: 'EAMAssetInfoView',
viewaction: '',
viewdatachange: false,
refviews: [
'4db903dc10459c98d4834775020d8b74',
'c8bf8b682adc459f7f285328199ba4b4',
],
},
{
viewtag: '7bf1327f579d782d5cdb98528999a5e0',
viewmodule: 'Location',
......@@ -223,6 +264,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'afb13d98ae97ebb876598388432f8c1d',
viewmodule: 'Asset',
viewname: 'EAMAssetInfo_MainView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'b24fce391aeca43222a1017b50ba40e2',
viewmodule: 'Location',
......@@ -272,6 +322,27 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'c6a93309b2a9d12617cdbaf29731d2a4',
viewmodule: 'Asset',
viewname: 'EAMAssetLocationAssetGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'3bac4846ece1082b8c3799d9a1fc7dde',
'6c816d46a07d56b2a9afca077d9bbfc3',
],
},
{
viewtag: 'c8bf8b682adc459f7f285328199ba4b4',
viewmodule: 'Asset',
viewname: 'EAMAssetChildGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'3bac4846ece1082b8c3799d9a1fc7dde',
],
},
{
viewtag: 'cc29cbcb0398aa069d4b05f3469f0377',
viewmodule: 'Location',
......@@ -317,6 +388,7 @@ export const viewstate: any = {
'4c95ec14aa2de5370d9d81f7d85f4bd5',
'a3d6a9a21765dd59afa2d3d20a99096c',
'9e9b3600ba892d31757bacef1dcc9458',
'075e8b706da4cd2328cf2239fd6f4d06',
],
},
{
......@@ -381,6 +453,17 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'fc4b884f4116e498cafad375e0b6cb7d',
viewmodule: 'Asset',
viewname: 'EAMAssetGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'3bac4846ece1082b8c3799d9a1fc7dde',
'6c816d46a07d56b2a9afca077d9bbfc3',
],
},
],
createdviews: [],
}
\ No newline at end of file
......@@ -95,6 +95,7 @@ export default class EAMAssetUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'infoview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'info_mainview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'locationassetgridview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'childgridview',srfappde:'eamassets'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'eamassets'});
}
......
......@@ -15,10 +15,12 @@ export class AppIndexViewBase extends Vue {
if (item) {
let judge = true;
switch (item.appfunctag) {
case '_7':
this.click_7(item); break;
case '_8':
this.click_8(item); break;
case '_7':
this.click_7(item); break;
case '_9':
this.click_9(item); break;
case '_4':
this.click_4(item); break;
case '_2':
......@@ -45,7 +47,7 @@ export class AppIndexViewBase extends Vue {
* @param {*} [item={}]
* @memberof AppIndexView
*/
public click_7(item: any = {}) {
public click_8(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
......@@ -62,13 +64,36 @@ export class AppIndexViewBase extends Vue {
})
}
/**
* 资产管理
*
* @param {*} [item={}]
* @memberof AppIndexView
*/
public click_7(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'treeexpview', parameterName: 'treeexpview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 功能位置
*
* @param {*} [item={}]
* @memberof AppIndexView
*/
public click_8(item: any = {}) {
public click_9(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
......
......@@ -168,7 +168,7 @@ export default class AppIndexViewModel {
iconcls: 'fa fa-navicon',
icon: '',
textcls: '',
appfunctag: '_8',
appfunctag: '_9',
appfuncyype: 'APPVIEW',
viewname: 'eamlocation-tree-exp-view',
resourcetag: '',
......@@ -252,11 +252,32 @@ export default class AppIndexViewModel {
iconcls: 'fa fa-legal',
icon: '',
textcls: '',
appfunctag: '_7',
appfunctag: '_8',
appfuncyype: 'APPVIEW',
viewname: 'eamasset-type-grid-view',
resourcetag: '',
}
,
{
id: '4E96FE14-1C7E-4C47-8FDE-444B19EAB2A5',
name: 'menuitem13',
text: '资产管理',
type: 'MENUITEM',
counterid: '',
tooltip: '资产管理',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-rocket',
icon: '',
textcls: '',
appfunctag: '_7',
appfuncyype: 'APPVIEW',
viewname: 'eamasset-tree-exp-view',
resourcetag: '',
}
,
],
}
......@@ -332,7 +353,7 @@ export default class AppIndexViewModel {
*/
private funcs: any[] = [
{
appfunctag: '_7',
appfunctag: '_8',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'eamassettypegridview',
......@@ -344,7 +365,19 @@ export default class AppIndexViewModel {
],
},
{
appfunctag: '_8',
appfunctag: '_7',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'eamassettreeexpview',
deResParameters: [],
routepath: '/appindexview/:appindexview?/eamassets/:eamasset?/treeexpview/:treeexpview?',
parameters: [
{ pathName: 'eamassets', parameterName: 'eamasset' },
{ pathName: 'treeexpview', parameterName: 'treeexpview' },
],
},
{
appfunctag: '_9',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'eamlocationtreeexpview',
......
<template src="./child-grid-grid.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ChildGridGridBase } from './child-grid-grid-base';
/**
* grid部件
*
* @export
* @class ChildGridGrid
* @extends {ChildGridGridBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class ChildGridGrid extends ChildGridGridBase { }
</script>
import { Prop, Provide, Emit, Model } from 'vue-property-decorator';
import { Subject, Subscription } from 'rxjs';
import { Watch, SearchFormControlBase } from '@/studio-core';
import EAMAssetService from '@/service/eamasset/eamasset-service';
import DefaultService from './default-searchform-service';
import EAMAssetUIService from '@/uiservice/eamasset/eamasset-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 {EAMAssetService}
* @memberof DefaultSearchFormBase
*/
public appEntityService: EAMAssetService = new EAMAssetService({ $store: this.$store });
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof DefaultSearchFormBase
*/
protected appDeName: string = 'eamasset';
/**
* 表单数据对象
*
* @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
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册