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

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

上级 eec432db
...@@ -37,12 +37,18 @@ ...@@ -37,12 +37,18 @@
flex-direction: column; flex-direction: column;
>.view-container { >.view-container {
flex-grow: 1; flex-grow: 1;
+.copyright-notice {
position: relative;
}
} }
} }
.copyright-notice { .copyright-notice {
height: 100px; height: 100px;
width: 100%;
text-align: center; text-align: center;
flex-shrink: 0; flex-shrink: 0;
position: absolute;
bottom: 0px;
.notice { .notice {
padding-top: 10px; padding-top: 10px;
color: var(--app-color-gray-200); color: var(--app-color-gray-200);
......
<template> <template>
<div class='view-container depickupgridview ibizcustomer-intfpickup-grid-view'> <app-grid-view-layout class='view-container depickupgridview ibizcustomer-intfpickup-grid-view'>
<card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false"> <div slot='title' class="header-container">
<div class='content-container pickup-grid-view'> <span class='caption-info' :title="$t(model.srfCaption)">{{$t(model.srfCaption)}}</span>
</div>
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -41,9 +42,31 @@ ...@@ -41,9 +42,31 @@
@beforeload="grid_beforeload($event)" @beforeload="grid_beforeload($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
</div> <template #default>
</card> <view_grid
</div> :viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:isSingleSelect="isSingleSelect"
:selectedData="selectedData"
:showBusyIndicator="true"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
name="grid"
ref='grid'
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@load="grid_load($event)"
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</template>
</app-grid-view-layout>
</template> </template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成 // 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
......
<template> <template>
<div class='view-container depickupgridview ibizcustomer-pickup-grid-view'> <app-grid-view-layout class='view-container depickupgridview ibizcustomer-pickup-grid-view'>
<card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false"> <div slot='title' class="header-container">
<div class='content-container pickup-grid-view'> <span class='caption-info' :title="$t(model.srfCaption)">{{$t(model.srfCaption)}}</span>
</div>
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -41,9 +42,31 @@ ...@@ -41,9 +42,31 @@
@beforeload="grid_beforeload($event)" @beforeload="grid_beforeload($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
</div> <template #default>
</card> <view_grid
</div> :viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:isSingleSelect="isSingleSelect"
:selectedData="selectedData"
:showBusyIndicator="true"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
name="grid"
ref='grid'
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@load="grid_load($event)"
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</template>
</app-grid-view-layout>
</template> </template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成 // 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
......
<template> <template>
<div class='view-container depickupgridview ibizorder-pickup-grid-view'> <app-grid-view-layout class='view-container depickupgridview ibizorder-pickup-grid-view'>
<card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false"> <div slot='title' class="header-container">
<div class='content-container pickup-grid-view'> <span class='caption-info' :title="$t(model.srfCaption)">{{$t(model.srfCaption)}}</span>
</div>
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -41,9 +42,31 @@ ...@@ -41,9 +42,31 @@
@beforeload="grid_beforeload($event)" @beforeload="grid_beforeload($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
</div> <template #default>
</card> <view_grid
</div> :viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:isSingleSelect="isSingleSelect"
:selectedData="selectedData"
:showBusyIndicator="true"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
name="grid"
ref='grid'
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@load="grid_load($event)"
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</template>
</app-grid-view-layout>
</template> </template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成 // 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
......
<template> <template>
<div class='view-container depickupgridview ibizsample0002-pickup-grid-view'> <app-grid-view-layout class='view-container depickupgridview ibizsample0002-pickup-grid-view'>
<card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false"> <div slot='title' class="header-container">
<div class='content-container pickup-grid-view'> <span class='caption-info' :title="$t(model.srfCaption)">{{$t(model.srfCaption)}}</span>
</div>
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -41,9 +42,31 @@ ...@@ -41,9 +42,31 @@
@beforeload="grid_beforeload($event)" @beforeload="grid_beforeload($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
</div> <template #default>
</card> <view_grid
</div> :viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:isSingleSelect="isSingleSelect"
:selectedData="selectedData"
:showBusyIndicator="true"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
name="grid"
ref='grid'
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@load="grid_load($event)"
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</template>
</app-grid-view-layout>
</template> </template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成 // 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
......
<template> <template>
<div class='view-container depickupgridview ibizsample0003-pickup-grid-view'> <app-grid-view-layout class='view-container depickupgridview ibizsample0003-pickup-grid-view'>
<card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false"> <div slot='title' class="header-container">
<div class='content-container pickup-grid-view'> <span class='caption-info' :title="$t(model.srfCaption)">{{$t(model.srfCaption)}}</span>
</div>
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -41,9 +42,31 @@ ...@@ -41,9 +42,31 @@
@beforeload="grid_beforeload($event)" @beforeload="grid_beforeload($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
</div> <template #default>
</card> <view_grid
</div> :viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:isSingleSelect="isSingleSelect"
:selectedData="selectedData"
:showBusyIndicator="true"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
name="grid"
ref='grid'
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@load="grid_load($event)"
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</template>
</app-grid-view-layout>
</template> </template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成 // 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
......
<template> <template>
<div class='view-container depickupgridview ibizuniproduct-pickup-grid-view'> <app-grid-view-layout class='view-container depickupgridview ibizuniproduct-pickup-grid-view'>
<card class='view-card view-no-caption view-no-toolbar' :dis-hover="true" :bordered="false"> <div slot='title' class="header-container">
<div class='content-container pickup-grid-view'> <span class='caption-info' :title="$t(model.srfCaption)">{{$t(model.srfCaption)}}</span>
</div>
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -41,9 +42,31 @@ ...@@ -41,9 +42,31 @@
@beforeload="grid_beforeload($event)" @beforeload="grid_beforeload($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
</div> <template #default>
</card> <view_grid
</div> :viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:isSingleSelect="isSingleSelect"
:selectedData="selectedData"
:showBusyIndicator="true"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
name="grid"
ref='grid'
@rowdblclick="grid_rowdblclick($event)"
@selectionchange="grid_selectionchange($event)"
@load="grid_load($event)"
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</template>
</app-grid-view-layout>
</template> </template>
// 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成 // 基于 @VIEW/实体选择表格视图/VIEW-BASE.vue.ftl 生成
......
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1848,7 +1848,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1848,7 +1848,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1900,7 +1900,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1900,7 +1900,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1971,7 +1971,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1971,7 +1971,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2079,7 +2079,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2079,7 +2079,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -2277,7 +2277,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2277,7 +2277,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
<template> <template>
<i-form :model="this.data" class='app-search-form' ref='quicksearchform' style=""> <i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<input style="display:none;"/> <input style="display:none;"/>
<row> <row>
<i-col span="20" class="form-content"> <i-col span="20" class="form-content">
...@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase * @memberof QUICKSEARCHFORMBase
*/ */
public formValidateStatus(): boolean { public formValidateStatus(): boolean {
const form: any = this.$refs.quicksearchform; const form: any = this.$refs.searchform;
let validatestate: boolean = true; let validatestate: boolean = true;
form.validate((valid: boolean) => { form.validate((valid: boolean) => {
validatestate = valid ? true : false; validatestate = valid ? true : false;
...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册