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

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

上级 b3cf5067
...@@ -207,6 +207,7 @@ export const PageComponents = { ...@@ -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('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-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('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('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('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')); Vue.component('ibizcpuedit-view', () => import('@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'));
......
...@@ -3170,6 +3170,20 @@ const router = new Router({ ...@@ -3170,6 +3170,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'), 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?', path: 'ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?',
meta: { meta: {
...@@ -3432,6 +3446,19 @@ const router = new Router({ ...@@ -3432,6 +3446,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'), 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?', path: '/ibizappviews/:ibizappview?/editview/:editview?',
meta: { meta: {
......
...@@ -170,6 +170,19 @@ const router = new Router({ ...@@ -170,6 +170,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'), 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?', path: '/ibizappviews/:ibizappview?/editview/:editview?',
meta: { meta: {
......
...@@ -95,6 +95,15 @@ export const viewstate: any = { ...@@ -95,6 +95,15 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '091e4dfadeea5cf542e5e01a758a3b93',
viewmodule: 'Sample',
viewname: 'IBIZCustomerPickupTreeView_layout',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '0a96057cbca72b445776fb056be79ea8', viewtag: '0a96057cbca72b445776fb056be79ea8',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -2143,7 +2152,7 @@ export const viewstate: any = { ...@@ -2143,7 +2152,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'2dd50b1b88cf8062b625ee8b0b4fa9d7', '091e4dfadeea5cf542e5e01a758a3b93',
], ],
}, },
{ {
......
...@@ -29,9 +29,8 @@ export default class PrintParamsUILogicBase { ...@@ -29,9 +29,8 @@ export default class PrintParamsUILogicBase {
*/ */
protected logicParams: any[] = [ protected logicParams: any[] = [
{ {
name: '传入变量', name: '输出参数',
codeName: 'Default', codeName: 'printParam',
default: true,
entityParam: true, entityParam: true,
}, },
{ {
...@@ -40,15 +39,21 @@ export default class PrintParamsUILogicBase { ...@@ -40,15 +39,21 @@ export default class PrintParamsUILogicBase {
appGlobalParam: true, appGlobalParam: true,
}, },
{ {
name: '当前视图会话变量', name: '传入变量',
codeName: 'currentView', codeName: 'Default',
viewSessionParam: true, default: true,
entityParam: true,
}, },
{ {
name: '路由视图会话变量', name: '路由视图会话变量',
codeName: 'routerSession', codeName: 'routerSession',
routeViewSessionParam: true, routeViewSessionParam: true,
}, },
{
name: '当前视图会话变量',
codeName: 'currentView',
viewSessionParam: true,
},
]; ];
/** /**
...@@ -124,6 +129,68 @@ export default class PrintParamsUILogicBase { ...@@ -124,6 +129,68 @@ export default class PrintParamsUILogicBase {
await this.execute_preparejsparam1_node(actionContext); 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 * 获取全局testParam
* *
...@@ -152,12 +219,12 @@ export default class PrintParamsUILogicBase { ...@@ -152,12 +219,12 @@ export default class PrintParamsUILogicBase {
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase * @memberof PrintParamsUILogicBase
*/ */
protected async execute_debugparam4_node(actionContext: UIActionContext) { protected async execute_debugparam2_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('appGlobal').getReal(); const dstParamValue = actionContext.getParam('routerSession').getReal();
actionContext.bindLastReturnParam(null); actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue); console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点'); console.log('已完成执行 调试逻辑参数 节点');
await this.execute_end1_node(actionContext); await this.execute_preparejsparam3_node(actionContext);
} }
/** /**
...@@ -175,30 +242,31 @@ export default class PrintParamsUILogicBase { ...@@ -175,30 +242,31 @@ export default class PrintParamsUILogicBase {
} }
/** /**
* 结束 * 调试逻辑参数
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase * @memberof PrintParamsUILogicBase
*/ */
protected async execute_end1_node(actionContext: UIActionContext) { protected async execute_debugparam5_node(actionContext: UIActionContext) {
const strReturnType: string = 'NONEVALUE'; const dstParamValue = actionContext.getParam('printParam').getReal();
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) { actionContext.bindLastReturnParam(null);
actionContext.setResult(null); console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) { console.log('已完成执行 调试逻辑参数 节点');
actionContext.setResult(''); await this.execute_end1_node(actionContext);
} 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('已完成执行 结束 节点');
/**
* 调试逻辑参数
*
* @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 { ...@@ -216,24 +284,25 @@ export default class PrintParamsUILogicBase {
} }
/** /**
* 设置testParam * 获取应用名称
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof PrintParamsUILogicBase * @memberof PrintParamsUILogicBase
*/ */
protected async execute_preparejsparam1_node(actionContext: UIActionContext) { protected async execute_preparejsparam4_node(actionContext: UIActionContext) {
try { try {
// 目标数据 // 目标数据
const dstParam_1: any = actionContext.getParam('appGlobal'); const dstParam_1: any = actionContext.getParam('printParam');
// 无值类型 // 无值类型
// 直接值 // 环境参数
const result_1 = '121'; // TODO 环境参数
dstParam_1.set('testparam', result_1); const result_1 = '';
dstParam_1.set('envparam', result_1);
} catch (error: any) { } catch (error: any) {
throw new Error(`逻辑节点 设置testParam ${error && error.message ? error.message : '发生未知错误!'}`); throw new Error(`逻辑节点 获取应用名称 ${error && error.message ? error.message : '发生未知错误!'}`);
} }
console.log('已完成执行 设置testParam 节点'); console.log('已完成执行 获取应用名称 节点');
await this.execute_debugparam1_node(actionContext); await this.execute_debugparam5_node(actionContext);
} }
/** /**
...@@ -258,33 +327,5 @@ export default class PrintParamsUILogicBase { ...@@ -258,33 +327,5 @@ export default class PrintParamsUILogicBase {
await this.execute_debugparam3_node(actionContext); 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 { ...@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ 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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ 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; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ 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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ 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; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -46,11 +46,11 @@ ...@@ -46,11 +46,11 @@
<span class="quick-toolbar"> <span class="quick-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <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> <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> </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> </tooltip>
</div> </div>
</span> </span>
...@@ -61,18 +61,18 @@ ...@@ -61,18 +61,18 @@
<span class="batch-toolbar"> <span class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <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> <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> </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>
<tooltip :transfer="true" :max-width="600"> <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> <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> </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> </tooltip>
</div> </div>
</span> </span>
...@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -583,9 +583,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -583,9 +583,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @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: '' } }, 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 ...@@ -595,9 +595,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @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' } }, 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' } }, 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 ...@@ -820,7 +820,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.fetchAction){ 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; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -936,7 +936,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -936,7 +936,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -1031,7 +1031,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1031,7 +1031,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1039,7 +1039,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1039,7 +1039,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -195,7 +195,7 @@ export default class Usr2PickupView_layoutpickupviewpanelBase extends Vue implem ...@@ -195,7 +195,7 @@ export default class Usr2PickupView_layoutpickupviewpanelBase extends Vue implem
* @memberof Usr2PickupView_layoutpickupviewpanelBase * @memberof Usr2PickupView_layoutpickupviewpanelBase
*/ */
public view: any = { public view: any = {
viewname: 'ibizcustomer-usr2-pickup-view', viewname: 'ibizcustomer-pickup-tree-view-layout',
data: {}, data: {},
} }
......
...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase * @memberof IBIZOrderPickupGridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -421,20 +421,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -421,20 +421,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; 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 { ...@@ -967,7 +953,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ 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; return;
} }
if(pageReset){ if(pageReset){
...@@ -1062,7 +1048,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1062,7 +1048,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1168,7 +1154,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1168,7 +1154,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ 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; return;
} }
if(!arg){ if(!arg){
...@@ -2085,7 +2071,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2085,7 +2071,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -2093,7 +2079,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2093,7 +2079,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
...@@ -2160,7 +2146,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2160,7 +2146,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ 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; return;
} }
let _this = this; let _this = this;
......
...@@ -104,21 +104,6 @@ export default class MainModel { ...@@ -104,21 +104,6 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' 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', name:'size',
......
...@@ -3325,6 +3325,58 @@ ...@@ -3325,6 +3325,58 @@
} }
} ], } ],
"parallelOutput" : true "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", "codeName" : "PREPAREJSPARAM2",
"logicNodeType" : "PREPAREJSPARAM", "logicNodeType" : "PREPAREJSPARAM",
...@@ -3357,23 +3409,23 @@ ...@@ -3357,23 +3409,23 @@
"srcValueType" : "SRCDLPARAM" "srcValueType" : "SRCDLPARAM"
} ] } ]
}, { }, {
"codeName" : "DEBUGPARAM4", "codeName" : "DEBUGPARAM2",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "appGlobal" "id" : "routerSession"
}, },
"logicNodeType" : "DEBUGPARAM", "logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数", "name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "END1" "id" : "PREPAREJSPARAM3"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEBUGPARAM4" "id" : "DEBUGPARAM2"
} }
} ] } ]
}, { }, {
...@@ -3397,10 +3449,45 @@ ...@@ -3397,10 +3449,45 @@
} }
} ] } ]
}, { }, {
"codeName" : "END1", "codeName" : "DEBUGPARAM5",
"logicNodeType" : "END", "getDstPSDEUILogicParam" : {
"name" : "结束", "modelref" : true,
"returnType" : "NONEVALUE" "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", "codeName" : "RESETPARAM1",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -3422,31 +3509,31 @@ ...@@ -3422,31 +3509,31 @@
} }
} ] } ]
}, { }, {
"codeName" : "PREPAREJSPARAM1", "codeName" : "PREPAREJSPARAM4",
"logicNodeType" : "PREPAREJSPARAM", "logicNodeType" : "PREPAREJSPARAM",
"name" : "设置testParam", "name" : "获取应用名称",
"getPSDEUILogicLinks" : [ { "getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : { "getDstPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEBUGPARAM1" "id" : "DEBUGPARAM5"
}, },
"linkMode" : 0, "linkMode" : 0,
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDEUILogicNode" : { "getSrcPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREJSPARAM1" "id" : "PREPAREJSPARAM4"
} }
} ], } ],
"getPSDEUILogicNodeParams" : [ { "getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "testParam", "dstFieldName" : "envParam",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "appGlobal" "id" : "printParam"
}, },
"name" : "直接值[121] ==> appGlobal[testParam]", "name" : "当前环境参数[AppName] ==> printParam[envParam]",
"paramAction" : "SETPARAMVALUE", "paramAction" : "SETPARAMVALUE",
"srcValue" : "121", "srcFieldName" : "AppName",
"srcValueType" : "SRCVALUE" "srcValueType" : "ENVPARAM"
} ] } ]
}, { }, {
"codeName" : "PREPAREJSPARAM3", "codeName" : "PREPAREJSPARAM3",
...@@ -3479,52 +3566,11 @@ ...@@ -3479,52 +3566,11 @@
}, },
"srcValueType" : "SRCDLPARAM" "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" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "Default", "codeName" : "printParam",
"logicName" : "传入变量", "logicName" : "输出参数",
"name" : "传入变量", "name" : "输出参数",
"default" : true,
"entityParam" : true "entityParam" : true
}, { }, {
"codeName" : "appGlobal", "codeName" : "appGlobal",
...@@ -3533,17 +3579,23 @@ ...@@ -3533,17 +3579,23 @@
"paramFieldName" : "appGlobal", "paramFieldName" : "appGlobal",
"appGlobalParam" : true "appGlobalParam" : true
}, { }, {
"codeName" : "currentView", "codeName" : "Default",
"logicName" : "当前视图会话变量", "logicName" : "传入变量",
"name" : "当前视图会话变量", "name" : "传入变量",
"paramFieldName" : "currentView", "default" : true,
"viewSessionParam" : true "entityParam" : true
}, { }, {
"codeName" : "routerSession", "codeName" : "routerSession",
"logicName" : "路由视图会话变量", "logicName" : "路由视图会话变量",
"name" : "路由视图会话变量", "name" : "路由视图会话变量",
"paramFieldName" : "routerSession", "paramFieldName" : "routerSession",
"routeViewSessionParam" : true "routeViewSessionParam" : true
}, {
"codeName" : "currentView",
"logicName" : "当前视图会话变量",
"name" : "当前视图会话变量",
"paramFieldName" : "currentView",
"viewSessionParam" : true
} ], } ],
"getStartPSDEUILogicNode" : { "getStartPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -30,37 +30,11 @@ ...@@ -30,37 +30,11 @@
"lanResTag" : "DE.LNAME.IBIZCUSTOMER" "lanResTag" : "DE.LNAME.IBIZCUSTOMER"
}, },
"caption" : "客户", "caption" : "客户",
"codeName" : "IBIZCustomerUsr2PickupView", "codeName" : "IBIZCustomerPickupTreeView_layout",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView_layout.json",
"name" : "IBIZCustomerUsr2PickupView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "PickupView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "pickupviewpanel",
"name" : "PICKUPVIEWPANEL",
"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, "height" : 500,
"mDCtrlActiveMode" : 2, "mDCtrlActiveMode" : 2,
"name" : "IBIZCustomerPickupTreeView", "name" : "IBIZCustomerPickupTreeView_layout",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
...@@ -306,8 +280,8 @@ ...@@ -306,8 +280,8 @@
"modelid" : "9315d1e615ea222d35c5444c302d3a77", "modelid" : "9315d1e615ea222d35c5444c302d3a77",
"modeltype" : "PSDETREEVIEW" "modeltype" : "PSDETREEVIEW"
} ], } ],
"getPSDEViewCodeName" : "PickupTreeView", "getPSDEViewCodeName" : "PickupTreeView_layout",
"getPSDEViewId" : "702f3e21fa6fff77cb54ea007059d37f", "getPSDEViewId" : "9B091CA1-EE0B-4D85-BC03-6D1C379E4203",
"getPSViewLayoutPanel" : { "getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel", "codeName" : "Layoutpanel",
"controlStyle" : "APPDEPICKUPTREEVIEW", "controlStyle" : "APPDEPICKUPTREEVIEW",
...@@ -331,51 +305,7 @@ ...@@ -331,51 +305,7 @@
"enableFilter" : false, "enableFilter" : false,
"expandSearchForm" : true, "expandSearchForm" : true,
"pickupMode" : true, "pickupMode" : true,
"modelid" : "6a079bac1a6eeb580654cd04e6b1a8b8", "modelid" : "091e4dfadeea5cf542e5e01a758a3b93",
"modeltype" : "PSAPPDEVIEW"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD", "ACTIVATED" ],
"name" : "pickupviewpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlLogics" : [ {
"eventNames" : "SELECTIONCHANGE;LOAD;ACTIVATED",
"logicTag" : "pickupviewpanel",
"logicType" : "APPVIEWENGINE",
"name" : "engine_pickupviewpanel",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"id" : "PICKUPVIEWPANEL"
}
} ],
"getPSDEViewCodeName" : "Usr2PickupView",
"getPSDEViewId" : "3cec9e89ad2bef1ce183afa656480c70",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEPICKUPVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "客户实体数据选择视图(树视图)",
"viewStyle" : "DEFAULT",
"viewType" : "DEPICKUPVIEW",
"enableDP" : true,
"showCaptionBar" : false,
"modelid" : "2dd50b1b88cf8062b625ee8b0b4fa9d7",
"modeltype" : "PSAPPDEVIEW" "modeltype" : "PSAPPDEVIEW"
}, },
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD", "ACTIVATED" ], "hookEventNames" : [ "SELECTIONCHANGE", "LOAD", "ACTIVATED" ],
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[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"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 --> <!--输出实体[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"> <createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[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"> <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 ]]> <![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> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册