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

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

上级 33b8626d
......@@ -406,7 +406,7 @@ function getAppLocale(){
menuitem210: commonLogic.appcommonhandle("表单界面逻辑加载",null),
menuitem131: commonLogic.appcommonhandle("表格部件界面逻辑测试",null),
menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem125: commonLogic.appcommonhandle("多媒体布局组件",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem205: commonLogic.appcommonhandle("项布局面板布局",null),
......
......@@ -406,7 +406,7 @@ function getAppLocale(){
menuitem210: commonLogic.appcommonhandle("表单界面逻辑加载",null),
menuitem131: commonLogic.appcommonhandle("表格部件界面逻辑测试",null),
menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem125: commonLogic.appcommonhandle("多媒体布局组件",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem205: commonLogic.appcommonhandle("项布局面板布局",null),
......
......@@ -75,6 +75,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("(测试布局面板)",null),
title: commonLogic.appcommonhandle("订单表格导航视图(测试布局面板)",null),
},
usr1215996830editview: {
caption: commonLogic.appcommonhandle("左侧抽屉弹出",null),
title: commonLogic.appcommonhandle("左侧抽屉弹出",null),
},
listview: {
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单列表视图",null),
......@@ -656,34 +660,6 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -880,6 +856,34 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
uipart_0009_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -1792,6 +1796,36 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("编辑",null),
},
},
usr1215996830editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem9_saveandstart: {
caption: commonLogic.appcommonhandle("开始流程",null),
tip: commonLogic.appcommonhandle("开始流程",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem15: {
caption: commonLogic.appcommonhandle("打印",null),
tip: commonLogic.appcommonhandle("打印",null),
},
},
sf5gridviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
......
......@@ -75,6 +75,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("(测试布局面板)",null),
title: commonLogic.appcommonhandle("订单表格导航视图(测试布局面板)",null),
},
usr1215996830editview: {
caption: commonLogic.appcommonhandle("左侧抽屉弹出",null),
title: commonLogic.appcommonhandle("左侧抽屉弹出",null),
},
listview: {
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单列表视图",null),
......@@ -656,34 +660,6 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -880,6 +856,34 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
uipart_0009_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -1792,6 +1796,36 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Edit {0}",null),
},
},
usr1215996830editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("Save And Close",null),
tip: commonLogic.appcommonhandle("Save And Close Window",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem9_saveandstart: {
caption: commonLogic.appcommonhandle("开始流程",null),
tip: commonLogic.appcommonhandle("开始流程",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem15: {
caption: commonLogic.appcommonhandle("Print",null),
tip: commonLogic.appcommonhandle("Print",null),
},
},
sf5gridviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
......
......@@ -75,6 +75,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("(测试布局面板)",null),
title: commonLogic.appcommonhandle("订单表格导航视图(测试布局面板)",null),
},
usr1215996830editview: {
caption: commonLogic.appcommonhandle("左侧抽屉弹出",null),
title: commonLogic.appcommonhandle("左侧抽屉弹出",null),
},
listview: {
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单列表视图",null),
......@@ -656,34 +660,6 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -880,6 +856,34 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
uipart_0009_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -1792,6 +1796,36 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("编辑",null),
},
},
usr1215996830editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem9_saveandstart: {
caption: commonLogic.appcommonhandle("开始流程",null),
tip: commonLogic.appcommonhandle("开始流程",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem15: {
caption: commonLogic.appcommonhandle("打印",null),
tip: commonLogic.appcommonhandle("打印",null),
},
},
sf5gridviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
......
......@@ -3065,10 +3065,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{
id: '840B9AC9-88D7-4189-A515-EA189A088455',
name: 'menuitem125',
text: '测试表单自定义布局多媒体',
text: '多媒体布局组件',
type: 'MENUITEM',
counterid: '',
tooltip: '测试表单自定义布局多媒体',
tooltip: '多媒体布局组件',
expanded: false,
separator: false,
hidden: false,
......
......@@ -1022,6 +1022,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/usr1215996830editview/:usr1215996830editview?',
meta: {
caption: 'entities.ibizorder.views.usr1215996830editview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr1215996830editview', parameterName: 'usr1215996830editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr1215996830-edit-view/ibizorder-usr1215996830-edit-view.vue'),
},
{
path: '/appportalview2/:appportalview2?',
meta: {
......
<template>
<app-edit-view-layout class="deeditview ibizorder-usr1215996830-edit-view ">
<template #headerTop>
</template>
<template #headerLeft>
<app-caption :openType="openType" :caption="$t(model.srfCaption)"></app-caption>
</template>
<template #headerRight>
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class=' deepskyblueToolBar srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i>
<span class='caption'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.tbitem3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.tbitem3.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem5.visabled" :disabled="toolBarModels.tbitem5.disabled" class=' srfactionlevel250' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem5' }, $event)">
<i class='ivu-icon ivu-icon-ios-battery-dead'></i>
<span class='caption'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.tbitem5.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.tbitem5.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem9_saveandstart.visabled" :disabled="toolBarModels.tbitem9_saveandstart.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem9_saveandstart' }, $event)">
<i class=''></i>
<span class='caption'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.tbitem9_saveandstart.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.tbitem9_saveandstart.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem15.visabled" :disabled="toolBarModels.tbitem15.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem15' }, $event)">
<i class='fa fa-print'></i>
<span class='caption'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.tbitem15.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.usr1215996830editviewtoolbar_toolbar.tbitem15.tip')}}</div>
</tooltip>
</div>
</template>
<template #contentTop>
</template>
<template #default>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
: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>
</template>
<template #contentBottom>
</template>
</app-edit-view-layout>
</template>
// 基于 @VIEW/实体编辑视图/VIEW-BASE.vue.ftl 生成
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch,Inject } from 'vue-property-decorator';
import { UIActionTool, Util } from '@/utils';
import axios from 'axios';
import { AppMessageBox } from '@/utils/app-message-box/app-message-box';
import NavDataService from '@/service/app/navdata-service';
import { Subject,Subscription } from 'rxjs';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
import IBIZOrderAuthService from '@/authservice/ibizorder/ibizorder-auth-service';
import EditViewEngine from '@engine/view/edit-view-engine';
import IBIZOrderUIService from '@/uiservice/ibizorder/ibizorder-ui-service';
@Component({
components: {
},
})
export default class IBIZOrderUsr1215996830EditViewBase extends Vue {
/**
* 实体服务对象
*
* @type {IBIZOrderService}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public appEntityService: IBIZOrderService = new IBIZOrderService();
/**
* 实体UI服务对象
*
* @type IBIZOrderUIService
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public appUIService: IBIZOrderUIService = new IBIZOrderUIService();
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Emit()
public viewDatasChange(val: any):any {
return val;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Prop() public viewdata!: string;
/**
* 传入视图参数
*
* @type {string}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Prop() public viewparam!: string;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Prop({ default: true }) public viewDefaultUsage!: boolean;
/**
* 视图默认使用
*
* @type {string}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Inject({from:'navModel',default: 'tab'})
public navModel!:string;
/**
* 打开方式
*
* @type {'ROUTE' | 'EMBED' | 'MODAL'}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Prop({ default: 'ROUTE' }) public openType!: 'ROUTE' | 'EMBED' | 'MODAL';
/**
* 视图标识
*
* @type {string}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public viewtag: string = '3A08D861-4F5A-4CBC-984C-2E7C3CB9A692';
/**
* 视图类型
*
* @type {string}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public viewType: string = 'DEEDITVIEW';
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public customViewNavContexts:any ={
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public customViewParams:any ={
};
/**
* 视图模型数据
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public model: any = {
srfCaption: 'DE.LNAME.IBIZORDER',
srfTitle: '左侧抽屉弹出',
srfSubTitle: '',
dataInfo: ''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Watch('viewparam',{immediate: true, deep: true})
onParamData(newVal: any, oldVal: any) {
if(newVal){
this.viewparams = {};
if(typeof newVal == 'string') {
Object.assign(this.viewparams, JSON.parse(this.viewparam));
}else{
this.viewparams = Util.deepCopy(this.viewparam);
}
}
}
/**
* 处理应用上下文变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Watch('viewdata')
onViewData(newVal: any, oldVal: any) {
const _this: any = this;
if (!Object.is(newVal, oldVal) && _this.engine) {
this.$nextTick(()=>{
_this.parseViewParam();
_this.engine.load();
});
} else if(!Object.is(newVal, oldVal) && _this.refresh && _this.refresh instanceof Function) {
_this.refresh();
}
}
/**
* 容器模型
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public containerModel: any = {
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_form: { name: 'form', type: 'FORM' },
wflinks: [],
};
/**
* 视图操作参数
*
* @type {*}
* @readonly
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public viewCtx: any = {};
/**
* 视图刷新
*
* @param {*} args
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public refresh(args?: any): void {
const refs: any = this.$refs;
if (refs && refs.form) {
refs.form.refresh();
}
}
/**
* 计数器刷新
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
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();
}
})
}
}
/**
* 视图状态订阅对象
*
* @public
* @type {Subject<{action: string, data: any}>}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public viewState: Subject<ViewState> = new Subject();
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditView
*/
public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Save', target: '' } },
tbitem5: { name: 'tbitem5', actiontarget: 'NONE', caption: '保存并关闭', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '' } },
tbitem8: { name: 'tbitem8', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem9_saveandstart: { name: 'tbitem9_saveandstart', actiontarget: 'NONE', caption: '开始流程', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: 'WFSTART', uiaction: { tag: 'SaveAndStart', target: '' } },
tbitem13: { name: 'tbitem13', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem15: { name: 'tbitem15', actiontarget: 'NONE', caption: '打印', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Print', target: 'SINGLEKEY' } },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'ibizorder',
majorPSDEField: 'ibizordername',
isLoadDefault: true,
});
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public navDataService = NavDataService.getInstance();
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public serviceStateEvent: Subscription | undefined;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Prop() public portletState?: any;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public portletStateEvent: Subscription | undefined;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public formDruipartEvent: Subscription | undefined;
/**
* 应用上下文
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public context:any = {};
/**
* 视图参数
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public viewparams:any = {};
/**
* 视图缓存数据
*
* @type {*}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
* @public
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public parseViewParam(inputvalue:any = null): void {
for(let key in this.context){
delete this.context[key];
}
if(this.$store.getters.getAppData() && this.$store.getters.getAppData().context){
Object.assign(this.context,this.$store.getters.getAppData().context);
}
if (!this.viewDefaultUsage && this.viewdata && !Object.is(this.viewdata, '')) {
if(typeof this.viewdata == 'string') {
Object.assign(this.context, JSON.parse(this.viewdata));
}
if(this.context && this.context.srfparentdename){
Object.assign(this.viewparams,{srfparentdename:this.context.srfparentdename});
}
if(this.context && this.context.srfparentkey){
Object.assign(this.viewparams,{srfparentkey:this.context.srfparentkey});
}
this.handleCustomViewData();
return;
}
const path = (this.$route.matched[this.$route.matched.length - 1]).path;
const keys: Array<any> = [];
const curReg = this.$pathToRegExp.pathToRegexp(path, keys);
const matchArray = curReg.exec(this.$route.path);
let tempValue: Object = {};
keys.forEach((item: any, index: number) => {
if(matchArray[index + 1]){
Object.defineProperty(tempValue, item.name, {
enumerable: true,
value: decodeURIComponent(matchArray[index + 1])
});
}
});
this.$viewTool.formatRouteParams(tempValue,this.$route,this.context,this.viewparams);
if(inputvalue){
Object.assign(this.context,{'ibizorder':inputvalue});
}
//初始化视图唯一标识
Object.assign(this.context,{srfsessionid:this.$util.createUUID()});
this.handleCustomViewData();
//初始化导航数据
this.initNavDataWithRoute();
}
/**
* 处理自定义视图数据
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public handleCustomViewData(){
if(Object.keys(this.customViewNavContexts).length > 0){
Object.keys(this.customViewNavContexts).forEach((item:any) =>{
let tempContext:any = {};
let curNavContext:any = this.customViewNavContexts[item];
this.handleCustomDataLogic(curNavContext,tempContext,item);
Object.assign(this.context,tempContext);
})
}
if(Object.keys(this.customViewParams).length > 0){
Object.keys(this.customViewParams).forEach((item:any) =>{
let tempParam:any = {};
let curNavParam:any = this.customViewParams[item];
this.handleCustomDataLogic(curNavParam,tempParam,item);
Object.assign(this.viewparams,tempParam);
})
}
}
/**
* 处理自定义视图数据逻辑
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public handleCustomDataLogic(curNavData:any,tempData:any,item:string){
// 直接值直接赋值
if(curNavData.isRawValue){
if(Object.is(curNavData.value,"null") || Object.is(curNavData.value,"")){
Object.defineProperty(tempData, item.toLowerCase(), {
value: null,
writable : true,
enumerable : true,
configurable : true
});
}else{
Object.defineProperty(tempData, item.toLowerCase(), {
value: curNavData.value,
writable : true,
enumerable : true,
configurable : true
});
}
}else{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if(this.context[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), {
value: this.context[(curNavData.value).toLowerCase()],
writable : true,
enumerable : true,
configurable : true
});
}else{
if(this.viewparams[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), {
value: this.viewparams[(curNavData.value).toLowerCase()],
writable : true,
enumerable : true,
configurable : true
});
}else{
Object.defineProperty(tempData, item.toLowerCase(), {
value: null,
writable : true,
enumerable : true,
configurable : true
});
}
}
}
}
/**
* 初始化导航数据(路由模式)
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public initNavDataWithRoute(data:any = null, isNew:boolean = false, isAlways:boolean = false){
if( isAlways || (this.viewDefaultUsage && Object.is(this.navModel,"route")) ){
this.navDataService.addNavData({id:'ibizorder-usr1215996830-edit-view',tag:this.viewtag,srfkey:isNew ? null : this.context.ibizorder,title:this.$t(this.model.srfCaption),data:data,context:this.context,viewparams:this.viewparams,path:this.$route.fullPath});
}
}
/**
* 初始化导航数据(分页模式)
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public initNavDataWithTab(data:any = null,isOnlyAdd:boolean = true, isAlways:boolean = false){
if( isAlways || (this.viewDefaultUsage && !Object.is(this.navModel,"route")) ){
this.navDataService.addNavDataByOnly({id:'ibizorder-usr1215996830-edit-view',tag:this.viewtag,srfkey:this.context.ibizorder,title:this.$t(this.model.srfCaption),data:data,context:this.context,viewparams:this.viewparams,path:this.$route.fullPath},isOnlyAdd);
}
}
/**
* Vue声明周期
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public afterCreated(){
let _this:any = this;
const secondtag = _this.$util.createUUID();
_this.$store.commit('viewaction/createdView', { viewtag: _this.viewtag, secondtag: secondtag });
_this.viewtag = secondtag;
_this.parseViewParam();
_this.serviceStateEvent = _this.navDataService.serviceState.subscribe(({ action,name, data }:{ action:string,name:any,data:any }) => {
if(!Object.is(name,'ibizorder-usr1215996830-edit-view')){
return;
}
if (Object.is(action, 'viewrefresh')) {
_this.$nextTick(()=>{
_this.parseViewParam(data);
if(_this.engine){
_this.engine.load();
}
});
}
});
if(_this.portletState){
_this.portletStateEvent = _this.portletState.subscribe((res:any) =>{
if(!Object.is(res.name,'IBIZOrderUsr1215996830EditView')){
return;
}
if(Object.is(res.action,'refresh') && _this.refresh && _this.refresh instanceof Function){
_this.refresh();
}
})
}
_this.initViewCtx();
if (this.panelState) {
this.panelStateEvent = this.panelState.subscribe((res:any) => {
if (Object.is(res.tag, 'meditviewpanel')) {
if (Object.is(res.action, 'save')) {
this.viewState.next({ tag:'form', action: 'save', data: res.data });
}
if (Object.is(res.action, 'remove')) {
this.viewState.next({ tag:'form', action: 'remove', data: res.data });
}
}
});
}
}
/**
* 初始化视图操作参数
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
initViewCtx() {
Object.assign(this.viewCtx, {
app: this.$root,
view: this,
viewGlobal: {},
viewNavData: {},
viewNavContext: this.context,
viewNavParam: this.viewparams,
messagebox: AppMessageBox.getInstance(),
});
Object.assign(this.viewCtx, { appGlobal: this.$store.getters.getAppGlobal() });
if (this.$store.getters.getRouteViewGlobal(this.context.srfsessionid)) {
Object.assign(this.viewCtx, { routeViewGlobal: this.$store.getters.getRouteViewGlobal(this.context.srfsessionid) });
} else {
this.$store.commit('addRouteViewGlobal', { tag: this.context.srfsessionid, param: {} });
Object.assign(this.viewCtx, { routeViewGlobal: this.$store.getters.getRouteViewGlobal(this.context.srfsessionid) });
}
if (!this.viewDefaultUsage && this.viewdata && !Object.is(this.viewdata, '')) {
// 嵌入视图
Object.assign(this.viewCtx, {
topview: this.$store.getters.getView(this.context.srfsessionid)
});
} else {
// 顶层视图
this.$store.commit('addView', { tag: this.context.srfsessionid, param: this });
Object.assign(this.viewCtx, { topview: this });
}
}
/**
* 销毁之前
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public beforeDestroy() {
this.$store.commit('viewaction/removeView', this.viewtag);
let _this: any = this
if (_this.serviceStateEvent) {
_this.serviceStateEvent.unsubscribe();
}
if (_this.portletStateEvent) {
_this.portletStateEvent.unsubscribe();
}
if (_this.formDruipartEvent) {
_this.formDruipartEvent.unsubscribe();
}
if (_this.engine) {
_this.engine.destroy();
}
if (_this.panelStateEvent) {
_this.panelStateEvent.unsubscribe();
}
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public mounted() {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public afterMounted(){
const _this: any = this;
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem5')) {
this.toolbar_tbitem5_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem9_saveandstart')) {
this.toolbar_tbitem9_saveandstart_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem15')) {
this.toolbar_tbitem15_click(null, '', $event2);
}
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public form_load($event: any, $event2?: any) {
this.engine.onCtrlEvent('form', 'load', $event);
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public form_save($event: any, $event2?: any) {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public form_remove($event: any, $event2?: any) {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.form;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.New(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.form;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.Save(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem5_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.form;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.SaveAndExit(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem9_saveandstart_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.form;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.SaveAndStart(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem15_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.form;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.Print(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.newdata && _this.newdata instanceof Function) {
const data: any = {};
_this.newdata([{ ...data }],[{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'newdata 视图处理逻辑不存在,请添加!' });
}
}
/**
* 保存
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public Save(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
// 界面行为容器对象 _this
const _this: any = this;
if (xData && xData.save instanceof Function) {
xData.save().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
_this.$emit('viewdataschange', [{ ...response.data }]);
});
} else if (_this.save && _this.save instanceof Function) {
_this.save();
}
}
/**
* 保存并关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public SaveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (xData && xData.saveAndExit instanceof Function) {
xData.saveAndExit().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
} else if (_this.saveAndExit && _this.saveAndExit instanceof Function) {
_this.saveAndExit().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
}
}
/**
* 开始流程
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public SaveAndStart(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const that: any = this;
if (!xData || !(xData.wfstart instanceof Function)) {
return;
}
let validateStatus: boolean = true;
if (xData.formValidateStatus && xData.formValidateStatus instanceof Function) {
validateStatus = xData.formValidateStatus();
}
if (!validateStatus) {
return;
}
const startWorkFlow: Function = (param: any, localdata: any) => {
xData.wfstart(param,localdata).then((response: any) => {
if (!response || response.status !== 200) {
return;
}
const { data: _data } = response;
that.closeView(_data);
});
}
const openStartView: Function = async (item: any, localdata: any) => {
if (item['modelversion']) {
const targetView: any = that.viewRefData ? that.viewRefData[`WFSTART@${item['modelversion']}`] : null;
if (targetView) {
const tempContext = Util.deepCopy(that.context);
const tempViewParams = { actionView: `WFSTART@${item['modelversion']}`, actionForm: item['process-form'] };
const container: Subject<any> = that.$appmodal.openModal({viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width}, tempContext, tempViewParams);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
const tempSubmitData: any = Util.deepCopy(args[0]);
if (result.datas && result.datas[0]) {
const resultData: any = result.datas[0];
if (Object.keys(resultData).length > 0) {
let tempData: any = {};
Object.keys(resultData).forEach((key: any) => {
if (resultData[key] || (resultData[key] === 0) || (resultData[key] === false)) {
tempData[key] = resultData[key];
}
})
Object.assign(tempSubmitData, tempData);
}
}
startWorkFlow([tempSubmitData], localdata);
})
} else {
startWorkFlow(args, localdata);
}
} else {
startWorkFlow(args, localdata);
}
}
let localData: any;
const localContext = Util.deepCopy(that.context);
const requestResult: Promise<any> = that.appEntityService.getStandWorkflow(localContext);
requestResult.then((response: any) => {
const { data: targetData, status } = response;
if (status !== 200 || targetData.length === 0) {
return;
}
if (targetData && targetData.length > 1) {
const h = that.$createElement;
targetData.forEach((element: any) => {
Object.assign(element, { value: element.definitionkey, label: element.definitionname });
})
that.$msgbox({
title: '请选择流程版本',
message: h('i-select', {
key: Util.createUUID(),
props: {
value: localData,
placeholder: "请选择流程版本...",
transfer: true,
transferClassName: "start-workflow-select-wraper"
},
on: {
'on-change': ($event: any) => {
localData = { processDefinitionKey: $event };
}
}
}, targetData.map((item: any) => {
return h('i-option', {
key: item.value,
props: {
value: item.value,
label: item.label
}
})
})),
showCancelButton: true,
confirmButtonText: '确定',
cancelButtonText: '取消'
}).then((action: string) => {
if (Object.is(action, 'confirm') && localData && Object.keys(localData).length > 0) {
let targetItem: any = targetData.find((item: any) => {
return item.definitionkey === localData.processDefinitionKey;
})
openStartView(targetItem, localData);
}
})
} else {
localData = { processDefinitionKey: targetData[0]['definitionkey'] };
openStartView(targetData[0], localData);
}
})
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public Print(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let _this:any = this;
if (!xData || !(xData.print instanceof Function) || !$event) {
return ;
}
xData.print();
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public closeView(args: any[]): void {
let _view: any = this;
if (_view.viewdata) {
_view.$emit('viewdataschange', Array.isArray(args)?args:[args]);
_view.$emit('close', Array.isArray(args)?args:[args]);
} else if (_view.$tabPageExp) {
_view.$tabPageExp.onClose(_view.$route.fullPath);
}else{
_view.$router.back();
}
}
/**
* 销毁视图回调
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public destroyed(){
this.afterDestroyed();
}
/**
* 执行destroyed后的逻辑
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public afterDestroyed(){
if (this.viewDefaultUsage) {
let localStoreLength = Object.keys(localStorage);
if(localStoreLength.length > 0){
localStoreLength.forEach((item:string) =>{
if(item.startsWith(this.context.srfsessionid)){
localStorage.removeItem(item);
}
})
}
if(Object.is(this.navModel,"tab")){
this.navDataService.removeNavDataByTag(this.viewtag);
}
}
// 销毁计数器定时器
if(this.counterServiceArray && this.counterServiceArray.length >0){
this.counterServiceArray.forEach((item:any) =>{
if(item.destroyCounter && item.destroyCounter instanceof Function){
item.destroyCounter();
}
})
}
}
/**
* meditview9状态下发变量
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
@Prop() public panelState?: Subject<ViewState>;
/**
* meditview9状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public panelStateEvent: Subscription | undefined;
/**
* 视图引用数据
*
* @memberof IBIZOrderUsr1215996830EditViewBase
*/
public viewRefData:any = {
"WFSTART@1":{viewname:"ibizorder-wfstart-view",title:"entities.ibizorder.views.wfstartview.caption", width: 600, height: 400}
};
}
</script>
<style lang='scss'>
@import './ibizorder-usr1215996830-edit-view.scss';
</style>
\ No newline at end of file
// 基于 @VIEW/实体编辑视图/VIEW.scss.ftl 生成
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizorder-usr1215996830-edit-view{
position: relative;
}
// this is scss
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZOrderUsr1215996830EditViewBase from './ibizorder-usr1215996830-edit-view-base.vue';
import view_form from '@widgets/ibizorder/ui-0018-form/ui-0018-form.vue';
// 基于 @VIEW/实体编辑视图/VIEW.vue.ftl 生成
@Component({
components: {
view_form,
},
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 IBIZOrderUsr1215996830EditView extends IBIZOrderUsr1215996830EditViewBase {
}
</script>
\ No newline at end of file
......@@ -220,6 +220,7 @@ export const PageComponents = {
Vue.component('ibizsample0021-reassignwfdyna-action-view', () => import('@pages/sample/ibizsample0021-reassignwfdyna-action-view/ibizsample0021-reassignwfdyna-action-view.vue'));
Vue.component('ibizsample0021-sendbackwfdyna-action-view', () => import('@pages/sample/ibizsample0021-sendbackwfdyna-action-view/ibizsample0021-sendbackwfdyna-action-view.vue'));
Vue.component('ibizcustom-custom-edit-view', () => import('@pages/sample/ibizcustom-custom-edit-view/ibizcustom-custom-edit-view.vue'));
Vue.component('ibizorder-usr1215996830-edit-view', () => import('@pages/sample/ibizorder-usr1215996830-edit-view/ibizorder-usr1215996830-edit-view.vue'));
Vue.component('ibiztaskteamgrid-view9', () => import('@pages/sample/ibiztaskteamgrid-view9/ibiztaskteamgrid-view9.vue'));
Vue.component('ibizbookusr3-edit-view', () => import('@pages/sample/ibizbookusr3-edit-view/ibizbookusr3-edit-view.vue'));
Vue.component('ibizorder-usr5-edit-view', () => import('@pages/sample/ibizorder-usr5-edit-view/ibizorder-usr5-edit-view.vue'));
......
......@@ -3332,6 +3332,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustom-custom-edit-view/ibizcustom-custom-edit-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/usr1215996830editview/:usr1215996830editview?',
meta: {
caption: 'entities.ibizorder.views.usr1215996830editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr1215996830editview', parameterName: 'usr1215996830editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr1215996830-edit-view/ibizorder-usr1215996830-edit-view.vue'),
},
{
path: 'ibiztasks/:ibiztask?/ibiztaskteams/:ibiztaskteam?/gridview9/:gridview9?',
meta: {
......@@ -4659,6 +4673,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/usr1215996830editview/:usr1215996830editview?',
meta: {
caption: 'entities.ibizorder.views.usr1215996830editview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr1215996830editview', parameterName: 'usr1215996830editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr1215996830-edit-view/ibizorder-usr1215996830-edit-view.vue'),
},
{
path: '/appportalview2/:appportalview2?',
meta: {
......
......@@ -840,6 +840,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/usr1215996830editview/:usr1215996830editview?',
meta: {
caption: 'entities.ibizorder.views.usr1215996830editview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr1215996830editview', parameterName: 'usr1215996830editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr1215996830-edit-view/ibizorder-usr1215996830-edit-view.vue'),
},
{
path: '/appportalview2/:appportalview2?',
meta: {
......
......@@ -595,6 +595,16 @@ export const viewstate: any = {
'a5c123887fed6734a6b04952d01f242d',
],
},
{
viewtag: '3A08D861-4F5A-4CBC-984C-2E7C3CB9A692',
viewmodule: 'Sample',
viewname: 'IBIZOrderUsr1215996830EditView',
viewaction: '',
viewdatachange: false,
refviews: [
'6bc6e690dc5abfc6d89703e4459c785c',
],
},
{
viewtag: '3d5803767cb3743ed92096aff4ca2b72',
viewmodule: 'Sample',
......@@ -738,7 +748,7 @@ export const viewstate: any = {
viewdatachange: false,
refviews: [
'7f46cd67bcfbeac794fcc5c91d8bcceb',
'231651109e4b11477dcf988577d43c3e',
'3A08D861-4F5A-4CBC-984C-2E7C3CB9A692',
'd827fd85e8d9be1bb9348765c09cd465',
'56738595155756fd86c36e20af24f056',
'e6b9fc2b5a23e89827909ccc050eb381',
......
......@@ -105,6 +105,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'pluginexgridview',viewType:'DEGRIDVIEW',srfappde:'ibizorders',component:'ibizorder-plugin-ex-grid-view'});
this.allViewMap.set(':',{viewname:'sf15gridview',viewType:'DEGRIDVIEW',srfappde:'ibizorders',component:'ibizorder-sf15-grid-view'});
this.allViewMap.set(':',{viewname:'testcustomlayoutpanelgridexpview',viewType:'DEGRIDEXPVIEW',srfappde:'ibizorders',component:'ibizorder-test-custom-layout-panel-grid-exp-view'});
this.allViewMap.set(':',{viewname:'usr1215996830editview',viewType:'DEEDITVIEW',srfappde:'ibizorders',component:'ibizorder-usr1215996830-edit-view'});
this.allViewMap.set(':',{viewname:'listview',viewType:'DELISTVIEW',srfappde:'ibizorders',component:'ibizorder-list-view'});
this.allViewMap.set(':',{viewname:'dataviewexpview_layout',viewType:'DEDATAVIEWEXPVIEW',srfappde:'ibizorders',component:'ibizorder-data-view-exp-view-layout'});
this.allViewMap.set(':',{viewname:'wfactionview',viewType:'DEWFACTIONVIEW',srfappde:'ibizorders',component:'ibizorder-wfaction-view'});
......@@ -485,11 +486,13 @@ export default class IBIZOrderUIServiceBase extends UIService {
let deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'f9editview', parameterName: 'f9editview' },
];
const openIndexViewTab = (data: any) => {
const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data);
actionContext.$router.push(routePath);
const openDrawer = (view: any, data: any) => {
let container: Subject<any> = actionContext.$appdrawer.openDrawer(view, context,data);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
// 后续界面行为
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
......@@ -497,8 +500,16 @@ export default class IBIZOrderUIServiceBase extends UIService {
if (_this.New && _this.New instanceof Function) {
return _this.New(result.datas, context, params, $event, xData, actionContext);
}
});
}
return openIndexViewTab(data);
const view: any = {
viewname: 'ibizorder-usr1215996830-edit-view',
height: 0,
width: 0,
title: actionContext.$t('entities.ibizorder.views.usr1215996830editview.title'),
placement: 'DRAWER_LEFT',
};
return openDrawer(view, data);
}
/**
......
......@@ -3236,10 +3236,10 @@ export default class MainMenuModel {
{
id: '840B9AC9-88D7-4189-A515-EA189A088455',
name: 'menuitem125',
text: '测试表单自定义布局多媒体',
text: '多媒体布局组件',
type: 'MENUITEM',
counterid: '',
tooltip: '测试表单自定义布局多媒体',
tooltip: '多媒体布局组件',
expanded: false,
separator: false,
hidden: false,
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (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;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (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;
}
const arg: any = { ...opt } ;
......
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
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;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
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;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
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{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
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{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,6 +70,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -5802,6 +5802,14 @@
"rTMOSFilePath" : "psmodeldata$psdataentities/SF1GridView",
"realModelSubType" : "DEGRIDVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr1215996830EditView",
"logicName" : "左侧抽屉弹出",
"mOSFilePath" : "psmodeldata$psdataentities/Usr1215996830EditView",
"name" : "左侧抽屉弹出",
"rTMOSFilePath" : "psmodeldata$psdataentities/Usr1215996830EditView",
"realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr2EditView",
"logicName" : "订单实体编辑视图(更新默认值)",
......
......@@ -4733,7 +4733,7 @@
"codeName" : "EditAndNew",
"getFrontPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderF9EditView.json",
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr1215996830EditView.json",
"viewType" : "DEEDITVIEW"
},
"frontProcessType" : "WIZARD",
......@@ -5277,6 +5277,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderTestCustomLayoutPanelGridExpView.json",
"viewType" : "DEGRIDEXPVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr1215996830EditView.json",
"viewType" : "DEEDITVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderListView.json",
......
......@@ -1239,7 +1239,7 @@
"codeName" : "EditAndNew",
"getFrontPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderF9EditView.json",
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr1215996830EditView.json",
"viewType" : "DEEDITVIEW"
},
"frontProcessType" : "WIZARD",
......
{
"accUserMode" : 2,
"getCapPSLanguageRes" : {
"lanResTag" : "DE.LNAME.IBIZORDER",
"mOSFilePath" : "pslanguageres/Auto1479",
"rTMOSFilePath" : "pslanguageres/Auto1479"
},
"caption" : "左侧抽屉弹出",
"codeName" : "IBIZOrderUsr1215996830EditView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr1215996830EditView.json",
"mOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderUsr1215996830EditView",
"name" : "IBIZOrderUsr1215996830EditView",
"openMode" : "DRAWER_LEFT",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSAppModule" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Sample.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "EditView",
"mOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderUsr1215996830EditView/psappviewengines/engine",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "form",
"name" : "FORM",
"paramType" : "CTRL"
}, {
"name" : "P2K",
"paramType" : "VALUE",
"value" : 0
} ]
} ],
"getPSAppViewLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem3",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem3_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem3"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem5",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem5_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem5"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem9_saveandstart",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem9_saveandstart_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem9_saveandstart"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem15",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem15_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem15"
},
"getPSViewCtrlName" : "toolbar"
} ],
"getPSAppViewRefs" : [ {
"name" : "WFSTART@1",
"realOpenMode" : "POPUPMODAL",
"realTitle" : "订单工作流启动视图",
"getRealTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.IBIZORDER.WFSTARTVIEW",
"mOSFilePath" : "pslanguageres/Auto1101",
"rTMOSFilePath" : "pslanguageres/Auto1101"
},
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderWFStartView.json",
"viewType" : "DEWFSTARTVIEW"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "toolbar_deuiaction1",
"getPSUIAction" : {
"modelref" : true,
"id" : "New"
},
"xDataControlName" : "form"
}, {
"name" : "toolbar_tbitem3",
"getPSUIAction" : {
"modelref" : true,
"id" : "Save"
},
"xDataControlName" : "form"
}, {
"name" : "toolbar_tbitem5",
"getPSUIAction" : {
"modelref" : true,
"id" : "SaveAndExit"
},
"xDataControlName" : "form"
}, {
"name" : "toolbar_tbitem9_saveandstart",
"getPSUIAction" : {
"modelref" : true,
"id" : "SaveAndStart"
},
"xDataControlName" : "form"
}, {
"name" : "toolbar_tbitem15",
"getPSUIAction" : {
"modelref" : true,
"id" : "Print"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "form"
} ],
"getPSControls" : [ {
"codeName" : "Usr1215996830EditViewtoolbar",
"controlType" : "TOOLBAR",
"hookEventNames" : [ "CLICK" ],
"logicName" : "工具栏模板(默认编辑界面)",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdetoolbars/Usr1215996830EditViewtoolbar",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlLogics" : [ {
"eventArg" : "deuiaction1",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_deuiaction1_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_deuiaction1_click"
}
}, {
"eventArg" : "tbitem3",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem3_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem3_click"
}
}, {
"eventArg" : "tbitem5",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem5_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem5_click"
}
}, {
"eventArg" : "tbitem9_saveandstart",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem9_saveandstart_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem9_saveandstart_click"
}
}, {
"eventArg" : "tbitem15",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem15_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem15_click"
}
} ],
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW",
"mOSFilePath" : "pslanguageres/Auto1712",
"rTMOSFilePath" : "pslanguageres/Auto1712"
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW",
"mOSFilePath" : "pslanguageres/Auto1712",
"rTMOSFilePath" : "pslanguageres/Auto1712"
},
"caption" : "新建",
"codeName" : "New",
"fullCodeName" : "New",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/New",
"name" : "编辑界面_新建操作",
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"predefinedType" : "EDITVIEW_NEWACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/New",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW",
"mOSFilePath" : "pslanguageres/Auto274",
"rTMOSFilePath" : "pslanguageres/Auto274"
},
"uIActionMode" : "SYS",
"uIActionTag" : "New",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "新建",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW",
"mOSFilePath" : "pslanguageres/Auto274",
"rTMOSFilePath" : "pslanguageres/Auto274"
},
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.SAVE",
"mOSFilePath" : "pslanguageres/Auto71",
"rTMOSFilePath" : "pslanguageres/Auto71"
},
"caption" : "保存",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem3"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
},
"getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome",
"cssClass" : "fa fa-save"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.SAVE",
"mOSFilePath" : "pslanguageres/Auto71",
"rTMOSFilePath" : "pslanguageres/Auto71"
},
"caption" : "保存",
"codeName" : "Save",
"fullCodeName" : "Save",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Save",
"name" : "编辑界面_保存操作",
"getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome",
"cssClass" : "fa fa-save"
},
"predefinedType" : "EDITVIEW_SAVEACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Save",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.SAVE",
"mOSFilePath" : "pslanguageres/Auto1630",
"rTMOSFilePath" : "pslanguageres/Auto1630"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Save",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "保存",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.SAVE",
"mOSFilePath" : "pslanguageres/Auto1630",
"rTMOSFilePath" : "pslanguageres/Auto1630"
},
"showCaption" : true,
"showIcon" : true
}, {
"actionLevel" : 250,
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE",
"mOSFilePath" : "pslanguageres/Auto643",
"rTMOSFilePath" : "pslanguageres/Auto643"
},
"caption" : "保存并关闭",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem5",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem5"
},
"getPSSysImage" : {
"cssClass" : "ivu-icon ivu-icon-ios-battery-dead"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE",
"mOSFilePath" : "pslanguageres/Auto643",
"rTMOSFilePath" : "pslanguageres/Auto643"
},
"caption" : "保存并关闭",
"codeName" : "SaveAndExit",
"fullCodeName" : "SaveAndExit",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/SaveAndExit",
"name" : "编辑界面_保存并退出操作",
"getPSSysImage" : {
"cssClass" : "sx-tb-saveandclose"
},
"predefinedType" : "EDITVIEW_SAVEANDEXITACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/SaveAndExit",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE",
"mOSFilePath" : "pslanguageres/Auto271",
"rTMOSFilePath" : "pslanguageres/Auto271"
},
"uIActionMode" : "SYS",
"uIActionTag" : "SaveAndExit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "保存并关闭",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE",
"mOSFilePath" : "pslanguageres/Auto271",
"rTMOSFilePath" : "pslanguageres/Auto271"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem8",
"spanMode" : false
}, {
"caption" : "开始流程",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem9_saveandstart",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem9_saveandstart"
},
"getPSUIAction" : {
"caption" : "开始流程",
"codeName" : "SaveAndStart",
"dataAccessAction" : "WFSTART",
"fullCodeName" : "SaveAndStart",
"mOSFilePath" : "psdeuiactions/SaveAndStart",
"name" : "开始流程",
"getNextPSUIAction" : {
"modelref" : true,
"id" : "WFStartWizard@ODSPv1"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "WFSTART"
},
"predefinedType" : "EDITVIEW_SAVEANDSTARTWFACTION",
"rTMOSFilePath" : "psdeuiactions/SaveAndStart",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "SaveAndStart",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "开始流程",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem13",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.PRINT",
"mOSFilePath" : "pslanguageres/Auto59",
"rTMOSFilePath" : "pslanguageres/Auto59"
},
"caption" : "打印",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem15",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem15"
},
"getPSSysImage" : {
"glyph" : "xf02f@FontAwesome",
"cssClass" : "fa fa-print"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.PRINT",
"mOSFilePath" : "pslanguageres/Auto59",
"rTMOSFilePath" : "pslanguageres/Auto59"
},
"caption" : "打印",
"codeName" : "Print",
"fullCodeName" : "Print",
"mOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Print",
"name" : "编辑界面_打印操作",
"getPSSysImage" : {
"glyph" : "xf02f@FontAwesome",
"cssClass" : "fa fa-print"
},
"predefinedType" : "EDITVIEW_PRINTACTION",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/Print",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.PRINT",
"mOSFilePath" : "pslanguageres/Auto1134",
"rTMOSFilePath" : "pslanguageres/Auto1134"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Print",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "打印",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.PRINT",
"mOSFilePath" : "pslanguageres/Auto1134",
"rTMOSFilePath" : "pslanguageres/Auto1134"
},
"showCaption" : true,
"showIcon" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderUsr1215996830EditView/psappviewctrls/toolbar",
"modelid" : "b912ff540f5614f63914a38067d84728",
"modeltype" : "PSDETOOLBAR"
}, {
"codeName" : "UI_0018",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"defaultLabelWidth" : 130,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSFORMS/UI_0018.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "流程启动表单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdeform_editforms/UI_0018",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}
}, {
"actionName" : "WFSTART",
"actionType" : "WFACTION",
"name" : "WFSTART",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}
}, {
"actionName" : "WFSUBMIT",
"actionType" : "WFACTION",
"name" : "WFSUBMIT",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "编辑表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "FORM"
},
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZORDERID",
"codeName" : "IBIZOrderId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZORDERNAME",
"codeName" : "IBIZOrderName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfwfmemo",
"dataType" : 25
}, {
"id" : "ibizorderid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZORDERID",
"codeName" : "IBIZOrderId"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZORDER.MAIN.FORMPAGE.FORMPAGE1",
"mOSFilePath" : "pslanguageres/Auto890",
"rTMOSFilePath" : "pslanguageres/Auto890"
},
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"mOSFilePath" : "psdeformdetail_formpages/formpage1",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZORDER.MAIN.GROUPPANEL.GROUP1",
"mOSFilePath" : "pslanguageres/Auto750",
"rTMOSFilePath" : "pslanguageres/Auto750"
},
"caption" : "提交信息",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/group1",
"name" : "group1",
"getPSDEFormDetails" : [ {
"codeName" : "srfwfmemo",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemHeight" : 200.0,
"labelPos" : "NONE",
"labelWidth" : 0,
"mOSFilePath" : "psdeformdetail_formitems/srfwfmemo",
"name" : "srfwfmemo",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorHeight" : 200.0,
"editorParams" : {
"HEIGHT" : "200"
},
"editorType" : "TEXTAREA_10",
"name" : "srfwfmemo",
"showMaxLength" : true
},
"getPSLayoutPos" : {
"colMD" : 12,
"colSM" : 12,
"colXS" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/srfwfmemo",
"allowEmpty" : true,
"emptyCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 6,
"childColSM" : 6,
"childColXS" : 6,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 12,
"colSM" : 12,
"colXS" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/group1",
"infoGroupMode" : false,
"showCaption" : false
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formpages/formpage1",
"infoGroupMode" : false
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderUsr1215996830EditView/psappviewctrls/form",
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"getWFStartPSControlAction" : {
"modelref" : true,
"id" : "WFSTART"
},
"getWFSubmitPSControlAction" : {
"modelref" : true,
"id" : "WFSUBMIT"
},
"noTabHeader" : true,
"name" : "form",
"modelid" : "1526e5462ff358a9db577adabcfae3bf",
"modeltype" : "PSDEFORM_EDITFORM"
} ],
"getPSDEViewCodeName" : "Usr1215996830EditView",
"getPSDEViewId" : "B6FFE282-871D-4E7A-B6C7-967A4EE9C2B0",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEEDITVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/pssysviewlayoutpanels/Layoutpanel",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlParam" : { },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderUsr1215996830EditView/psappviewctrls/layoutpanel",
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"getPSWFVersion" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFVERSIONS/ODSPv1.json"
},
"getPSWorkflow" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderUsr1215996830EditView",
"title" : "左侧抽屉弹出",
"viewStyle" : "DEFAULT",
"viewType" : "DEEDITVIEW",
"xDataControlName" : "form",
"enableDP" : true,
"showDataInfoBar" : true,
"modelid" : "3A08D861-4F5A-4CBC-984C-2E7C3CB9A692",
"modeltype" : "PSAPPDEVIEW"
}
\ No newline at end of file
......@@ -4376,7 +4376,7 @@
"name" : "menuitem66",
"getPSAppMenuItems" : [ {
"accUserMode" : 2,
"caption" : "测试表单自定义布局多媒体",
"caption" : "多媒体布局组件",
"itemType" : "MENUITEM",
"name" : "menuitem125",
"getPSAppFunc" : {
......@@ -4395,7 +4395,7 @@
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "测试表单自定义布局多媒体"
"tooltip" : "多媒体布局组件"
}, {
"accUserMode" : 2,
"caption" : "自定义导航",
......
......@@ -2371,14 +2371,14 @@
"name" : "menuitem66",
"getPSAppMenuItems" : [ {
"accUserMode" : 2,
"caption" : "测试表单自定义布局多媒体",
"caption" : "多媒体布局组件",
"itemType" : "MENUITEM",
"name" : "menuitem125",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc100"
},
"tooltip" : "测试表单自定义布局多媒体"
"tooltip" : "多媒体布局组件"
}, {
"accUserMode" : 2,
"caption" : "自定义导航",
......
......@@ -16546,6 +16546,12 @@
"viewType" : "DEGRIDEXPVIEW",
"resource" : "IBIZOrder",
"view" : "TestCustomLayoutPanelGridExpView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr1215996830EditView.json",
"viewType" : "DEEDITVIEW",
"resource" : "IBIZOrder",
"view" : "Usr1215996830EditView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderListView.json",
......@@ -22628,7 +22634,7 @@
"name" : "menuitem66",
"getPSAppMenuItems" : [ {
"accUserMode" : 2,
"caption" : "测试表单自定义布局多媒体",
"caption" : "多媒体布局组件",
"itemType" : "MENUITEM",
"name" : "menuitem125",
"getPSAppFunc" : {
......@@ -22647,7 +22653,7 @@
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "测试表单自定义布局多媒体"
"tooltip" : "多媒体布局组件"
}, {
"accUserMode" : 2,
"caption" : "自定义导航",
......@@ -344,7 +344,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-770-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-777-14">
<createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)">
</column>
......
......@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-770-8" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-777-8" runOnChange="true">
<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 ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册