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

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

上级 cae88ce1
...@@ -369,6 +369,7 @@ function getAppLocale(){ ...@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null), menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null), menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem205: commonLogic.appcommonhandle("项布局面板测试",null),
menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null), menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null),
menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null), menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
......
...@@ -369,6 +369,7 @@ function getAppLocale(){ ...@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null), menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null), menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem205: commonLogic.appcommonhandle("项布局面板测试",null),
menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null), menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null),
menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null), menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
......
...@@ -369,6 +369,7 @@ function getAppLocale(){ ...@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null), menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null), menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem205: commonLogic.appcommonhandle("项布局面板测试",null),
menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null), menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null),
menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null), menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
......
...@@ -835,7 +835,7 @@ function getLocaleResourceBase(){ ...@@ -835,7 +835,7 @@ function getLocaleResourceBase(){
remove: commonLogic.appcommonhandle("删除",null), remove: commonLogic.appcommonhandle("删除",null),
}, },
}, },
list_list: { listpanel_list: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
uiactions: { uiactions: {
}, },
...@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){ ...@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("删除",null), tip: commonLogic.appcommonhandle("删除",null),
}, },
}, },
usr5listviewtoolbar_toolbar: {
},
interfunckanbanview_layouttoolbar_toolbar: { interfunckanbanview_layouttoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
...@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){ ...@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){
}, },
usr5dataviewtoolbar_toolbar: { usr5dataviewtoolbar_toolbar: {
}, },
usr5listviewtoolbar_toolbar: {
},
treemajorstate_treeview: { treemajorstate_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
......
...@@ -835,7 +835,7 @@ function getLocaleResourceBase(){ ...@@ -835,7 +835,7 @@ function getLocaleResourceBase(){
remove: commonLogic.appcommonhandle("Remove",null), remove: commonLogic.appcommonhandle("Remove",null),
}, },
}, },
list_list: { listpanel_list: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
uiactions: { uiactions: {
}, },
...@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){ ...@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Remove {0}",null), tip: commonLogic.appcommonhandle("Remove {0}",null),
}, },
}, },
usr5listviewtoolbar_toolbar: {
},
interfunckanbanview_layouttoolbar_toolbar: { interfunckanbanview_layouttoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
...@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){ ...@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){
}, },
usr5dataviewtoolbar_toolbar: { usr5dataviewtoolbar_toolbar: {
}, },
usr5listviewtoolbar_toolbar: {
},
treemajorstate_treeview: { treemajorstate_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
......
...@@ -835,7 +835,7 @@ function getLocaleResourceBase(){ ...@@ -835,7 +835,7 @@ function getLocaleResourceBase(){
remove: commonLogic.appcommonhandle("删除",null), remove: commonLogic.appcommonhandle("删除",null),
}, },
}, },
list_list: { listpanel_list: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
uiactions: { uiactions: {
}, },
...@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){ ...@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("删除",null), tip: commonLogic.appcommonhandle("删除",null),
}, },
}, },
usr5listviewtoolbar_toolbar: {
},
interfunckanbanview_layouttoolbar_toolbar: { interfunckanbanview_layouttoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
...@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){ ...@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){
}, },
usr5dataviewtoolbar_toolbar: { usr5dataviewtoolbar_toolbar: {
}, },
usr5listviewtoolbar_toolbar: {
},
treemajorstate_treeview: { treemajorstate_treeview: {
nodata:commonLogic.appcommonhandle("",null), nodata:commonLogic.appcommonhandle("",null),
nodes: { nodes: {
......
...@@ -2951,6 +2951,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -2951,6 +2951,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'AppFunc101', appfunctag: 'AppFunc101',
resourcetag: '', resourcetag: '',
},
{
id: '9CFA4E22-F554-471E-B679-4F046DD6F1F6',
name: 'menuitem205',
text: '项布局面板测试',
type: 'MENUITEM',
counterid: '',
tooltip: '项布局面板测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc125',
resourcetag: '',
}, },
{ {
id: 'C484800D-366A-4E51-8EB7-3C8C880084FD', id: 'C484800D-366A-4E51-8EB7-3C8C880084FD',
......
.ibizbookusr5-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 IBIZBOOKUsr5ListViewBase from './ibizbookusr5-list-view-base.vue';
import view_searchform from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';
import view_list from '@widgets/ibizbook/listpanel-list/listpanel-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 IBIZBOOKUsr5ListView extends IBIZBOOKUsr5ListViewBase {
}
</script>
\ No newline at end of file
...@@ -106,6 +106,7 @@ export const PageComponents = { ...@@ -106,6 +106,7 @@ export const PageComponents = {
Vue.component('ibizorder-detail-usr3-edit-view', () => import('@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue')); Vue.component('ibizorder-detail-usr3-edit-view', () => import('@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue'));
Vue.component('ibizcustomer-media-test-edit-view', () => import('@pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view.vue')); Vue.component('ibizcustomer-media-test-edit-view', () => import('@pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-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('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('ibizorder-test-cledit-view2', () => import('@pages/sample/ibizorder-test-cledit-view2/ibizorder-test-cledit-view2.vue')); Vue.component('ibizorder-test-cledit-view2', () => import('@pages/sample/ibizorder-test-cledit-view2/ibizorder-test-cledit-view2.vue'));
Vue.component('ibizbooktest-cllist-view', () => import('@pages/sample/ibizbooktest-cllist-view/ibizbooktest-cllist-view.vue')); Vue.component('ibizbooktest-cllist-view', () => import('@pages/sample/ibizbooktest-cllist-view/ibizbooktest-cllist-view.vue'));
Vue.component('ibizorder-test-cltree-exp-view', () => import('@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue')); Vue.component('ibizorder-test-cltree-exp-view', () => import('@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue'));
......
...@@ -1650,6 +1650,20 @@ const router = new Router({ ...@@ -1650,6 +1650,20 @@ const router = new Router({
}, },
component: () => import('@pages/ungroup/app-index-view/app-index-view.vue'), component: () => import('@pages/ungroup/app-index-view/app-index-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usr5listview/:usr5listview?',
meta: {
caption: 'entities.ibizbook.views.usr5listview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr5listview', parameterName: 'usr5listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue'),
},
{ {
path: 'ibizorders/:ibizorder?/testcleditview2/:testcleditview2?', path: 'ibizorders/:ibizorder?/testcleditview2/:testcleditview2?',
meta: { meta: {
...@@ -5576,6 +5590,19 @@ const router = new Router({ ...@@ -5576,6 +5590,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'), component: () => import('@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr5listview/:usr5listview?',
meta: {
caption: 'entities.ibizbook.views.usr5listview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr5listview', parameterName: 'usr5listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue'),
},
{ {
path: '/ibizsample0002s/:ibizsample0002?/mpickupview/:mpickupview?', path: '/ibizsample0002s/:ibizsample0002?/mpickupview/:mpickupview?',
meta: { meta: {
......
...@@ -2356,6 +2356,19 @@ const router = new Router({ ...@@ -2356,6 +2356,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'), component: () => import('@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr5listview/:usr5listview?',
meta: {
caption: 'entities.ibizbook.views.usr5listview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr5listview', parameterName: 'usr5listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue'),
},
{ {
path: '/ibizsample0002s/:ibizsample0002?/mpickupview/:mpickupview?', path: '/ibizsample0002s/:ibizsample0002?/mpickupview/:mpickupview?',
meta: { meta: {
......
...@@ -888,6 +888,7 @@ export const viewstate: any = { ...@@ -888,6 +888,7 @@ export const viewstate: any = {
'7ce3aaf69c0b882631428087b7db6464', '7ce3aaf69c0b882631428087b7db6464',
'38b0b453d423e0772822db6be4f02505', '38b0b453d423e0772822db6be4f02505',
'2D42F3B7-3267-4276-9120-10F2D81E35AF', '2D42F3B7-3267-4276-9120-10F2D81E35AF',
'c680bdc2306ff1ea39102917225bdade',
'D6D7779F-95C9-48C0-B2E1-ED4C20E5E157', 'D6D7779F-95C9-48C0-B2E1-ED4C20E5E157',
'79C13556-8423-4886-ADB3-6FF73C1E97F1', '79C13556-8423-4886-ADB3-6FF73C1E97F1',
'5515A024-BD26-40B2-A13E-932A0DF3E40A', '5515A024-BD26-40B2-A13E-932A0DF3E40A',
...@@ -1824,6 +1825,16 @@ export const viewstate: any = { ...@@ -1824,6 +1825,16 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'c680bdc2306ff1ea39102917225bdade',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr5ListView',
viewaction: '',
viewdatachange: false,
refviews: [
'58e37ccddda10feedac7c809d5cee02a',
],
},
{ {
viewtag: 'c80bc2c651e4b76d00bb67566714c307', viewtag: 'c80bc2c651e4b76d00bb67566714c307',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -28,16 +28,16 @@ export default class FormLoadUILogicBase { ...@@ -28,16 +28,16 @@ export default class FormLoadUILogicBase {
* @memberof FormLoadUILogicBase * @memberof FormLoadUILogicBase
*/ */
protected logicParams: any[] = [ protected logicParams: any[] = [
{
name: '上一次调用返回数据',
codeName: 'lastReturn',
lastReturnParam: true
},
{ {
name: '上下文', name: '上下文',
codeName: 'context', codeName: 'context',
navContextParam: true, navContextParam: true,
}, },
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
{ {
name: '导航视图参数', name: '导航视图参数',
codeName: 'viewParam', codeName: 'viewParam',
...@@ -48,17 +48,17 @@ export default class FormLoadUILogicBase { ...@@ -48,17 +48,17 @@ export default class FormLoadUILogicBase {
codeName: 'form', codeName: 'form',
ctrlParam: true, ctrlParam: true,
}, },
{
name: '上一次调用返回数据',
codeName: 'lastReturn',
lastReturnParam: true
},
{ {
name: '传入变量', name: '传入变量',
codeName: 'Default', codeName: 'Default',
default: true, default: true,
entityParam: true, entityParam: true,
}, },
{
name: '当前视图',
codeName: 'view',
activeViewParam: true,
},
]; ];
/** /**
...@@ -113,6 +113,51 @@ export default class FormLoadUILogicBase { ...@@ -113,6 +113,51 @@ export default class FormLoadUILogicBase {
await this.execute_bindparam1_node(actionContext); await this.execute_bindparam1_node(actionContext);
} }
/**
* 视图部件调用
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof FormLoadUILogicBase
*/
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'form';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 视图部件调用 节点');
await this.execute_debugparam1_node(actionContext);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof FormLoadUILogicBase
*/
protected async execute_debugparam1_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('lastReturn').getReal();
actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点');
await this.execute_end1_node(actionContext);
}
/** /**
* 绑定表单 * 绑定表单
* *
...@@ -152,7 +197,7 @@ export default class FormLoadUILogicBase { ...@@ -152,7 +197,7 @@ export default class FormLoadUILogicBase {
* @memberof FormLoadUILogicBase * @memberof FormLoadUILogicBase
*/ */
protected async execute_end1_node(actionContext: UIActionContext) { protected async execute_end1_node(actionContext: UIActionContext) {
const strReturnType: string = ''; const strReturnType: string = 'NONEVALUE';
if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) { if (Object.is(strReturnType, LogicReturnType.NONEVALUE) || Object.is(strReturnType, LogicReturnType.NULLVALUE)) {
actionContext.setResult(null); actionContext.setResult(null);
} else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) { } else if (Object.is(strReturnType, LogicReturnType.SRCVALUE)) {
...@@ -172,37 +217,6 @@ export default class FormLoadUILogicBase { ...@@ -172,37 +217,6 @@ export default class FormLoadUILogicBase {
console.log('已完成执行 结束 节点'); console.log('已完成执行 结束 节点');
} }
/**
* 视图部件调用
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof FormLoadUILogicBase
*/
protected async execute_viewctrlinvoke2_node(actionContext: UIActionContext) {
const invokeCtrl = 'form';
const invokeMethod = 'load';
const invokeParam = 'viewParam';
if (!invokeCtrl || !invokeMethod) {
throw new Error(`界面对象或者调用方法缺失`);
}
const invokeUICtrl = actionContext.getParam(invokeCtrl).getReal();
if (invokeUICtrl[invokeMethod] && invokeUICtrl[invokeMethod] instanceof Function) {
try {
const result = await invokeUICtrl[invokeMethod]();
if (invokeParam) {
actionContext.getParam(invokeParam).bind(result);
}
actionContext.bindLastReturnParam(result);
} catch (error:any) {
throw new Error(`${invokeCtrl}界面对象调用${invokeMethod}方法发生异常`);
}
} else {
throw new Error(`${invokeCtrl}界面对象不存在${invokeMethod}方法`);
}
console.log('已完成执行 视图部件调用 节点');
await this.execute_debugparam1_node(actionContext);
}
/** /**
* 视图部件调用 * 视图部件调用
* *
...@@ -234,19 +248,5 @@ export default class FormLoadUILogicBase { ...@@ -234,19 +248,5 @@ export default class FormLoadUILogicBase {
await this.execute_debugparam1_node(actionContext); await this.execute_debugparam1_node(actionContext);
} }
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof FormLoadUILogicBase
*/
protected async execute_debugparam1_node(actionContext: UIActionContext) {
const dstParamValue = actionContext.getParam('lastReturn').getReal();
actionContext.bindLastReturnParam(null);
console.log('逻辑节点 调试逻辑参数 操作参数值: ', dstParamValue);
console.log('已完成执行 调试逻辑参数 节点');
await this.execute_end1_node(actionContext);
}
} }
\ No newline at end of file
...@@ -930,6 +930,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -930,6 +930,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc101': case 'AppFunc101':
this.clickAppFunc101(item); this.clickAppFunc101(item);
return; return;
case 'AppFunc125':
this.clickAppFunc125(item);
return;
case 'UsrAppFunc1103768001': case 'UsrAppFunc1103768001':
this.clickUsrAppFunc1103768001(item); this.clickUsrAppFunc1103768001(item);
return; return;
...@@ -3513,6 +3516,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -3513,6 +3516,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 项布局面板测试
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc125(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr5listview', parameterName: 'usr5listview' },
];
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);
})
}
/** /**
* 测试编辑视图(左右关系)视图面板 * 测试编辑视图(左右关系)视图面板
* *
......
...@@ -3115,6 +3115,25 @@ export default class MainMenuModel { ...@@ -3115,6 +3115,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc101', appfunctag: 'AppFunc101',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem130', authtag:'Web-MainMenu-menuitem130',
},
{
id: '9CFA4E22-F554-471E-B679-4F046DD6F1F6',
name: 'menuitem205',
text: '项布局面板测试',
type: 'MENUITEM',
counterid: '',
tooltip: '项布局面板测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc125',
resourcetag: '',
authtag:'Web-MainMenu-menuitem205',
}, },
{ {
id: 'C484800D-366A-4E51-8EB7-3C8C880084FD', id: 'C484800D-366A-4E51-8EB7-3C8C880084FD',
...@@ -5191,6 +5210,18 @@ export default class MainMenuModel { ...@@ -5191,6 +5210,18 @@ export default class MainMenuModel {
{ pathName: 'appindexview', parameterName: 'appindexview' }, { pathName: 'appindexview', parameterName: 'appindexview' },
], ],
}, },
{
appfunctag: 'AppFunc125',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizbookusr5listview',
deResParameters: [],
routepath: '/index/:index?/ibizbooks/:ibizbook?/usr5listview/:usr5listview?',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr5listview', parameterName: 'usr5listview' },
],
},
{ {
appfunctag: 'UsrAppFunc1103768001', appfunctag: 'UsrAppFunc1103768001',
appfuncyype: 'APPVIEW', appfuncyype: 'APPVIEW',
......
...@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -671,7 +671,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: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase 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: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
...@@ -2072,4 +2072,5 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -2072,4 +2072,5 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
<style lang='less'> <style lang='less'>
@import './guide-view-form-form.less'; @import './guide-view-form-form.less';
</style>uide-view-form-form.less';
</style> </style>
\ No newline at end of file
/**
* Listpanel 部件模型
*
* @export
* @class ListpanelModel
*/
export default class ListpanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ListpanelListMode
*/
public getDataItems(): any[] {
return [
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
},
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{
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 ListpanelModel from './listpanel-list-model';
/**
* Listpanel 部件服务对象
*
* @export
* @class ListpanelService
*/
export default class ListpanelService extends ControlService {
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof ListpanelService
*/
public appEntityService: IBIZBOOKService = new IBIZBOOKService();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof ListpanelService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of ListpanelService.
*
* @param {*} [opts={}]
* @memberof ListpanelService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new ListpanelModel();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ListpanelService
*/
@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 ListpanelService
*/
@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 ListpanelService
*/
@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 ListpanelService
*/
@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 ListpanelBase from './listpanel-list-base.vue';
import layout_list_itempanel from '@widgets/ibizbook/listpanel-panel/listpanel-panel.vue';
@Component({
components: {
layout_list_itempanel,
}
})
export default class Listpanel extends ListpanelBase {
}
</script>
\ No newline at end of file
/**
* Listpanel 部件模型
*
* @export
* @class ListpanelModel
*/
export default class ListpanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ListpanelModel
*/
public getDataItems(): any[] {
return [
{
name: 'field_text_dynamic',
prop: 'field_textbox'
},
{
name: 'field_textbox',
prop: ''
}
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* Listpanel 部件服务对象
*
* @export
* @class ListpanelService
*/
export default class ListpanelService extends ControlService {
}
\ No newline at end of file
// this is less
.app-layoutpanel {
height: 100%;
.app-layoutpanel-container {
padding: 6px;
}
.app-layoutpanel-tabpanel{
>.el-tabs {
>.el-.el-tabs__header{
margin: 0 0 10px;
}
.app-layoutpanel-tabpage{
padding: 6px;
}
}
}
.app-layoutpanel-button,.app-layoutpanel-conctrl,.app-layoutpanel-ctrlpos,.app-layoutpanel-field,.app-layoutpanel-rowitem,.app-layoutpanel-usercontrol{
padding: 6px;
}
.item-field{
padding: 0 4px;
display: flex;
>.item-field-label{
padding: 0 8px;
}
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import ListpanelBase from './listpanel-panel-base.vue';
@Component({
components: {
}
})
export default class Listpanel extends ListpanelBase {
}
</script>
\ No newline at end of file
...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase * @memberof IBIZOrderSF1GridViewBase
*/ */
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) {
...@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -421,6 +421,20 @@ 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;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(pageReset){ if(pageReset){
...@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1154,7 +1168,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2071,7 +2085,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2079,7 +2093,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
...@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return; return;
} }
let _this = this; let _this = this;
......
...@@ -104,6 +104,21 @@ export default class MainModel { ...@@ -104,6 +104,21 @@ 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',
......
...@@ -2075,6 +2075,51 @@ ...@@ -2075,6 +2075,51 @@
} }
} ], } ],
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "form"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "视图部件调用",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ]
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "lastReturn"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
}
} ]
}, { }, {
"codeName" : "BINDPARAM1", "codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : { "getDstPSDEUILogicParam" : {
...@@ -2142,32 +2187,8 @@ ...@@ -2142,32 +2187,8 @@
}, { }, {
"codeName" : "END1", "codeName" : "END1",
"logicNodeType" : "END", "logicNodeType" : "END",
"name" : "结束" "name" : "结束",
}, { "returnType" : "NONEVALUE"
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "form"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParam"
},
"logicNodeType" : "VIEWCTRLINVOKE",
"name" : "视图部件调用",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ]
}, { }, {
"codeName" : "VIEWCTRLINVOKE1", "codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : { "getInvokeCtrl" : {
...@@ -2193,37 +2214,17 @@ ...@@ -2193,37 +2214,17 @@
"id" : "VIEWCTRLINVOKE1" "id" : "VIEWCTRLINVOKE1"
} }
} ] } ]
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "lastReturn"
},
"logicNodeType" : "DEBUGPARAM",
"name" : "调试逻辑参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
}
} ]
} ], } ],
"getPSDEUILogicParams" : [ { "getPSDEUILogicParams" : [ {
"codeName" : "lastReturn",
"logicName" : "上一次调用返回数据",
"name" : "上一次调用返回数据",
"lastReturnParam" : true
}, {
"codeName" : "context", "codeName" : "context",
"logicName" : "上下文", "logicName" : "上下文",
"name" : "上下文", "name" : "上下文",
"navContextParam" : true "navContextParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
}, { }, {
"codeName" : "viewParam", "codeName" : "viewParam",
"logicName" : "导航视图参数", "logicName" : "导航视图参数",
...@@ -2234,17 +2235,17 @@ ...@@ -2234,17 +2235,17 @@
"logicName" : "当前表单", "logicName" : "当前表单",
"name" : "当前表单", "name" : "当前表单",
"ctrlParam" : true "ctrlParam" : true
}, {
"codeName" : "lastReturn",
"logicName" : "上一次调用返回数据",
"name" : "上一次调用返回数据",
"lastReturnParam" : true
}, { }, {
"codeName" : "Default", "codeName" : "Default",
"logicName" : "传入变量", "logicName" : "传入变量",
"name" : "传入变量", "name" : "传入变量",
"default" : true, "default" : true,
"entityParam" : true "entityParam" : true
}, {
"codeName" : "view",
"logicName" : "当前视图",
"name" : "当前视图",
"activeViewParam" : true
} ], } ],
"getStartPSDEUILogicNode" : { "getStartPSDEUILogicNode" : {
"modelref" : true, "modelref" : true,
......
{
"codeName" : "Listpanel",
"controlType" : "LIST",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/Listpanel.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "field_textbox"
}, {
"id" : "field_textbox"
} ],
"codeName" : "Listpanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Listpanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "列表测试项布局面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "标签",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "标签",
"showCaption" : true
}, {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "文本内容",
"contentType" : "RAW",
"name" : "static_text1",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "文本内容",
"showCaption" : true
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "field_textbox",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"name" : "list_itempanel",
"modelid" : "D7D06AA3-7298-433A-BBD9-5A4105BD915F",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "listpanel",
"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,
"name" : "author",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"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" : "B7142703-86BE-4792-B0E2-19FF47C03DBC",
"modeltype" : "PSDELIST"
}
\ No newline at end of file
{
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "field_textbox"
}, {
"id" : "field_textbox"
} ],
"codeName" : "Listpanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Listpanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "列表测试项布局面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "标签",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "标签",
"showCaption" : true
}, {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "文本内容",
"contentType" : "RAW",
"name" : "static_text1",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "文本内容",
"showCaption" : true
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "field_textbox",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"modelid" : "D7D06AA3-7298-433A-BBD9-5A4105BD915F",
"modeltype" : "PSSYSVIEWPANEL"
}
\ No newline at end of file
...@@ -255,13 +255,13 @@ ...@@ -255,13 +255,13 @@
"modelid" : "c680bdc2306ff1ea39102917225bdade_toolbar", "modelid" : "c680bdc2306ff1ea39102917225bdade_toolbar",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "List", "codeName" : "Listpanel",
"controlType" : "LIST", "controlType" : "LIST",
"getCreatePSControlAction" : { "getCreatePSControlAction" : {
"modelref" : true, "modelref" : true,
"id" : "create" "id" : "create"
}, },
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/List.json", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/Listpanel.json",
"getFetchPSControlAction" : { "getFetchPSControlAction" : {
"modelref" : true, "modelref" : true,
"id" : "fetch" "id" : "fetch"
...@@ -272,6 +272,119 @@ ...@@ -272,6 +272,119 @@
}, },
"groupMode" : "NONE", "groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "field_textbox"
}, {
"id" : "field_textbox"
} ],
"codeName" : "Listpanel",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Listpanel.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "列表测试项布局面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "标签",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "标签",
"showCaption" : true
}, {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "文本内容",
"contentType" : "RAW",
"name" : "static_text1",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "文本内容",
"showCaption" : true
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "field_textbox",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"name" : "list_itempanel",
"modelid" : "D7D06AA3-7298-433A-BBD9-5A4105BD915F",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "listpanel",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
...@@ -364,6 +477,38 @@ ...@@ -364,6 +477,38 @@
"modelref" : true, "modelref" : true,
"id" : "DataImport" "id" : "DataImport"
}, },
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "author",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "IBIZBOOKID",
"codeName" : "IBIZBOOKId"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"dataType" : 25,
"name" : "srfmstag"
} ],
"pagingSize" : 1000, "pagingSize" : 1000,
"getRemovePSControlAction" : { "getRemovePSControlAction" : {
"modelref" : true, "modelref" : true,
...@@ -382,7 +527,7 @@ ...@@ -382,7 +527,7 @@
"noSort" : false, "noSort" : false,
"showHeader" : true, "showHeader" : true,
"name" : "list", "name" : "list",
"modelid" : "c680bdc2306ff1ea39102917225bdade_list", "modelid" : "B7142703-86BE-4792-B0E2-19FF47C03DBC",
"modeltype" : "PSDELIST" "modeltype" : "PSDELIST"
} ], } ],
"getPSDEViewCodeName" : "Usr5ListView", "getPSDEViewCodeName" : "Usr5ListView",
......
...@@ -1668,8 +1668,8 @@ ...@@ -1668,8 +1668,8 @@
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "面板容器", "caption" : "面板容器",
"contentHeight" : 100.0, "contentHeight" : 50.0,
"height" : 100.0, "height" : 50.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container_scroll_header1", "name" : "container_scroll_header1",
...@@ -1677,7 +1677,7 @@ ...@@ -1677,7 +1677,7 @@
"layout" : "BORDER" "layout" : "BORDER"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"height" : 100, "height" : 50,
"heightMode" : "PX", "heightMode" : "PX",
"layout" : "BORDER", "layout" : "BORDER",
"layoutPos" : "NORTH" "layoutPos" : "NORTH"
...@@ -1698,7 +1698,7 @@ ...@@ -1698,7 +1698,7 @@
"caption" : "面板容器", "caption" : "面板容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container3", "name" : "container1",
"getPSLayout" : { "getPSLayout" : {
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
...@@ -1707,23 +1707,31 @@ ...@@ -1707,23 +1707,31 @@
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "QUICKSEARCHBAR部件", "caption" : "页面标题",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "FIELD",
"name" : "quicksearchbar", "name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"hAlignSelf" : "RIGHT", "hAlignSelf" : "LEFT",
"layout" : "SIMPLEFLEX", "layout" : "SIMPLEFLEX",
"vAlignSelf" : "MIDDLE" "vAlignSelf" : "MIDDLE"
}, },
"showCaption" : true "hidden" : false,
"showCaption" : false
} ] } ]
}, { }, {
"caption" : "面板容器", "caption" : "面板容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container2", "name" : "container3",
"getPSLayout" : { "getPSLayout" : {
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
...@@ -1732,10 +1740,10 @@ ...@@ -1732,10 +1740,10 @@
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "工具栏", "caption" : "QUICKSEARCHBAR部件",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
"name" : "toolbar", "name" : "quicksearchbar",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"hAlignSelf" : "RIGHT", "hAlignSelf" : "RIGHT",
...@@ -1748,34 +1756,26 @@ ...@@ -1748,34 +1756,26 @@
"caption" : "面板容器", "caption" : "面板容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container1", "name" : "container2",
"getPSLayout" : { "getPSLayout" : {
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 3, "grow" : -1,
"layout" : "SIMPLEFLEX" "layout" : "SIMPLEFLEX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "页面标题", "caption" : "工具栏",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "CTRLPOS",
"name" : "view_pagecaption", "name" : "toolbar",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"hAlignSelf" : "LEFT", "hAlignSelf" : "RIGHT",
"layout" : "SIMPLEFLEX", "layout" : "SIMPLEFLEX",
"vAlignSelf" : "MIDDLE" "vAlignSelf" : "MIDDLE"
}, },
"hidden" : false, "showCaption" : true
"showCaption" : false
} ] } ]
} ] } ]
} ], } ],
......
...@@ -3577,6 +3577,24 @@ ...@@ -3577,6 +3577,24 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "布局面板组件测试" "tooltip" : "布局面板组件测试"
}, {
"accUserMode" : 2,
"caption" : "项布局面板测试",
"itemType" : "MENUITEM",
"name" : "menuitem205",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc125"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "项布局面板测试"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "编辑视图(左右关系)", "caption" : "编辑视图(左右关系)",
......
...@@ -2006,6 +2006,16 @@ ...@@ -2006,6 +2006,16 @@
"id" : "AppFunc101" "id" : "AppFunc101"
}, },
"tooltip" : "布局面板组件测试" "tooltip" : "布局面板组件测试"
}, {
"accUserMode" : 2,
"caption" : "项布局面板测试",
"itemType" : "MENUITEM",
"name" : "menuitem205",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc125"
},
"tooltip" : "项布局面板测试"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "编辑视图(左右关系)", "caption" : "编辑视图(左右关系)",
......
...@@ -3712,6 +3712,16 @@ ...@@ -3712,6 +3712,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderSF2EditView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderSF2EditView.json",
"viewType" : "DEEDITVIEW" "viewType" : "DEEDITVIEW"
} }
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc125",
"name" : "项布局面板测试",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5ListView.json",
"viewType" : "DELISTVIEW"
}
}, { }, {
"appFuncType" : "APPVIEW", "appFuncType" : "APPVIEW",
"codeName" : "Auto372", "codeName" : "Auto372",
...@@ -18519,6 +18529,24 @@ ...@@ -18519,6 +18529,24 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "布局面板组件测试" "tooltip" : "布局面板组件测试"
}, {
"accUserMode" : 2,
"caption" : "项布局面板测试",
"itemType" : "MENUITEM",
"name" : "menuitem205",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc125"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "项布局面板测试"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "编辑视图(左右关系)", "caption" : "编辑视图(左右关系)",
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-382-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-389-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 --> <!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-515-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-519-14">
<createTable tableName="T_IBIZORDER"> <createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)"> <column name="TP" remarks="" type="TEXT(1048576)">
</column> </column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-515-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-519-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]> <![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册