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

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

上级 d7e46b58
......@@ -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: 'IBIZBOOKCustomView_layout' + (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 };
......@@ -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: 'IBIZBOOKCustomView_layout' + (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 } ;
......
......@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase 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: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
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: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView" + (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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView' + (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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -4,12 +4,13 @@
<template slot-scope="{ data }">
<template v-if="Object.is(data.editor, 'filter')">
<input-box
v-model="data.filter"
@enter="onEnter($event)"
:disabled="detailsModel.filter.disabled"
type='text'
style="">
v-model="data.filter"
@enter="onEnter($event)"
:disabled="detailsModel.filter.disabled"
type='number'
style="">
</input-box>
</template>
......@@ -25,14 +26,7 @@
</template>
<template v-if="Object.is(data.editor, 'filter3')">
<input-box
v-model="data.filter3"
@enter="onEnter($event)"
:disabled="detailsModel.filter3.disabled"
type='text'
style="">
</input-box>
<time-picker :value="data.filter3" :transfer="true" :disabled="detailsModel.filter3.disabled" format="ss" style="min-width: 150px; width:160px;" @on-change="(val) => {this.data.filter3 = val}"></time-picker>
</template>
</template>
......
......@@ -19,7 +19,7 @@
"codeName" : "OrderUID"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorType" : "NUMBER",
"name" : "filter"
},
"addSeparator" : true,
......@@ -48,6 +48,7 @@
}, {
"dataType" : 5,
"itemType" : "FILTER",
"itemWidth" : 160.0,
"labelPos" : "NONE",
"labelWidth" : 0,
"name" : "filter3",
......@@ -56,7 +57,12 @@
"codeName" : "OrderTime"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKEREX_SECOND",
"editorWidth" : 160.0,
"name" : "filter3"
},
"allowEmpty" : true,
......
......@@ -483,7 +483,7 @@
"codeName" : "OrderUID"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorType" : "NUMBER",
"name" : "filter"
},
"addSeparator" : true,
......@@ -512,6 +512,7 @@
}, {
"dataType" : 5,
"itemType" : "FILTER",
"itemWidth" : 160.0,
"labelPos" : "NONE",
"labelWidth" : 0,
"name" : "filter3",
......@@ -520,7 +521,12 @@
"codeName" : "OrderTime"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKEREX_SECOND",
"editorWidth" : 160.0,
"name" : "filter3"
},
"allowEmpty" : true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册