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

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

上级 743163b0
......@@ -233,8 +233,9 @@ function getAppLocale(){
appindexview: {
},
usr1207222915menu: {
menuitem1: commonLogic.appcommonhandle("分页导航",null),
menuitem3: commonLogic.appcommonhandle("右对齐菜单",null),
menuitem2: commonLogic.appcommonhandle("树视图",null),
menuitem1: commonLogic.appcommonhandle("分页导航",null),
},
mainmenu: {
menuitem1: commonLogic.appcommonhandle("工作台",null),
......
......@@ -233,8 +233,9 @@ function getAppLocale(){
appindexview: {
},
usr1207222915menu: {
menuitem1: commonLogic.appcommonhandle("分页导航",null),
menuitem3: commonLogic.appcommonhandle("右对齐菜单",null),
menuitem2: commonLogic.appcommonhandle("树视图",null),
menuitem1: commonLogic.appcommonhandle("分页导航",null),
},
mainmenu: {
menuitem1: commonLogic.appcommonhandle("Work bench",null),
......
......@@ -233,8 +233,9 @@ function getAppLocale(){
appindexview: {
},
usr1207222915menu: {
menuitem1: commonLogic.appcommonhandle("分页导航",null),
menuitem3: commonLogic.appcommonhandle("右对齐菜单",null),
menuitem2: commonLogic.appcommonhandle("树视图",null),
menuitem1: commonLogic.appcommonhandle("分页导航",null),
},
mainmenu: {
menuitem1: commonLogic.appcommonhandle("工作台",null),
......
......@@ -11,12 +11,12 @@ mock.onGet('v7/usr1207222915-menuappmenu').reply((config: any) => {
name: 'appmenu',
items: [
{
id: '264228BA-1985-418E-9E88-0C3DA4839288',
name: 'menuitem1',
text: '分页导航',
id: '79F0BE3F-6395-4006-8C8E-C16AD022FD0E',
name: 'menuitem3',
text: '右对齐菜单',
type: 'MENUITEM',
counterid: '',
tooltip: '分页导航',
tooltip: '右对齐菜单',
expanded: false,
separator: false,
hidden: false,
......@@ -25,11 +25,11 @@ mock.onGet('v7/usr1207222915-menuappmenu').reply((config: any) => {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto213',
appfunctag: '',
resourcetag: '',
},
items: [
{
id: 'BE1625C9-7061-4CF9-8EA3-73755588D765',
id: 'BEE2064F-1469-488E-9C34-745FDA9FDED7',
name: 'menuitem2',
text: '树视图',
type: 'MENUITEM',
......@@ -45,6 +45,26 @@ mock.onGet('v7/usr1207222915-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc91',
resourcetag: '',
},
{
id: '19D1CBF8-1DBA-40C9-ABC2-478F93B887B4',
name: 'menuitem1',
text: '分页导航',
type: 'MENUITEM',
counterid: '',
tooltip: '分页导航',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto213',
resourcetag: '',
},
],
},
],
}];
......
// 基于 @VIEW/应用首页视图/PAGEREGISTER.ts.ftl 生成
export const PageComponents = {
install(Vue: any, opt: any) {
Vue.component('ibizsample0003-stab-exp-view', () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'));
Vue.component('ibizbookusr2-tree-view', () => import('@pages/sample/ibizbookusr2-tree-view/ibizbookusr2-tree-view.vue'));
Vue.component('ibizsample0003-stab-exp-view', () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'));
Vue.component('ibizuniproduct-grid-view9', () => import('@pages/sample/ibizuniproduct-grid-view9/ibizuniproduct-grid-view9.vue'));
Vue.component('ibizhardware-grid-view9', () => import('@pages/sample/ibizhardware-grid-view9/ibizhardware-grid-view9.vue'));
Vue.component('ibizsoftware-suit-grid-view9', () => import('@pages/sample/ibizsoftware-suit-grid-view9/ibizsoftware-suit-grid-view9.vue'));
......
......@@ -36,32 +36,32 @@ const router = new Router({
component: () => import('@pages/sample/app-index-view2/app-index-view2.vue'),
children: [
{
path: 'ibizsample0003s/:ibizsample0003?/stabexpview/:stabexpview?',
path: 'ibizbooks/:ibizbook?/usr2treeview/:usr2treeview?',
meta: {
caption: 'entities.ibizsample0003.views.stabexpview.caption',
caption: 'entities.ibizbook.views.usr2treeview.caption',
info:'',
parameters: [
{ pathName: 'appindexview2', parameterName: 'appindexview2' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview', parameterName: 'stabexpview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2treeview', parameterName: 'usr2treeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'),
component: () => import('@pages/sample/ibizbookusr2-tree-view/ibizbookusr2-tree-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usr2treeview/:usr2treeview?',
path: 'ibizsample0003s/:ibizsample0003?/stabexpview/:stabexpview?',
meta: {
caption: 'entities.ibizbook.views.usr2treeview.caption',
caption: 'entities.ibizsample0003.views.stabexpview.caption',
info:'',
parameters: [
{ pathName: 'appindexview2', parameterName: 'appindexview2' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2treeview', parameterName: 'usr2treeview' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview', parameterName: 'stabexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr2-tree-view/ibizbookusr2-tree-view.vue'),
component: () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'),
},
{
path: 'ibizuniproducts/:ibizuniproduct?/gridview9/:gridview9?',
......
......@@ -309,8 +309,8 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'7d8f3c4529fab9a97c562a1d9d9b9a85',
'979100eb38d3859933d5e0b2c5931d00',
'7d8f3c4529fab9a97c562a1d9d9b9a85',
],
},
{
......
......@@ -569,12 +569,12 @@ export default class Usr1207222915MenuBase extends Vue implements ControlInterfa
navDataService.removeNavData(this.viewtag);
}
switch (item.appfunctag) {
case 'Auto213':
this.clickAuto213(item);
return;
case 'AppFunc91':
this.clickAppFunc91(item);
return;
case 'Auto213':
this.clickAuto213(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -584,18 +584,18 @@ export default class Usr1207222915MenuBase extends Vue implements ControlInterfa
/**
* 分页导航
* 实体树视图
*
* @param {*} [item={}]
* @memberof Usr1207222915Menu
*/
public clickAuto213(item: any = {}) {
public clickAppFunc91(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview', parameterName: 'stabexpview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2treeview', parameterName: 'usr2treeview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
......@@ -607,18 +607,18 @@ export default class Usr1207222915MenuBase extends Vue implements ControlInterfa
}
/**
* 实体树视图
* 分页导航
*
* @param {*} [item={}]
* @memberof Usr1207222915Menu
*/
public clickAppFunc91(item: any = {}) {
public clickAuto213(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr2treeview', parameterName: 'usr2treeview' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'stabexpview', parameterName: 'stabexpview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
......
......@@ -16,12 +16,12 @@ export default class Usr1207222915MenuModel {
*/
public items: any[] = [
{
id: '264228BA-1985-418E-9E88-0C3DA4839288',
name: 'menuitem1',
text: '分页导航',
id: '79F0BE3F-6395-4006-8C8E-C16AD022FD0E',
name: 'menuitem3',
text: '右对齐菜单',
type: 'MENUITEM',
counterid: '',
tooltip: '分页导航',
tooltip: '右对齐菜单',
expanded: false,
separator: false,
hidden: false,
......@@ -30,12 +30,12 @@ export default class Usr1207222915MenuModel {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto213',
appfunctag: '',
resourcetag: '',
authtag:'Web-Usr1207222915Menu-menuitem1',
},
authtag:'Web-Usr1207222915Menu-menuitem3',
items: [
{
id: 'BE1625C9-7061-4CF9-8EA3-73755588D765',
id: 'BEE2064F-1469-488E-9C34-745FDA9FDED7',
name: 'menuitem2',
text: '树视图',
type: 'MENUITEM',
......@@ -52,6 +52,27 @@ export default class Usr1207222915MenuModel {
appfunctag: 'AppFunc91',
resourcetag: '',
authtag:'Web-Usr1207222915Menu-menuitem2',
},
{
id: '19D1CBF8-1DBA-40C9-ABC2-478F93B887B4',
name: 'menuitem1',
text: '分页导航',
type: 'MENUITEM',
counterid: '',
tooltip: '分页导航',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto213',
resourcetag: '',
authtag:'Web-Usr1207222915Menu-menuitem1',
},
],
},
];
......
......@@ -46,11 +46,11 @@
<span class="quick-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
</div>
</span>
......@@ -61,18 +61,18 @@
<span class="batch-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip>
</div>
</span>
......@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase
* @memberof IBIZBOOKUsr4ListView_layoutBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -402,7 +402,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase
* @memberof IBIZBOOKUsr4ListView_layoutBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -428,7 +428,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase
* @memberof IBIZBOOKUsr4ListView_layoutBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -624,9 +624,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKListView
* @memberof IBIZBOOKUsr4ListView_layout
*/
public listviewlist_quicktoolbarModels: any = {
public usr4listview_layoutlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
};
......@@ -636,9 +636,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKListView
* @memberof IBIZBOOKUsr4ListView_layout
*/
public listviewlist_batchtoolbarModels: any = {
public usr4listview_layoutlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......@@ -861,7 +861,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -991,7 +991,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -1096,7 +1096,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -1104,7 +1104,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -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 } ;
......
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base 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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -916,7 +916,7 @@ export default class Usr4Base 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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,6 +70,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -601,7 +601,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -731,7 +731,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -836,7 +836,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -844,7 +844,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase
* @memberof IBIZOrderPickupGridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -462,20 +462,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/**
* 是否嵌入关系界面
......@@ -1010,7 +996,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1139,7 +1125,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1253,7 +1239,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2184,7 +2170,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2193,7 +2179,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2269,7 +2255,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -105,21 +105,6 @@ export default class MainModel {
prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -12,30 +12,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -71,6 +47,30 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -31,18 +31,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
......@@ -55,6 +43,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -42,30 +42,6 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -101,6 +77,30 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -99,18 +99,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
......@@ -123,6 +111,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -18,14 +18,19 @@
"logicName" : "应用首页视图菜单",
"mOSFilePath" : "psappmenus/Usr1207222915Menu",
"name" : "appmenu",
"getPSAppMenuItems" : [ {
"accUserMode" : 0,
"caption" : "右对齐菜单",
"itemType" : "MENUITEM",
"name" : "menuitem3",
"getPSAppMenuItems" : [ {
"accUserMode" : 2,
"caption" : "分页导航",
"caption" : "树视图",
"itemType" : "MENUITEM",
"name" : "menuitem1",
"name" : "menuitem2",
"getPSAppFunc" : {
"modelref" : true,
"id" : "Auto213"
"id" : "AppFunc91"
},
"getPSLayout" : {
"childColLG" : -1,
......@@ -39,15 +44,15 @@
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "分页导航"
"tooltip" : "树视图"
}, {
"accUserMode" : 2,
"caption" : "树视图",
"caption" : "分页导航",
"itemType" : "MENUITEM",
"name" : "menuitem2",
"name" : "menuitem1",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc91"
"id" : "Auto213"
},
"getPSLayout" : {
"childColLG" : -1,
......@@ -61,7 +66,21 @@
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "树视图"
"tooltip" : "分页导航"
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "右对齐菜单"
} ],
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
......
......@@ -4,26 +4,33 @@
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPMENUS/Usr1207222915Menu.json",
"logicName" : "应用首页视图菜单",
"mOSFilePath" : "psappmenus/Usr1207222915Menu",
"getPSAppMenuItems" : [ {
"accUserMode" : 0,
"caption" : "右对齐菜单",
"itemType" : "MENUITEM",
"name" : "menuitem3",
"getPSAppMenuItems" : [ {
"accUserMode" : 2,
"caption" : "分页导航",
"caption" : "树视图",
"itemType" : "MENUITEM",
"name" : "menuitem1",
"name" : "menuitem2",
"getPSAppFunc" : {
"modelref" : true,
"id" : "Auto213"
"id" : "AppFunc91"
},
"tooltip" : "分页导航"
"tooltip" : "树视图"
}, {
"accUserMode" : 2,
"caption" : "树视图",
"caption" : "分页导航",
"itemType" : "MENUITEM",
"name" : "menuitem2",
"name" : "menuitem1",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc91"
"id" : "Auto213"
},
"tooltip" : "树视图"
"tooltip" : "分页导航"
} ],
"tooltip" : "右对齐菜单"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappmenus/AppIndexView2",
"enableCustomize" : false,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册