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

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

上级 9ce1e12a
...@@ -1399,6 +1399,14 @@ ...@@ -1399,6 +1399,14 @@
"viewname": "IBIZOrderDetailListView", "viewname": "IBIZOrderDetailListView",
"viewtag": "8f04b48c970ed3c24154be374d6a023f" "viewtag": "8f04b48c970ed3c24154be374d6a023f"
}, },
"ibizbookusr6listview": {
"title": "图书列表视图",
"caption": "图书",
"viewtype": "DELISTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr6ListView",
"viewtag": "8f0dfc041422a40f4038eaf24f34a2a0"
},
"ibizsample0018gridview": { "ibizsample0018gridview": {
"title": "示例实体04表格视图", "title": "示例实体04表格视图",
"caption": "示例实体18", "caption": "示例实体18",
......
...@@ -377,6 +377,7 @@ function getAppLocale(){ ...@@ -377,6 +377,7 @@ function getAppLocale(){
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem205: commonLogic.appcommonhandle("项布局面板布局",null), menuitem205: commonLogic.appcommonhandle("项布局面板布局",null),
menuitem142: commonLogic.appcommonhandle("视图布局面板测试",null), menuitem142: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem189: commonLogic.appcommonhandle("项布局面板测试",null),
menuitem213: commonLogic.appcommonhandle("按钮测试",null), menuitem213: commonLogic.appcommonhandle("按钮测试",null),
menuitem190: commonLogic.appcommonhandle("视图",null), menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null), menuitem191: commonLogic.appcommonhandle("单数据视图",null),
......
...@@ -377,6 +377,7 @@ function getAppLocale(){ ...@@ -377,6 +377,7 @@ function getAppLocale(){
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem205: commonLogic.appcommonhandle("项布局面板布局",null), menuitem205: commonLogic.appcommonhandle("项布局面板布局",null),
menuitem142: commonLogic.appcommonhandle("视图布局面板测试",null), menuitem142: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem189: commonLogic.appcommonhandle("项布局面板测试",null),
menuitem213: commonLogic.appcommonhandle("按钮测试",null), menuitem213: commonLogic.appcommonhandle("按钮测试",null),
menuitem190: commonLogic.appcommonhandle("视图",null), menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null), menuitem191: commonLogic.appcommonhandle("单数据视图",null),
......
...@@ -377,6 +377,7 @@ function getAppLocale(){ ...@@ -377,6 +377,7 @@ function getAppLocale(){
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem205: commonLogic.appcommonhandle("项布局面板布局",null), menuitem205: commonLogic.appcommonhandle("项布局面板布局",null),
menuitem142: commonLogic.appcommonhandle("视图布局面板测试",null), menuitem142: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem189: commonLogic.appcommonhandle("项布局面板测试",null),
menuitem213: commonLogic.appcommonhandle("按钮测试",null), menuitem213: commonLogic.appcommonhandle("按钮测试",null),
menuitem190: commonLogic.appcommonhandle("视图",null), menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null), menuitem191: commonLogic.appcommonhandle("单数据视图",null),
......
...@@ -194,6 +194,10 @@ function getLocaleResourceBase(){ ...@@ -194,6 +194,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书看板视图(代码表分组)",null), title: commonLogic.appcommonhandle("图书看板视图(代码表分组)",null),
}, },
usr6listview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图",null),
},
exportandimportgridview: { exportandimportgridview: {
caption: commonLogic.appcommonhandle("数据导入导出",null), caption: commonLogic.appcommonhandle("数据导入导出",null),
title: commonLogic.appcommonhandle("图书表格视图(数据导入导出)",null), title: commonLogic.appcommonhandle("图书表格视图(数据导入导出)",null),
...@@ -874,6 +878,11 @@ function getLocaleResourceBase(){ ...@@ -874,6 +878,11 @@ function getLocaleResourceBase(){
remove: commonLogic.appcommonhandle("删除",null), remove: commonLogic.appcommonhandle("删除",null),
}, },
}, },
testlist_list: {
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
listpanel_list: { listpanel_list: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
uiactions: { uiactions: {
...@@ -1969,6 +1978,8 @@ function getLocaleResourceBase(){ ...@@ -1969,6 +1978,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null), tip: commonLogic.appcommonhandle("数据导入",null),
}, },
}, },
usr6listviewtoolbar_toolbar: {
},
listviewtoolbar_toolbar: { listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -194,6 +194,10 @@ function getLocaleResourceBase(){ ...@@ -194,6 +194,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Code Table Grouping",null), caption: commonLogic.appcommonhandle("Code Table Grouping",null),
title: commonLogic.appcommonhandle("图书看板视图(代码表分组)",null), title: commonLogic.appcommonhandle("图书看板视图(代码表分组)",null),
}, },
usr6listview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图",null),
},
exportandimportgridview: { exportandimportgridview: {
caption: commonLogic.appcommonhandle("Data Import And Export",null), caption: commonLogic.appcommonhandle("Data Import And Export",null),
title: commonLogic.appcommonhandle("图书表格视图(数据导入导出)",null), title: commonLogic.appcommonhandle("图书表格视图(数据导入导出)",null),
...@@ -874,6 +878,11 @@ function getLocaleResourceBase(){ ...@@ -874,6 +878,11 @@ function getLocaleResourceBase(){
remove: commonLogic.appcommonhandle("Remove",null), remove: commonLogic.appcommonhandle("Remove",null),
}, },
}, },
testlist_list: {
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
listpanel_list: { listpanel_list: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
uiactions: { uiactions: {
...@@ -1969,6 +1978,8 @@ function getLocaleResourceBase(){ ...@@ -1969,6 +1978,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null), tip: commonLogic.appcommonhandle("数据导入",null),
}, },
}, },
usr6listviewtoolbar_toolbar: {
},
listviewtoolbar_toolbar: { listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
......
...@@ -194,6 +194,10 @@ function getLocaleResourceBase(){ ...@@ -194,6 +194,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null), caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书看板视图(代码表分组)",null), title: commonLogic.appcommonhandle("图书看板视图(代码表分组)",null),
}, },
usr6listview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图",null),
},
exportandimportgridview: { exportandimportgridview: {
caption: commonLogic.appcommonhandle("数据导入导出",null), caption: commonLogic.appcommonhandle("数据导入导出",null),
title: commonLogic.appcommonhandle("图书表格视图(数据导入导出)",null), title: commonLogic.appcommonhandle("图书表格视图(数据导入导出)",null),
...@@ -874,6 +878,11 @@ function getLocaleResourceBase(){ ...@@ -874,6 +878,11 @@ function getLocaleResourceBase(){
remove: commonLogic.appcommonhandle("删除",null), remove: commonLogic.appcommonhandle("删除",null),
}, },
}, },
testlist_list: {
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
listpanel_list: { listpanel_list: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
uiactions: { uiactions: {
...@@ -1969,6 +1978,8 @@ function getLocaleResourceBase(){ ...@@ -1969,6 +1978,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null), tip: commonLogic.appcommonhandle("数据导入",null),
}, },
}, },
usr6listviewtoolbar_toolbar: {
},
listviewtoolbar_toolbar: { listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -3097,6 +3097,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -3097,6 +3097,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'AppFunc128', appfunctag: 'AppFunc128',
resourcetag: '', resourcetag: '',
},
{
id: '1168A4C6-9BD9-448C-945B-F164EC3F6763',
name: 'menuitem189',
text: '项布局面板测试',
type: 'MENUITEM',
counterid: '',
tooltip: '项布局面板测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc129',
resourcetag: '',
}, },
{ {
id: '9ED30E38-7D9C-47FC-B35E-71C822AAEC3E', id: '9ED30E38-7D9C-47FC-B35E-71C822AAEC3E',
......
...@@ -1407,6 +1407,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1407,6 +1407,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderDetailListView", "viewname": "IBIZOrderDetailListView",
"viewtag": "8f04b48c970ed3c24154be374d6a023f" "viewtag": "8f04b48c970ed3c24154be374d6a023f"
}, },
"ibizbookusr6listview": {
"title": "图书列表视图",
"caption": "图书",
"viewtype": "DELISTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr6ListView",
"viewtag": "8f0dfc041422a40f4038eaf24f34a2a0"
},
"ibizsample0018gridview": { "ibizsample0018gridview": {
"title": "示例实体04表格视图", "title": "示例实体04表格视图",
"caption": "示例实体18", "caption": "示例实体18",
......
.ibizbookusr6-list-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr6ListViewBase from './ibizbookusr6-list-view-base.vue';
import view_searchform from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';
import view_list from '@widgets/ibizbook/test-list-list/test-list-list.vue';
@Component({
components: {
view_searchform,
view_list,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZBOOKUsr6ListView extends IBIZBOOKUsr6ListViewBase {
}
</script>
\ No newline at end of file
...@@ -113,6 +113,7 @@ export const PageComponents = { ...@@ -113,6 +113,7 @@ export const PageComponents = {
Vue.component('ibizorder-test-custom-layout-panel-grid-exp-view', () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue')); Vue.component('ibizorder-test-custom-layout-panel-grid-exp-view', () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'));
Vue.component('ibizbookusr5-list-view', () => import('@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue')); Vue.component('ibizbookusr5-list-view', () => import('@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue'));
Vue.component('ibizbookusr2-custom-view', () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue')); Vue.component('ibizbookusr2-custom-view', () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'));
Vue.component('ibizbookusr6-list-view', () => import('@pages/sample/ibizbookusr6-list-view/ibizbookusr6-list-view.vue'));
Vue.component('ibizcustomer-usr3-edit-view', () => import('@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue')); Vue.component('ibizcustomer-usr3-edit-view', () => import('@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'));
Vue.component('ibizbookwizard-view-layout', () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue')); Vue.component('ibizbookwizard-view-layout', () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'));
Vue.component('ibizbookinter-func-edit-view-layout', () => import('@pages/sample/ibizbookinter-func-edit-view-layout/ibizbookinter-func-edit-view-layout.vue')); Vue.component('ibizbookinter-func-edit-view-layout', () => import('@pages/sample/ibizbookinter-func-edit-view-layout/ibizbookinter-func-edit-view-layout.vue'));
......
...@@ -1748,6 +1748,20 @@ const router = new Router({ ...@@ -1748,6 +1748,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'), component: () => import('@pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usr6listview/:usr6listview?',
meta: {
caption: 'entities.ibizbook.views.usr6listview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6listview', parameterName: 'usr6listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-list-view/ibizbookusr6-list-view.vue'),
},
{ {
path: 'ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?', path: 'ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?',
meta: { meta: {
...@@ -5218,6 +5232,19 @@ const router = new Router({ ...@@ -5218,6 +5232,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.vue'), component: () => import('@pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr6listview/:usr6listview?',
meta: {
caption: 'entities.ibizbook.views.usr6listview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6listview', parameterName: 'usr6listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-list-view/ibizbookusr6-list-view.vue'),
},
{ {
path: '/ibizsample0018s/:ibizsample0018?/gridview/:gridview?', path: '/ibizsample0018s/:ibizsample0018?/gridview/:gridview?',
meta: { meta: {
......
...@@ -1858,6 +1858,19 @@ const router = new Router({ ...@@ -1858,6 +1858,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.vue'), component: () => import('@pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr6listview/:usr6listview?',
meta: {
caption: 'entities.ibizbook.views.usr6listview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6listview', parameterName: 'usr6listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr6-list-view/ibizbookusr6-list-view.vue'),
},
{ {
path: '/ibizsample0018s/:ibizsample0018?/gridview/:gridview?', path: '/ibizsample0018s/:ibizsample0018?/gridview/:gridview?',
meta: { meta: {
......
...@@ -933,6 +933,7 @@ export const viewstate: any = { ...@@ -933,6 +933,7 @@ export const viewstate: any = {
'2D42F3B7-3267-4276-9120-10F2D81E35AF', '2D42F3B7-3267-4276-9120-10F2D81E35AF',
'c680bdc2306ff1ea39102917225bdade', 'c680bdc2306ff1ea39102917225bdade',
'cd8668cf71ef2c2a33882869195d41df', 'cd8668cf71ef2c2a33882869195d41df',
'8f0dfc041422a40f4038eaf24f34a2a0',
'89f50fe0180852e47ffbb486cdfaf305', '89f50fe0180852e47ffbb486cdfaf305',
'ca90f2d89734ba48161642abc9d2cbbd', 'ca90f2d89734ba48161642abc9d2cbbd',
'6c9e2f980d5916949d3b16944f887a4b', '6c9e2f980d5916949d3b16944f887a4b',
...@@ -1486,6 +1487,16 @@ export const viewstate: any = { ...@@ -1486,6 +1487,16 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '8f0dfc041422a40f4038eaf24f34a2a0',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr6ListView',
viewaction: '',
viewdatachange: false,
refviews: [
'58e37ccddda10feedac7c809d5cee02a',
],
},
{ {
viewtag: '8f5b91d3cdee485d7b826249fed986da', viewtag: '8f5b91d3cdee485d7b826249fed986da',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -144,6 +144,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -144,6 +144,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'usr2meditview9_layout',srfappde:'ibizbooks',component:'ibizbookusr2-medit-view9-layout'}); this.allViewMap.set(':',{viewname:'usr2meditview9_layout',srfappde:'ibizbooks',component:'ibizbookusr2-medit-view9-layout'});
this.allViewMap.set(':',{viewname:'usr3editview',srfappde:'ibizbooks',component:'ibizbookusr3-edit-view'}); this.allViewMap.set(':',{viewname:'usr3editview',srfappde:'ibizbooks',component:'ibizbookusr3-edit-view'});
this.allViewMap.set(':',{viewname:'groupbycodelistkanbanview',srfappde:'ibizbooks',component:'ibizbookgroup-by-codelist-kan-ban-view'}); this.allViewMap.set(':',{viewname:'groupbycodelistkanbanview',srfappde:'ibizbooks',component:'ibizbookgroup-by-codelist-kan-ban-view'});
this.allViewMap.set(':',{viewname:'usr6listview',srfappde:'ibizbooks',component:'ibizbookusr6-list-view'});
this.allViewMap.set(':',{viewname:'exportandimportgridview',srfappde:'ibizbooks',component:'ibizbookexport-and-import-grid-view'}); this.allViewMap.set(':',{viewname:'exportandimportgridview',srfappde:'ibizbooks',component:'ibizbookexport-and-import-grid-view'});
this.allViewMap.set(':',{viewname:'autogrouplistview',srfappde:'ibizbooks',component:'ibizbookauto-group-list-view'}); this.allViewMap.set(':',{viewname:'autogrouplistview',srfappde:'ibizbooks',component:'ibizbookauto-group-list-view'});
this.allViewMap.set(':',{viewname:'usr3listview',srfappde:'ibizbooks',component:'ibizbookusr3-list-view'}); this.allViewMap.set(':',{viewname:'usr3listview',srfappde:'ibizbooks',component:'ibizbookusr3-list-view'});
......
...@@ -991,6 +991,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -991,6 +991,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc128': case 'AppFunc128':
this.clickAppFunc128(item); this.clickAppFunc128(item);
return; return;
case 'AppFunc129':
this.clickAppFunc129(item);
return;
case 'AppFunc126': case 'AppFunc126':
this.clickAppFunc126(item); this.clickAppFunc126(item);
return; return;
...@@ -3726,6 +3729,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -3726,6 +3729,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 项布局面板测试
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc129(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6listview', parameterName: 'usr6listview' },
];
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);
})
}
/** /**
* 按钮测试 * 按钮测试
* *
......
...@@ -3269,6 +3269,25 @@ export default class MainMenuModel { ...@@ -3269,6 +3269,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc128', appfunctag: 'AppFunc128',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem142', authtag:'Web-MainMenu-menuitem142',
},
{
id: '1168A4C6-9BD9-448C-945B-F164EC3F6763',
name: 'menuitem189',
text: '项布局面板测试',
type: 'MENUITEM',
counterid: '',
tooltip: '项布局面板测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc129',
resourcetag: '',
authtag:'Web-MainMenu-menuitem189',
}, },
{ {
id: '9ED30E38-7D9C-47FC-B35E-71C822AAEC3E', id: '9ED30E38-7D9C-47FC-B35E-71C822AAEC3E',
...@@ -5372,6 +5391,18 @@ export default class MainMenuModel { ...@@ -5372,6 +5391,18 @@ export default class MainMenuModel {
{ pathName: 'usr2customview', parameterName: 'usr2customview' }, { pathName: 'usr2customview', parameterName: 'usr2customview' },
], ],
}, },
{
appfunctag: 'AppFunc129',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizbookusr6listview',
deResParameters: [],
routepath: '/index/:index?/ibizbooks/:ibizbook?/usr6listview/:usr6listview?',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr6listview', parameterName: 'usr6listview' },
],
},
{ {
appfunctag: 'AppFunc126', appfunctag: 'AppFunc126',
appfuncyype: 'APPVIEW', appfuncyype: 'APPVIEW',
......
...@@ -638,7 +638,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -638,7 +638,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -674,7 +674,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -674,7 +674,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -711,7 +711,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: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -747,7 +747,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -747,7 +747,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: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -840,15 +840,6 @@ export default class MajorStateDataBase extends Vue implements ControlInterface ...@@ -840,15 +840,6 @@ export default class MajorStateDataBase extends Vue implements ControlInterface
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
/**
* TestList 部件模型
*
* @export
* @class TestListModel
*/
export default class TestListModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TestListListMode
*/
public getDataItems(): any[] {
return [
{
name: 'type',
prop: 'type',
dataType: 'TEXT',
codelist:{tag:'BookType',codelistType:'STATIC'},
},
{
name: 'srfkey',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'srfmstag',
},
{
name: 'ibizbook',
prop: 'ibizbookid',
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name:'size',
prop:'size'
},
{
name:'query',
prop:'query'
},
{
name:'sort',
prop:'sort'
},
{
name:'page',
prop:'page'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZBOOKService from '@/service/ibizbook/ibizbook-service';
import TestListModel from './test-list-list-model';
/**
* TestList 部件服务对象
*
* @export
* @class TestListService
*/
export default class TestListService extends ControlService {
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof TestListService
*/
public appEntityService: IBIZBOOKService = new IBIZBOOKService();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof TestListService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of TestListService.
*
* @param {*} [opts={}]
* @memberof TestListService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new TestListModel();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TestListService
*/
@Errorlog
public search(action: string, context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
const {data:Data,context:Context} = this.handleRequestData(action,context,data,true);
return new Promise((resolve: any, reject: any) => {
const _appEntityService: any = this.appEntityService;
let result: Promise<any>;
if (_appEntityService[action] && _appEntityService[action] instanceof Function) {
result = _appEntityService[action](Context,Data, isloading);
}else{
result =_appEntityService.FetchDefault(Context,Data, isloading);
}
result.then(async (response) => {
await this.handleResponse(action, response);
resolve(response);
}).catch(response => {
reject(response);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TestListService
*/
@Errorlog
public delete(action: string, context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
const {data:Data,context:Context} = this.handleRequestData(action,context,data,true);
return new Promise((resolve: any, reject: any) => {
const _appEntityService: any = this.appEntityService;
let result: Promise<any>;
if (_appEntityService[action] && _appEntityService[action] instanceof Function) {
result = _appEntityService[action](Context,Data, isloading);
}else{
result =_appEntityService.remove(Context,Data , isloading);
}
result.then((response) => {
this.handleResponse(action, response);
resolve(response);
}).catch(response => {
reject(response);
});
});
}
/**
* 添加数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TestListService
*/
@Errorlog
public add(action: string, context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
const {data:Data,context:Context} = this.handleRequestData(action,context,data,true);
return new Promise((resolve: any, reject: any) => {
const _appEntityService: any = this.appEntityService;
let result: Promise<any>;
if (_appEntityService[action] && _appEntityService[action] instanceof Function) {
result = _appEntityService[action](Context,Data, isloading);
}else{
result =_appEntityService.Create(Context,Data, isloading);
}
result.then((response) => {
this.handleResponse(action, response);
resolve(response);
}).catch(response => {
reject(response);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TestListService
*/
@Errorlog
public update(action: string, context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
const {data:Data,context:Context} = this.handleRequestData(action,context,data,true);
return new Promise((resolve: any, reject: any) => {
const _appEntityService: any = this.appEntityService;
let result: Promise<any>;
if (_appEntityService[action] && _appEntityService[action] instanceof Function) {
result = _appEntityService[action](Context,Data,isloading);
}else{
result =_appEntityService.Update(Context,Data,isloading);
}
result.then((response) => {
this.handleResponse(action, response);
resolve(response);
}).catch(response => {
reject(response);
});
});
}
}
\ No newline at end of file
// this is less
.app-list {
height:100%;
flex-grow: 1;
overflow-y: auto;
.el-collapse-item__header.is-active{
color: #409eff;
background-color: #ecf5ff;
}
.el-collapse{
.el-collapse-item{
.el-collapse-item__wrap{
.el-collapse-item__content{
padding: 10px 0 10px 0;
}
}
}
}
.app-list-item {
line-height: 34px;
padding: 12px 6px;
min-height: 24px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #f0f0f0;
.app-list-item-content {
width: 70%;
display: flex;
align-items: center;
.item-icon {
width: 40px;
height: 40px;
margin-right: 14px;
img {
width: 40px;
height: 40px;
border-radius: 50%;
}
}
.item-content-text {
display: flex;
flex-direction: column;
width: 80%;
.item-title {
font-size: 18px;
font-weight: bold;
}
.item-description{
height: 34px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.item-subtext {
color: #8c8c8c;
}
}
}
.app-list-item-date {
position: relative;
color: #8c8c8c;
}
}
.app-list-item.isSelect {
background: #ecf5ff;
border-radius: 2px;
border-color: rgb(197, 197, 197);
}
.app-list-item:hover {
background: #ecf5ff;
}
.loadmore {
text-align: center;
padding: 10px;
text-decoration: underline;
color: #82bff7;
cursor: default;
}
}
.app-list-empty {
height:100%;
color: #909399;
display: flex;
justify-content: center;
align-items: center;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TestListBase from './test-list-list-base.vue';
import layout_list_itempanel from '@widgets/ibizbook/test-list-panel/test-list-panel.vue';
@Component({
components: {
layout_list_itempanel,
}
})
export default class TestList extends TestListBase {
}
</script>
\ No newline at end of file
/**
* TestList 部件模型
*
* @export
* @class TestListModel
*/
export default class TestListModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TestListModel
*/
public getDataItems(): any[] {
return [
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* TestList 部件服务对象
*
* @export
* @class TestListService
*/
export default class TestListService extends ControlService {
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TestListBase from './test-list-panel-base.vue';
@Component({
components: {
}
})
export default class TestList extends TestListBase {
}
</script>
\ No newline at end of file
...@@ -1081,15 +1081,6 @@ export default class UsrBase extends Vue implements ControlInterface { ...@@ -1081,15 +1081,6 @@ export default class UsrBase extends Vue implements ControlInterface {
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
...@@ -1118,15 +1118,6 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1118,15 +1118,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
...@@ -904,15 +904,6 @@ export default class Usr3Base extends Vue implements ControlInterface { ...@@ -904,15 +904,6 @@ export default class Usr3Base extends Vue implements ControlInterface {
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
...@@ -780,15 +780,6 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -780,15 +780,6 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
...@@ -879,15 +879,6 @@ export default class Usr5Base extends Vue implements ControlInterface { ...@@ -879,15 +879,6 @@ export default class Usr5Base extends Vue implements ControlInterface {
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
...@@ -764,15 +764,6 @@ export default class IndexTypeBase extends Vue implements ControlInterface { ...@@ -764,15 +764,6 @@ export default class IndexTypeBase extends Vue implements ControlInterface {
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
...@@ -818,15 +818,6 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -818,15 +818,6 @@ export default class CardNavigationBase extends Vue implements ControlInterface
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
...@@ -318,7 +318,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -318,7 +318,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase * @memberof IBIZOrderPickupGridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -461,20 +461,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -461,20 +461,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -1009,7 +995,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1009,7 +995,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1138,7 +1124,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1138,7 +1124,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1252,7 +1238,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1252,7 +1238,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
if(!arg){ if(!arg){
...@@ -2183,7 +2169,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2183,7 +2169,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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 { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2192,7 +2178,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2192,7 +2178,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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 { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2268,7 +2254,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2268,7 +2254,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -104,21 +104,6 @@ export default class MainModel { ...@@ -104,21 +104,6 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' 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', name:'size',
......
...@@ -764,15 +764,6 @@ export default class IndexTypeBase extends Vue implements ControlInterface { ...@@ -764,15 +764,6 @@ export default class IndexTypeBase extends Vue implements ControlInterface {
} }
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
} }
const post: Promise<any> =
post.then((response: any) => {
}, (response: any) => {
if (response && response.status === 401) {
return;
}
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data && response.data.message ? response.data.message : "" });
});
} }
/** /**
......
...@@ -4299,6 +4299,12 @@ ...@@ -4299,6 +4299,12 @@
"name" : "图书实体树视图(树表格)", "name" : "图书实体树视图(树表格)",
"realModelSubType" : "DETREEVIEW", "realModelSubType" : "DETREEVIEW",
"realModelType" : "PSDEVIEWBASE" "realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr6ListView",
"logicName" : "图书实体列表视图(项布局面板)",
"name" : "图书实体列表视图(项布局面板)",
"realModelSubType" : "DELISTVIEW",
"realModelType" : "PSDEVIEWBASE"
}, { }, {
"codeName" : "Usr2CalendarView", "codeName" : "Usr2CalendarView",
"logicName" : "图书实体日历视图(时间轴)", "logicName" : "图书实体日历视图(时间轴)",
......
{
"codeName" : "TestList",
"controlType" : "LIST",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/TestList.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"codeName" : "TestList",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项布局面板项布局面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"name" : "list_itempanel",
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "testList",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "list",
"logicType" : "APPVIEWENGINE",
"name" : "engine_list",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "srfmstag"
} ],
"pagingSize" : 1000,
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"hasWFDataItems" : false,
"enableGroup" : false,
"enableRowEdit" : false,
"enableRowEditGroup" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"noSort" : false,
"showHeader" : true,
"modelid" : "62CC847C-E448-43B1-A273-FDC75C1E6222",
"modeltype" : "PSDELIST"
}
\ No newline at end of file
{
"codeName" : "TestList",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "项布局面板项布局面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL"
}
\ No newline at end of file
...@@ -3725,6 +3725,24 @@ ...@@ -3725,6 +3725,24 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "视图布局面板测试" "tooltip" : "视图布局面板测试"
}, {
"accUserMode" : 2,
"caption" : "项布局面板测试",
"itemType" : "MENUITEM",
"name" : "menuitem189",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc129"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "项布局面板测试"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "按钮测试", "caption" : "按钮测试",
......
...@@ -2083,6 +2083,16 @@ ...@@ -2083,6 +2083,16 @@
"id" : "AppFunc128" "id" : "AppFunc128"
}, },
"tooltip" : "视图布局面板测试" "tooltip" : "视图布局面板测试"
}, {
"accUserMode" : 2,
"caption" : "项布局面板测试",
"itemType" : "MENUITEM",
"name" : "menuitem189",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc129"
},
"tooltip" : "项布局面板测试"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "按钮测试", "caption" : "按钮测试",
......
...@@ -3199,6 +3199,16 @@ ...@@ -3199,6 +3199,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr2GridView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr2GridView.json",
"viewType" : "DEGRIDVIEW" "viewType" : "DEGRIDVIEW"
} }
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc129",
"name" : "项布局面板测试",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr6ListView.json",
"viewType" : "DELISTVIEW"
}
}, { }, {
"appFuncType" : "APPVIEW", "appFuncType" : "APPVIEW",
"codeName" : "AppFunc111", "codeName" : "AppFunc111",
...@@ -14268,6 +14278,12 @@ ...@@ -14268,6 +14278,12 @@
"viewType" : "DELISTVIEW", "viewType" : "DELISTVIEW",
"resource" : "IBIZOrderDetail", "resource" : "IBIZOrderDetail",
"view" : "ListView" "view" : "ListView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr6ListView.json",
"viewType" : "DELISTVIEW",
"resource" : "IBIZBOOK",
"view" : "Usr6ListView"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0018GridView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0018GridView.json",
...@@ -18843,6 +18859,24 @@ ...@@ -18843,6 +18859,24 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "视图布局面板测试" "tooltip" : "视图布局面板测试"
}, {
"accUserMode" : 2,
"caption" : "项布局面板测试",
"itemType" : "MENUITEM",
"name" : "menuitem189",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc129"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "项布局面板测试"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "按钮测试", "caption" : "按钮测试",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册