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

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

上级 16927955
...@@ -4275,24 +4275,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -4275,24 +4275,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
], ],
},
{
id: 'BE1AE004-BC3C-42C5-9817-6F67035F4A7C',
name: 'menuitem256',
text: '日历视图布局面板',
type: 'MENUITEM',
counterid: '',
tooltip: '日历视图布局面板',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc135',
resourcetag: '',
}, },
], ],
}]; }];
......
...@@ -1295,19 +1295,6 @@ const router = new Router({ ...@@ -1295,19 +1295,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'), component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr6calendarview/:usr6calendarview?',
meta: {
caption: 'entities.ibizbook.views.usr6calendarview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6calendarview', parameterName: 'usr6calendarview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-calendar-view/ibizbookusr6-calendar-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/wizardiwithstateview/:wizardiwithstateview?', path: '/ibizbooks/:ibizbook?/wizardiwithstateview/:wizardiwithstateview?',
meta: { meta: {
......
...@@ -162,7 +162,6 @@ export const PageComponents = { ...@@ -162,7 +162,6 @@ export const PageComponents = {
Vue.component('ibizbookusr-grid-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue')); Vue.component('ibizbookusr-grid-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'));
Vue.component('ibizbookusr-grid-view-col-plugin', () => import('@pages/sample/ibizbookusr-grid-view-col-plugin/ibizbookusr-grid-view-col-plugin.vue')); Vue.component('ibizbookusr-grid-view-col-plugin', () => import('@pages/sample/ibizbookusr-grid-view-col-plugin/ibizbookusr-grid-view-col-plugin.vue'));
Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue')); Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue'));
Vue.component('ibizbookusr6-calendar-view', () => import('@pages/sample/ibizbookusr6-calendar-view/ibizbookusr6-calendar-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue')); Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue')); Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue')); Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
...@@ -2433,20 +2433,6 @@ const router = new Router({ ...@@ -2433,20 +2433,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue'), component: () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usr6calendarview/:usr6calendarview?',
meta: {
caption: 'entities.ibizbook.views.usr6calendarview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6calendarview', parameterName: 'usr6calendarview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-calendar-view/ibizbookusr6-calendar-view.vue'),
},
{ {
path: 'ibizappviews/:ibizappview?/gridview/:gridview?', path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: { meta: {
...@@ -4961,19 +4947,6 @@ const router = new Router({ ...@@ -4961,19 +4947,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'), component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr6calendarview/:usr6calendarview?',
meta: {
caption: 'entities.ibizbook.views.usr6calendarview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6calendarview', parameterName: 'usr6calendarview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-calendar-view/ibizbookusr6-calendar-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/wizardiwithstateview/:wizardiwithstateview?', path: '/ibizbooks/:ibizbook?/wizardiwithstateview/:wizardiwithstateview?',
meta: { meta: {
......
...@@ -1113,19 +1113,6 @@ const router = new Router({ ...@@ -1113,19 +1113,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'), component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr6calendarview/:usr6calendarview?',
meta: {
caption: 'entities.ibizbook.views.usr6calendarview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6calendarview', parameterName: 'usr6calendarview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-calendar-view/ibizbookusr6-calendar-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/wizardiwithstateview/:wizardiwithstateview?', path: '/ibizbooks/:ibizbook?/wizardiwithstateview/:wizardiwithstateview?',
meta: { meta: {
......
...@@ -809,16 +809,6 @@ export const viewstate: any = { ...@@ -809,16 +809,6 @@ export const viewstate: any = {
'e6b9fc2b5a23e89827909ccc050eb381', 'e6b9fc2b5a23e89827909ccc050eb381',
], ],
}, },
{
viewtag: '508e2461c49ad9175533bf925ea0267e',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr6CalendarView',
viewaction: '',
viewdatachange: false,
refviews: [
'58e37ccddda10feedac7c809d5cee02a',
],
},
{ {
viewtag: '517580eb2dc02c481b306635c52fb1a3', viewtag: '517580eb2dc02c481b306635c52fb1a3',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -1103,7 +1093,6 @@ export const viewstate: any = { ...@@ -1103,7 +1093,6 @@ export const viewstate: any = {
'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE', 'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE',
'611B670D-30A4-44D8-A0F7-DD1266265CD6', '611B670D-30A4-44D8-A0F7-DD1266265CD6',
'F7892096-9D26-49A7-A1E6-9D49CE5D60EA', 'F7892096-9D26-49A7-A1E6-9D49CE5D60EA',
'508e2461c49ad9175533bf925ea0267e',
], ],
}, },
{ {
......
...@@ -1041,9 +1041,6 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -1041,9 +1041,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1206570767': case 'UsrAppFunc1206570767':
this.clickUsrAppFunc1206570767(item); this.clickUsrAppFunc1206570767(item);
return; return;
case 'AppFunc135':
this.clickAppFunc135(item);
return;
default: default:
console.warn('未指定应用功能'); console.warn('未指定应用功能');
} }
...@@ -4824,29 +4821,6 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -4824,29 +4821,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 日历视图布局面板
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc135(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6calendarview', parameterName: 'usr6calendarview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/** /**
* 数据加载 * 数据加载
* *
......
...@@ -4744,26 +4744,6 @@ export default class MainMenuModel { ...@@ -4744,26 +4744,6 @@ export default class MainMenuModel {
cappslanguageres: '', cappslanguageres: '',
}, },
], ],
},
{
id: 'BE1AE004-BC3C-42C5-9817-6F67035F4A7C',
name: 'menuitem256',
text: '日历视图布局面板',
type: 'MENUITEM',
counterid: '',
tooltip: '日历视图布局面板',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc135',
resourcetag: '',
authtag:'Web-MainMenu-menuitem256',
cappslanguageres: '',
}, },
]; ];
...@@ -6735,18 +6715,6 @@ export default class MainMenuModel { ...@@ -6735,18 +6715,6 @@ export default class MainMenuModel {
{ pathName: 'usreditview_actionplugin', parameterName: 'usreditview_actionplugin' }, { pathName: 'usreditview_actionplugin', parameterName: 'usreditview_actionplugin' },
], ],
}, },
{
appfunctag: 'AppFunc135',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizbookusr6calendarview',
deResParameters: [],
routepath: '/index/:index?/ibizbooks/:ibizbook?/usr6calendarview/:usr6calendarview?',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6calendarview', parameterName: 'usr6calendarview' },
],
},
]; ];
/** /**
......
...@@ -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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase 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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode * @memberof Usr2DataViewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -40,6 +40,17 @@ export default class Usr2Model { ...@@ -40,6 +40,17 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -318,7 +318,7 @@ dataType="LONGTEXT" unitName="" :precision="0" ...@@ -318,7 +318,7 @@ dataType="LONGTEXT" unitName="" :precision="0"
:data="data" :data="data"
:disabled="detailsModel.formitem10.disabled" :disabled="detailsModel.formitem10.disabled"
style="'width': '400px',width:400px;" style="width:400px;"
startField="starttime" startField="starttime"
endField="endtime" endField="endtime"
@change="(name, val) => { data[name] = val }"> @change="(name, val) => { data[name] = val }">
...@@ -329,7 +329,16 @@ dataType="LONGTEXT" unitName="" :precision="0" ...@@ -329,7 +329,16 @@ dataType="LONGTEXT" unitName="" :precision="0"
</i-col> </i-col>
<i-col v-show="detailsModel.formitem14.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.formitem14.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem14' :itemRules="this.rules().formitem14" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem14')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem14.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='formitem14' :itemRules="this.rules().formitem14" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem14')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem14.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" :value="data.formitem14" :disabled="detailsModel.formitem14.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { data.formitem14 = val1 }"></date-picker> <app-date-range
:data="data"
type="date"
:disabled="detailsModel.formitem14.disabled"
style=""
startField="starttime"
endField="endtime"
@change="(name, val) => { data[name] = val }">
</app-date-range>
</app-form-item> </app-form-item>
......
...@@ -1363,19 +1363,19 @@ ...@@ -1363,19 +1363,19 @@
"detailType" : "FORMITEM", "detailType" : "FORMITEM",
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 130, "labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem14", "mOSFilePath" : "psdeformdetail_formitems/formitem14",
"name" : "formitem14", "name" : "formitem14",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSEditor" : { "getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss", "dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : { "editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss" "TIMEFMT" : "YYYY-MM-DD",
"endField" : "endtime",
"startField" : "starttime"
}, },
"editorType" : "DATEPICKER", "editorType" : "DATERANGE_NOTIME",
"editorWidth" : 160.0,
"name" : "formitem14" "name" : "formitem14"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
......
...@@ -846,6 +846,7 @@ ...@@ -846,6 +846,7 @@
"useDefaultLayout" : true "useDefaultLayout" : true
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr6CalendarView", "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr6CalendarView",
"refFlag" : false,
"title" : "图书日历视图", "title" : "图书日历视图",
"viewStyle" : "DEFAULT", "viewStyle" : "DEFAULT",
"viewType" : "DECALENDARVIEW", "viewType" : "DECALENDARVIEW",
......
...@@ -1492,19 +1492,19 @@ ...@@ -1492,19 +1492,19 @@
"detailType" : "FORMITEM", "detailType" : "FORMITEM",
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 130, "labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem14", "mOSFilePath" : "psdeformdetail_formitems/formitem14",
"name" : "formitem14", "name" : "formitem14",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSEditor" : { "getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss", "dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : { "editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss" "TIMEFMT" : "YYYY-MM-DD",
"endField" : "endtime",
"startField" : "starttime"
}, },
"editorType" : "DATEPICKER", "editorType" : "DATERANGE_NOTIME",
"editorWidth" : 160.0,
"name" : "formitem14" "name" : "formitem14"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
......
...@@ -5809,28 +5809,6 @@ ...@@ -5809,28 +5809,6 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "vue3插件测试" "tooltip" : "vue3插件测试"
}, {
"accUserMode" : 2,
"caption" : "日历视图布局面板",
"itemType" : "MENUITEM",
"name" : "menuitem256",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc135"
},
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "日历视图布局面板"
} ], } ],
"getPSControlHandler" : { "getPSControlHandler" : {
"enableDEFieldPrivilege" : false, "enableDEFieldPrivilege" : false,
......
...@@ -3000,16 +3000,6 @@ ...@@ -3000,16 +3000,6 @@
"tooltip" : "其他插件" "tooltip" : "其他插件"
} ], } ],
"tooltip" : "vue3插件测试" "tooltip" : "vue3插件测试"
}, {
"accUserMode" : 2,
"caption" : "日历视图布局面板",
"itemType" : "MENUITEM",
"name" : "menuitem256",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc135"
},
"tooltip" : "日历视图布局面板"
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappmenus/MainMenu", "rTMOSFilePath" : "pssysapps/Web/psappmenus/MainMenu",
"enableCustomize" : false, "enableCustomize" : false,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册