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

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

上级 d6762096
...@@ -284,6 +284,10 @@ function getLocaleResourceBase(){ ...@@ -284,6 +284,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null), title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null),
}, },
usr5editview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书编辑视图",null),
},
wizardview: { wizardview: {
caption: commonLogic.appcommonhandle("实体向导视图",null), caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null), title: commonLogic.appcommonhandle("实体向导视图",null),
......
...@@ -284,6 +284,10 @@ function getLocaleResourceBase(){ ...@@ -284,6 +284,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Code Table Grouping",null), caption: commonLogic.appcommonhandle("Code Table Grouping",null),
title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null), title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null),
}, },
usr5editview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书编辑视图",null),
},
wizardview: { wizardview: {
caption: commonLogic.appcommonhandle("BasicUsage",null), caption: commonLogic.appcommonhandle("BasicUsage",null),
title: commonLogic.appcommonhandle("实体向导视图",null), title: commonLogic.appcommonhandle("实体向导视图",null),
......
...@@ -284,6 +284,10 @@ function getLocaleResourceBase(){ ...@@ -284,6 +284,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null), title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null),
}, },
usr5editview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书编辑视图",null),
},
wizardview: { wizardview: {
caption: commonLogic.appcommonhandle("实体向导视图",null), caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null), title: commonLogic.appcommonhandle("实体向导视图",null),
......
...@@ -1034,19 +1034,6 @@ const router = new Router({ ...@@ -1034,19 +1034,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'), component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/editview9/:editview9?',
meta: {
caption: 'entities.ibizbook.views.editview9.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview9', parameterName: 'editview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?', path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: { meta: {
...@@ -2911,6 +2898,19 @@ const router = new Router({ ...@@ -2911,6 +2898,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue'), component: () => import('@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr5editview/:usr5editview?',
meta: {
caption: 'entities.ibizbook.views.usr5editview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr5editview', parameterName: 'usr5editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr5-edit-view/ibizbookusr5-edit-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/wizardview/:wizardview?', path: '/ibizbooks/:ibizbook?/wizardview/:wizardview?',
meta: { meta: {
......
// 基于 @VIEW/实体编辑视图/VIEW.scss.ftl 生成
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizbookusr5-edit-view{
position: relative;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr5EditViewBase from './ibizbookusr5-edit-view-base.vue';
import view_form from '@widgets/ibizbook/meditform-form/meditform-form.vue';
// 基于 @VIEW/实体编辑视图/VIEW.vue.ftl 生成
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZBOOKUsr5EditView extends IBIZBOOKUsr5EditViewBase {
}
</script>
\ No newline at end of file
...@@ -192,7 +192,7 @@ export const PageComponents = { ...@@ -192,7 +192,7 @@ export const PageComponents = {
Vue.component('ibizcustomer-usr2-mpickup-view', () => import('@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue')); Vue.component('ibizcustomer-usr2-mpickup-view', () => import('@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue'));
Vue.component('ibizcustomer-intfmpickup-view', () => import('@pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue')); Vue.component('ibizcustomer-intfmpickup-view', () => import('@pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue'));
Vue.component('ibizcustomer-mpickup-view', () => import('@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue')); Vue.component('ibizcustomer-mpickup-view', () => import('@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'));
Vue.component('ibizbookedit-view9', () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue')); Vue.component('ibizbookusr5-edit-view', () => import('@pages/sample/ibizbookusr5-edit-view/ibizbookusr5-edit-view.vue'));
Vue.component('ibizorder-f19-edit-view', () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue')); Vue.component('ibizorder-f19-edit-view', () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'));
Vue.component('ibizbookedit-view', () => import('@pages/sample/ibizbookedit-view/ibizbookedit-view.vue')); Vue.component('ibizbookedit-view', () => import('@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'));
Vue.component('ibizhardware-sgrid-view', () => import('@pages/sample/ibizhardware-sgrid-view/ibizhardware-sgrid-view.vue')); Vue.component('ibizhardware-sgrid-view', () => import('@pages/sample/ibizhardware-sgrid-view/ibizhardware-sgrid-view.vue'));
......
...@@ -2942,18 +2942,18 @@ const router = new Router({ ...@@ -2942,18 +2942,18 @@ const router = new Router({
component: () => import('@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'), component: () => import('@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'),
}, },
{ {
path: 'ibizbooks/:ibizbook?/editview9/:editview9?', path: 'ibizbooks/:ibizbook?/usr5editview/:usr5editview?',
meta: { meta: {
caption: 'entities.ibizbook.views.editview9.caption', caption: 'entities.ibizbook.views.usr5editview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' }, { pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview9', parameterName: 'editview9' }, { pathName: 'usr5editview', parameterName: 'usr5editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'), component: () => import('@pages/sample/ibizbookusr5-edit-view/ibizbookusr5-edit-view.vue'),
}, },
{ {
path: 'ibizorders/:ibizorder?/f19editview/:f19editview?', path: 'ibizorders/:ibizorder?/f19editview/:f19editview?',
...@@ -4587,19 +4587,6 @@ const router = new Router({ ...@@ -4587,19 +4587,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'), component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/editview9/:editview9?',
meta: {
caption: 'entities.ibizbook.views.editview9.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview9', parameterName: 'editview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?', path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: { meta: {
...@@ -6464,6 +6451,19 @@ const router = new Router({ ...@@ -6464,6 +6451,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue'), component: () => import('@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr5editview/:usr5editview?',
meta: {
caption: 'entities.ibizbook.views.usr5editview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr5editview', parameterName: 'usr5editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr5-edit-view/ibizbookusr5-edit-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/wizardview/:wizardview?', path: '/ibizbooks/:ibizbook?/wizardview/:wizardview?',
meta: { meta: {
......
...@@ -852,19 +852,6 @@ const router = new Router({ ...@@ -852,19 +852,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'), component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/editview9/:editview9?',
meta: {
caption: 'entities.ibizbook.views.editview9.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview9', parameterName: 'editview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookedit-view9/ibizbookedit-view9.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?', path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: { meta: {
...@@ -2729,6 +2716,19 @@ const router = new Router({ ...@@ -2729,6 +2716,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue'), component: () => import('@pages/sample/ibizorder-list-exp-view/ibizorder-list-exp-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr5editview/:usr5editview?',
meta: {
caption: 'entities.ibizbook.views.usr5editview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr5editview', parameterName: 'usr5editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr5-edit-view/ibizbookusr5-edit-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/wizardview/:wizardview?', path: '/ibizbooks/:ibizbook?/wizardview/:wizardview?',
meta: { meta: {
......
...@@ -571,7 +571,7 @@ export const viewstate: any = { ...@@ -571,7 +571,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'3e2f62b8585df5ca82caff3830826b39', 'c547bc4885f57d117461a64387c6e966',
], ],
}, },
{ {
...@@ -603,15 +603,6 @@ export const viewstate: any = { ...@@ -603,15 +603,6 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '3e2f62b8585df5ca82caff3830826b39',
viewmodule: 'Sample',
viewname: 'IBIZBOOKEditView9',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '427E25F6-DBD4-451B-B20E-87929E061C95', viewtag: '427E25F6-DBD4-451B-B20E-87929E061C95',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -2132,6 +2123,15 @@ export const viewstate: any = { ...@@ -2132,6 +2123,15 @@ export const viewstate: any = {
'7f46cd67bcfbeac794fcc5c91d8bcceb', '7f46cd67bcfbeac794fcc5c91d8bcceb',
], ],
}, },
{
viewtag: 'c547bc4885f57d117461a64387c6e966',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr5EditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'c575c51d887b8d1cbd6f4440cdba57cc', viewtag: 'c575c51d887b8d1cbd6f4440cdba57cc',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -161,6 +161,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -161,6 +161,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'dataviewexpview',viewType:'DEDATAVIEWEXPVIEW',srfappde:'ibizbooks',component:'ibizbookdata-view-exp-view'}); this.allViewMap.set(':',{viewname:'dataviewexpview',viewType:'DEDATAVIEWEXPVIEW',srfappde:'ibizbooks',component:'ibizbookdata-view-exp-view'});
this.allViewMap.set(':',{viewname:'newdefaultvaluegridview',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbooknew-default-value-grid-view'}); this.allViewMap.set(':',{viewname:'newdefaultvaluegridview',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbooknew-default-value-grid-view'});
this.allViewMap.set(':',{viewname:'usr3dataview',viewType:'DEDATAVIEW',srfappde:'ibizbooks',component:'ibizbookusr3-data-view'}); this.allViewMap.set(':',{viewname:'usr3dataview',viewType:'DEDATAVIEW',srfappde:'ibizbooks',component:'ibizbookusr3-data-view'});
this.allViewMap.set(':',{viewname:'usr5editview',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookusr5-edit-view'});
this.allViewMap.set(':',{viewname:'wizardview',viewType:'DEWIZARDVIEW',srfappde:'ibizbooks',component:'ibizbookwizard-view'}); this.allViewMap.set(':',{viewname:'wizardview',viewType:'DEWIZARDVIEW',srfappde:'ibizbooks',component:'ibizbookwizard-view'});
this.allViewMap.set(':',{viewname:'usr5listview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookusr5-list-view'}); this.allViewMap.set(':',{viewname:'usr5listview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookusr5-list-view'});
this.allViewMap.set(':',{viewname:'usrgridview_plugin',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookusr-grid-view-plugin'}); this.allViewMap.set(':',{viewname:'usrgridview_plugin',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookusr-grid-view-plugin'});
......
...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -639,7 +639,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -675,7 +675,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -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: 'IBIZBOOKGroupByCodelistListView' + (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: 'IBIZBOOKGroupByCodelistListView' + (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: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (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: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (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: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (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: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (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: 'IBIZBOOKTestLogicCustomView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrOptionView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1416,7 +1416,7 @@ export default class MeditformBase extends Vue implements ControlInterface { ...@@ -1416,7 +1416,7 @@ export default class MeditformBase 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: 'IBIZBOOKEditView9' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1468,7 +1468,7 @@ export default class MeditformBase extends Vue implements ControlInterface { ...@@ -1468,7 +1468,7 @@ export default class MeditformBase 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: 'IBIZBOOKEditView9' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1538,7 +1538,7 @@ export default class MeditformBase extends Vue implements ControlInterface { ...@@ -1538,7 +1538,7 @@ export default class MeditformBase 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: 'IBIZBOOKEditView9' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1646,7 +1646,7 @@ export default class MeditformBase extends Vue implements ControlInterface { ...@@ -1646,7 +1646,7 @@ export default class MeditformBase 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: 'IBIZBOOKEditView9' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1844,7 +1844,7 @@ export default class MeditformBase extends Vue implements ControlInterface { ...@@ -1844,7 +1844,7 @@ export default class MeditformBase 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: 'IBIZBOOKEditView9' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -963,7 +963,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -963,7 +963,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1103,7 +1103,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1103,7 +1103,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1217,7 +1217,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1217,7 +1217,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ 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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2112,7 +2112,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2112,7 +2112,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { 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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2121,7 +2121,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2121,7 +2121,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { 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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2197,7 +2197,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2197,7 +2197,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -97,7 +97,6 @@ export default class MainModel { ...@@ -97,7 +97,6 @@ export default class MainModel {
name: 'ibizorderdetail', name: 'ibizorderdetail',
prop: 'ibizorderdetailid', prop: 'ibizorderdetailid',
}, },
{ {
name:'size', name:'size',
prop:'size', prop:'size',
......
...@@ -5358,6 +5358,14 @@ ...@@ -5358,6 +5358,14 @@
"rTMOSFilePath" : "psmodeldata$psdataentities/EditView3", "rTMOSFilePath" : "psmodeldata$psdataentities/EditView3",
"realModelSubType" : "DEEDITVIEW3", "realModelSubType" : "DEEDITVIEW3",
"realModelType" : "PSDEVIEWBASE" "realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr5EditView",
"logicName" : "图书借阅管理",
"mOSFilePath" : "psmodeldata$psdataentities/Usr5EditView",
"name" : "图书借阅管理",
"rTMOSFilePath" : "psmodeldata$psdataentities/Usr5EditView",
"realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE"
}, { }, {
"codeName" : "TestLogicCustomView", "codeName" : "TestLogicCustomView",
"logicName" : "测试界面逻辑", "logicName" : "测试界面逻辑",
......
...@@ -6628,6 +6628,10 @@ ...@@ -6628,6 +6628,10 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3DataView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3DataView.json",
"viewType" : "DEDATAVIEW" "viewType" : "DEDATAVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5EditView.json",
"viewType" : "DEEDITVIEW"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKWizardView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKWizardView.json",
......
...@@ -384,7 +384,7 @@ ...@@ -384,7 +384,7 @@
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKEditView9/psappviewctrls/form", "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr5EditView/psappviewctrls/form",
"getRemovePSControlAction" : { "getRemovePSControlAction" : {
"modelref" : true, "modelref" : true,
"id" : "remove" "id" : "remove"
......
...@@ -537,6 +537,7 @@ ...@@ -537,6 +537,7 @@
"useDefaultLayout" : true "useDefaultLayout" : true
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKEditView9", "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKEditView9",
"refFlag" : false,
"title" : "图书管理", "title" : "图书管理",
"viewStyle" : "DEFAULT", "viewStyle" : "DEFAULT",
"viewType" : "DEEDITVIEW9", "viewType" : "DEEDITVIEW9",
......
...@@ -50,8 +50,8 @@ ...@@ -50,8 +50,8 @@
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSMULTIEDITVIEWPANELS/Main.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSMULTIEDITVIEWPANELS/Main.json",
"getEmbeddedPSAppView" : { "getEmbeddedPSAppView" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView9.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5EditView.json",
"viewType" : "DEEDITVIEW9" "viewType" : "DEEDITVIEW"
}, },
"getFetchPSControlAction" : { "getFetchPSControlAction" : {
"modelref" : true, "modelref" : true,
......
...@@ -17481,6 +17481,12 @@ ...@@ -17481,6 +17481,12 @@
"viewType" : "DELISTEXPVIEW", "viewType" : "DELISTEXPVIEW",
"resource" : "IBIZOrder", "resource" : "IBIZOrder",
"view" : "ListExpView" "view" : "ListExpView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5EditView.json",
"viewType" : "DEEDITVIEW",
"resource" : "IBIZBOOK",
"view" : "Usr5EditView"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKWizardView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKWizardView.json",
...@@ -36178,6 +36184,10 @@ ...@@ -36178,6 +36184,10 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3DataView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3DataView.json",
"viewType" : "DEDATAVIEW" "viewType" : "DEDATAVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5EditView.json",
"viewType" : "DEEDITVIEW"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKWizardView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKWizardView.json",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册