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

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

上级 e06a636f
......@@ -441,7 +441,6 @@ function getAppLocale(){
menuitem233: commonLogic.appcommonhandle("插件",null),
menuitem236: commonLogic.appcommonhandle("部件插件",null),
menuitem234: commonLogic.appcommonhandle("表格列插件",null),
menuitem238: commonLogic.appcommonhandle("界面行为插件",null),
menuitem235: commonLogic.appcommonhandle("视图样式插件",null),
menuitem237: commonLogic.appcommonhandle("表格模板插件(透视表)",null),
},
......
......@@ -441,7 +441,6 @@ function getAppLocale(){
menuitem233: commonLogic.appcommonhandle("插件",null),
menuitem236: commonLogic.appcommonhandle("部件插件",null),
menuitem234: commonLogic.appcommonhandle("表格列插件",null),
menuitem238: commonLogic.appcommonhandle("界面行为插件",null),
menuitem235: commonLogic.appcommonhandle("视图样式插件",null),
menuitem237: commonLogic.appcommonhandle("表格模板插件(透视表)",null),
},
......
......@@ -441,7 +441,6 @@ function getAppLocale(){
menuitem233: commonLogic.appcommonhandle("插件",null),
menuitem236: commonLogic.appcommonhandle("部件插件",null),
menuitem234: commonLogic.appcommonhandle("表格列插件",null),
menuitem238: commonLogic.appcommonhandle("界面行为插件",null),
menuitem235: commonLogic.appcommonhandle("视图样式插件",null),
menuitem237: commonLogic.appcommonhandle("表格模板插件(透视表)",null),
},
......
......@@ -3905,24 +3905,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'UsrAppFunc1121604971',
resourcetag: '',
},
{
id: 'C7C41DFD-C0DD-4987-8D6D-C3D6B6CA1504',
name: 'menuitem238',
text: '界面行为插件',
type: 'MENUITEM',
counterid: '',
tooltip: '界面行为插件',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc133',
resourcetag: '',
},
{
id: '2F072696-7B92-48AC-BBEB-DE787E463CBF',
......
......@@ -148,7 +148,6 @@ export const PageComponents = {
Vue.component('ibizbookcustom-view-layout', () => import('@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'));
Vue.component('ibizorder-ctrl-plugin-ex-grid-view', () => import('@pages/sample/ibizorder-ctrl-plugin-ex-grid-view/ibizorder-ctrl-plugin-ex-grid-view.vue'));
Vue.component('ibizorder-plugin-ex-grid-view', () => import('@pages/sample/ibizorder-plugin-ex-grid-view/ibizorder-plugin-ex-grid-view.vue'));
Vue.component('ibizorder-uiaction-plugin-grid-view', () => import('@pages/sample/ibizorder-uiaction-plugin-grid-view/ibizorder-uiaction-plugin-grid-view.vue'));
Vue.component('ibizorder-view-plugin-ex-grid-view', () => import('@pages/sample/ibizorder-view-plugin-ex-grid-view/ibizorder-view-plugin-ex-grid-view.vue'));
Vue.component('ibizorder-proivate-plugin-grid-view', () => import('@pages/sample/ibizorder-proivate-plugin-grid-view/ibizorder-proivate-plugin-grid-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
......
......@@ -2237,20 +2237,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-plugin-ex-grid-view/ibizorder-plugin-ex-grid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/uiactionplugingridview/:uiactionplugingridview?',
meta: {
caption: 'entities.ibizorder.views.uiactionplugingridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'uiactionplugingridview', parameterName: 'uiactionplugingridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-uiaction-plugin-grid-view/ibizorder-uiaction-plugin-grid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/viewpluginexgridview/:viewpluginexgridview?',
meta: {
......@@ -4522,19 +4508,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/uiactionplugingridview/:uiactionplugingridview?',
meta: {
caption: 'entities.ibizorder.views.uiactionplugingridview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'uiactionplugingridview', parameterName: 'uiactionplugingridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-uiaction-plugin-grid-view/ibizorder-uiaction-plugin-grid-view.vue'),
},
{
path: '/ibiztasks/:ibiztask?/usr2editview/:usr2editview?',
meta: {
......
......@@ -954,19 +954,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/uiactionplugingridview/:uiactionplugingridview?',
meta: {
caption: 'entities.ibizorder.views.uiactionplugingridview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'uiactionplugingridview', parameterName: 'uiactionplugingridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-uiaction-plugin-grid-view/ibizorder-uiaction-plugin-grid-view.vue'),
},
{
path: '/ibiztasks/:ibiztask?/usr2editview/:usr2editview?',
meta: {
......
......@@ -690,19 +690,6 @@ export const viewstate: any = {
'e6b9fc2b5a23e89827909ccc050eb381',
],
},
{
viewtag: '4B6D0001-7538-4FF8-9F0A-39821288D625',
viewmodule: 'Sample',
viewname: 'IBIZOrderUIActionPluginGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'bbfdcd8f2a068286f0431e509a6fbc97',
'd827fd85e8d9be1bb9348765c09cd465',
'56738595155756fd86c36e20af24f056',
'e6b9fc2b5a23e89827909ccc050eb381',
],
},
{
viewtag: '4de43dfcdded2a8e28f2e32a44fa1ebf',
viewmodule: 'Sample',
......@@ -1042,7 +1029,6 @@ export const viewstate: any = {
'fa2731c1873f3c86aa065e73cff4667b',
'6A0A394B-1B07-4CCE-8DBE-4A571FF09D8F',
'2E76797A-3404-4235-AAC0-1ADBB1930CC7',
'4B6D0001-7538-4FF8-9F0A-39821288D625',
'730EF6B2-038F-4AF2-86DF-E8455B0CBE75',
'8A41D051-1CDD-4050-9B28-822A20EA0D40',
],
......
......@@ -1100,9 +1100,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1121604971':
this.clickUsrAppFunc1121604971(item);
return;
case 'AppFunc133':
this.clickAppFunc133(item);
return;
case 'UsrAppFunc1121358484':
this.clickUsrAppFunc1121358484(item);
return;
......@@ -4564,29 +4561,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 界面行为插件示例
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc133(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'uiactionplugingridview', parameterName: 'uiactionplugingridview' },
];
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);
})
}
/**
* 样式插件(视图样式)
*
......
......@@ -4122,25 +4122,6 @@ export default class MainMenuModel {
appfunctag: 'UsrAppFunc1121604971',
resourcetag: '',
authtag:'Web-MainMenu-menuitem234',
},
{
id: 'C7C41DFD-C0DD-4987-8D6D-C3D6B6CA1504',
name: 'menuitem238',
text: '界面行为插件',
type: 'MENUITEM',
counterid: '',
tooltip: '界面行为插件',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc133',
resourcetag: '',
authtag:'Web-MainMenu-menuitem238',
},
{
id: '2F072696-7B92-48AC-BBEB-DE787E463CBF',
......@@ -5984,18 +5965,6 @@ export default class MainMenuModel {
{ pathName: 'pluginexgridview', parameterName: 'pluginexgridview' },
],
},
{
appfunctag: 'AppFunc133',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizorderuiactionplugingridview',
deResParameters: [],
routepath: '/index/:index?/ibizorders/:ibizorder?/uiactionplugingridview/:uiactionplugingridview?',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'uiactionplugingridview', parameterName: 'uiactionplugingridview' },
],
},
{
appfunctag: 'UsrAppFunc1121358484',
appfuncyype: 'APPVIEW',
......
......@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
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;
}
const arg: any = { ...opt };
......@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
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;
}
const arg: any = { ...opt } ;
......@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
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;
}
const arg: any = opt[0];
......
......@@ -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 } ;
......
......@@ -964,7 +964,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;
}
......@@ -1093,7 +1093,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;
}
......@@ -1207,7 +1207,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){
......@@ -2101,7 +2101,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);
......@@ -2110,7 +2110,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);
......@@ -2186,7 +2186,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;
}
......
......@@ -97,6 +97,7 @@ export default class MainModel {
name: 'ibizorderdetail',
prop: 'ibizorderdetailid',
},
{
name:'size',
prop:'size',
......
......@@ -21,21 +21,21 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -19,6 +19,16 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
......@@ -38,16 +48,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -44,21 +44,21 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -75,6 +75,16 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
......@@ -94,16 +104,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -4208,24 +4208,6 @@
"layout" : "TABLE_24COL"
},
"tooltip" : "表格列插件"
}, {
"accUserMode" : 2,
"caption" : "界面行为插件",
"itemType" : "MENUITEM",
"name" : "menuitem238",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc133"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "界面行为插件"
}, {
"accUserMode" : 2,
"caption" : "视图样式插件",
......
......@@ -2503,16 +2503,6 @@
"id" : "UsrAppFunc1121604971"
},
"tooltip" : "表格列插件"
}, {
"accUserMode" : 2,
"caption" : "界面行为插件",
"itemType" : "MENUITEM",
"name" : "menuitem238",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc133"
},
"tooltip" : "界面行为插件"
}, {
"accUserMode" : 2,
"caption" : "视图样式插件",
......
......@@ -19601,24 +19601,6 @@
"layout" : "TABLE_24COL"
},
"tooltip" : "表格列插件"
}, {
"accUserMode" : 2,
"caption" : "界面行为插件",
"itemType" : "MENUITEM",
"name" : "menuitem238",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc133"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "界面行为插件"
}, {
"accUserMode" : 2,
"caption" : "视图样式插件",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册