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

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

上级 5fea533b
...@@ -119,16 +119,6 @@ function getLocaleResourceBase(){ ...@@ -119,16 +119,6 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
microcomponentname: commonLogic.appcommonhandle("微组件名称",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
default_searchform: { default_searchform: {
details: { details: {
formpage1: commonLogic.appcommonhandle("常规条件",null), formpage1: commonLogic.appcommonhandle("常规条件",null),
......
...@@ -119,16 +119,6 @@ function getLocaleResourceBase(){ ...@@ -119,16 +119,6 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
microcomponentname: commonLogic.appcommonhandle("微组件名称",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
},
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
default_searchform: { default_searchform: {
details: { details: {
formpage1: commonLogic.appcommonhandle("常规条件",null), formpage1: commonLogic.appcommonhandle("常规条件",null),
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import MicroComponentGridViewBase from './micro-component-grid-view-base.vue'; import MicroComponentGridViewBase from './micro-component-grid-view-base.vue';
import view_grid from '@widgets/micro-component/main-grid/main-grid.vue'; import view_form from '@widgets/micro-component/main-form/main-form.vue';
import view_searchform from '@widgets/micro-component/default-searchform/default-searchform.vue'; import view_searchform from '@widgets/micro-component/default-searchform/default-searchform.vue';
@Component({ @Component({
components: { components: {
view_grid, view_form,
view_searchform, view_searchform,
}, },
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
......
...@@ -2202,7 +2202,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2202,7 +2202,7 @@ export default class MainBase 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: 'microComponentEditView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'microComponentGridView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -2237,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2237,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'microComponentEditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'microComponentGridView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -2298,7 +2298,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2298,7 +2298,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: 'microComponentEditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'microComponentGridView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2406,7 +2406,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2406,7 +2406,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: 'microComponentEditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'microComponentGridView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2483,7 +2483,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2483,7 +2483,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: 'microComponentEditView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'microComponentGridView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册