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

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

上级 321ac426
......@@ -100,6 +100,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
},
listviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
......@@ -150,8 +152,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
listviewtoolbar_toolbar: {
},
};
return data;
}
......
......@@ -100,6 +100,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Save And Close Window",null),
},
},
listviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("New",null),
......@@ -150,8 +152,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
listviewtoolbar_toolbar: {
},
};
return data;
}
......
......@@ -100,6 +100,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
},
listviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
......@@ -150,8 +152,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
listviewtoolbar_toolbar: {
},
};
return data;
}
......
......@@ -132,6 +132,60 @@ export default class IBIZCustomerUIServiceBase extends UIService {
public initDeMainStateOPPrivsMap(){
}
/**
* 应用视图
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZCustomerUIService
*/
public async IBIZCustomer_panel_Layoutpanel_button_calluilogic18_click(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
actionContext.$Notice.error({ title: '错误', desc: '不支持单项数据' });
}
/**
* 图书
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZCustomerUIService
*/
public async IBIZCustomer_panel_Layoutpanel_button_calluilogic19_click(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
actionContext.$Notice.error({ title: '错误', desc: '不支持单项数据' });
}
/**
* 打开链接
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZCustomerUIService
*/
public async IBIZCustomer_panel_Layoutpanel_button_calluilogic21_click(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
actionContext.$Notice.error({ title: '错误', desc: '不支持单项数据' });
}
/**
* 获取指定数据的重定向页面
......
......@@ -633,7 +633,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
}
/**
* 界面行为
* 界面逻辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
......
......@@ -598,7 +598,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 };
......@@ -634,7 +634,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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 } ;
......
......@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase
* @memberof IBIZOrderSF1GridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -421,6 +421,20 @@ 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;
/**
* 是否嵌入关系界面
......@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1154,7 +1168,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2071,7 +2085,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -2079,7 +2093,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -104,6 +104,21 @@ 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',
......
......@@ -912,32 +912,44 @@
"uIActionType" : "DEUIACTION",
"id" : "panel_Layoutpanel_button_calluilogic14_click@IBIZCustomer"
}, {
"actionTarget" : "NONE",
"caption" : "按钮",
"actionTarget" : "SINGLEDATA",
"caption" : "应用视图",
"codeName" : "panel_Layoutpanel_button_calluilogic18_click",
"getFrontPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZAPPVIEWListView.json",
"viewType" : "DELISTVIEW"
},
"frontProcessType" : "WIZARD",
"fullCodeName" : "IBIZCustomer_panel_Layoutpanel_button_calluilogic18_click",
"name" : "按钮",
"name" : "打开实体视图",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionMode" : "FRONT",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic18_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Layoutpanel_button_calluilogic18_click@IBIZCustomer"
}, {
"actionTarget" : "NONE",
"caption" : "按钮",
"actionTarget" : "SINGLEDATA",
"caption" : "图书",
"codeName" : "panel_Layoutpanel_button_calluilogic19_click",
"getFrontPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeView.json",
"viewType" : "DETREEVIEW"
},
"frontProcessType" : "WIZARD",
"fullCodeName" : "IBIZCustomer_panel_Layoutpanel_button_calluilogic19_click",
"name" : "按钮",
"name" : "打开应用视图",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionMode" : "FRONT",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic19_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Layoutpanel_button_calluilogic19_click@IBIZCustomer"
......@@ -955,6 +967,151 @@
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "打开系统预置视图",
"codeName" : "panel_Layoutpanel_button_calluilogic20_click",
"fullCodeName" : "IBIZCustomer_panel_Layoutpanel_button_calluilogic20_click",
"name" : "打开系统预置视图",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic20_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Layoutpanel_button_calluilogic20_click@IBIZCustomer"
}, {
"actionTarget" : "SINGLEDATA",
"caption" : "打开链接",
"codeName" : "panel_Layoutpanel_button_calluilogic21_click",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZCustomer_panel_Layoutpanel_button_calluilogic21_click",
"htmlPageUrl" : "https://www.baidu.com/",
"name" : "打开链接",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic21_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Layoutpanel_button_calluilogic21_click@IBIZCustomer"
}, {
"caption" : "建立数据",
"codeName" : "panel_Layoutpanel_button_calluilogic22_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic22_click",
"name" : "建立数据",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_CREATEOBJECT",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic22_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "保存变更",
"codeName" : "panel_Layoutpanel_button_calluilogic23_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic23_click",
"name" : "保存变更",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic23_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "取消变更",
"codeName" : "panel_Layoutpanel_button_calluilogic24_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic24_click",
"name" : "取消变更",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic24_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "删除数据",
"codeName" : "panel_Layoutpanel_button_calluilogic25_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic25_click",
"name" : "删除数据",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_REMOVEOBJECT",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic25_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "同步数据",
"codeName" : "panel_Layoutpanel_button_calluilogic26_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic26_click",
"name" : "同步数据",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_SYNCHRONIZE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic26_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "登录操作",
"codeName" : "panel_Layoutpanel_button_calluilogic27_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic27_click",
"name" : "登录操作",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "APP_LOGIN",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic27_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "登出操作",
"codeName" : "panel_Layoutpanel_button_calluilogic28_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic28_click",
"name" : "登出操作",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "APP_LOGOUT",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic28_click",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "自定义代码",
"codeName" : "panel_Layoutpanel_button_calluilogic29_click",
"fullCodeName" : "IBIZCustomer_panel_Layoutpanel_button_calluilogic29_click",
"name" : "自定义代码",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic29_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Layoutpanel_button_calluilogic29_click@IBIZCustomer"
}, {
"caption" : "取消",
"codeName" : "panel_Layoutpanel_button_calluilogic2_click",
......
......@@ -2763,11 +2763,11 @@
"id" : "open_document@IBIZOrder"
}, {
"actionTarget" : "SINGLEDATA",
"caption" : "界面行为",
"caption" : "界面逻辑",
"codeName" : "panel_Layoutpanel_button_calluilogic16_click",
"frontProcessType" : "OTHER",
"fullCodeName" : "IBIZOrder_panel_Layoutpanel_button_calluilogic16_click",
"name" : "界面行为",
"name" : "界面逻辑",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "OpenYuQue"
......
......@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-314-10">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-338-10">
<createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
......@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-314-4" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-338-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册