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

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

上级 b3cf5067
......@@ -207,6 +207,7 @@ export const PageComponents = {
Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'));
Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'));
Vue.component('ibizorder-detail-sedit-view9', () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'));
Vue.component('ibizcustomer-pickup-tree-view-layout', () => import('@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'));
Vue.component('ibizcustomer-pickup-tree-view', () => import('@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'));
Vue.component('ibizhardware-index-pickup-view', () => import('@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'));
Vue.component('ibizcpuedit-view', () => import('@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'));
......
......@@ -3170,6 +3170,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?',
meta: {
caption: 'entities.ibizcustomer.views.pickuptreeview_layout.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickuptreeview_layout', parameterName: 'pickuptreeview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?',
meta: {
......@@ -3432,6 +3446,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?',
meta: {
caption: 'entities.ibizcustomer.views.pickuptreeview_layout.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickuptreeview_layout', parameterName: 'pickuptreeview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'),
},
{
path: '/ibizappviews/:ibizappview?/editview/:editview?',
meta: {
......
......@@ -170,6 +170,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?',
meta: {
caption: 'entities.ibizcustomer.views.pickuptreeview_layout.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickuptreeview_layout', parameterName: 'pickuptreeview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'),
},
{
path: '/ibizappviews/:ibizappview?/editview/:editview?',
meta: {
......
......@@ -95,6 +95,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '091e4dfadeea5cf542e5e01a758a3b93',
viewmodule: 'Sample',
viewname: 'IBIZCustomerPickupTreeView_layout',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '0a96057cbca72b445776fb056be79ea8',
viewmodule: 'Sample',
......@@ -2143,7 +2152,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'2dd50b1b88cf8062b625ee8b0b4fa9d7',
'091e4dfadeea5cf542e5e01a758a3b93',
],
},
{
......
......@@ -29,9 +29,8 @@ export default class PrintParamsUILogicBase {
*/
protected logicParams: any[] = [
{
name: '传入变量',
codeName: 'Default',
default: true,
name: '输出参数',
codeName: 'printParam',
entityParam: true,
},
{
......@@ -40,15 +39,21 @@ export default class PrintParamsUILogicBase {
appGlobalParam: true,
},
{
name: '当前视图会话变量',
codeName: 'currentView',
viewSessionParam: true,
name: '传入变量',
codeName: 'Default',
default: true,
entityParam: true,
},
{
name: '路由视图会话变量',
codeName: 'routerSession',
routeViewSessionParam: true,
},
{
name: '当前视图会话变量',
codeName: 'currentView',
viewSessionParam: true,
},
];
/**
......@@ -124,6 +129,68 @@ export default class PrintParamsUILogicBase {
await this.execute_preparejsparam1_node(actionContext);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_debugparam4_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('appGlobal').getReal();
actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点');
await this.execute_preparejsparam4_node(actionContext);
}
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_end1_node(actionContext: UIActionContext) {
const strReturnType: string = 'NONEVALUE';
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
actionContext.setResult(null);
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
actionContext.setResult('');
} else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
actionContext.setResult(LogicReturnType.BREAK);
} else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
const returnParam = actionContext.getParam('');
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else {
actionContext.setResult(returnParam.get(''));
}
} else {
throw new Error(`无法识别的返回值类型${strReturnType}`);
}
console.log('已完成执行 结束 节点');
}
/**
* 设置testParam
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_preparejsparam1_node(actionContext: UIActionContext) {
try {
// 目标数据
const dstParam_1: any = actionContext.getParam('appGlobal');
// 无值类型
// 直接值
const result_1 = '121';
dstParam_1.set('testparam', result_1);
} catch (error: any) {
throw new Error(`逻辑节点 设置testParam ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 设置testParam 节点');
await this.execute_debugparam1_node(actionContext);
}
/**
* 获取全局testParam
*
......@@ -152,12 +219,12 @@ export default class PrintParamsUILogicBase {
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_debugparam4_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('appGlobal').getReal();
protected async execute_debugparam2_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('routerSession').getReal();
actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点');
await this.execute_end1_node(actionContext);
await this.execute_preparejsparam3_node(actionContext);
}
/**
......@@ -175,30 +242,31 @@ export default class PrintParamsUILogicBase {
}
/**
* 结束
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_end1_node(actionContext: UIActionContext) {
const strReturnType: string = 'NONEVALUE';
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
actionContext.setResult(null);
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
actionContext.setResult('');
} else if (Object.is(strReturnType, LogicReturnType.BREAK)) {
actionContext.setResult(LogicReturnType.BREAK);
} else if (Object.is(strReturnType, LogicReturnType.LOGICPARAM) || Object.is(strReturnType, LogicReturnType.LOGICPARAMFIELD)) {
const returnParam = actionContext.getParam('');
if (Object.is(strReturnType, LogicReturnType.LOGICPARAM)) {
actionContext.setResult(returnParam.getReal());
} else {
actionContext.setResult(returnParam.get(''));
}
} else {
throw new Error(`无法识别的返回值类型${strReturnType}`);
}
console.log('已完成执行 结束 节点');
protected async execute_debugparam5_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('printParam').getReal();
actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点');
await this.execute_end1_node(actionContext);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_debugparam1_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('appGlobal').getReal();
actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点');
await this.execute_preparejsparam2_node(actionContext);
}
/**
......@@ -216,24 +284,25 @@ export default class PrintParamsUILogicBase {
}
/**
* 设置testParam
* 获取应用名称
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_preparejsparam1_node(actionContext: UIActionContext) {
protected async execute_preparejsparam4_node(actionContext: UIActionContext) {
try {
// 目标数据
const dstParam_1: any = actionContext.getParam('appGlobal');
const dstParam_1: any = actionContext.getParam('printParam');
// 无值类型
// 直接值
const result_1 = '121';
dstParam_1.set('testparam', result_1);
// 环境参数
// TODO 环境参数
const result_1 = '';
dstParam_1.set('envparam', result_1);
} catch (error: any) {
throw new Error(`逻辑节点 设置testParam ${error && error.message ? error.message : '发生未知错误!'}`);
throw new Error(`逻辑节点 获取应用名称 ${error && error.message ? error.message : '发生未知错误!'}`);
}
console.log('已完成执行 设置testParam 节点');
await this.execute_debugparam1_node(actionContext);
console.log('已完成执行 获取应用名称 节点');
await this.execute_debugparam5_node(actionContext);
}
/**
......@@ -258,33 +327,5 @@ export default class PrintParamsUILogicBase {
await this.execute_debugparam3_node(actionContext);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_debugparam1_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('appGlobal').getReal();
actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点');
await this.execute_preparejsparam2_node(actionContext);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase
*/
protected async execute_debugparam2_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('routerSession').getReal();
actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点');
await this.execute_preparejsparam3_node(actionContext);
}
}
\ No newline at end of file
......@@ -671,7 +671,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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -46,11 +46,11 @@
<span class="quick-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
</div>
</span>
......@@ -61,18 +61,18 @@
<span class="batch-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip>
</div>
</span>
......@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase
* @memberof IBIZBOOKUsr4ListView_layoutBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase
* @memberof IBIZBOOKUsr4ListView_layoutBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase
* @memberof IBIZBOOKUsr4ListView_layoutBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -583,9 +583,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKListView
* @memberof IBIZBOOKUsr4ListView_layout
*/
public listviewlist_quicktoolbarModels: any = {
public usr4listview_layoutlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
};
......@@ -595,9 +595,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKListView
* @memberof IBIZBOOKUsr4ListView_layout
*/
public listviewlist_batchtoolbarModels: any = {
public usr4listview_layoutlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......@@ -820,7 +820,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public load(opt: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -936,7 +936,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -1031,7 +1031,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (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);
......@@ -1039,7 +1039,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -195,7 +195,7 @@ export default class Usr2PickupView_layoutpickupviewpanelBase extends Vue implem
* @memberof Usr2PickupView_layoutpickupviewpanelBase
*/
public view: any = {
viewname: 'ibizcustomer-usr2-pickup-view',
viewname: 'ibizcustomer-pickup-tree-view-layout',
data: {},
}
......
......@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase
* @memberof IBIZOrderPickupGridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -421,20 +421,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/**
* 是否嵌入关系界面
......@@ -967,7 +953,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -1062,7 +1048,7 @@ export default class MainBase 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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1168,7 +1154,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2085,7 +2071,7 @@ export default class MainBase 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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.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);
......@@ -2093,7 +2079,7 @@ export default class MainBase 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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......@@ -2160,7 +2146,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -104,21 +104,6 @@ export default class MainModel {
prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -3325,6 +3325,58 @@
}
} ],
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM4",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM4"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM4"
}
} ]
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"returnType" : "NONEVALUE"
}, {
"codeName" : "PREPAREJSPARAM1",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "设置testParam",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "testParam",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"name" : "直接值[121] ==> appGlobal[testParam]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "121",
"srcValueType" : "SRCVALUE"
} ]
}, {
"codeName" : "PREPAREJSPARAM2",
"logicNodeType" : "PREPAREJSPARAM",
......@@ -3357,23 +3409,23 @@
"srcValueType" : "SRCDLPARAM"
} ]
}, {
"codeName" : "DEBUGPARAM4",
"codeName" : "DEBUGPARAM2",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
"id" : "routerSession"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
"id" : "PREPAREJSPARAM3"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM4"
"id" : "DEBUGPARAM2"
}
} ]
}, {
......@@ -3397,10 +3449,45 @@
}
} ]
}, {
"codeName" : "END1",
"logicNodeType" : "END",
"name" : "结束",
"returnType" : "NONEVALUE"
"codeName" : "DEBUGPARAM5",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "printParam"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM5"
}
} ]
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
}
} ]
}, {
"codeName" : "RESETPARAM1",
"getDstPSDEUILogicParam" : {
......@@ -3422,31 +3509,31 @@
}
} ]
}, {
"codeName" : "PREPAREJSPARAM1",
"codeName" : "PREPAREJSPARAM4",
"logicNodeType" : "PREPAREJSPARAM",
"name" : "设置testParam",
"name" : "获取应用名称",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
"id" : "DEBUGPARAM5"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
"id" : "PREPAREJSPARAM4"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "testParam",
"dstFieldName" : "envParam",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
"id" : "printParam"
},
"name" : "直接值[121] ==> appGlobal[testParam]",
"name" : "当前环境参数[AppName] ==> printParam[envParam]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "121",
"srcValueType" : "SRCVALUE"
"srcFieldName" : "AppName",
"srcValueType" : "ENVPARAM"
} ]
}, {
"codeName" : "PREPAREJSPARAM3",
......@@ -3479,52 +3566,11 @@
},
"srcValueType" : "SRCDLPARAM"
} ]
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "appGlobal"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
}
} ]
}, {
"codeName" : "DEBUGPARAM2",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "routerSession"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM3"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM2"
}
} ]
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"codeName" : "printParam",
"logicName" : "输出参数",
"name" : "输出参数",
"entityParam" : true
}, {
"codeName" : "appGlobal",
......@@ -3533,17 +3579,23 @@
"paramFieldName" : "appGlobal",
"appGlobalParam" : true
}, {
"codeName" : "currentView",
"logicName" : "当前视图会话变量",
"name" : "当前视图会话变量",
"paramFieldName" : "currentView",
"viewSessionParam" : true
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "routerSession",
"logicName" : "路由视图会话变量",
"name" : "路由视图会话变量",
"paramFieldName" : "routerSession",
"routeViewSessionParam" : true
}, {
"codeName" : "currentView",
"logicName" : "当前视图会话变量",
"name" : "当前视图会话变量",
"paramFieldName" : "currentView",
"viewSessionParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
......
......@@ -30,335 +30,261 @@
"lanResTag" : "DE.LNAME.IBIZCUSTOMER"
},
"caption" : "客户",
"codeName" : "IBIZCustomerUsr2PickupView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView.json",
"name" : "IBIZCustomerUsr2PickupView",
"codeName" : "IBIZCustomerPickupTreeView_layout",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView_layout.json",
"height" : 500,
"mDCtrlActiveMode" : 2,
"name" : "IBIZCustomerPickupTreeView_layout",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "PickupView",
"engineType" : "PickupTreeView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "pickupviewpanel",
"name" : "PICKUPVIEWPANEL",
"ctrlName" : "tree",
"name" : "TREE",
"paramType" : "CTRL"
} ]
} ],
"getPSControls" : [ {
"codeName" : "Usr2PickupViewpickupviewpanel",
"controlType" : "PICKUPVIEWPANEL",
"getEmbeddedPSAppDEView" : {
"accUserMode" : 2,
"getCapPSLanguageRes" : {
"lanResTag" : "DE.LNAME.IBIZCUSTOMER"
},
"caption" : "客户",
"codeName" : "IBIZCustomerPickupTreeView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView.json",
"height" : 500,
"mDCtrlActiveMode" : 2,
"name" : "IBIZCustomerPickupTreeView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "PickupTreeView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "tree",
"name" : "TREE",
"paramType" : "CTRL"
} ]
} ],
"getPSControls" : [ {
"codeName" : "Usr",
"controlType" : "TREEVIEW",
"getCreatePSControlAction" : {
"codeName" : "Usr",
"controlType" : "TREEVIEW",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer/PSTREEVIEWS/Usr.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD" ],
"logicName" : "选择树",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "create"
"id" : "Get"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer/PSTREEVIEWS/Usr.json",
"getFetchPSControlAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "load"
"id" : "Create"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD" ],
"logicName" : "选择树",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "树视图处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "SELECTIONCHANGE;LOAD",
"logicTag" : "tree",
"logicType" : "APPVIEWENGINE",
"name" : "engine_tree",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "TREE"
},
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "personname"
},
"name" : "默认根节点 - 客户名称",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "ROOT"
},
"parentValueLevel" : 1,
"searchMode" : 3
}, {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "persondata"
},
"name" : "客户名称 - 客户数据",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "personname"
},
"parentValueLevel" : 1,
"searchMode" : 3
} ],
"getPSDETreeNodes" : [ {
"counterMode" : 0,
"name" : "默认根节点",
"nodeType" : "ROOT",
"nodeValue" : "root",
"text" : "默认根节点",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : true,
"selectFirstOnly" : false,
"selected" : false,
"id" : "ROOT"
}, {
"counterMode" : 0,
"name" : "客户名称",
"nodeType" : "personname",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"text" : "客户名称",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "personname"
}, {
"counterMode" : 0,
"getIdPSAppDEField" : {
"name" : "IBIZCUSTOMERID",
"codeName" : "IBIZCustomerId"
},
"maxSize" : -1,
"name" : "客户数据",
"nodeType" : "persondata",
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getTextPSAppDEField" : {
"name" : "IBIZCUSTOMERNAME",
"codeName" : "IBIZCustomerName"
},
"treeNodeType" : "DE",
"hasPSDETreeNodeRSs" : false,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "persondata"
} ],
"getRemovePSControlAction" : {
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "remove"
"id" : "Update"
},
"treeGridMode" : 0,
"getUpdatePSControlAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "update"
"id" : "Remove"
},
"enableRootSelect" : false,
"outputIconDefault" : true,
"rootVisible" : false,
"name" : "tree",
"modelid" : "9315d1e615ea222d35c5444c302d3a77",
"modeltype" : "PSDETREEVIEW"
} ],
"getPSDEViewCodeName" : "PickupTreeView",
"getPSDEViewId" : "702f3e21fa6fff77cb54ea007059d37f",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEPICKUPTREEVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "客户选择树视图",
"viewStyle" : "DEFAULT",
"viewType" : "DEPICKUPTREEVIEW",
"width" : 500,
"xDataControlName" : "tree",
"enableDP" : true,
"enableFilter" : false,
"expandSearchForm" : true,
"pickupMode" : true,
"modelid" : "6a079bac1a6eeb580654cd04e6b1a8b8",
"modeltype" : "PSAPPDEVIEW"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD", "ACTIVATED" ],
"name" : "pickupviewpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "树视图处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "SELECTIONCHANGE;LOAD;ACTIVATED",
"logicTag" : "pickupviewpanel",
"eventNames" : "SELECTIONCHANGE;LOAD",
"logicTag" : "tree",
"logicType" : "APPVIEWENGINE",
"name" : "engine_pickupviewpanel",
"name" : "engine_tree",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"id" : "PICKUPVIEWPANEL"
}
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "TREE"
},
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "personname"
},
"name" : "默认根节点 - 客户名称",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "ROOT"
},
"parentValueLevel" : 1,
"searchMode" : 3
}, {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "persondata"
},
"name" : "客户名称 - 客户数据",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "personname"
},
"parentValueLevel" : 1,
"searchMode" : 3
} ],
"getPSDETreeNodes" : [ {
"counterMode" : 0,
"name" : "默认根节点",
"nodeType" : "ROOT",
"nodeValue" : "root",
"text" : "默认根节点",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : true,
"selectFirstOnly" : false,
"selected" : false,
"id" : "ROOT"
}, {
"counterMode" : 0,
"name" : "客户名称",
"nodeType" : "personname",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"text" : "客户名称",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "personname"
}, {
"counterMode" : 0,
"getIdPSAppDEField" : {
"name" : "IBIZCUSTOMERID",
"codeName" : "IBIZCustomerId"
},
"maxSize" : -1,
"name" : "客户数据",
"nodeType" : "persondata",
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getTextPSAppDEField" : {
"name" : "IBIZCUSTOMERNAME",
"codeName" : "IBIZCustomerName"
},
"treeNodeType" : "DE",
"hasPSDETreeNodeRSs" : false,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "persondata"
} ],
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"treeGridMode" : 0,
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"enableRootSelect" : false,
"outputIconDefault" : true,
"rootVisible" : false,
"name" : "tree",
"modelid" : "9315d1e615ea222d35c5444c302d3a77",
"modeltype" : "PSDETREEVIEW"
} ],
"getPSDEViewCodeName" : "Usr2PickupView",
"getPSDEViewId" : "3cec9e89ad2bef1ce183afa656480c70",
"getPSDEViewCodeName" : "PickupTreeView_layout",
"getPSDEViewId" : "9B091CA1-EE0B-4D85-BC03-6D1C379E4203",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEPICKUPVIEW",
"controlStyle" : "APPDEPICKUPTREEVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
......@@ -370,12 +296,16 @@
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "客户实体数据选择视图(树视图)",
"title" : "客户选择树视图",
"viewStyle" : "DEFAULT",
"viewType" : "DEPICKUPVIEW",
"viewType" : "DEPICKUPTREEVIEW",
"width" : 500,
"xDataControlName" : "tree",
"enableDP" : true,
"showCaptionBar" : false,
"modelid" : "2dd50b1b88cf8062b625ee8b0b4fa9d7",
"enableFilter" : false,
"expandSearchForm" : true,
"pickupMode" : true,
"modelid" : "091e4dfadeea5cf542e5e01a758a3b93",
"modeltype" : "PSAPPDEVIEW"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD", "ACTIVATED" ],
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-578-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-586-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-185-10">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-188-10">
<createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
......@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-185-4" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-188-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册