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

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

上级 a136c909
......@@ -122,9 +122,10 @@ export default class DYNADASHBOARDUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof DYNADASHBOARDUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({dynadashboard:srfkey});
......@@ -136,18 +137,12 @@ export default class DYNADASHBOARDUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZAccountUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZAccountUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizaccount:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZAccountUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,9 +98,9 @@ export default class IBIZAPPCTRLUIServiceBase extends UIService {
* @memberof IBIZAPPCTRLUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizappctrls',component:'ibizappctrledit-view'});
this.allViewMap.set(':',{viewname:'listview',srfappde:'ibizappctrls',component:'ibizappctrllist-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizappctrls',component:'ibizappctrlgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizappctrls',component:'ibizappctrledit-view'});
this.allViewMap.set(':',{viewname:'listview',viewType:'DELISTVIEW',srfappde:'ibizappctrls',component:'ibizappctrllist-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizappctrls',component:'ibizappctrlgrid-view'});
}
/**
......@@ -214,9 +214,10 @@ export default class IBIZAPPCTRLUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZAPPCTRLUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizappctrl:srfkey});
......@@ -228,18 +229,12 @@ export default class IBIZAPPCTRLUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,9 +98,9 @@ export default class IBIZAPPEDITORUIServiceBase extends UIService {
* @memberof IBIZAPPEDITORUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'listview',srfappde:'ibizappeditors',component:'ibizappeditorlist-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizappeditors',component:'ibizappeditorgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizappeditors',component:'ibizappeditoredit-view'});
this.allViewMap.set(':',{viewname:'listview',viewType:'DELISTVIEW',srfappde:'ibizappeditors',component:'ibizappeditorlist-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizappeditors',component:'ibizappeditorgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizappeditors',component:'ibizappeditoredit-view'});
}
/**
......@@ -214,9 +214,10 @@ export default class IBIZAPPEDITORUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZAPPEDITORUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizappeditor:srfkey});
......@@ -228,18 +229,12 @@ export default class IBIZAPPEDITORUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,9 +98,9 @@ export default class IBIZAPPEXTENDEDITORUIServiceBase extends UIService {
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizappextendeditors',component:'ibizappextendeditorgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizappextendeditors',component:'ibizappextendeditoredit-view'});
this.allViewMap.set(':',{viewname:'listview',srfappde:'ibizappextendeditors',component:'ibizappextendeditorlist-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizappextendeditors',component:'ibizappextendeditorgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizappextendeditors',component:'ibizappextendeditoredit-view'});
this.allViewMap.set(':',{viewname:'listview',viewType:'DELISTVIEW',srfappde:'ibizappextendeditors',component:'ibizappextendeditorlist-view'});
}
/**
......@@ -214,9 +214,10 @@ export default class IBIZAPPEXTENDEDITORUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZAPPEXTENDEDITORUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizappextendeditor:srfkey});
......@@ -228,18 +229,12 @@ export default class IBIZAPPEXTENDEDITORUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,9 +98,9 @@ export default class IBIZAPPVIEWUIServiceBase extends UIService {
* @memberof IBIZAPPVIEWUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizappviews',component:'ibizappviewedit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizappviews',component:'ibizappviewgrid-view'});
this.allViewMap.set(':',{viewname:'listview',srfappde:'ibizappviews',component:'ibizappviewlist-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizappviews',component:'ibizappviewedit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizappviews',component:'ibizappviewgrid-view'});
this.allViewMap.set(':',{viewname:'listview',viewType:'DELISTVIEW',srfappde:'ibizappviews',component:'ibizappviewlist-view'});
}
/**
......@@ -259,9 +259,10 @@ export default class IBIZAPPVIEWUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZAPPVIEWUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizappview:srfkey});
......@@ -273,18 +274,12 @@ export default class IBIZAPPVIEWUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,7 +98,7 @@ export default class IBIZCPUUIServiceBase extends UIService {
* @memberof IBIZCPUUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizcpus',component:'ibizcpuedit-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizcpus',component:'ibizcpuedit-view'});
}
/**
......@@ -123,9 +123,10 @@ export default class IBIZCPUUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZCPUUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizcpu:srfkey});
......@@ -137,18 +138,12 @@ export default class IBIZCPUUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -100,8 +100,8 @@ export default class IBIZCustomUIServiceBase extends UIService {
* @memberof IBIZCustomUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'customeditview',srfappde:'ibizcustoms',component:'ibizcustom-custom-edit-view'});
this.allViewMap.set(':',{viewname:'customgridview',srfappde:'ibizcustoms',component:'ibizcustom-custom-grid-view'});
this.allViewMap.set(':',{viewname:'customeditview',viewType:'DECUSTOMVIEW',srfappde:'ibizcustoms',component:'ibizcustom-custom-edit-view'});
this.allViewMap.set(':',{viewname:'customgridview',viewType:'DECUSTOMVIEW',srfappde:'ibizcustoms',component:'ibizcustom-custom-grid-view'});
}
/**
......@@ -126,9 +126,10 @@ export default class IBIZCustomUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZCustomUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizcustom:srfkey});
......@@ -140,18 +141,12 @@ export default class IBIZCustomUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,9 +98,9 @@ export default class IBIZCustomer_INTFUIServiceBase extends UIService {
* @memberof IBIZCustomer_INTFUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'ibizcustomer_intfs',component:'ibizcustomer-intfmpickup-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibizcustomer_intfs',component:'ibizcustomer-intfpickup-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizcustomer_intfs',component:'ibizcustomer-intfpickup-grid-view'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',viewType:'DEMPICKUPVIEW',srfappde:'ibizcustomer_intfs',component:'ibizcustomer-intfmpickup-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizcustomer_intfs',component:'ibizcustomer-intfpickup-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizcustomer_intfs',component:'ibizcustomer-intfpickup-grid-view'});
}
/**
......@@ -125,9 +125,10 @@ export default class IBIZCustomer_INTFUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZCustomer_INTFUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizcustomer_intf:srfkey});
......@@ -139,18 +140,12 @@ export default class IBIZCustomer_INTFUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZCustomerMGUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZCustomerMGUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizcustomermg:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZCustomerMGUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -99,23 +99,23 @@ export default class IBIZCustomerUIServiceBase extends UIService {
* @memberof IBIZCustomerUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'usr2gridview',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-grid-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-grid-view'});
this.allViewMap.set(':',{viewname:'pickuptreeview_layout',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-tree-view-layout'});
this.allViewMap.set(':',{viewname:'usr2editview',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-edit-view'});
this.allViewMap.set(':',{viewname:'usr2pickupview',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-pickup-view'});
this.allViewMap.set(':',{viewname:'usr2mpickupview',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-mpickup-view'});
this.allViewMap.set(':',{viewname:'mpickupview_layout',srfappde:'ibizcustomers',component:'ibizcustomer-mpickup-view-layout'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizcustomers',component:'ibizcustomer-edit-view'});
this.allViewMap.set(':',{viewname:'pickuptreeview',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-tree-view'});
this.allViewMap.set(':',{viewname:'mediatesteditview',srfappde:'ibizcustomers',component:'ibizcustomer-media-test-edit-view'});
this.allViewMap.set(':',{viewname:'usr2mpickupview_layout',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-mpickup-view-layout'});
this.allViewMap.set(':',{viewname:'usr3editview',srfappde:'ibizcustomers',component:'ibizcustomer-usr3-edit-view'});
this.allViewMap.set(':',{viewname:'pickupview_layout',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-view-layout'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'ibizcustomers',component:'ibizcustomer-mpickup-view'});
this.allViewMap.set(':',{viewname:'usr2pickupview_layout',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-pickup-view-layout'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizcustomers',component:'ibizcustomer-grid-view'});
this.allViewMap.set(':',{viewname:'usr2gridview',viewType:'DEGRIDVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-grid-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-grid-view'});
this.allViewMap.set(':',{viewname:'pickuptreeview_layout',viewType:'DEPICKUPTREEVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-tree-view-layout'});
this.allViewMap.set(':',{viewname:'usr2editview',viewType:'DEEDITVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-edit-view'});
this.allViewMap.set(':',{viewname:'usr2pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-pickup-view'});
this.allViewMap.set(':',{viewname:'usr2mpickupview',viewType:'DEMPICKUPVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-mpickup-view'});
this.allViewMap.set(':',{viewname:'mpickupview_layout',viewType:'DEMPICKUPVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-mpickup-view-layout'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-edit-view'});
this.allViewMap.set(':',{viewname:'pickuptreeview',viewType:'DEPICKUPTREEVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-tree-view'});
this.allViewMap.set(':',{viewname:'mediatesteditview',viewType:'DEEDITVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-media-test-edit-view'});
this.allViewMap.set(':',{viewname:'usr2mpickupview_layout',viewType:'DEMPICKUPVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-mpickup-view-layout'});
this.allViewMap.set(':',{viewname:'usr3editview',viewType:'DEEDITVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr3-edit-view'});
this.allViewMap.set(':',{viewname:'pickupview_layout',viewType:'DEPICKUPVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-view-layout'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',viewType:'DEMPICKUPVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-mpickup-view'});
this.allViewMap.set(':',{viewname:'usr2pickupview_layout',viewType:'DEPICKUPVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-pickup-view-layout'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-grid-view'});
}
/**
......@@ -314,9 +314,10 @@ export default class IBIZCustomerUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZCustomerUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizcustomer:srfkey});
......@@ -328,18 +329,12 @@ export default class IBIZCustomerUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,11 +98,11 @@ export default class IBIZHardwareUIServiceBase extends UIService {
* @memberof IBIZHardwareUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'indexpickupdataview',srfappde:'ibizhardwares',component:'ibizhardware-index-pickup-data-view'});
this.allViewMap.set(':',{viewname:'gridview9',srfappde:'ibizhardwares',component:'ibizhardware-grid-view9'});
this.allViewMap.set('INDEXDEPICKUPVIEW:',{viewname:'indexpickupview',srfappde:'ibizhardwares',component:'ibizhardware-index-pickup-view'});
this.allViewMap.set(':',{viewname:'sgridview',srfappde:'ibizhardwares',component:'ibizhardware-sgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizhardwares',component:'ibizhardware-edit-view'});
this.allViewMap.set(':',{viewname:'indexpickupdataview',viewType:'DEINDEXPICKUPDATAVIEW',srfappde:'ibizhardwares',component:'ibizhardware-index-pickup-data-view'});
this.allViewMap.set(':',{viewname:'gridview9',viewType:'DEGRIDVIEW9',srfappde:'ibizhardwares',component:'ibizhardware-grid-view9'});
this.allViewMap.set('INDEXDEPICKUPVIEW:',{viewname:'indexpickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizhardwares',component:'ibizhardware-index-pickup-view'});
this.allViewMap.set(':',{viewname:'sgridview',viewType:'DEGRIDVIEW',srfappde:'ibizhardwares',component:'ibizhardware-sgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizhardwares',component:'ibizhardware-edit-view'});
}
/**
......@@ -127,9 +127,10 @@ export default class IBIZHardwareUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZHardwareUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizhardware:srfkey});
......@@ -141,18 +142,12 @@ export default class IBIZHardwareUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,25 +98,25 @@ export default class IBIZOrderDetailUIServiceBase extends UIService {
* @memberof IBIZOrderDetailUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'sf1editview',srfappde:'ibizorderdetails',component:'ibizorder-detail-sf1-edit-view'});
this.allViewMap.set(':',{viewname:'smeditview9',srfappde:'ibizorderdetails',component:'ibizorder-detail-smedit-view9'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizorderdetails',component:'ibizorder-detail-grid-view'});
this.allViewMap.set(':',{viewname:'usr2gridview9',srfappde:'ibizorderdetails',component:'ibizorder-detail-usr2-grid-view9'});
this.allViewMap.set(':',{viewname:'f7editview',srfappde:'ibizorderdetails',component:'ibizorder-detail-f7-edit-view'});
this.allViewMap.set(':',{viewname:'f6editview',srfappde:'ibizorderdetails',component:'ibizorder-detail-f6-edit-view'});
this.allViewMap.set(':',{viewname:'tempmodegridview',srfappde:'ibizorderdetails',component:'ibizorder-detail-temp-mode-grid-view'});
this.allViewMap.set(':',{viewname:'seditview9',srfappde:'ibizorderdetails',component:'ibizorder-detail-sedit-view9'});
this.allViewMap.set(':',{viewname:'usr2editview',srfappde:'ibizorderdetails',component:'ibizorder-detail-usr2-edit-view'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizorderdetails',component:'ibizorder-detail-edit-view'});
this.allViewMap.set(':',{viewname:'chartview',srfappde:'ibizorderdetails',component:'ibizorder-detail-chart-view'});
this.allViewMap.set(':',{viewname:'sf2editview',srfappde:'ibizorderdetails',component:'ibizorder-detail-sf2-edit-view'});
this.allViewMap.set(':',{viewname:'f6gridview',srfappde:'ibizorderdetails',component:'ibizorder-detail-f6-grid-view'});
this.allViewMap.set(':',{viewname:'listview',srfappde:'ibizorderdetails',component:'ibizorder-detail-list-view'});
this.allViewMap.set(':',{viewname:'gridview9',srfappde:'ibizorderdetails',component:'ibizorder-detail-grid-view9'});
this.allViewMap.set(':',{viewname:'sgridview9',srfappde:'ibizorderdetails',component:'ibizorder-detail-sgrid-view9'});
this.allViewMap.set(':',{viewname:'sgridview',srfappde:'ibizorderdetails',component:'ibizorder-detail-sgrid-view'});
this.allViewMap.set(':',{viewname:'usr3editview',srfappde:'ibizorderdetails',component:'ibizorder-detail-usr3-edit-view'});
this.allViewMap.set(':',{viewname:'f7gridview',srfappde:'ibizorderdetails',component:'ibizorder-detail-f7-grid-view'});
this.allViewMap.set(':',{viewname:'sf1editview',viewType:'DEEDITVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-sf1-edit-view'});
this.allViewMap.set(':',{viewname:'smeditview9',viewType:'DEMEDITVIEW9',srfappde:'ibizorderdetails',component:'ibizorder-detail-smedit-view9'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-grid-view'});
this.allViewMap.set(':',{viewname:'usr2gridview9',viewType:'DEGRIDVIEW9',srfappde:'ibizorderdetails',component:'ibizorder-detail-usr2-grid-view9'});
this.allViewMap.set(':',{viewname:'f7editview',viewType:'DEEDITVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-f7-edit-view'});
this.allViewMap.set(':',{viewname:'f6editview',viewType:'DEEDITVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-f6-edit-view'});
this.allViewMap.set(':',{viewname:'tempmodegridview',viewType:'DEGRIDVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-temp-mode-grid-view'});
this.allViewMap.set(':',{viewname:'seditview9',viewType:'DEEDITVIEW9',srfappde:'ibizorderdetails',component:'ibizorder-detail-sedit-view9'});
this.allViewMap.set(':',{viewname:'usr2editview',viewType:'DEEDITVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-usr2-edit-view'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-edit-view'});
this.allViewMap.set(':',{viewname:'chartview',viewType:'DECHARTVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-chart-view'});
this.allViewMap.set(':',{viewname:'sf2editview',viewType:'DEEDITVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-sf2-edit-view'});
this.allViewMap.set(':',{viewname:'f6gridview',viewType:'DEGRIDVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-f6-grid-view'});
this.allViewMap.set(':',{viewname:'listview',viewType:'DELISTVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-list-view'});
this.allViewMap.set(':',{viewname:'gridview9',viewType:'DEGRIDVIEW9',srfappde:'ibizorderdetails',component:'ibizorder-detail-grid-view9'});
this.allViewMap.set(':',{viewname:'sgridview9',viewType:'DEGRIDVIEW9',srfappde:'ibizorderdetails',component:'ibizorder-detail-sgrid-view9'});
this.allViewMap.set(':',{viewname:'sgridview',viewType:'DEGRIDVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-sgrid-view'});
this.allViewMap.set(':',{viewname:'usr3editview',viewType:'DEEDITVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-usr3-edit-view'});
this.allViewMap.set(':',{viewname:'f7gridview',viewType:'DEGRIDVIEW',srfappde:'ibizorderdetails',component:'ibizorder-detail-f7-grid-view'});
}
/**
......@@ -141,9 +141,10 @@ export default class IBIZOrderDetailUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZOrderDetailUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizorderdetail:srfkey});
......@@ -155,18 +156,12 @@ export default class IBIZOrderDetailUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,11 +98,11 @@ export default class IBIZOrderTypeUIServiceBase extends UIService {
* @memberof IBIZOrderTypeUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibizordertypes',component:'ibizorder-type-pickup-view'});
this.allViewMap.set(':',{viewname:'usr2gridview',srfappde:'ibizordertypes',component:'ibizorder-type-usr2-grid-view'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizordertypes',component:'ibizorder-type-edit-view'});
this.allViewMap.set(':',{viewname:'usr2editview',srfappde:'ibizordertypes',component:'ibizorder-type-usr2-edit-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizordertypes',component:'ibizorder-type-pickup-grid-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizordertypes',component:'ibizorder-type-pickup-view'});
this.allViewMap.set(':',{viewname:'usr2gridview',viewType:'DEGRIDVIEW',srfappde:'ibizordertypes',component:'ibizorder-type-usr2-grid-view'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizordertypes',component:'ibizorder-type-edit-view'});
this.allViewMap.set(':',{viewname:'usr2editview',viewType:'DEEDITVIEW',srfappde:'ibizordertypes',component:'ibizorder-type-usr2-edit-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizordertypes',component:'ibizorder-type-pickup-grid-view'});
}
/**
......@@ -127,9 +127,10 @@ export default class IBIZOrderTypeUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZOrderTypeUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizordertype:srfkey});
......@@ -141,18 +142,12 @@ export default class IBIZOrderTypeUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSampleUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSampleUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSampleUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,17 +98,17 @@ export default class IBIZSample0001UIServiceBase extends UIService {
* @memberof IBIZSample0001UIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'usr2editview',srfappde:'ibizsample0001s',component:'ibizsample0001-usr2-edit-view'});
this.allViewMap.set(':',{viewname:'usr2gridview',srfappde:'ibizsample0001s',component:'ibizsample0001-usr2-grid-view'});
this.allViewMap.set(':',{viewname:'usr3editview',srfappde:'ibizsample0001s',component:'ibizsample0001-usr3-edit-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizsample0001s',component:'ibizsample0001-pickup-grid-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0001s',component:'ibizsample0001-grid-view'});
this.allViewMap.set(':',{viewname:'sf2editview',srfappde:'ibizsample0001s',component:'ibizsample0001-sf2-edit-view'});
this.allViewMap.set(':',{viewname:'sf6editview',srfappde:'ibizsample0001s',component:'ibizsample0001-sf6-edit-view'});
this.allViewMap.set(':',{viewname:'sf4editview',srfappde:'ibizsample0001s',component:'ibizsample0001-sf4-edit-view'});
this.allViewMap.set(':',{viewname:'usr3gridview',srfappde:'ibizsample0001s',component:'ibizsample0001-usr3-grid-view'});
this.allViewMap.set(':',{viewname:'sf5editview',srfappde:'ibizsample0001s',component:'ibizsample0001-sf5-edit-view'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizsample0001s',component:'ibizsample0001-edit-view'});
this.allViewMap.set(':',{viewname:'usr2editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-usr2-edit-view'});
this.allViewMap.set(':',{viewname:'usr2gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-usr2-grid-view'});
this.allViewMap.set(':',{viewname:'usr3editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-usr3-edit-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-pickup-grid-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-grid-view'});
this.allViewMap.set(':',{viewname:'sf2editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-sf2-edit-view'});
this.allViewMap.set(':',{viewname:'sf6editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-sf6-edit-view'});
this.allViewMap.set(':',{viewname:'sf4editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-sf4-edit-view'});
this.allViewMap.set(':',{viewname:'usr3gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-usr3-grid-view'});
this.allViewMap.set(':',{viewname:'sf5editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-sf5-edit-view'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0001s',component:'ibizsample0001-edit-view'});
}
/**
......@@ -171,9 +171,10 @@ export default class IBIZSample0001UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0001UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0001:srfkey});
......@@ -185,18 +186,12 @@ export default class IBIZSample0001UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,11 +98,11 @@ export default class IBIZSample0002UIServiceBase extends UIService {
* @memberof IBIZSample0002UIServiceBase
*/
public initViewMap(){
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibizsample0002s',component:'ibizsample0002-pickup-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0002s',component:'ibizsample0002-grid-view'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizsample0002s',component:'ibizsample0002-edit-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizsample0002s',component:'ibizsample0002-pickup-grid-view'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'ibizsample0002s',component:'ibizsample0002-mpickup-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizsample0002s',component:'ibizsample0002-pickup-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0002s',component:'ibizsample0002-grid-view'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0002s',component:'ibizsample0002-edit-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizsample0002s',component:'ibizsample0002-pickup-grid-view'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',viewType:'DEMPICKUPVIEW',srfappde:'ibizsample0002s',component:'ibizsample0002-mpickup-view'});
}
/**
......@@ -127,9 +127,10 @@ export default class IBIZSample0002UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0002UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0002:srfkey});
......@@ -141,18 +142,12 @@ export default class IBIZSample0002UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,27 +98,27 @@ export default class IBIZSample0003UIServiceBase extends UIService {
* @memberof IBIZSample0003UIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'f2treeexpview',srfappde:'ibizsample0003s',component:'ibizsample0003-f2-tree-exp-view'});
this.allViewMap.set(':',{viewname:'f4treeexpview',srfappde:'ibizsample0003s',component:'ibizsample0003-f4-tree-exp-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizsample0003s',component:'ibizsample0003-pickup-grid-view'});
this.allViewMap.set(':',{viewname:'sf3editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf3-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0003s',component:'ibizsample0003-grid-view'});
this.allViewMap.set(':',{viewname:'sf1editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf1-edit-view'});
this.allViewMap.set(':',{viewname:'stabexpview_layout',srfappde:'ibizsample0003s',component:'ibizsample0003-stab-exp-view-layout'});
this.allViewMap.set(':',{viewname:'f3treeexpview',srfappde:'ibizsample0003s',component:'ibizsample0003-f3-tree-exp-view'});
this.allViewMap.set(':',{viewname:'sf5editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf5-edit-view'});
this.allViewMap.set(':',{viewname:'spickuptreeview',srfappde:'ibizsample0003s',component:'ibizsample0003-spickup-tree-view'});
this.allViewMap.set(':',{viewname:'spickupview2',srfappde:'ibizsample0003s',component:'ibizsample0003-spickup-view2'});
this.allViewMap.set(':',{viewname:'f1treeexpview',srfappde:'ibizsample0003s',component:'ibizsample0003-f1-tree-exp-view'});
this.allViewMap.set(':',{viewname:'streeexpview',srfappde:'ibizsample0003s',component:'ibizsample0003-stree-exp-view'});
this.allViewMap.set(':',{viewname:'stabexpview',srfappde:'ibizsample0003s',component:'ibizsample0003-stab-exp-view'});
this.allViewMap.set(':',{viewname:'sf2editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf2-edit-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibizsample0003s',component:'ibizsample0003-pickup-view'});
this.allViewMap.set(':',{viewname:'streeexpview2',srfappde:'ibizsample0003s',component:'ibizsample0003-stree-exp-view2'});
this.allViewMap.set(':',{viewname:'sf4editview',srfappde:'ibizsample0003s',component:'ibizsample0003-sf4-edit-view'});
this.allViewMap.set(':',{viewname:'smpickupview2',srfappde:'ibizsample0003s',component:'ibizsample0003-smpickup-view2'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizsample0003s',component:'ibizsample0003-edit-view'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'ibizsample0003s',component:'ibizsample0003-mpickup-view'});
this.allViewMap.set(':',{viewname:'f2treeexpview',viewType:'DETREEEXPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-f2-tree-exp-view'});
this.allViewMap.set(':',{viewname:'f4treeexpview',viewType:'DETREEEXPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-f4-tree-exp-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-pickup-grid-view'});
this.allViewMap.set(':',{viewname:'sf3editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-sf3-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-grid-view'});
this.allViewMap.set(':',{viewname:'sf1editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-sf1-edit-view'});
this.allViewMap.set(':',{viewname:'stabexpview_layout',viewType:'DETABEXPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-stab-exp-view-layout'});
this.allViewMap.set(':',{viewname:'f3treeexpview',viewType:'DETREEEXPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-f3-tree-exp-view'});
this.allViewMap.set(':',{viewname:'sf5editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-sf5-edit-view'});
this.allViewMap.set(':',{viewname:'spickuptreeview',viewType:'DEPICKUPTREEVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-spickup-tree-view'});
this.allViewMap.set(':',{viewname:'spickupview2',viewType:'DEPICKUPVIEW2',srfappde:'ibizsample0003s',component:'ibizsample0003-spickup-view2'});
this.allViewMap.set(':',{viewname:'f1treeexpview',viewType:'DETREEEXPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-f1-tree-exp-view'});
this.allViewMap.set(':',{viewname:'streeexpview',viewType:'DETREEEXPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-stree-exp-view'});
this.allViewMap.set(':',{viewname:'stabexpview',viewType:'DETABEXPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-stab-exp-view'});
this.allViewMap.set(':',{viewname:'sf2editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-sf2-edit-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-pickup-view'});
this.allViewMap.set(':',{viewname:'streeexpview2',viewType:'DETREEEXPVIEW2',srfappde:'ibizsample0003s',component:'ibizsample0003-stree-exp-view2'});
this.allViewMap.set(':',{viewname:'sf4editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-sf4-edit-view'});
this.allViewMap.set(':',{viewname:'smpickupview2',viewType:'DEMPICKUPVIEW2',srfappde:'ibizsample0003s',component:'ibizsample0003-smpickup-view2'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-edit-view'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',viewType:'DEMPICKUPVIEW',srfappde:'ibizsample0003s',component:'ibizsample0003-mpickup-view'});
}
/**
......@@ -143,9 +143,10 @@ export default class IBIZSample0003UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0003UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0003:srfkey});
......@@ -157,18 +158,12 @@ export default class IBIZSample0003UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0004UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0004UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0004:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0004UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0005UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0005UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0005:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0005UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0006UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0006UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0006:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0006UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0007UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0007UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0007:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0007UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0008UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0008UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0008:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0008UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0009UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0009UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0009:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0009UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0010UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0010UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0010:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0010UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0011UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0011UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0011:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0011UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0012UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0012UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0012:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0012UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,8 +98,8 @@ export default class IBIZSample0013UIServiceBase extends UIService {
* @memberof IBIZSample0013UIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizsample0013s',component:'ibizsample0013-pickup-grid-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibizsample0013s',component:'ibizsample0013-pickup-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizsample0013s',component:'ibizsample0013-pickup-grid-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizsample0013s',component:'ibizsample0013-pickup-view'});
}
/**
......@@ -124,9 +124,10 @@ export default class IBIZSample0013UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0013UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0013:srfkey});
......@@ -138,18 +139,12 @@ export default class IBIZSample0013UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,8 +98,8 @@ export default class IBIZSample0014UIServiceBase extends UIService {
* @memberof IBIZSample0014UIServiceBase
*/
public initViewMap(){
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0014s',component:'ibizsample0014-grid-view'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizsample0014s',component:'ibizsample0014-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0014s',component:'ibizsample0014-grid-view'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0014s',component:'ibizsample0014-edit-view'});
}
/**
......@@ -124,9 +124,10 @@ export default class IBIZSample0014UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0014UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0014:srfkey});
......@@ -138,18 +139,12 @@ export default class IBIZSample0014UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,7 +98,7 @@ export default class IBIZSample0015UIServiceBase extends UIService {
* @memberof IBIZSample0015UIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizsample0015s',component:'ibizsample0015-pickup-grid-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizsample0015s',component:'ibizsample0015-pickup-grid-view'});
}
/**
......@@ -123,9 +123,10 @@ export default class IBIZSample0015UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0015UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0015:srfkey});
......@@ -137,18 +138,12 @@ export default class IBIZSample0015UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0016UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0016UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0016:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0016UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,15 +98,15 @@ export default class IBIZSample0017UIServiceBase extends UIService {
* @memberof IBIZSample0017UIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizsample0017s',component:'ibizsample0017-pickup-grid-view'});
this.allViewMap.set('FORMPICKUPVIEW:',{viewname:'formpickupview',srfappde:'ibizsample0017s',component:'ibizsample0017-form-pickup-view'});
this.allViewMap.set('EDITVIEW:10',{viewname:'f10editview',srfappde:'ibizsample0017s',component:'ibizsample0017-f10-edit-view'});
this.allViewMap.set('EDITVIEW:20',{viewname:'f20editview',srfappde:'ibizsample0017s',component:'ibizsample0017-f20-edit-view'});
this.allViewMap.set(':',{viewname:'formpickupdataview',srfappde:'ibizsample0017s',component:'ibizsample0017-form-pickup-data-view'});
this.allViewMap.set('EDITVIEW:30',{viewname:'f30editview',srfappde:'ibizsample0017s',component:'ibizsample0017-f30-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0017s',component:'ibizsample0017-grid-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibizsample0017s',component:'ibizsample0017-pickup-view'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizsample0017s',component:'ibizsample0017-edit-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-pickup-grid-view'});
this.allViewMap.set('FORMPICKUPVIEW:',{viewname:'formpickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-form-pickup-view'});
this.allViewMap.set('EDITVIEW:10',{viewname:'f10editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-f10-edit-view'});
this.allViewMap.set('EDITVIEW:20',{viewname:'f20editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-f20-edit-view'});
this.allViewMap.set(':',{viewname:'formpickupdataview',viewType:'DEFORMPICKUPDATAVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-form-pickup-data-view'});
this.allViewMap.set('EDITVIEW:30',{viewname:'f30editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-f30-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-grid-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-pickup-view'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0017s',component:'ibizsample0017-edit-view'});
}
/**
......@@ -131,9 +131,10 @@ export default class IBIZSample0017UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0017UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0017:srfkey});
......@@ -145,18 +146,12 @@ export default class IBIZSample0017UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,8 +98,8 @@ export default class IBIZSample0018UIServiceBase extends UIService {
* @memberof IBIZSample0018UIServiceBase
*/
public initViewMap(){
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0018s',component:'ibizsample0018-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizsample0018s',component:'ibizsample0018-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0018s',component:'ibizsample0018-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0018s',component:'ibizsample0018-edit-view'});
}
/**
......@@ -124,9 +124,10 @@ export default class IBIZSample0018UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0018UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0018:srfkey});
......@@ -138,18 +139,12 @@ export default class IBIZSample0018UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0019UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0019UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0019:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0019UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSample0020UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0020UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0020:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSample0020UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,16 +98,16 @@ export default class IBIZSample0021UIServiceBase extends UIService {
* @memberof IBIZSample0021UIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'wfdynaactionview',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-action-view'});
this.allViewMap.set(':',{viewname:'wfdynaexpgridview',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-exp-grid-view'});
this.allViewMap.set(':',{viewname:'usr1114433946wfdynaeditview',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114433946-wfdyna-edit-view'});
this.allViewMap.set('WFEDITVIEW:',{viewname:'wfdynaeditview',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-edit-view'});
this.allViewMap.set(':',{viewname:'usr1114865995wfdynaeditview3',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114865995-wfdyna-edit-view3'});
this.allViewMap.set(':',{viewname:'wfdynaactionview_layout',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-action-view-layout'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0021s',component:'ibizsample0021-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizsample0021s',component:'ibizsample0021-edit-view'});
this.allViewMap.set(':',{viewname:'wfdynaexpgridview_layout',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-exp-grid-view-layout'});
this.allViewMap.set(':',{viewname:'gridview_layout',srfappde:'ibizsample0021s',component:'ibizsample0021-grid-view-layout'});
this.allViewMap.set(':',{viewname:'wfdynaactionview',viewType:'DEWFDYNAACTIONVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-action-view'});
this.allViewMap.set(':',{viewname:'wfdynaexpgridview',viewType:'DEWFDYNAEXPGRIDVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-exp-grid-view'});
this.allViewMap.set(':',{viewname:'usr1114433946wfdynaeditview',viewType:'DEWFDYNAEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114433946-wfdyna-edit-view'});
this.allViewMap.set('WFEDITVIEW:',{viewname:'wfdynaeditview',viewType:'DEWFDYNAEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-edit-view'});
this.allViewMap.set(':',{viewname:'usr1114865995wfdynaeditview3',viewType:'DEWFDYNAEDITVIEW3',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114865995-wfdyna-edit-view3'});
this.allViewMap.set(':',{viewname:'wfdynaactionview_layout',viewType:'DEWFDYNAACTIONVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-action-view-layout'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-edit-view'});
this.allViewMap.set(':',{viewname:'wfdynaexpgridview_layout',viewType:'DEWFDYNAEXPGRIDVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-exp-grid-view-layout'});
this.allViewMap.set(':',{viewname:'gridview_layout',viewType:'DEGRIDVIEW',srfappde:'ibizsample0021s',component:'ibizsample0021-grid-view-layout'});
}
/**
......@@ -132,9 +132,10 @@ export default class IBIZSample0021UIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSample0021UIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsample0021:srfkey});
......@@ -146,18 +147,12 @@ export default class IBIZSample0021UIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,9 +98,9 @@ export default class IBIZSoftwareSuitUIServiceBase extends UIService {
* @memberof IBIZSoftwareSuitUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'sgridview',srfappde:'ibizsoftwaresuits',component:'ibizsoftware-suit-sgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizsoftwaresuits',component:'ibizsoftware-suit-edit-view'});
this.allViewMap.set(':',{viewname:'gridview9',srfappde:'ibizsoftwaresuits',component:'ibizsoftware-suit-grid-view9'});
this.allViewMap.set(':',{viewname:'sgridview',viewType:'DEGRIDVIEW',srfappde:'ibizsoftwaresuits',component:'ibizsoftware-suit-sgrid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizsoftwaresuits',component:'ibizsoftware-suit-edit-view'});
this.allViewMap.set(':',{viewname:'gridview9',viewType:'DEGRIDVIEW9',srfappde:'ibizsoftwaresuits',component:'ibizsoftware-suit-grid-view9'});
}
/**
......@@ -125,9 +125,10 @@ export default class IBIZSoftwareSuitUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSoftwareSuitUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsoftwaresuit:srfkey});
......@@ -139,18 +140,12 @@ export default class IBIZSoftwareSuitUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,7 +98,7 @@ export default class IBIZStorageUIServiceBase extends UIService {
* @memberof IBIZStorageUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizstorages',component:'ibizstorage-edit-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizstorages',component:'ibizstorage-edit-view'});
}
/**
......@@ -123,9 +123,10 @@ export default class IBIZStorageUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZStorageUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizstorage:srfkey});
......@@ -137,18 +138,12 @@ export default class IBIZStorageUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -122,9 +122,10 @@ export default class IBIZSupplierUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZSupplierUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizsupplier:srfkey});
......@@ -136,18 +137,12 @@ export default class IBIZSupplierUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,7 +98,7 @@ export default class IBIZTASKUIServiceBase extends UIService {
* @memberof IBIZTASKUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'usr2editview',srfappde:'ibiztasks',component:'ibiztaskusr2-edit-view'});
this.allViewMap.set(':',{viewname:'usr2editview',viewType:'DEEDITVIEW',srfappde:'ibiztasks',component:'ibiztaskusr2-edit-view'});
}
/**
......@@ -123,9 +123,10 @@ export default class IBIZTASKUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZTASKUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibiztask:srfkey});
......@@ -137,18 +138,12 @@ export default class IBIZTASKUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,8 +98,8 @@ export default class IBIZTASKTEAMUIServiceBase extends UIService {
* @memberof IBIZTASKTEAMUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'gridview9',srfappde:'ibiztaskteams',component:'ibiztaskteamgrid-view9'});
this.allViewMap.set(':',{viewname:'editview9',srfappde:'ibiztaskteams',component:'ibiztaskteamedit-view9'});
this.allViewMap.set(':',{viewname:'gridview9',viewType:'DEGRIDVIEW9',srfappde:'ibiztaskteams',component:'ibiztaskteamgrid-view9'});
this.allViewMap.set(':',{viewname:'editview9',viewType:'DEEDITVIEW9',srfappde:'ibiztaskteams',component:'ibiztaskteamedit-view9'});
}
/**
......@@ -124,9 +124,10 @@ export default class IBIZTASKTEAMUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZTASKTEAMUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibiztaskteam:srfkey});
......@@ -138,18 +139,12 @@ export default class IBIZTASKTEAMUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,15 +98,15 @@ export default class IBIZUNIProductUIServiceBase extends UIService {
* @memberof IBIZUNIProductUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'sgridview',srfappde:'ibizuniproducts',component:'ibizuniproduct-sgrid-view'});
this.allViewMap.set(':',{viewname:'editview',srfappde:'ibizuniproducts',component:'ibizuniproduct-edit-view'});
this.allViewMap.set(':',{viewname:'indexpickupdataview',srfappde:'ibizuniproducts',component:'ibizuniproduct-index-pickup-data-view'});
this.allViewMap.set(':',{viewname:'sgridview_layout',srfappde:'ibizuniproducts',component:'ibizuniproduct-sgrid-view-layout'});
this.allViewMap.set(':',{viewname:'gridview9',srfappde:'ibizuniproducts',component:'ibizuniproduct-grid-view9'});
this.allViewMap.set('INDEXDEPICKUPVIEW:',{viewname:'indexpickupview',srfappde:'ibizuniproducts',component:'ibizuniproduct-index-pickup-view'});
this.allViewMap.set('REDIRECTVIEW:',{viewname:'redirectview',srfappde:'ibizuniproducts',component:'ibizuniproduct-redirect-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibizuniproducts',component:'ibizuniproduct-pickup-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibizuniproducts',component:'ibizuniproduct-pickup-grid-view'});
this.allViewMap.set(':',{viewname:'sgridview',viewType:'DEGRIDVIEW',srfappde:'ibizuniproducts',component:'ibizuniproduct-sgrid-view'});
this.allViewMap.set(':',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'ibizuniproducts',component:'ibizuniproduct-edit-view'});
this.allViewMap.set(':',{viewname:'indexpickupdataview',viewType:'DEINDEXPICKUPDATAVIEW',srfappde:'ibizuniproducts',component:'ibizuniproduct-index-pickup-data-view'});
this.allViewMap.set(':',{viewname:'sgridview_layout',viewType:'DEGRIDVIEW',srfappde:'ibizuniproducts',component:'ibizuniproduct-sgrid-view-layout'});
this.allViewMap.set(':',{viewname:'gridview9',viewType:'DEGRIDVIEW9',srfappde:'ibizuniproducts',component:'ibizuniproduct-grid-view9'});
this.allViewMap.set('INDEXDEPICKUPVIEW:',{viewname:'indexpickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizuniproducts',component:'ibizuniproduct-index-pickup-view'});
this.allViewMap.set('REDIRECTVIEW:',{viewname:'redirectview',viewType:'DEREDIRECTVIEW',srfappde:'ibizuniproducts',component:'ibizuniproduct-redirect-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizuniproducts',component:'ibizuniproduct-pickup-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizuniproducts',component:'ibizuniproduct-pickup-grid-view'});
}
/**
......@@ -131,9 +131,10 @@ export default class IBIZUNIProductUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof IBIZUNIProductUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({ibizuniproduct:srfkey});
......@@ -145,18 +146,12 @@ export default class IBIZUNIProductUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -98,8 +98,8 @@ export default class MicroComponentUIServiceBase extends UIService {
* @memberof MicroComponentUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'microcomponents',component:'micro-component-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'microcomponents',component:'micro-component-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',viewType:'DEEDITVIEW',srfappde:'microcomponents',component:'micro-component-edit-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',viewType:'DEGRIDVIEW',srfappde:'microcomponents',component:'micro-component-grid-view'});
}
/**
......@@ -124,9 +124,10 @@ export default class MicroComponentUIServiceBase extends UIService {
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @param args {context,viewParams} 用于计算流程
* @memberof MicroComponentUIServiceBase
*/
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean){
public async getRDAppView(srfkey:string,isEnableWorkflow:boolean,args?:any){
this.isEnableWorkflow = isEnableWorkflow;
// 进行数据查询
let result:any = await this.dataService.Get({microcomponent:srfkey});
......@@ -138,18 +139,12 @@ export default class MicroComponentUIServiceBase extends UIService {
let bWFMode:any = false;
// 计算数据模式
if (this.isEnableWorkflow) {
bDataInWF = await this.dataService.testDataInWF({stateValue:this.stateValue,stateField:this.stateField},curData);
if (bDataInWF) {
bDataInWF = true;
bWFMode = await this.dataService.testUserExistWorklist(null,curData);
}
const result = this.allViewMap.get("WFEDITVIEW:");
if(!result){
}
}
let strPDTViewParam:string = await this.getDESDDEViewPDTParam(curData, bDataInWF, bWFMode);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return this.allViewMap.get(strPDTViewParam);
}
......
......@@ -639,7 +639,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
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 };
......@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
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 } ;
......@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase 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});
......@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase 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 });
......@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase 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];
......
......@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
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 };
......@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
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 } ;
......@@ -1461,7 +1461,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});
......@@ -1569,7 +1569,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 });
......@@ -1661,7 +1661,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];
......
......@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
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 };
......@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
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 } ;
......@@ -1564,7 +1564,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});
......@@ -1672,7 +1672,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 });
......@@ -1764,7 +1764,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];
......@@ -1830,6 +1830,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
// 准备工作流数据,填充未存库数据
Object.assign(arg,copyData);
// 准备提交参数
if(备提交参数
if(this.viewparams){
let copyViewParams:any = Util.deepCopy(this.viewparams);
if(copyViewParams.w){
......
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,11 +70,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -319,7 +319,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) {
......@@ -462,20 +462,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;
/**
* 是否嵌入关系界面
......@@ -1010,7 +996,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1139,7 +1125,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1253,7 +1239,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){
......@@ -2184,7 +2170,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 });
const tempContext = Util.deepCopy(this.context);
......@@ -2193,7 +2179,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 });
const tempContext = Util.deepCopy(this.context);
......@@ -2269,7 +2255,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -105,21 +105,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',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册