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

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

上级 12013cea
......@@ -712,7 +712,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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1187,7 +1187,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2082,7 +2082,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2091,7 +2091,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -768,7 +768,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -862,7 +862,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -978,7 +978,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -986,7 +986,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -574,7 +574,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {boolean}
* @memberof MainBase
*/
public isHideHeader: boolean = false;
public isHideHeader: boolean = true;
/**
* 是否默认选中第一条数据
......
......@@ -1326,8 +1326,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -425,8 +425,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"modelid" : "9222eaa963655f7f76cff5972d695cbf",
......
......@@ -1250,8 +1250,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -1772,8 +1772,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -979,8 +979,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -784,8 +784,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -549,8 +549,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -585,8 +585,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -945,8 +945,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -981,8 +981,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -865,8 +865,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -842,8 +842,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -2074,8 +2074,8 @@
"enableRowEdit" : true,
"enableRowEditOrder" : false,
"enableRowNew" : true,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : true,
"name" : "grid",
......
......@@ -882,8 +882,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -521,8 +521,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -916,8 +916,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -1505,8 +1505,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -815,8 +815,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
......@@ -1373,8 +1373,8 @@
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : true,
"hideHeader" : false,
"forceFit" : false,
"hideHeader" : true,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册