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

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

上级 10423c67
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase 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 };
......@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase 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 } ;
......@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase 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});
......@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase 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 });
......@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase 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];
......
......@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode
* @memberof Usr2DataViewMode
*/
public getDataItems(): any[] {
return [
......@@ -40,6 +40,17 @@ export default class Usr2Model {
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -12,13 +12,13 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -48,25 +48,25 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"mOSFilePath" : "psdetreecols/press",
"name" : "press",
"rTMOSFilePath" : "psdetreecols/press",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"dataItemName" : "press",
"mOSFilePath" : "psdetreecols/press",
"name" : "press",
"rTMOSFilePath" : "psdetreecols/press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -31,18 +31,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
......@@ -55,6 +43,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -42,13 +42,13 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -78,25 +78,25 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"mOSFilePath" : "psdetreecols/press",
"name" : "press",
"rTMOSFilePath" : "psdetreecols/press",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/lendouttime",
"name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/lendouttime",
"dataItemName" : "press",
"mOSFilePath" : "psdetreecols/press",
"name" : "press",
"rTMOSFilePath" : "psdetreecols/press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -99,18 +99,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
......@@ -123,6 +111,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -5630,7 +5630,8 @@
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refTag" : "DEGRIDVIEW",
"templCode" : "<div>表格视图底部工具栏</div>"
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template #viewHeaderLeft>\r\n <div v-if=\"controller.model.showCaption && !noViewCaption\" class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"controller.model.caption\" :title=\"controller.model.title\" :capPSLanguageRes=\"controller.model.capPSLanguageRes\" :titlePSLanguageRes=\"controller.model.titlePSLanguageRes\"></AppCaptionBar>\r\n </div>\r\n </template>\r\n <template #viewHeaderRight>\r\n <div class=\"view-header__right__quicksearch\" v-show=\"!controller.store.expandSearchForm\">\r\n <AppQuickSearch @search=\"(searchValue:string) => handleQuickSearch(controller, searchValue)\" />\r\n </div>\r\n </template>\r\n <template #viewFooter>\r\n <div class=\"view-footer__toolbar\">\r\n <AppToolbar\r\n name=\"toolbar\"\r\n mode=\"gridViewBottomToolbar\"\r\n :items=\"controller.store.toolbarItems\"\r\n :loading=\"controller.store.loadingHelper.isLoading\"\r\n @item-click=\"(name: string, event: MouseEvent, logic: any) => { handleToolbarItemClick(controller, name, event, logic) }\">\r\n </AppToolbar>\r\n </div>\r\n </template>\r\n <template #viewContentTop>\r\n </template>\r\n <template #default>\r\n <MainGrid\r\n :actions=\"{\r\n loadDraftAction: 'GetDraft',\r\n createAction: 'Create',\r\n fetchAction: 'FetchDefault',\r\n removeAction: 'Remove',\r\n updateAction: 'Update'\r\n }\"\r\n :defaultEnableRowEdit=\"controller.model.enableRowEdit\"\r\n :openView=\"controller.store.openView\"\r\n :newView=\"controller.store.newView\"\r\n :rowActiveMode='controller.model.rowActiveMode'\r\n name=\"grid\"\r\n :context=\"controller.store.context\"\r\n :viewParams=\"controller.store.viewParams\"\r\n :closeView=\"controller.store.closeView\"\r\n :pLoadingHelper=\"controller.store.loadingHelper\"\r\n :pViewCtx=\"controller.store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"></MainGrid>\r\n </template>\r\n </AppViewLayout>",
"templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport { AppToolbar } from '@components/widgets/toolbar';\r\nimport MainGrid from '@widgets/ibizbook/main-grid/main-grid.vue';\r\nimport QUICKSEARCHFORMSearchForm from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';\r\nimport {\r\n\tuseNavParamsBind,\r\n\tuseEventBind,\r\n\tgetViewClassNames,\r\n \thandleQuickSearch,\r\n \thandleToolbarItemClick,\r\n\thandleCtrlAction,\r\n\thandleCtrlInit,\r\n\thandleCtrlDestroy,\r\n} from \"@/hooks/use-view\";\r\nimport { GridViewActionType, GridViewController, IGridViewAbility, IGridViewController, IGridViewControllerParams, IGridViewStore, IParam, IContext, ILoadingHelper, LoadingHelper, IEvent } from \"@/core\";\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IGridViewController<IGridViewStore, IGridViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});"
}, {
"name" : "表格(透视表)",
"getPSSysPFPlugin" : {
......@@ -289,7 +289,8 @@
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refTag" : "DEGRIDVIEW",
"templCode" : "<div>表格视图底部工具栏</div>"
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template #viewHeaderLeft>\r\n <div v-if=\"controller.model.showCaption && !noViewCaption\" class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"controller.model.caption\" :title=\"controller.model.title\" :capPSLanguageRes=\"controller.model.capPSLanguageRes\" :titlePSLanguageRes=\"controller.model.titlePSLanguageRes\"></AppCaptionBar>\r\n </div>\r\n </template>\r\n <template #viewHeaderRight>\r\n <div class=\"view-header__right__quicksearch\" v-show=\"!controller.store.expandSearchForm\">\r\n <AppQuickSearch @search=\"(searchValue:string) => handleQuickSearch(controller, searchValue)\" />\r\n </div>\r\n </template>\r\n <template #viewFooter>\r\n <div class=\"view-footer__toolbar\">\r\n <AppToolbar\r\n name=\"toolbar\"\r\n mode=\"gridViewBottomToolbar\"\r\n :items=\"controller.store.toolbarItems\"\r\n :loading=\"controller.store.loadingHelper.isLoading\"\r\n @item-click=\"(name: string, event: MouseEvent, logic: any) => { handleToolbarItemClick(controller, name, event, logic) }\">\r\n </AppToolbar>\r\n </div>\r\n </template>\r\n <template #viewContentTop>\r\n </template>\r\n <template #default>\r\n <MainGrid\r\n :actions=\"{\r\n loadDraftAction: 'GetDraft',\r\n createAction: 'Create',\r\n fetchAction: 'FetchDefault',\r\n removeAction: 'Remove',\r\n updateAction: 'Update'\r\n }\"\r\n :defaultEnableRowEdit=\"controller.model.enableRowEdit\"\r\n :openView=\"controller.store.openView\"\r\n :newView=\"controller.store.newView\"\r\n :rowActiveMode='controller.model.rowActiveMode'\r\n name=\"grid\"\r\n :context=\"controller.store.context\"\r\n :viewParams=\"controller.store.viewParams\"\r\n :closeView=\"controller.store.closeView\"\r\n :pLoadingHelper=\"controller.store.loadingHelper\"\r\n :pViewCtx=\"controller.store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"></MainGrid>\r\n </template>\r\n </AppViewLayout>",
"templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport { AppToolbar } from '@components/widgets/toolbar';\r\nimport MainGrid from '@widgets/ibizbook/main-grid/main-grid.vue';\r\nimport QUICKSEARCHFORMSearchForm from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';\r\nimport {\r\n\tuseNavParamsBind,\r\n\tuseEventBind,\r\n\tgetViewClassNames,\r\n \thandleQuickSearch,\r\n \thandleToolbarItemClick,\r\n\thandleCtrlAction,\r\n\thandleCtrlInit,\r\n\thandleCtrlDestroy,\r\n} from \"@/hooks/use-view\";\r\nimport { GridViewActionType, GridViewController, IGridViewAbility, IGridViewController, IGridViewControllerParams, IGridViewStore, IParam, IContext, ILoadingHelper, LoadingHelper, IEvent } from \"@/core\";\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IGridViewController<IGridViewStore, IGridViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});"
}, {
"name" : "表格(透视表)",
"getPSSysPFPlugin" : {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册