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

Mosher 发布系统代码 [后台服务,演示应用]

上级 2a784cb2
...@@ -623,6 +623,14 @@ ...@@ -623,6 +623,14 @@
"viewname": "IBIZOrderODSP_W10_WFGridView", "viewname": "IBIZOrderODSP_W10_WFGridView",
"viewtag": "48c367034d03222fb9021eb97531330e" "viewtag": "48c367034d03222fb9021eb97531330e"
}, },
"ibizsample0003stabexpview_layout": {
"title": "实体分页导航视图",
"caption": "示例实体03",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Sample",
"viewname": "IBIZSample0003STabExpView_layout",
"viewtag": "4a0d51e3bca39ffa8dc989e13a1a613f"
},
"ibizsample0003f3treeexpview": { "ibizsample0003f3treeexpview": {
"title": "示例实体03树导航视图", "title": "示例实体03树导航视图",
"caption": "示例实体03", "caption": "示例实体03",
...@@ -2191,6 +2199,14 @@ ...@@ -2191,6 +2199,14 @@
"viewname": "IBIZOrderDashboardView", "viewname": "IBIZOrderDashboardView",
"viewtag": "fc7153dc2bad2d7b6242bb4e9df1f06a" "viewtag": "fc7153dc2bad2d7b6242bb4e9df1f06a"
}, },
"ibizbookdashboardview_layout": {
"title": "实体数据看板视图",
"caption": "实体数据看板视图",
"viewtype": "DEPORTALVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKDashboardView_layout",
"viewtag": "fd181f2767ed6c82915d092a2ff51e01"
},
"ibizorderf13editview": { "ibizorderf13editview": {
"title": "订单编辑视图", "title": "订单编辑视图",
"caption": "订单", "caption": "订单",
......
...@@ -74,6 +74,9 @@ ...@@ -74,6 +74,9 @@
"VMGroup72":[ "VMGroup72":[
{"tag":"ViewMsg71","position":"TOP","type":"ERROR"} {"tag":"ViewMsg71","position":"TOP","type":"ERROR"}
], ],
"VMGroup34":[
{"tag":"ViewMsg33","position":"TOP","type":"ERROR"}
],
"VMGroup56":[ "VMGroup56":[
{"tag":"ViewMsg55","position":"TOP","type":"ERROR"} {"tag":"ViewMsg55","position":"TOP","type":"ERROR"}
], ],
...@@ -137,9 +140,6 @@ ...@@ -137,9 +140,6 @@
"VMGroup28":[ "VMGroup28":[
{"tag":"ViewMsg27","position":"TOP","type":"ERROR"} {"tag":"ViewMsg27","position":"TOP","type":"ERROR"}
], ],
"VMGroup34":[
{"tag":"ViewMsg33","position":"TOP","type":"ERROR"}
],
"VMGroup79":[ "VMGroup79":[
{"tag":"ViewMsg78","position":"TOP","type":"ERROR"} {"tag":"ViewMsg78","position":"TOP","type":"ERROR"}
], ],
......
...@@ -302,6 +302,10 @@ function getLocaleResourceBase(){ ...@@ -302,6 +302,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书表格视图(主状态)",null), title: commonLogic.appcommonhandle("图书表格视图(主状态)",null),
}, },
dashboardview_layout: {
caption: commonLogic.appcommonhandle("实体数据看板视图",null),
title: commonLogic.appcommonhandle("实体数据看板视图",null),
},
}, },
majorstateform_form: { majorstateform_form: {
details: { details: {
......
...@@ -302,6 +302,10 @@ function getLocaleResourceBase(){ ...@@ -302,6 +302,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Grid Main State",null), caption: commonLogic.appcommonhandle("Grid Main State",null),
title: commonLogic.appcommonhandle("图书表格视图(主状态)",null), title: commonLogic.appcommonhandle("图书表格视图(主状态)",null),
}, },
dashboardview_layout: {
caption: commonLogic.appcommonhandle("Entity Data Kanban View",null),
title: commonLogic.appcommonhandle("实体数据看板视图",null),
},
}, },
majorstateform_form: { majorstateform_form: {
details: { details: {
......
...@@ -302,6 +302,10 @@ function getLocaleResourceBase(){ ...@@ -302,6 +302,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书表格视图(主状态)",null), title: commonLogic.appcommonhandle("图书表格视图(主状态)",null),
}, },
dashboardview_layout: {
caption: commonLogic.appcommonhandle("实体数据看板视图",null),
title: commonLogic.appcommonhandle("实体数据看板视图",null),
},
}, },
majorstateform_form: { majorstateform_form: {
details: { details: {
......
...@@ -39,6 +39,10 @@ function getLocaleResourceBase(){ ...@@ -39,6 +39,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("示例实体03",null), caption: commonLogic.appcommonhandle("示例实体03",null),
title: commonLogic.appcommonhandle("示例实体03编辑视图",null), title: commonLogic.appcommonhandle("示例实体03编辑视图",null),
}, },
stabexpview_layout: {
caption: commonLogic.appcommonhandle("示例实体03",null),
title: commonLogic.appcommonhandle("实体分页导航视图",null),
},
f3treeexpview: { f3treeexpview: {
caption: commonLogic.appcommonhandle("示例实体03",null), caption: commonLogic.appcommonhandle("示例实体03",null),
title: commonLogic.appcommonhandle("示例实体03树导航视图",null), title: commonLogic.appcommonhandle("示例实体03树导航视图",null),
......
...@@ -39,6 +39,10 @@ function getLocaleResourceBase(){ ...@@ -39,6 +39,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("示例实体03",null), caption: commonLogic.appcommonhandle("示例实体03",null),
title: commonLogic.appcommonhandle("示例实体03编辑视图",null), title: commonLogic.appcommonhandle("示例实体03编辑视图",null),
}, },
stabexpview_layout: {
caption: commonLogic.appcommonhandle("Entity Pagination Navigation View",null),
title: commonLogic.appcommonhandle("实体分页导航视图",null),
},
f3treeexpview: { f3treeexpview: {
caption: commonLogic.appcommonhandle("Dynamic Node (entity)",null), caption: commonLogic.appcommonhandle("Dynamic Node (entity)",null),
title: commonLogic.appcommonhandle("示例实体03树导航视图",null), title: commonLogic.appcommonhandle("示例实体03树导航视图",null),
......
...@@ -39,6 +39,10 @@ function getLocaleResourceBase(){ ...@@ -39,6 +39,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("示例实体03",null), caption: commonLogic.appcommonhandle("示例实体03",null),
title: commonLogic.appcommonhandle("示例实体03编辑视图",null), title: commonLogic.appcommonhandle("示例实体03编辑视图",null),
}, },
stabexpview_layout: {
caption: commonLogic.appcommonhandle("示例实体03",null),
title: commonLogic.appcommonhandle("实体分页导航视图",null),
},
f3treeexpview: { f3treeexpview: {
caption: commonLogic.appcommonhandle("示例实体03",null), caption: commonLogic.appcommonhandle("示例实体03",null),
title: commonLogic.appcommonhandle("示例实体03树导航视图",null), title: commonLogic.appcommonhandle("示例实体03树导航视图",null),
......
...@@ -3237,7 +3237,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -3237,7 +3237,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: 'Auto213', appfunctag: 'AppFunc107',
resourcetag: '', resourcetag: '',
}, },
{ {
......
...@@ -631,6 +631,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -631,6 +631,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderODSP_W10_WFGridView", "viewname": "IBIZOrderODSP_W10_WFGridView",
"viewtag": "48c367034d03222fb9021eb97531330e" "viewtag": "48c367034d03222fb9021eb97531330e"
}, },
"ibizsample0003stabexpview_layout": {
"title": "实体分页导航视图",
"caption": "示例实体03",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Sample",
"viewname": "IBIZSample0003STabExpView_layout",
"viewtag": "4a0d51e3bca39ffa8dc989e13a1a613f"
},
"ibizsample0003f3treeexpview": { "ibizsample0003f3treeexpview": {
"title": "示例实体03树导航视图", "title": "示例实体03树导航视图",
"caption": "示例实体03", "caption": "示例实体03",
...@@ -2199,6 +2207,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -2199,6 +2207,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderDashboardView", "viewname": "IBIZOrderDashboardView",
"viewtag": "fc7153dc2bad2d7b6242bb4e9df1f06a" "viewtag": "fc7153dc2bad2d7b6242bb4e9df1f06a"
}, },
"ibizbookdashboardview_layout": {
"title": "实体数据看板视图",
"caption": "实体数据看板视图",
"viewtype": "DEPORTALVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKDashboardView_layout",
"viewtag": "fd181f2767ed6c82915d092a2ff51e01"
},
"ibizorderf13editview": { "ibizorderf13editview": {
"title": "订单编辑视图", "title": "订单编辑视图",
"caption": "订单", "caption": "订单",
...@@ -2337,6 +2353,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => { ...@@ -2337,6 +2353,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup72":[ "VMGroup72":[
{"tag":"ViewMsg71","position":"TOP","type":"ERROR"} {"tag":"ViewMsg71","position":"TOP","type":"ERROR"}
], ],
"VMGroup34":[
{"tag":"ViewMsg33","position":"TOP","type":"ERROR"}
],
"VMGroup56":[ "VMGroup56":[
{"tag":"ViewMsg55","position":"TOP","type":"ERROR"} {"tag":"ViewMsg55","position":"TOP","type":"ERROR"}
], ],
...@@ -2400,9 +2419,6 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => { ...@@ -2400,9 +2419,6 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup28":[ "VMGroup28":[
{"tag":"ViewMsg27","position":"TOP","type":"ERROR"} {"tag":"ViewMsg27","position":"TOP","type":"ERROR"}
], ],
"VMGroup34":[
{"tag":"ViewMsg33","position":"TOP","type":"ERROR"}
],
"VMGroup79":[ "VMGroup79":[
{"tag":"ViewMsg78","position":"TOP","type":"ERROR"} {"tag":"ViewMsg78","position":"TOP","type":"ERROR"}
], ],
......
<template> <template>
<div class="view-container deeditview4 ibizbookedit-view4"> <div class="view-container deeditview4 ibizbookedit-view4">
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizbookeditview4"></app-studioaction> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizbookeditview4"></app-studioaction>
<card class='view-card ' :disHover="true" :padding="0" :bordered="false"> <card class='view-card ' :disHover="true" :padding="0" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
</div> </div>
</div> </div>
<div class="content-container"> <div class="content-container">
<view_form <div class="edit-view4">
<div class="edit-view4-form">
<view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -32,19 +34,32 @@ ...@@ -32,19 +34,32 @@
@remove="form_remove($event)" @remove="form_remove($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
<view_drtab
:viewState="viewState" </div>
name='drtab' <div class="edit-view4-content">
ref='drtab' <view_drtab
:viewparams="viewparams" :viewState="viewState"
:context="context" name='drtab'
parentName = "IBIZBOOK" ref='drtab'
:isShowSlot="false" :viewparams="viewparams"
@selectionchange='drtab_selectionchange($event)' :context="context"
@closeview='closeView($event)'> parentName = "IBIZBOOK"
</view_drtab> :isShowSlot="false"
</div> @selectionchange='drtab_selectionchange($event)'
</card> @closeview='closeView($event)'>
</view_drtab>
<component
class="view-container2"
v-if="drItem && !drItem.disabled"
:is="drItem.navView"
:viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
</component>
</div>
</div>
</div>
</card>
</div> </div>
</template> </template>
...@@ -722,15 +737,15 @@ export default class IBIZBOOKEditView4Base extends Vue { ...@@ -722,15 +737,15 @@ export default class IBIZBOOKEditView4Base extends Vue {
} }
this.viewState.complete(); this.viewState.complete();
} }
/** /**
* 选中数据 * 选中数据
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKEditView4Base * @memberof IBIZBOOKEditView4Base
*/ */
public selection: any = {}; public drItem: any = {};
} }
......
<template> <template>
<div class="view-container deeditview3 ibizorder-sedit-view3-layout"> <div class="view-container deeditview3 ibizorder-sedit-view3-layout">
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderseditview3_layout"></app-studioaction> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderseditview3_layout"></app-studioaction>
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(this.selection.id, 'form')">
...@@ -48,11 +47,13 @@ ...@@ -48,11 +47,13 @@
</div> </div>
</template> </template>
</div> </div>
<div class='view-top-messages'> <div class='view-top-messages'>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup32' viewname='ibizorderseditview3_layout'></app-alert-group> </div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup32' viewname='ibizorderseditview3_layout'></app-alert-group> </div>
<div class="content-container"> <div class="content-container">
<view_drtab <div class="edit-view3">
<div class="edit-view3-drheader">
<span :class="{ 'dr-tab-item': true, 'is-active': drItem && drItem.id !== 'form' }" @click="handleDrTabChange">订单</span>
<view_drtab
:viewState="viewState" :viewState="viewState"
name='drtab' name='drtab'
ref='drtab' ref='drtab'
...@@ -84,12 +85,48 @@ ...@@ -84,12 +85,48 @@
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
</view_drtab> </view_drtab>
</div> </div>
</card> <div class="edit-view3-content">
</div> <div class="edit-view3-content__form" :style="drItem && drItem.id !== 'form' ? 'display: none;' : ''">
<view_form
</template> :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'
@load="form_load($event)"
@save="form_save($event)"
@remove="form_remove($event)"
@closeview="closeView($event)">
</view_form>
</div>
<component
class="view-container2"
v-if="drItem && drItem.id && drItem.id !== 'form'"
:is="drItem.navView"
:viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
</component>
</div>
</div>
</div>
</card>
</div>
</template>
<script lang='tsx'> <script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch,Inject } from 'vue-property-decorator'; import { Vue, Component, Prop, Provide, Emit, Watch,Inject } from 'vue-property-decorator';
import { UIActionTool,Util } from '@/utils'; import { UIActionTool,Util } from '@/utils';
...@@ -321,7 +358,7 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue { ...@@ -321,7 +358,7 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
}; };
/** /**
* 视图引擎 * 视图引擎
...@@ -1161,18 +1198,27 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue { ...@@ -1161,18 +1198,27 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
} }
this.viewState.complete(); this.viewState.complete();
} }
/** /**
* 选中数据 * 选中数据
* *
* @type {*} * @type {*}
* @memberof IBIZOrderSEditView3_layoutBase * @memberof IBIZOrderSEditView3_layoutBase
*/ */
public selection: any = {}; public drItem: any = {};
/**
* 处理分页项变化
*
* @memberof IBIZOrderSEditView3_layoutBase
*/
public handleDrTabChange() {
}
} }
</script> </script>
<style lang='less'> <style lang='less'>
@import './ibizorder-sedit-view3-layout.less'; @import './ibizorder-sedit-view3-layout.less';
</style> </style>
<template> <template>
<div class="view-container deeditview3 ibizorder-sedit-view3"> <div class="view-container deeditview3 ibizorder-sedit-view3">
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderseditview3"></app-studioaction> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderseditview3"></app-studioaction>
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<template v-if="Object.is(this.selection.id, 'form')"> <template v-if="Object.is(this.selection.id, 'form')">
...@@ -48,11 +47,13 @@ ...@@ -48,11 +47,13 @@
</div> </div>
</template> </template>
</div> </div>
<div class='view-top-messages'> <div class='view-top-messages'>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup32' viewname='ibizorderseditview3'></app-alert-group> </div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup32' viewname='ibizorderseditview3'></app-alert-group> </div>
<div class="content-container"> <div class="content-container">
<view_drtab <div class="edit-view3">
<div class="edit-view3-drheader">
<span :class="{ 'dr-tab-item': true, 'is-active': drItem && drItem.id !== 'form' }" @click="handleDrTabChange">订单</span>
<view_drtab
:viewState="viewState" :viewState="viewState"
name='drtab' name='drtab'
ref='drtab' ref='drtab'
...@@ -84,12 +85,48 @@ ...@@ -84,12 +85,48 @@
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
</view_drtab> </view_drtab>
</div> </div>
</card> <div class="edit-view3-content">
</div> <div class="edit-view3-content__form" :style="drItem && drItem.id !== 'form' ? 'display: none;' : ''">
<view_form
</template> :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'
@load="form_load($event)"
@save="form_save($event)"
@remove="form_remove($event)"
@closeview="closeView($event)">
</view_form>
</div>
<component
class="view-container2"
v-if="drItem && drItem.id && drItem.id !== 'form'"
:is="drItem.navView"
:viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
</component>
</div>
</div>
</div>
</card>
</div>
</template>
<script lang='tsx'> <script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch,Inject } from 'vue-property-decorator'; import { Vue, Component, Prop, Provide, Emit, Watch,Inject } from 'vue-property-decorator';
import { UIActionTool,Util } from '@/utils'; import { UIActionTool,Util } from '@/utils';
...@@ -321,7 +358,7 @@ export default class IBIZOrderSEditView3Base extends Vue { ...@@ -321,7 +358,7 @@ export default class IBIZOrderSEditView3Base extends Vue {
}; };
/** /**
* 视图引擎 * 视图引擎
...@@ -1161,18 +1198,27 @@ export default class IBIZOrderSEditView3Base extends Vue { ...@@ -1161,18 +1198,27 @@ export default class IBIZOrderSEditView3Base extends Vue {
} }
this.viewState.complete(); this.viewState.complete();
} }
/** /**
* 选中数据 * 选中数据
* *
* @type {*} * @type {*}
* @memberof IBIZOrderSEditView3Base * @memberof IBIZOrderSEditView3Base
*/ */
public selection: any = {}; public drItem: any = {};
/**
* 处理分页项变化
*
* @memberof IBIZOrderSEditView3Base
*/
public handleDrTabChange() {
}
} }
</script> </script>
<style lang='less'> <style lang='less'>
@import './ibizorder-sedit-view3.less'; @import './ibizorder-sedit-view3.less';
</style> </style>
<template> <template>
<div class="view-container deeditview4 ibizorder-sedit-view4-layout"> <div class="view-container deeditview4 ibizorder-sedit-view4-layout">
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderseditview4_layout"></app-studioaction> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderseditview4_layout"></app-studioaction>
<card class='view-card ' :disHover="true" :padding="0" :bordered="false"> <card class='view-card ' :disHover="true" :padding="0" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
...@@ -48,8 +48,10 @@ ...@@ -48,8 +48,10 @@
</div> </div>
<div class='view-top-messages'> <div class='view-top-messages'>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup31' viewname='ibizorderseditview4_layout'></app-alert-group> </div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup31' viewname='ibizorderseditview4_layout'></app-alert-group> </div>
<div class="content-container"> <div class="content-container">
<view_form <div class="edit-view4">
<div class="edit-view4-form">
<view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -71,19 +73,32 @@ ...@@ -71,19 +73,32 @@
@remove="form_remove($event)" @remove="form_remove($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
<view_drtab
:viewState="viewState" </div>
name='drtab' <div class="edit-view4-content">
ref='drtab' <view_drtab
:viewparams="viewparams" :viewState="viewState"
:context="context" name='drtab'
parentName = "IBIZOrder" ref='drtab'
:isShowSlot="false" :viewparams="viewparams"
@selectionchange='drtab_selectionchange($event)' :context="context"
@closeview='closeView($event)'> parentName = "IBIZOrder"
</view_drtab> :isShowSlot="false"
</div> @selectionchange='drtab_selectionchange($event)'
</card> @closeview='closeView($event)'>
</view_drtab>
<component
class="view-container2"
v-if="drItem && !drItem.disabled"
:is="drItem.navView"
:viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
</component>
</div>
</div>
</div>
</card>
</div> </div>
</template> </template>
...@@ -1158,15 +1173,15 @@ export default class IBIZOrderSEditView4_layoutBase extends Vue { ...@@ -1158,15 +1173,15 @@ export default class IBIZOrderSEditView4_layoutBase extends Vue {
} }
this.viewState.complete(); this.viewState.complete();
} }
/** /**
* 选中数据 * 选中数据
* *
* @type {*} * @type {*}
* @memberof IBIZOrderSEditView4_layoutBase * @memberof IBIZOrderSEditView4_layoutBase
*/ */
public selection: any = {}; public drItem: any = {};
} }
......
<template> <template>
<div class="view-container deeditview4 ibizorder-sedit-view4"> <div class="view-container deeditview4 ibizorder-sedit-view4">
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderseditview4"></app-studioaction> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizorderseditview4"></app-studioaction>
<card class='view-card ' :disHover="true" :padding="0" :bordered="false"> <card class='view-card ' :disHover="true" :padding="0" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
...@@ -48,8 +48,10 @@ ...@@ -48,8 +48,10 @@
</div> </div>
<div class='view-top-messages'> <div class='view-top-messages'>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup31' viewname='ibizorderseditview4'></app-alert-group> </div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup31' viewname='ibizorderseditview4'></app-alert-group> </div>
<div class="content-container"> <div class="content-container">
<view_form <div class="edit-view4">
<div class="edit-view4-form">
<view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -71,19 +73,32 @@ ...@@ -71,19 +73,32 @@
@remove="form_remove($event)" @remove="form_remove($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
<view_drtab
:viewState="viewState" </div>
name='drtab' <div class="edit-view4-content">
ref='drtab' <view_drtab
:viewparams="viewparams" :viewState="viewState"
:context="context" name='drtab'
parentName = "IBIZOrder" ref='drtab'
:isShowSlot="false" :viewparams="viewparams"
@selectionchange='drtab_selectionchange($event)' :context="context"
@closeview='closeView($event)'> parentName = "IBIZOrder"
</view_drtab> :isShowSlot="false"
</div> @selectionchange='drtab_selectionchange($event)'
</card> @closeview='closeView($event)'>
</view_drtab>
<component
class="view-container2"
v-if="drItem && !drItem.disabled"
:is="drItem.navView"
:viewDefaultUsage="false"
:viewdata="JSON.stringify(drItem.srfnavdata.context)"
:viewparam="JSON.stringify(drItem.srfnavdata.viewparams)">
</component>
</div>
</div>
</div>
</card>
</div> </div>
</template> </template>
...@@ -1158,15 +1173,15 @@ export default class IBIZOrderSEditView4Base extends Vue { ...@@ -1158,15 +1173,15 @@ export default class IBIZOrderSEditView4Base extends Vue {
} }
this.viewState.complete(); this.viewState.complete();
} }
/** /**
* 选中数据 * 选中数据
* *
* @type {*} * @type {*}
* @memberof IBIZOrderSEditView4Base * @memberof IBIZOrderSEditView4Base
*/ */
public selection: any = {}; public drItem: any = {};
} }
......
.ibizsample0003-stab-exp-view-layout{
position: relative;
}
.ibizsample0003-stab-exp-view-layout {
> .view-card > .ivu-card-body > .content-container > .tabviewpanel {
overflow: auto;
}
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZSample0003STabExpView_layoutBase from './ibizsample0003-stab-exp-view-layout-base.vue';
import view_tabexppanel from '@widgets/ibizsample0003/stab-exp-view-layouttabexppanel-tabexppanel/stab-exp-view-layouttabexppanel-tabexppanel.vue';
@Component({
components: {
view_tabexppanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZSample0003STabExpView_layout extends IBIZSample0003STabExpView_layoutBase {
}
</script>
\ No newline at end of file
...@@ -119,6 +119,7 @@ export const PageComponents = { ...@@ -119,6 +119,7 @@ export const PageComponents = {
Vue.component('ibizorder-sedit-view3-layout', () => import('@pages/sample/ibizorder-sedit-view3-layout/ibizorder-sedit-view3-layout.vue')); Vue.component('ibizorder-sedit-view3-layout', () => import('@pages/sample/ibizorder-sedit-view3-layout/ibizorder-sedit-view3-layout.vue'));
Vue.component('ibizorder-sedit-view4-layout', () => import('@pages/sample/ibizorder-sedit-view4-layout/ibizorder-sedit-view4-layout.vue')); Vue.component('ibizorder-sedit-view4-layout', () => import('@pages/sample/ibizorder-sedit-view4-layout/ibizorder-sedit-view4-layout.vue'));
Vue.component('ibizorder-sedit-view2-layout', () => import('@pages/sample/ibizorder-sedit-view2-layout/ibizorder-sedit-view2-layout.vue')); Vue.component('ibizorder-sedit-view2-layout', () => import('@pages/sample/ibizorder-sedit-view2-layout/ibizorder-sedit-view2-layout.vue'));
Vue.component('ibizsample0003-stab-exp-view-layout', () => import('@pages/sample/ibizsample0003-stab-exp-view-layout/ibizsample0003-stab-exp-view-layout.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue')); Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue')); Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue')); Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
...@@ -1832,6 +1832,20 @@ const router = new Router({ ...@@ -1832,6 +1832,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-sedit-view2-layout/ibizorder-sedit-view2-layout.vue'), component: () => import('@pages/sample/ibizorder-sedit-view2-layout/ibizorder-sedit-view2-layout.vue'),
}, },
{
path: 'ibizsample0003s/:ibizsample0003?/stabexpview_layout/:stabexpview_layout?',
meta: {
caption: 'entities.ibizsample0003.views.stabexpview_layout.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview_layout', parameterName: 'stabexpview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-stab-exp-view-layout/ibizsample0003-stab-exp-view-layout.vue'),
},
{ {
path: 'ibizappviews/:ibizappview?/gridview/:gridview?', path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: { meta: {
...@@ -3682,6 +3696,19 @@ const router = new Router({ ...@@ -3682,6 +3696,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizappeditorgrid-view/ibizappeditorgrid-view.vue'), component: () => import('@pages/sample/ibizappeditorgrid-view/ibizappeditorgrid-view.vue'),
}, },
{
path: '/ibizsample0003s/:ibizsample0003?/stabexpview_layout/:stabexpview_layout?',
meta: {
caption: 'entities.ibizsample0003.views.stabexpview_layout.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview_layout', parameterName: 'stabexpview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-stab-exp-view-layout/ibizsample0003-stab-exp-view-layout.vue'),
},
{ {
path: '/ibizsample0003s/:ibizsample0003?/f3treeexpview/:f3treeexpview?', path: '/ibizsample0003s/:ibizsample0003?/f3treeexpview/:f3treeexpview?',
meta: { meta: {
......
...@@ -756,6 +756,19 @@ const router = new Router({ ...@@ -756,6 +756,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizappeditorgrid-view/ibizappeditorgrid-view.vue'), component: () => import('@pages/sample/ibizappeditorgrid-view/ibizappeditorgrid-view.vue'),
}, },
{
path: '/ibizsample0003s/:ibizsample0003?/stabexpview_layout/:stabexpview_layout?',
meta: {
caption: 'entities.ibizsample0003.views.stabexpview_layout.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview_layout', parameterName: 'stabexpview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-stab-exp-view-layout/ibizsample0003-stab-exp-view-layout.vue'),
},
{ {
path: '/ibizsample0003s/:ibizsample0003?/f3treeexpview/:f3treeexpview?', path: '/ibizsample0003s/:ibizsample0003?/f3treeexpview/:f3treeexpview?',
meta: { meta: {
......
...@@ -534,6 +534,18 @@ export const viewstate: any = { ...@@ -534,6 +534,18 @@ export const viewstate: any = {
'6d3a1e5d74674f7d9ba445e4708216e0', '6d3a1e5d74674f7d9ba445e4708216e0',
], ],
}, },
{
viewtag: '4a0d51e3bca39ffa8dc989e13a1a613f',
viewmodule: 'Sample',
viewname: 'IBIZSample0003STabExpView_layout',
viewaction: '',
viewdatachange: false,
refviews: [
'1ec7069b18d0c9b18fb55c839b2e0822',
'2e7cbc7793bdd49ea744b56e6e14571c',
'cbf09cbd2a5b6c65479dec84af3fe874',
],
},
{ {
viewtag: '4a775e162843247ba343984bd5e7d634', viewtag: '4a775e162843247ba343984bd5e7d634',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -839,6 +851,7 @@ export const viewstate: any = { ...@@ -839,6 +851,7 @@ export const viewstate: any = {
'5b7402fd99632895f9f6d32d6477cb20', '5b7402fd99632895f9f6d32d6477cb20',
'880efe9c98faa665c18ad955496112bf', '880efe9c98faa665c18ad955496112bf',
'1a158d1e7cdd8c8e17b54bfa91846b4c', '1a158d1e7cdd8c8e17b54bfa91846b4c',
'4a0d51e3bca39ffa8dc989e13a1a613f',
], ],
}, },
{ {
......
...@@ -163,6 +163,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -163,6 +163,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'groupbycodelistlistview',srfappde:'ibizbooks',component:'ibizbookgroup-by-codelist-list-view'}); this.allViewMap.set(':',{viewname:'groupbycodelistlistview',srfappde:'ibizbooks',component:'ibizbookgroup-by-codelist-list-view'});
this.allViewMap.set(':',{viewname:'usr8gridview',srfappde:'ibizbooks',component:'ibizbookusr8-grid-view'}); this.allViewMap.set(':',{viewname:'usr8gridview',srfappde:'ibizbooks',component:'ibizbookusr8-grid-view'});
this.allViewMap.set(':',{viewname:'usr9gridview',srfappde:'ibizbooks',component:'ibizbookusr9-grid-view'}); this.allViewMap.set(':',{viewname:'usr9gridview',srfappde:'ibizbooks',component:'ibizbookusr9-grid-view'});
this.allViewMap.set(':',{viewname:'dashboardview_layout',srfappde:'ibizbooks',component:'ibizbookdashboard-view-layout'});
} }
/** /**
......
...@@ -102,6 +102,7 @@ export default class IBIZSample0003UIServiceBase extends UIService { ...@@ -102,6 +102,7 @@ export default class IBIZSample0003UIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'sf3editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf3-edit-view'}); this.allViewMap.set(':',{viewname:'sf3editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf3-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0003s',component:'ibizsample0003-grid-view'}); this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0003s',component:'ibizsample0003-grid-view'});
this.allViewMap.set(':',{viewname:'sf1editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf1-edit-view'}); this.allViewMap.set(':',{viewname:'sf1editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf1-edit-view'});
this.allViewMap.set(':',{viewname:'stabexpview_layout',srfappde:'ibizsample0003s',component:'ibizsample0003-stab-exp-view-layout'});
this.allViewMap.set(':',{viewname:'f3treeexpview',srfappde:'ibizsample0003s',component:'ibizsample0003-f3-tree-exp-view'}); this.allViewMap.set(':',{viewname:'f3treeexpview',srfappde:'ibizsample0003s',component:'ibizsample0003-f3-tree-exp-view'});
this.allViewMap.set(':',{viewname:'sf5editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf5-edit-view'}); this.allViewMap.set(':',{viewname:'sf5editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf5-edit-view'});
this.allViewMap.set(':',{viewname:'spickuptreeview',srfappde:'ibizsample0003s',component:'ibizsample0003-spickup-tree-view'}); this.allViewMap.set(':',{viewname:'spickuptreeview',srfappde:'ibizsample0003s',component:'ibizsample0003-spickup-tree-view'});
......
...@@ -961,6 +961,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -961,6 +961,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc106': case 'AppFunc106':
this.clickAppFunc106(item); this.clickAppFunc106(item);
return; return;
case 'AppFunc107':
this.clickAppFunc107(item);
return;
default: default:
console.warn('未指定应用功能'); console.warn('未指定应用功能');
} }
...@@ -3746,6 +3749,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -3746,6 +3749,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path); this.$router.push(path);
}) })
} }
/**
* 分页导航(布局面板)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc107(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview_layout', parameterName: 'stabexpview_layout' },
];
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);
})
}
/** /**
* 数据加载 * 数据加载
......
...@@ -3416,7 +3416,7 @@ export default class MainMenuModel { ...@@ -3416,7 +3416,7 @@ export default class MainMenuModel {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: 'Auto213', appfunctag: 'AppFunc107',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem197', authtag:'Web-MainMenu-menuitem197',
}, },
...@@ -5423,6 +5423,18 @@ export default class MainMenuModel { ...@@ -5423,6 +5423,18 @@ export default class MainMenuModel {
{ pathName: 'seditview2_layout', parameterName: 'seditview2_layout' }, { pathName: 'seditview2_layout', parameterName: 'seditview2_layout' },
], ],
}, },
{
appfunctag: 'AppFunc107',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizsample0003stabexpview_layout',
deResParameters: [],
routepath: '/index/:index?/ibizsample0003s/:ibizsample0003?/stabexpview_layout/:stabexpview_layout?',
parameters: [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview_layout', parameterName: 'stabexpview_layout' },
],
},
]; ];
/** /**
......
...@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -649,7 +649,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -649,7 +649,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, isReset: boolean = false): void { public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -728,7 +728,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -728,7 +728,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -837,7 +837,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -837,7 +837,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -845,7 +845,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -845,7 +845,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -69,6 +69,11 @@ export default class Usr4Model { ...@@ -69,6 +69,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
......
/**
* STabExpView_layouttabexppanel 部件模型
*
* @export
* @class STabExpView_layouttabexppanelModel
*/
export default class STabExpView_layouttabexppanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof STabExpView_layouttabexppanelModel
*/
public getDataItems(): any[] {
return [
{
name: 'ibizsample0003name',
},
{
name: 'memo',
},
{
name: 'updatedate',
},
{
name: 'field01',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'ibizsample0003',
prop: 'ibizsample0003id',
},
{
name: 'createman',
},
{
name: 'pibizsample0003name',
},
{
name: 'pibizsample0003id',
},
]
}
}
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZSample0003Service from '@/service/ibizsample0003/ibizsample0003-service';
import STabExpView_layouttabexppanelModel from './stab-exp-view-layouttabexppanel-tabexppanel-model';
/**
* STabExpView_layouttabexppanel 部件服务对象
*
* @export
* @class STabExpView_layouttabexppanelService
*/
export default class STabExpView_layouttabexppanelService extends ControlService {
/**
* 示例实体03服务对象
*
* @type {IBIZSample0003Service}
* @memberof STabExpView_layouttabexppanelService
*/
public appEntityService: IBIZSample0003Service = new IBIZSample0003Service();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof STabExpView_layouttabexppanelService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of STabExpView_layouttabexppanelService.
*
* @param {*} [opts={}]
* @memberof STabExpView_layouttabexppanelService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new STabExpView_layouttabexppanelModel();
}
}
\ No newline at end of file
// this is less
.tabexppanel {
height: 100%;
>.ivu-tabs-bar {
margin-bottom: 0px;
}
>.ivu-tabs-content {
height: calc(100% - 36px);
padding: 4px !important;
.ivu-tabs-tabpane {
height: 100%;
}
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import STabExpView_layouttabexppanelBase from './stab-exp-view-layouttabexppanel-tabexppanel-base.vue';
import view_tabviewpanel from '@widgets/ibizsample0003/stab-exp-view-layouttabviewpanel-tabviewpanel/stab-exp-view-layouttabviewpanel-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/ibizsample0003/stab-exp-view-layouttabviewpanel2-tabviewpanel/stab-exp-view-layouttabviewpanel2-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/ibizsample0003/stab-exp-view-layouttabviewpanel3-tabviewpanel/stab-exp-view-layouttabviewpanel3-tabviewpanel.vue';
@Component({
components: {
view_tabviewpanel,
view_tabviewpanel2,
view_tabviewpanel3,
}
})
export default class STabExpView_layouttabexppanel extends STabExpView_layouttabexppanelBase {
}
</script>
\ No newline at end of file
<template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<ibizuniproduct-grid-view9
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</ibizuniproduct-grid-view9>
</div>
</template>
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util,ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import AppCenterService from "@service/app/app-center-service";
import IBIZSample0003EntityService from '@/service/ibizsample0003/ibizsample0003-service';
import STabExpView_layouttabviewpanelService from './stab-exp-view-layouttabviewpanel-tabviewpanel-service';
import IBIZSample0003UIService from '@/uiservice/ibizsample0003/ibizsample0003-ui-service';
@Component({
components: {
}
})
export default class STabExpView_layouttabviewpanelBase extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof STabExpView_layouttabviewpanelBase
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof STabExpView_layouttabviewpanelBase
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof STabExpView_layouttabviewpanelBase
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof STabExpView_layouttabviewpanelBase
*/
@Prop() public viewparams!: any;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof STabExpView_layouttabviewpanelBase
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof STabExpView_layouttabviewpanelBase
*/
public getControlType(): string {
return 'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {STabExpView_layouttabviewpanelService}
* @memberof STabExpView_layouttabviewpanelBase
*/
public service: STabExpView_layouttabviewpanelService = new STabExpView_layouttabviewpanelService({ $store: this.$store });
/**
* 实体服务对象
*
* @type {IBIZSample0003Service}
* @memberof STabExpView_layouttabviewpanelBase
*/
public appEntityService: IBIZSample0003EntityService = new IBIZSample0003EntityService({ $store: this.$store });
/**
* 转化数据
*
* @param {any} args
* @memberof STabExpView_layouttabviewpanelBase
*/
public transformData(args: any) {
let _this: any = this;
if(_this.service && _this.service.handleRequestData instanceof Function && _this.service.handleRequestData('transform',_this.context,args)){
return _this.service.handleRequestData('transform',_this.context,args)['data'];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof STabExpView_layouttabviewpanelBase
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof STabExpView_layouttabviewpanelBase
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof STabExpView_layouttabviewpanelBase
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof STabExpView_layouttabviewpanelBase
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof STabExpView_layouttabviewpanelBase
*/
public isActivied: boolean = true;
/**
* 当前激活数据
*
* @type {boolean}
* @memberof STabExpView_layouttabviewpanelBase
*/
@Prop() public activeData?:any;
/**
* 局部上下文
*
* @type {*}
* @memberof STabExpView_layouttabviewpanelBase
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof STabExpView_layouttabviewpanelBase
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof STabExpView_layouttabviewpanelBase
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof STabExpView_layouttabviewpanelBase
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof STabExpView_layouttabviewpanelBase
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof STabExpView_layouttabviewpanelBase
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.$nextTick(() => {
this.initNavParam();
});
});
}
}
/**
* 初始化导航参数
*
* @memberof STabExpView_layouttabviewpanelBase
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['ibizsample0003']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof STabExpView_layouttabviewpanelBase
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof STabExpView_layouttabviewpanelBase
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof STabExpView_layouttabviewpanelBase
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
</script>
<style lang='less'>
@import './stab-exp-view-layouttabviewpanel-tabviewpanel.less';
</style>
\ No newline at end of file
/**
* STabExpView_layouttabviewpanel 部件模型
*
* @export
* @class STabExpView_layouttabviewpanelModel
*/
export default class STabExpView_layouttabviewpanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof STabExpView_layouttabviewpanelModel
*/
public getDataItems(): any[] {
return [
{
name: 'ibizsample0003name',
},
{
name: 'memo',
},
{
name: 'updatedate',
},
{
name: 'field01',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'ibizsample0003',
prop: 'ibizsample0003id',
},
{
name: 'createman',
},
{
name: 'pibizsample0003name',
},
{
name: 'pibizsample0003id',
},
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* STabExpView_layouttabviewpanel 部件服务对象
*
* @export
* @class STabExpView_layouttabviewpanelService
*/
export default class STabExpView_layouttabviewpanelService extends ControlService {
}
\ No newline at end of file
// this is less
.tabviewpanel{
>.view-container {
height: 100%;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import STabExpView_layouttabviewpanelBase from './stab-exp-view-layouttabviewpanel-tabviewpanel-base.vue';
@Component({
components: {
}
})
export default class STabExpView_layouttabviewpanel extends STabExpView_layouttabviewpanelBase {
}
</script>
\ No newline at end of file
<template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<ibizhardware-grid-view9
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</ibizhardware-grid-view9>
</div>
</template>
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util,ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import AppCenterService from "@service/app/app-center-service";
import IBIZSample0003EntityService from '@/service/ibizsample0003/ibizsample0003-service';
import STabExpView_layouttabviewpanel2Service from './stab-exp-view-layouttabviewpanel2-tabviewpanel-service';
import IBIZSample0003UIService from '@/uiservice/ibizsample0003/ibizsample0003-ui-service';
@Component({
components: {
}
})
export default class STabExpView_layouttabviewpanel2Base extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof STabExpView_layouttabviewpanel2Base
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof STabExpView_layouttabviewpanel2Base
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof STabExpView_layouttabviewpanel2Base
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof STabExpView_layouttabviewpanel2Base
*/
@Prop() public viewparams!: any;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public getControlType(): string {
return 'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {STabExpView_layouttabviewpanel2Service}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public service: STabExpView_layouttabviewpanel2Service = new STabExpView_layouttabviewpanel2Service({ $store: this.$store });
/**
* 实体服务对象
*
* @type {IBIZSample0003Service}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public appEntityService: IBIZSample0003EntityService = new IBIZSample0003EntityService({ $store: this.$store });
/**
* 转化数据
*
* @param {any} args
* @memberof STabExpView_layouttabviewpanel2Base
*/
public transformData(args: any) {
let _this: any = this;
if(_this.service && _this.service.handleRequestData instanceof Function && _this.service.handleRequestData('transform',_this.context,args)){
return _this.service.handleRequestData('transform',_this.context,args)['data'];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof STabExpView_layouttabviewpanel2Base
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof STabExpView_layouttabviewpanel2Base
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public isActivied: boolean = true;
/**
* 当前激活数据
*
* @type {boolean}
* @memberof STabExpView_layouttabviewpanel2Base
*/
@Prop() public activeData?:any;
/**
* 局部上下文
*
* @type {*}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof STabExpView_layouttabviewpanel2Base
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof STabExpView_layouttabviewpanel2Base
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof STabExpView_layouttabviewpanel2Base
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.$nextTick(() => {
this.initNavParam();
});
});
}
}
/**
* 初始化导航参数
*
* @memberof STabExpView_layouttabviewpanel2Base
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['ibizsample0003']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof STabExpView_layouttabviewpanel2Base
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof STabExpView_layouttabviewpanel2Base
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof STabExpView_layouttabviewpanel2Base
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
</script>
<style lang='less'>
@import './stab-exp-view-layouttabviewpanel2-tabviewpanel.less';
</style>
\ No newline at end of file
/**
* STabExpView_layouttabviewpanel2 部件模型
*
* @export
* @class STabExpView_layouttabviewpanel2Model
*/
export default class STabExpView_layouttabviewpanel2Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof STabExpView_layouttabviewpanel2Model
*/
public getDataItems(): any[] {
return [
{
name: 'ibizsample0003name',
},
{
name: 'memo',
},
{
name: 'updatedate',
},
{
name: 'field01',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'ibizsample0003',
prop: 'ibizsample0003id',
},
{
name: 'createman',
},
{
name: 'pibizsample0003name',
},
{
name: 'pibizsample0003id',
},
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* STabExpView_layouttabviewpanel2 部件服务对象
*
* @export
* @class STabExpView_layouttabviewpanel2Service
*/
export default class STabExpView_layouttabviewpanel2Service extends ControlService {
}
\ No newline at end of file
// this is less
.tabviewpanel{
>.view-container {
height: 100%;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import STabExpView_layouttabviewpanel2Base from './stab-exp-view-layouttabviewpanel2-tabviewpanel-base.vue';
@Component({
components: {
}
})
export default class STabExpView_layouttabviewpanel2 extends STabExpView_layouttabviewpanel2Base {
}
</script>
\ No newline at end of file
<template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<ibizsoftware-suit-grid-view9
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</ibizsoftware-suit-grid-view9>
</div>
</template>
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util,ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import AppCenterService from "@service/app/app-center-service";
import IBIZSample0003EntityService from '@/service/ibizsample0003/ibizsample0003-service';
import STabExpView_layouttabviewpanel3Service from './stab-exp-view-layouttabviewpanel3-tabviewpanel-service';
import IBIZSample0003UIService from '@/uiservice/ibizsample0003/ibizsample0003-ui-service';
@Component({
components: {
}
})
export default class STabExpView_layouttabviewpanel3Base extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof STabExpView_layouttabviewpanel3Base
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof STabExpView_layouttabviewpanel3Base
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof STabExpView_layouttabviewpanel3Base
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof STabExpView_layouttabviewpanel3Base
*/
@Prop() public viewparams!: any;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public getControlType(): string {
return 'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {STabExpView_layouttabviewpanel3Service}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public service: STabExpView_layouttabviewpanel3Service = new STabExpView_layouttabviewpanel3Service({ $store: this.$store });
/**
* 实体服务对象
*
* @type {IBIZSample0003Service}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public appEntityService: IBIZSample0003EntityService = new IBIZSample0003EntityService({ $store: this.$store });
/**
* 转化数据
*
* @param {any} args
* @memberof STabExpView_layouttabviewpanel3Base
*/
public transformData(args: any) {
let _this: any = this;
if(_this.service && _this.service.handleRequestData instanceof Function && _this.service.handleRequestData('transform',_this.context,args)){
return _this.service.handleRequestData('transform',_this.context,args)['data'];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof STabExpView_layouttabviewpanel3Base
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof STabExpView_layouttabviewpanel3Base
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public isActivied: boolean = true;
/**
* 当前激活数据
*
* @type {boolean}
* @memberof STabExpView_layouttabviewpanel3Base
*/
@Prop() public activeData?:any;
/**
* 局部上下文
*
* @type {*}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof STabExpView_layouttabviewpanel3Base
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof STabExpView_layouttabviewpanel3Base
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof STabExpView_layouttabviewpanel3Base
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.$nextTick(() => {
this.initNavParam();
});
});
}
}
/**
* 初始化导航参数
*
* @memberof STabExpView_layouttabviewpanel3Base
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['ibizsample0003']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof STabExpView_layouttabviewpanel3Base
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof STabExpView_layouttabviewpanel3Base
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof STabExpView_layouttabviewpanel3Base
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
</script>
<style lang='less'>
@import './stab-exp-view-layouttabviewpanel3-tabviewpanel.less';
</style>
\ No newline at end of file
/**
* STabExpView_layouttabviewpanel3 部件模型
*
* @export
* @class STabExpView_layouttabviewpanel3Model
*/
export default class STabExpView_layouttabviewpanel3Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof STabExpView_layouttabviewpanel3Model
*/
public getDataItems(): any[] {
return [
{
name: 'ibizsample0003name',
},
{
name: 'memo',
},
{
name: 'updatedate',
},
{
name: 'field01',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'ibizsample0003',
prop: 'ibizsample0003id',
},
{
name: 'createman',
},
{
name: 'pibizsample0003name',
},
{
name: 'pibizsample0003id',
},
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* STabExpView_layouttabviewpanel3 部件服务对象
*
* @export
* @class STabExpView_layouttabviewpanel3Service
*/
export default class STabExpView_layouttabviewpanel3Service extends ControlService {
}
\ No newline at end of file
// this is less
.tabviewpanel{
>.view-container {
height: 100%;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import STabExpView_layouttabviewpanel3Base from './stab-exp-view-layouttabviewpanel3-tabviewpanel-base.vue';
@Component({
components: {
}
})
export default class STabExpView_layouttabviewpanel3 extends STabExpView_layouttabviewpanel3Base {
}
</script>
\ No newline at end of file
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-73-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-84-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 --> <!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-68-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-75-14">
<createTable tableName="T_IBIZORDER"> <createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)"> <column name="TP" remarks="" type="TEXT(1048576)">
</column> </column>
...@@ -640,7 +640,7 @@ ...@@ -640,7 +640,7 @@
<!--输出实体[IBIZSAMPLE0003]数据结构 --> <!--输出实体[IBIZSAMPLE0003]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0003-1-21"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0003-3-21">
<createTable tableName="T_IBIZSAMPLE0003"> <createTable tableName="T_IBIZSAMPLE0003">
<column name="IBIZSAMPLE0003NAME" remarks="" type="VARCHAR(200)"> <column name="IBIZSAMPLE0003NAME" remarks="" type="VARCHAR(200)">
</column> </column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-68-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-75-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]> <![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView> </createView>
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZSAMPLE0003]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZSAMPLE0003]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0003-1-15" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0003-3-15" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0003"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0003">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[IBIZSAMPLE0003ID], t1.[IBIZSAMPLE0003NAME], t1.[MEMO], t1.[PIBIZSAMPLE0003ID], t11.[IBIZSAMPLE0003NAME] AS [PIBIZSAMPLE0003NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0003] t1 LEFT JOIN T_IBIZSAMPLE0003 t11 ON t1.PIBIZSAMPLE0003ID = t11.IBIZSAMPLE0003ID ]]> <![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[IBIZSAMPLE0003ID], t1.[IBIZSAMPLE0003NAME], t1.[MEMO], t1.[PIBIZSAMPLE0003ID], t11.[IBIZSAMPLE0003NAME] AS [PIBIZSAMPLE0003NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0003] t1 LEFT JOIN T_IBIZSAMPLE0003 t11 ON t1.PIBIZSAMPLE0003ID = t11.IBIZSAMPLE0003ID ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册