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

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

上级 0c97fcae
......@@ -296,13 +296,17 @@ export default class IBIZBOOKTestCLCalendarViewBase extends Vue {
* @memberof IBIZBOOKTestCLCalendarViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
* 引擎初始化
*
......
......@@ -442,12 +442,16 @@ export default class IBIZBOOKTestCLDataViewBase extends Vue {
* @memberof IBIZBOOKTestCLDataViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
* 视图引擎
*
......
......@@ -442,12 +442,16 @@ export default class IBIZBOOKTestCLListViewBase extends Vue {
* @memberof IBIZBOOKTestCLListViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
* 视图引擎
*
......
......@@ -297,11 +297,15 @@ export default class IBIZBOOKTestCLTreeViewBase extends Vue {
* @memberof IBIZBOOKTestCLTreeViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
* 视图引擎
*
......
......@@ -416,12 +416,16 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
* @memberof IBIZCustomerMediaTestEditViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
* 视图引擎
*
......
......@@ -336,11 +336,15 @@ export default class IBIZOrderTestCLChartViewBase extends Vue {
* @memberof IBIZOrderTestCLChartViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
* 视图引擎
*
......
......@@ -426,9 +426,13 @@ export default class IBIZOrderTestCLEditView2Base extends Vue {
* @memberof IBIZOrderTestCLEditView2Base
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
......
......@@ -296,9 +296,13 @@ export default class IBIZOrderTestCLTreeExpViewBase extends Vue {
* @memberof IBIZOrderTestCLTreeExpViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
......
......@@ -298,10 +298,14 @@ export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue {
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
* 视图引擎
*
......
......@@ -493,13 +493,17 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
* @memberof IBIZOrderUsr2GridViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/**
* 视图引擎
*
......
......@@ -335,34 +335,14 @@ export default class IndexBase extends Vue {
* @memberof IndexBase
*/
public handleButtonClick(name: string, $event?: any) {
if (Object.is(name, 'auth_logout1')) {
this.layoutpanel_auth_logout1_click(null, '', $event);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public layoutpanel_auth_logout1_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let datas: any[] = [this.layoutData];
let xData: any = null;
// _this 指向容器对象
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
datas = [this.layoutData];
if(params){
datas = [params];
if (Object.is(name, 'auth_logout1')) {
_this.panel_Usr1101864241_auth_logout1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
// 界面行为
this.panel_Usr1101864241_auth_logout1_click(datas, contextJO,paramJO, $event, xData,this,undefined);
}
// 系统
......
......@@ -315,115 +315,23 @@ export default class AppIndexViewBase extends Vue {
* @memberof AppIndexViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'button_calluilogic2')) {
this.layoutpanel_button_calluilogic2_click(null, '', $event);
_this.panel_Usr1102678360_button_calluilogic2_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
if (Object.is(name, 'button_link1')) {
this.layoutpanel_button_link1_click(null, '', $event);
_this.panel_Usr1102678360_button_link1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
if (Object.is(name, 'button_openview1')) {
this.layoutpanel_button_openview1_click(null, '', $event);
_this.panel_Usr1102678360_button_openview1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
if (Object.is(name, 'button_calluilogic1')) {
this.layoutpanel_button_calluilogic1_click(null, '', $event);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public layoutpanel_button_calluilogic2_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
datas = [this.layoutData];
if(params){
datas = [params];
}
// 界面行为
this.panel_Usr1102678360_button_calluilogic2_click(datas, contextJO,paramJO, $event, xData,this,undefined);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public layoutpanel_button_link1_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
datas = [this.layoutData];
if(params){
datas = [params];
}
// 界面行为
this.panel_Usr1102678360_button_link1_click(datas, contextJO,paramJO, $event, xData,this,undefined);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public layoutpanel_button_openview1_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
datas = [this.layoutData];
if(params){
datas = [params];
}
// 界面行为
this.panel_Usr1102678360_button_openview1_click(datas, contextJO,paramJO, $event, xData,this,undefined);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public layoutpanel_button_calluilogic1_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
datas = [this.layoutData];
if(params){
datas = [params];
_this.panel_Usr1102678360_button_calluilogic1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
// 界面行为
this.panel_Usr1102678360_button_calluilogic1_click(datas, contextJO,paramJO, $event, xData,this,undefined);
}
// 系统
......
......@@ -279,88 +279,20 @@ export default class AppLoginViewBase extends Vue {
* @memberof AppLoginViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'auth_loginbutton1')) {
this.layoutpanel_auth_loginbutton1_click(null, '', $event);
_this.panel_Usr1102196415_auth_loginbutton1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
if (Object.is(name, 'auth_resetinput1')) {
this.layoutpanel_auth_resetinput1_click(null, '', $event);
_this.panel_Usr1102196415_auth_resetinput1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
if (Object.is(name, 'auth_logout1')) {
this.layoutpanel_auth_logout1_click(null, '', $event);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public layoutpanel_auth_loginbutton1_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
datas = [this.layoutData];
if(params){
datas = [params];
}
// 界面行为
this.panel_Usr1102196415_auth_loginbutton1_click(datas, contextJO,paramJO, $event, xData,this,undefined);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public layoutpanel_auth_resetinput1_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
datas = [this.layoutData];
if(params){
datas = [params];
}
// 界面行为
this.panel_Usr1102196415_auth_resetinput1_click(datas, contextJO,paramJO, $event, xData,this,undefined);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public layoutpanel_auth_logout1_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
datas = [this.layoutData];
if(params){
datas = [params];
_this.panel_Usr1102196415_auth_logout1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
}
// 界面行为
this.panel_Usr1102196415_auth_logout1_click(datas, contextJO,paramJO, $event, xData,this,undefined);
}
// 系统
......
......@@ -590,7 +590,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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -626,7 +626,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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -906,7 +906,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: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -1001,7 +1001,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: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1107,7 +1107,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: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -1987,7 +1987,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: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(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);
......@@ -1995,7 +1995,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: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorderdetail){
......@@ -2062,7 +2062,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: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -1545,7 +1545,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1580,7 +1580,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1642,7 +1642,7 @@ export default class SFormBase 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: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1750,7 +1750,7 @@ export default class SFormBase 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: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1827,7 +1827,7 @@ export default class SFormBase 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: 'IBIZOrderSEditView3' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTestCLEditView2' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册