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

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

上级 024d211b
......@@ -479,6 +479,14 @@
"viewname": "IBIZOrderDetailUsr2GridView9",
"viewtag": "37f61ee1bcce3ee0bff093eed18e1e37"
},
"ibizordertestcustomlayoutpanelgridexpview": {
"title": "订单表格导航视图(测试布局面板)",
"caption": "(测试布局面板)",
"viewtype": "DEGRIDEXPVIEW",
"viewmodule": "Sample",
"viewname": "IBIZOrderTestCustomLayoutPanelGridExpView",
"viewtag": "38b0b453d423e0772822db6be4f02505"
},
"ibizorderlistview": {
"title": "订单列表视图",
"caption": "订单",
......@@ -2119,6 +2127,14 @@
"viewname": "AppPanelView",
"viewtag": "201acedb447253ee1add1c791fa31fd4"
},
"appindexview": {
"title": "应用首页视图",
"caption": "测试12231",
"viewtype": "APPINDEXVIEW",
"viewmodule": "Ungroup",
"viewname": "AppIndexView",
"viewtag": "2D42F3B7-3267-4276-9120-10F2D81E35AF"
},
"appportalview": {
"title": "工作台",
"caption": "工作台",
......
......@@ -171,6 +171,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("",null),
title: commonLogic.appcommonhandle("应用面板视图",null),
},
appindexview: {
caption: commonLogic.appcommonhandle("测试12231",null),
title: commonLogic.appcommonhandle("应用首页视图",null),
},
appportalview: {
caption: commonLogic.appcommonhandle("工作台",null),
title: commonLogic.appcommonhandle("工作台",null),
......@@ -202,6 +206,8 @@ function getAppLocale(){
menuitem4: commonLogic.appcommonhandle("菜单4",null),
menuitem5: commonLogic.appcommonhandle("菜单5",null),
},
appindexview: {
},
mainmenu: {
menuitem1: commonLogic.appcommonhandle("工作台",null),
menuitem3: commonLogic.appcommonhandle("控件",null),
......@@ -362,6 +368,7 @@ function getAppLocale(){
menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null),
},
},
formpage:{
......
......@@ -171,6 +171,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("",null),
title: commonLogic.appcommonhandle("应用面板视图",null),
},
appindexview: {
caption: commonLogic.appcommonhandle("测试12231",null),
title: commonLogic.appcommonhandle("应用首页视图",null),
},
appportalview: {
caption: commonLogic.appcommonhandle("Work bench",null),
title: commonLogic.appcommonhandle("工作台",null),
......@@ -202,6 +206,8 @@ function getAppLocale(){
menuitem4: commonLogic.appcommonhandle("菜单4",null),
menuitem5: commonLogic.appcommonhandle("菜单5",null),
},
appindexview: {
},
mainmenu: {
menuitem1: commonLogic.appcommonhandle("Work bench",null),
menuitem3: commonLogic.appcommonhandle("Control",null),
......@@ -362,6 +368,7 @@ function getAppLocale(){
menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null),
},
},
formpage:{
......
......@@ -171,6 +171,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("",null),
title: commonLogic.appcommonhandle("应用面板视图",null),
},
appindexview: {
caption: commonLogic.appcommonhandle("测试12231",null),
title: commonLogic.appcommonhandle("应用首页视图",null),
},
appportalview: {
caption: commonLogic.appcommonhandle("工作台",null),
title: commonLogic.appcommonhandle("工作台",null),
......@@ -202,6 +206,8 @@ function getAppLocale(){
menuitem4: commonLogic.appcommonhandle("菜单4",null),
menuitem5: commonLogic.appcommonhandle("菜单5",null),
},
appindexview: {
},
mainmenu: {
menuitem1: commonLogic.appcommonhandle("工作台",null),
menuitem3: commonLogic.appcommonhandle("控件",null),
......@@ -362,6 +368,7 @@ function getAppLocale(){
menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null),
},
},
formpage:{
......
......@@ -67,6 +67,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单表格视图",null),
},
testcustomlayoutpanelgridexpview: {
caption: commonLogic.appcommonhandle("(测试布局面板)",null),
title: commonLogic.appcommonhandle("订单表格导航视图(测试布局面板)",null),
},
listview: {
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单列表视图",null),
......
......@@ -67,6 +67,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单表格视图",null),
},
testcustomlayoutpanelgridexpview: {
caption: commonLogic.appcommonhandle("(测试布局面板)",null),
title: commonLogic.appcommonhandle("订单表格导航视图(测试布局面板)",null),
},
listview: {
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单列表视图",null),
......
......@@ -67,6 +67,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单表格视图",null),
},
testcustomlayoutpanelgridexpview: {
caption: commonLogic.appcommonhandle("(测试布局面板)",null),
title: commonLogic.appcommonhandle("订单表格导航视图(测试布局面板)",null),
},
listview: {
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单列表视图",null),
......
import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();
import Mock from 'mockjs'
const Random = Mock.Random;
// 获取应用数据
mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
let status = MockAdapter.mockStatus(config);
return [status, {
name: 'appmenu',
items: [
],
}];
});
......@@ -11,7 +11,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
name: 'appmenu',
items: [
{
id: '951D5DBA-07CE-446D-9BEA-A7D80706EA5A',
id: 'C52E01B6-600E-41DA-B114-BE091C2BE967',
name: 'menuitem1',
text: '工作台',
type: 'MENUITEM',
......@@ -29,7 +29,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '6D0277C0-99AF-483F-B33B-9B5267204811',
id: '2EE60144-D2F8-46E1-A792-5DAACAE0FA1D',
name: 'menuitem3',
text: '控件',
type: 'MENUITEM',
......@@ -47,7 +47,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '5ECECB5E-C6BE-4A02-9DCE-22E3EBC098A0',
id: '30834D6D-1917-4B0D-8C20-31800300DD9B',
name: 'menuitem6',
text: '默认数据类型',
type: 'MENUITEM',
......@@ -65,7 +65,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'A0B793FB-1CDC-45D2-AEF2-C070F1AB9506',
id: 'F258747E-DA47-48CC-8B89-4694F82C4CDF',
name: 'menuitem7',
text: '默认编辑器类型',
type: 'MENUITEM',
......@@ -83,7 +83,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'ED710D13-33DD-4FD3-93A0-E7B0D93C0D7E',
id: 'A296474A-F181-44C2-9451-E8FD67A50F83',
name: 'menuitem72',
text: '扩展编辑器',
type: 'MENUITEM',
......@@ -101,7 +101,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '5C411E31-D7F8-4B56-94F2-DCBD37220416',
id: '68039A6F-0C94-42B4-A92A-E64ED65F27C2',
name: 'menuitem65',
text: '微服务组件',
type: 'MENUITEM',
......@@ -119,7 +119,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '852F94C6-668E-4614-858B-52895A3680A5',
id: 'F4B30448-A530-4C15-BB8F-F5084F8B58E6',
name: 'menuitem151',
text: '编辑器插件示例',
type: 'MENUITEM',
......@@ -139,7 +139,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '91EA6CBE-5B4D-4C89-8E50-7E389A789D2E',
id: '5C2FDF6C-2E02-457B-9AC8-25E6E905FF79',
name: 'menuitem4',
text: '部件',
type: 'MENUITEM',
......@@ -157,7 +157,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '52CF693A-088F-484D-9ACE-1AC36D59DD92',
id: 'D49AB197-9779-4342-9661-8F178D41664B',
name: 'menuitem112',
text: '应用类',
type: 'MENUITEM',
......@@ -175,7 +175,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '3D2F1407-658A-4398-9996-5DED1EE1E8B7',
id: 'DC2BC230-AD6F-4CF9-B523-FE31779348E2',
name: 'menuitem186',
text: '数据看板',
type: 'MENUITEM',
......@@ -193,7 +193,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'C509636C-A91D-4AC4-8D39-EE7D26F1CC9F',
id: '991B888D-2458-4001-8F27-A4B53DAB3463',
name: 'menuitem129',
text: '门户部件',
type: 'MENUITEM',
......@@ -213,7 +213,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '35F29BB6-2317-4ACB-91F1-65DC940EF72B',
id: '768E57CC-6A60-4939-8CC5-38583271C998',
name: 'menuitem156',
text: '表单类',
type: 'MENUITEM',
......@@ -231,7 +231,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'F78B4FC2-F3CA-4AAC-BBB4-3AAC0FE4F745',
id: '3D074648-A5D8-4B7E-B7AB-C4634EE0EED6',
name: 'menuitem12',
text: '编辑表单',
type: 'MENUITEM',
......@@ -249,7 +249,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '618EB66C-4CFA-483F-A07D-6D2813407A02',
id: '07EDD180-7453-4FD1-9036-003CCCD43F2D',
name: 'menuitem15',
text: '基础表单项',
type: 'MENUITEM',
......@@ -267,7 +267,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'B2D3C430-79CA-4500-89D7-27240525FD58',
id: '7FE1CD69-166C-4C06-9085-0C3AF9F13AFA',
name: 'menuitem107',
text: '内置功能',
type: 'MENUITEM',
......@@ -285,7 +285,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '3E9DF85D-F147-4BB9-9526-BB9180B414D8',
id: '4A93E57B-7A02-4356-BF4B-5A9E0FB42F88',
name: 'menuitem47',
text: '新建默认值',
type: 'MENUITEM',
......@@ -303,7 +303,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '3595371D-B432-45F1-B3FA-8B0783E88E34',
id: 'B661913B-D17A-4C0D-8134-17BE8CF08BEF',
name: 'menuitem99',
text: '更新默认值',
type: 'MENUITEM',
......@@ -321,7 +321,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'CB320266-3FD6-446A-A4EA-AEED6BD44404',
id: '3C57CED4-234A-45AC-9888-F739AC2D1F77',
name: 'menuitem48',
text: '输入提示',
type: 'MENUITEM',
......@@ -339,7 +339,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '0C10D1D8-D6EE-4F7E-B2C0-4865E294FFC2',
id: 'DA6473FD-8562-4344-8198-A45CD3FFD844',
name: 'menuitem49',
text: '辅助输入',
type: 'MENUITEM',
......@@ -357,7 +357,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'F853B0AD-528A-4295-9A90-C82907DD9CE8',
id: '6F062490-69D1-41A0-A355-3167F36D23CA',
name: 'menuitem50',
text: '自动填充',
type: 'MENUITEM',
......@@ -375,7 +375,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'C2E01BAD-67E1-4B26-9379-DEE58CDA2A6A',
id: '604FC64B-F614-4652-8831-93133BE9A467',
name: 'menuitem51',
text: '超链接',
type: 'MENUITEM',
......@@ -393,7 +393,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '301FC73F-F4B4-4ABE-A910-1061200FE86B',
id: '034A00E4-6A8F-4C59-964D-2378F319B2EC',
name: 'menuitem52',
text: '表单值重置',
type: 'MENUITEM',
......@@ -411,7 +411,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '4174B26F-1E32-4321-9098-0C211399973F',
id: '7873845E-30ED-499B-9429-44F90A9E3016',
name: 'menuitem55',
text: '动态显示',
type: 'MENUITEM',
......@@ -429,7 +429,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '4480C6F6-A657-4FBC-A1CC-06A90085ACD4',
id: '0B76B23B-FC38-4A2F-BD00-4B69E9AD5FC6',
name: 'menuitem53',
text: '动态启用',
type: 'MENUITEM',
......@@ -447,7 +447,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '0F8C5F54-F6CC-4675-8BCB-A6AB8A36A466',
id: '77465ACB-DBAC-4E79-8B7F-5F1E49D52663',
name: 'menuitem54',
text: '动态空输入',
type: 'MENUITEM',
......@@ -465,7 +465,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '880E586D-E5B3-47A1-921F-148575473C1F',
id: '8BA2B22F-1C68-4B74-8FC8-8438423C0A59',
name: 'menuitem56',
text: '表单项更新',
type: 'MENUITEM',
......@@ -483,7 +483,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'A0B9CE1B-5E95-463B-B35E-33609FFBD420',
id: 'F82CCEF5-29B3-4D45-B689-F78ADC69BB6B',
name: 'menuitem108',
text: '表单值规则',
type: 'MENUITEM',
......@@ -503,7 +503,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '1375AF4A-8FD5-485C-BC99-F00E92AFFD7C',
id: 'DAD901D5-9D07-461C-80DD-F12C19CFD1E2',
name: 'menuitem16',
text: '搜索表单',
type: 'MENUITEM',
......@@ -523,7 +523,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '33CF2821-19D3-442E-8B15-F08DEDB40EA5',
id: 'AAD88B5F-9FD7-4466-8A4C-8D22188B6E2C',
name: 'menuitem157',
text: '导航类',
type: 'MENUITEM',
......@@ -541,7 +541,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'E2D4E844-AB41-49EB-8B75-95BF7D409A6E',
id: '2A733A97-6E39-4FA5-A4AA-D9A424BC77EF',
name: 'menuitem120',
text: '分页导航',
type: 'MENUITEM',
......@@ -559,7 +559,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '02B1869B-A5B8-4E70-919D-FE02BB3D5B60',
id: '07A73D10-0C45-4461-A6B8-1C8E9D66A8A7',
name: 'menuitem128',
text: '表格导航',
type: 'MENUITEM',
......@@ -577,7 +577,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'A4579AAF-A124-412D-B88F-66F3B1412CBD',
id: '76439528-1295-4773-8FA0-5F780BE946C0',
name: 'menuitem114',
text: '列表导航',
type: 'MENUITEM',
......@@ -595,7 +595,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '4A9A26A2-B751-46DE-A797-18A8AB96C35F',
id: '3AFD7134-D7E5-4676-A219-8A341976BF81',
name: 'menuitem137',
text: '卡片导航',
type: 'MENUITEM',
......@@ -613,7 +613,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '98D28CDF-F198-4B82-AFDE-C5403F6FD45E',
id: 'FB65554C-1224-4E6A-9F35-3C3E3051A9D0',
name: 'menuitem136',
text: '树导航',
type: 'MENUITEM',
......@@ -631,7 +631,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '626CFEA3-DD1C-4F66-94B3-793C8495DDF1',
id: '3D613D3E-BFF4-4A8C-B15C-27DBBCA7E205',
name: 'menuitem138',
text: '日历导航',
type: 'MENUITEM',
......@@ -649,7 +649,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '63751068-76A4-460D-99E0-6A9F638217C3',
id: 'A8FA4DE1-267E-49C1-B3F4-2B4B38CB0B14',
name: 'menuitem139',
text: '时间轴导航',
type: 'MENUITEM',
......@@ -667,7 +667,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '38565D76-A92F-4723-8BE1-AB8918AA91AE',
id: '21EAB614-CF48-489C-BC40-58429A7B6222',
name: 'menuitem20',
text: '数据关系分页',
type: 'MENUITEM',
......@@ -685,7 +685,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '76BBB659-0DD4-448A-AF0A-F27B2B16DE01',
id: 'EFEE0B47-94D0-427C-9145-0ED9E8AB51B4',
name: 'menuitem117',
text: '数据关系分页(上下关系)',
type: 'MENUITEM',
......@@ -703,7 +703,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'E06AC577-16F7-4F72-BCFF-1F72109A0ABE',
id: '987973F1-7672-44A2-8400-4DB20EAC51AC',
name: 'menuitem118',
text: '数据关系分页(分页关系)',
type: 'MENUITEM',
......@@ -723,7 +723,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'C3978B97-899F-497F-96F5-8FC7EC54A3D0',
id: 'C025BF9D-44DA-424A-9E99-FC08CAE33FB0',
name: 'menuitem116',
text: ' 数据关系栏',
type: 'MENUITEM',
......@@ -743,7 +743,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '7B697529-4E6F-422E-B525-67749DDF4BB1',
id: '5A8A7834-7FBE-48F1-A4FE-0EBED5C8B35C',
name: 'menuitem158',
text: '面板类',
type: 'MENUITEM',
......@@ -761,7 +761,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '18D0CC2B-75FB-4F1D-942D-8548742E8995',
id: '8BDF6783-0BE4-4356-BF86-4D29994DAD26',
name: 'menuitem145',
text: '选择视图面板',
type: 'MENUITEM',
......@@ -779,7 +779,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '954BD568-F083-4410-9D2B-1CDD5A90DC5F',
id: '0C46742F-26D4-484E-998D-D60CBEDBA82D',
name: 'menuitem17',
text: '向导面板',
type: 'MENUITEM',
......@@ -797,7 +797,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'C61F39D7-F8FD-43EC-B8AD-D14287EBC51C',
id: '255F11B5-1CCB-48B1-AD61-4741A852E0E0',
name: 'menuitem134',
text: '基础用法',
type: 'MENUITEM',
......@@ -815,7 +815,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'CCCD793D-85DE-4168-A548-38FEC6AE5C76',
id: '2C4A872F-12BC-47A3-9EC0-A7FB553BE0A0',
name: 'menuitem135',
text: '状态属性',
type: 'MENUITEM',
......@@ -835,7 +835,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '878CC2EA-FECB-48E9-BC6F-102D88909893',
id: 'A7975156-C102-4D27-B643-21C8A95000B3',
name: 'menuitem121',
text: '多编辑视图面板',
type: 'MENUITEM',
......@@ -853,7 +853,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'F8ACF1A7-A8BD-4079-8555-5C1A573D9C57',
id: '62AEBC0E-1451-436D-8CB7-927BA7F26040',
name: 'menuitem115',
text: '多表单(行记录)',
type: 'MENUITEM',
......@@ -871,7 +871,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '0AD57242-0E97-4255-8463-CF6592EF47DF',
id: '005B4111-A56F-486F-975D-45E2310412AB',
name: 'menuitem123',
text: '多表单(上分页)',
type: 'MENUITEM',
......@@ -893,7 +893,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '859D0044-E2C6-4790-8F8E-282C196197F7',
id: 'A3B09050-5E83-47C6-93C3-C5C50645730E',
name: 'menuitem119',
text: '多数据类',
type: 'MENUITEM',
......@@ -911,7 +911,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'DAC4F60A-59BA-4E73-BA40-19C41DE1CC94',
id: '8DCEF3CE-1904-4FE0-9D04-16E56C7C1A11',
name: 'menuitem13',
text: '表格',
type: 'MENUITEM',
......@@ -929,7 +929,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'B8F08F85-4841-4349-BD95-A56BCC89502B',
id: '5DDAE1D6-4621-4B4A-9DBA-D64A79E38396',
name: 'menuitem57',
text: '禁用排序',
type: 'MENUITEM',
......@@ -947,7 +947,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '7305267D-8472-414B-AAB8-5A272971C3FC',
id: '65794452-33D5-477B-A360-BF2D87A93443',
name: 'menuitem59',
text: '行操作',
type: 'MENUITEM',
......@@ -965,7 +965,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '11207072-6A78-45EE-975E-C5DC39FDAB97',
id: '32797130-AA73-401A-BB92-E1DAEBA7AC77',
name: 'menuitem58',
text: '行编辑',
type: 'MENUITEM',
......@@ -983,7 +983,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'DF7F07CA-11EA-4197-AB07-CAAC58DD95B4',
id: 'DEC753B9-22F9-4CD7-8720-D7353738B4D9',
name: 'menuitem73',
text: '内置功能',
type: 'MENUITEM',
......@@ -1001,7 +1001,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'FF3FF0D5-32B6-486C-9FEE-D2D48ADBC391',
id: '69ABFDFF-4741-4D5E-BAA2-0D1DD354D723',
name: 'menuitem74',
text: '表格行编辑',
type: 'MENUITEM',
......@@ -1019,7 +1019,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '783D7393-23C3-4C28-BA5E-A3C146AF94B5',
id: '78FD9500-2446-47D6-A45B-A23FCC62BCE6',
name: 'menuitem75',
text: '新建默认值',
type: 'MENUITEM',
......@@ -1037,7 +1037,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'B0818B91-45BA-4C15-B0D0-C79C7BF294A4',
id: '6F2C07FB-E429-4CFD-9F4F-989450B2C890',
name: 'menuitem76',
text: '更新默认值',
type: 'MENUITEM',
......@@ -1055,7 +1055,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '75F94A9B-D071-40BB-88A8-A37E5E8CB118',
id: '872CC5E5-EA29-4B45-947C-FC6D7C681A9E',
name: 'menuitem77',
text: '表格值规则',
type: 'MENUITEM',
......@@ -1073,7 +1073,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'BF564AE7-248B-4296-9AE6-0A2D5AD71041',
id: '0B59F9F4-AB8B-4308-9178-FBD3CD66BC8C',
name: 'menuitem132',
text: '表格列更新',
type: 'MENUITEM',
......@@ -1091,7 +1091,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'C0237519-4EF3-4A93-AA43-7BE221B911C4',
id: '8F1DA91E-1204-476B-BEF9-2B52FF1E525C',
name: 'menuitem133',
text: '表格列重置',
type: 'MENUITEM',
......@@ -1109,7 +1109,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'E17E8493-E838-43C2-B983-3FEBE4F148C6',
id: '6B501607-04F7-49E4-A08B-E9EC5F294248',
name: 'menuitem78',
text: '自动分组',
type: 'MENUITEM',
......@@ -1127,7 +1127,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '245457E6-A252-42A7-B89C-D433BE9AEC36',
id: '769989F0-65DF-4D36-B74B-6085E77411BB',
name: 'menuitem80',
text: '代码表分组',
type: 'MENUITEM',
......@@ -1145,7 +1145,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '3AD81FD0-EED7-4561-A8BC-BAD751A18227',
id: '10829844-0250-4D1A-A20C-F32F8711EE54',
name: 'menuitem81',
text: '当前页聚合',
type: 'MENUITEM',
......@@ -1163,7 +1163,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '628AAA9C-7FE5-47ED-AD86-B527D3A6464F',
id: '7E5ACEB9-0A23-474F-A5DA-F8670039D367',
name: 'menuitem82',
text: '远程聚合',
type: 'MENUITEM',
......@@ -1183,7 +1183,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '3CC25A26-BBDB-4573-8F8D-2FEE17D8BA23',
id: '616CFCDC-C8EE-4FF4-A3B5-3D4FC19526DC',
name: 'menuitem83',
text: '列表',
type: 'MENUITEM',
......@@ -1201,7 +1201,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '0E2A804D-EE57-48BA-BF90-2DABC2C6EB88',
id: '84087433-50F9-4F41-8B96-EE1D65E04D31',
name: 'menuitem84',
text: '内置功能',
type: 'MENUITEM',
......@@ -1219,7 +1219,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '89AAA384-8115-4F29-9F2F-5A1065CE22BD',
id: 'FC95D1F0-2CBF-4F04-B558-3095839D9921',
name: 'menuitem85',
text: '自动分组',
type: 'MENUITEM',
......@@ -1237,7 +1237,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'B698C05F-790F-4443-8CFA-6E225F39CCDE',
id: 'F7294C91-E430-4491-A878-2B44D0F56B83',
name: 'menuitem86',
text: '代码表分组',
type: 'MENUITEM',
......@@ -1255,7 +1255,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '5FBB3779-EEBB-4C07-BC17-3B1F570E20A4',
id: 'B22470CC-B35C-4482-B1D4-76FA0DD03CB3',
name: 'menuitem91',
text: '项布局面板',
type: 'MENUITEM',
......@@ -1273,7 +1273,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'B0536559-4A3E-4552-B5ED-E324F73A8A36',
id: 'D4F1ADC5-8D80-4029-8F24-DD707B58B797',
name: 'menuitem143',
text: '自定义插件',
type: 'MENUITEM',
......@@ -1293,7 +1293,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'B27E92D3-3536-48A6-B8B7-BB489F2C27C2',
id: '49DFF8C5-C5F3-4D73-B341-134611F93B3D',
name: 'menuitem95',
text: '日历',
type: 'MENUITEM',
......@@ -1311,7 +1311,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'F2B70BE8-5C10-4E4D-9867-6AA4164B167F',
id: '30DF4EA8-6EA8-4DFD-84B6-ACCD8B9A1573',
name: 'menuitem96',
text: '内置功能',
type: 'MENUITEM',
......@@ -1329,7 +1329,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '85A44115-752C-4A52-92EC-88681CFDCDC9',
id: 'AB74E45D-C35B-4EF1-8527-B8B860509F38',
name: 'menuitem97',
text: '时间轴样式',
type: 'MENUITEM',
......@@ -1347,7 +1347,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'C418CB0D-0B86-4B21-9130-4B3402000BF6',
id: '7F420FBA-76CF-42B3-B1FE-890FBD4C8576',
name: 'menuitem109',
text: '项布局面板',
type: 'MENUITEM',
......@@ -1365,7 +1365,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '23B39154-FD1A-458F-BC23-F2D33D4CF82F',
id: '1C5F38AB-ED99-4516-8FDB-612F5DA20732',
name: 'menuitem64',
text: '自定义插件',
type: 'MENUITEM',
......@@ -1385,7 +1385,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '926CE88A-5279-4455-BCDB-9107B33A7C3A',
id: 'F3F7F0A3-5227-4FFF-B59B-1816F81999F8',
name: 'menuitem14',
text: '树视图',
type: 'MENUITEM',
......@@ -1403,7 +1403,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '2C587B48-43EC-46E7-A83E-0E8016736CAE',
id: '3293B3A5-07A9-4DD8-8EF7-BA2B0DB7FB4F',
name: 'menuitem60',
text: '静态节点',
type: 'MENUITEM',
......@@ -1421,7 +1421,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '3A14D474-40B2-4A4D-840E-08E847BA4AFC',
id: 'A62D90D0-DF2D-41CA-A73A-CBB6ABFB9845',
name: 'menuitem61',
text: '动态节点(代码表)',
type: 'MENUITEM',
......@@ -1439,7 +1439,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'A2AA65AA-12FD-41E1-A771-5CCD45FC5AC7',
id: 'DEC8DA15-8A52-4C6D-8A7A-B48AC279F4E9',
name: 'menuitem62',
text: '动态节点(实体)',
type: 'MENUITEM',
......@@ -1457,7 +1457,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '17F79CE3-FE88-48BE-BDBF-20E17683DC74',
id: '667DD73C-6B79-4DE6-B01A-1F2A514CE4DE',
name: 'menuitem63',
text: '右键操作',
type: 'MENUITEM',
......@@ -1477,7 +1477,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'B31B4C55-01B8-4F3C-A04B-9E221090E4B2',
id: 'BB08F713-43DA-440E-81A1-C169AE9D33B3',
name: 'menuitem111',
text: '甘特图',
type: 'MENUITEM',
......@@ -1495,7 +1495,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'FEC677D7-4757-4F09-B96A-94AAB1DE7D55',
id: '207B5C6C-798F-4554-8CCD-347285C7627D',
name: 'menuitem110',
text: '树表格',
type: 'MENUITEM',
......@@ -1513,7 +1513,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '528D2C00-E32B-4E47-99A0-51DF232B389D',
id: '022FBE08-E661-40E1-987C-ECC6B820955A',
name: 'menuitem87',
text: '数据视图',
type: 'MENUITEM',
......@@ -1531,7 +1531,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '09491CD7-7B3B-48EC-B5D8-56D18FAC3341',
id: '10A8BA72-9D2B-4CEE-BA00-5CE07C681E75',
name: 'menuitem88',
text: '内置功能',
type: 'MENUITEM',
......@@ -1549,7 +1549,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'F21B8995-B2AA-4FCA-A415-501DA760D31C',
id: 'EADD66C3-2A3C-4EDD-9ACA-0EF790CC44F8',
name: 'menuitem89',
text: '自动分组',
type: 'MENUITEM',
......@@ -1567,7 +1567,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'D310BEEC-847A-4B54-887F-5A2C28DC46F6',
id: 'C956E640-4274-42FE-8EB6-E89C0EA0E9B3',
name: 'menuitem90',
text: '代码表分组',
type: 'MENUITEM',
......@@ -1585,7 +1585,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'E075765A-7881-4797-8A90-C031EB31F8EB',
id: 'B17D84E2-17E4-441B-8FE7-C5406C28D127',
name: 'menuitem94',
text: '项布局面板',
type: 'MENUITEM',
......@@ -1603,7 +1603,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '5691B13A-BCC0-4C07-B922-4CDB87871F4B',
id: '4183D684-E8D1-4283-8416-BB85AEC66653',
name: 'menuitem152',
text: '自定义插件',
type: 'MENUITEM',
......@@ -1623,7 +1623,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'EADAEBFC-86CC-471A-91CB-D33FC447E160',
id: '6DEA2705-D54E-4FD6-9F84-A60898723D25',
name: 'menuitem101',
text: '看板视图',
type: 'MENUITEM',
......@@ -1641,7 +1641,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '68D0FDB9-CECC-4666-B939-918B01C6C4F1',
id: '5363DF9E-7CE4-4643-984C-D4FE84F7B58E',
name: 'menuitem102',
text: '内置功能',
type: 'MENUITEM',
......@@ -1659,7 +1659,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '5F3BD25F-5846-450D-AF7B-9ACBBC28F316',
id: '0CE5E893-602E-45E6-BD2E-FE8DBDF87443',
name: 'menuitem104',
text: '代码表分组',
type: 'MENUITEM',
......@@ -1677,7 +1677,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '94F1E39D-9989-45AD-9689-D33DB3B37C55',
id: 'AEF54B75-85FD-4DF1-8577-A82D93AFE239',
name: 'menuitem105',
text: '项布局面板',
type: 'MENUITEM',
......@@ -1697,7 +1697,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'D5AA653A-0D30-4A7A-9642-31B430159A49',
id: 'A553FFD2-634F-4D09-BFA9-D90C71275259',
name: 'menuitem37',
text: '数据图表',
type: 'MENUITEM',
......@@ -1715,7 +1715,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '8E8AED92-77F7-4CB1-A7A8-BA8E93ACE1E7',
id: '5A9BCB80-3F80-43ED-9470-8892B749ED6D',
name: 'menuitem38',
text: '柱状图',
type: 'MENUITEM',
......@@ -1733,7 +1733,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '5CD3C45D-26ED-4A5E-AFE7-024AAABA7505',
id: '3E7E6F1B-95EA-42D7-AB62-A2D8B9D523CE',
name: 'menuitem39',
text: '折线图',
type: 'MENUITEM',
......@@ -1751,7 +1751,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '3ECAD248-DD6D-4CBA-B8B7-A0A07998B485',
id: 'A016AD97-EBA4-4154-9181-CCCD09025321',
name: 'menuitem40',
text: '饼图',
type: 'MENUITEM',
......@@ -1769,7 +1769,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'DD4746DE-8631-4FF2-A333-1A3F8A88FDA1',
id: '2766C6A6-381B-4A6C-AE68-9B785262DD55',
name: 'menuitem41',
text: '区域图',
type: 'MENUITEM',
......@@ -1787,7 +1787,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '47F4AE2B-A346-419A-9B35-A503E46D296D',
id: '3713D459-F362-43B4-AF2A-9FABDBC07087',
name: 'menuitem42',
text: '雷达图',
type: 'MENUITEM',
......@@ -1811,7 +1811,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '0BB493B4-500F-4231-864F-EDE459982B57',
id: '580D2EC3-3954-4192-8128-664B63040C5A',
name: 'menuitem5',
text: '视图',
type: 'MENUITEM',
......@@ -1829,7 +1829,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'C4D4FE81-1F14-420E-9C23-67957A5EB37F',
id: '796CACCD-9C51-41D9-BBE7-21277E6A3287',
name: 'menuitem140',
text: '单数据视图',
type: 'MENUITEM',
......@@ -1847,7 +1847,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '23170231-65CB-47EF-B62C-E886E5648B0B',
id: '759D87DC-7948-4E53-B99C-F1298F199D74',
name: 'menuitem161',
text: '实体向导视图',
type: 'MENUITEM',
......@@ -1865,7 +1865,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '22691EE9-B63C-49BA-ABC8-0C1D82AA0244',
id: '1E196E3D-571C-4D72-8411-351784C2E185',
name: 'menuitem8',
text: '实体编辑视图',
type: 'MENUITEM',
......@@ -1883,7 +1883,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '35790D52-0DDF-47AD-898C-FADD590B2949',
id: '1E849158-97DD-4C31-AF9E-36EED3026EF0',
name: 'menuitem162',
text: '实体编辑视图(分页关系)',
type: 'MENUITEM',
......@@ -1901,7 +1901,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'DCAF1EB4-AD32-40FC-A6BD-7339063CF458',
id: '1001F50E-7CCF-442A-B87A-551762EB14F3',
name: 'menuitem163',
text: '实体编辑视图(上下关系)',
type: 'MENUITEM',
......@@ -1919,7 +1919,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'BA07DB29-CB20-46FD-B69F-C84D5E4415A2',
id: '0734BCF1-F04D-4309-98D4-3C12D503E65B',
name: 'menuitem164',
text: '实体编辑视图(左右关系)',
type: 'MENUITEM',
......@@ -1937,7 +1937,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '1DDAD995-7439-4E4C-8609-1EF378D7DBF0',
id: '117E20CE-36A6-4866-84B2-D344218FB5AD',
name: 'menuitem165',
text: '实体分页导航视图',
type: 'MENUITEM',
......@@ -1955,7 +1955,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'CC8A3DF0-A5D6-4B04-9690-9E64FD326CFB',
id: '78F3B0D3-4D92-4418-B075-682EB087D023',
name: 'menuitem166',
text: '实体数据看板视图',
type: 'MENUITEM',
......@@ -1973,7 +1973,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'B44EB310-4C66-47EA-AF36-E7BA9FB2118C',
id: '409236B0-A823-475A-95E1-29A0718EB369',
name: 'menuitem167',
text: '实体选项操作视图',
type: 'MENUITEM',
......@@ -1993,7 +1993,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '02E6B28D-D38B-4C1C-B933-11BF8D8D96AA',
id: '0A91FD46-A57A-4861-8E1C-F01CC9DD821A',
name: 'menuitem141',
text: '多数据视图',
type: 'MENUITEM',
......@@ -2011,7 +2011,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'EB6B1234-EF18-4B6B-8BAF-FEF9F7B70641',
id: 'FB97D14B-AF57-426A-8DCB-F3E788462164',
name: 'menuitem79',
text: '实体表格视图',
type: 'MENUITEM',
......@@ -2029,7 +2029,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '41BEE2DA-8DCF-4442-83EA-23737DA156D7',
id: 'EF16E5A0-C0DC-4777-AFC3-C70171E5AE45',
name: 'menuitem168',
text: '实体多表单编辑视图',
type: 'MENUITEM',
......@@ -2047,7 +2047,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '4E35CAC6-4DD0-4F38-9C9C-11B4A23F8009',
id: '11D7BBF4-772A-427A-9B00-D2DD0FE295BA',
name: 'menuitem169',
text: '实体甘特视图',
type: 'MENUITEM',
......@@ -2065,7 +2065,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '50A2F41F-6493-4677-B415-AFE4701D621B',
id: '83F7D6FD-2E73-4DEC-ABF4-A9B9859261E3',
name: 'menuitem9',
text: '实体列表视图',
type: 'MENUITEM',
......@@ -2083,7 +2083,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'D55456F5-985F-4244-8CB8-1C4DEEFCC48E',
id: '88BFACEB-56A0-4B2E-BD98-041FB83619D6',
name: 'menuitem170',
text: '实体日历视图',
type: 'MENUITEM',
......@@ -2101,7 +2101,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '1B2A4C60-4C19-411B-B8B0-58750BE94279',
id: '4CBDEF84-3A95-4564-89FC-BF26CF8D9787',
name: 'menuitem171',
text: '实体看板视图',
type: 'MENUITEM',
......@@ -2119,7 +2119,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '941D8A23-58FF-46D1-A989-108AF7770501',
id: '083C0B11-3FB2-4DE3-A059-D48D7B1E0D5D',
name: 'menuitem172',
text: '实体树表格视图',
type: 'MENUITEM',
......@@ -2137,7 +2137,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '3142B261-F5DC-487A-BC31-E20AC0537E67',
id: 'F173A1AA-CD9B-45EF-A6EC-161E6C1570AB',
name: 'menuitem173',
text: '实体树视图',
type: 'MENUITEM',
......@@ -2155,7 +2155,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'C74A436D-6E47-4A08-8B7F-FE67B440F607',
id: '418AD9FF-9F28-4634-9046-6AAD04EE92EF',
name: 'menuitem174',
text: '实体数据视图',
type: 'MENUITEM',
......@@ -2173,7 +2173,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'C25CB5E9-F76D-40D5-83E3-CECE6D815AAC',
id: '42A7E7D6-FE06-4A80-82C7-F894F893749E',
name: 'menuitem175',
text: '实体图表视图',
type: 'MENUITEM',
......@@ -2193,7 +2193,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '0EEA85F6-146A-4B5C-8942-ECDB21F36C69',
id: '11A05C0A-6A25-4EBB-924C-F086A5CA5D00',
name: 'menuitem10',
text: '导航视图',
type: 'MENUITEM',
......@@ -2211,7 +2211,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'C07FEFE2-B054-4589-A424-7D6A648EAD22',
id: '31099A6F-8F47-4357-BC92-AFE62557D2D5',
name: 'menuitem176',
text: '实体表格导航视图',
type: 'MENUITEM',
......@@ -2229,7 +2229,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '133B88F4-E3BD-4FE7-9A19-918E7DC9ED39',
id: '686A4E83-5C50-4A99-868C-576467CE02A4',
name: 'menuitem177',
text: '实体列表导航视图',
type: 'MENUITEM',
......@@ -2247,7 +2247,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'DB13D765-4798-4916-A105-D63F096BE373',
id: '9700B6DD-B062-4F3A-BCC4-4DCD50258882',
name: 'menuitem178',
text: '实体卡片导航视图',
type: 'MENUITEM',
......@@ -2265,7 +2265,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '752E7592-EFF4-47A1-8061-3CE205B5DECC',
id: '04BE4224-784D-41B2-9152-A5DED4C11ED2',
name: 'menuitem179',
text: '实体日历导航视图',
type: 'MENUITEM',
......@@ -2283,7 +2283,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '2EC49850-24A9-4094-8871-640DDB251D98',
id: '42E7EF38-AFCA-4F16-8D56-E9B528FB1CA0',
name: 'menuitem180',
text: '实体树导航视图',
type: 'MENUITEM',
......@@ -2303,7 +2303,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '3CF53F4E-8581-44F8-A547-2D4B8E010F4C',
id: 'D91EF905-1EA5-40F6-B37E-7CE3B8A1BF25',
name: 'menuitem26',
text: '选择视图',
type: 'MENUITEM',
......@@ -2321,7 +2321,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '41AD21A9-2DE2-487F-BA75-E70B32A0A4E2',
id: 'DE6AE0A4-3ED1-4745-B9B4-95561801DB6A',
name: 'menuitem18',
text: '数据选择视图',
type: 'MENUITEM',
......@@ -2339,7 +2339,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '2773C8DB-5C72-42F3-ABC5-0DA5F3907CDD',
id: 'F82FB8DB-ACF5-4B5E-A2AB-F16E6969AD95',
name: 'menuitem27',
text: '索引选择视图',
type: 'MENUITEM',
......@@ -2359,7 +2359,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'BFD4347D-8FEE-4F67-823D-916EB564D90C',
id: 'BB6F5544-C18D-4F2A-B165-3303ECB9F9DB',
name: 'menuitem69',
text: '工作流',
type: 'MENUITEM',
......@@ -2377,7 +2377,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '8BDA970B-9DDC-40AF-A4C2-11F714E6C6F7',
id: '29B1DE65-5C7C-45EF-9174-50AC51F5958E',
name: 'menuitem30',
text: '工作流动态导航视图',
type: 'MENUITEM',
......@@ -2395,7 +2395,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '02B6CE8D-34D9-44BF-8A44-3A461031C512',
id: '60B68E2D-D3AF-431C-98E9-F646D8566EF5',
name: 'menuitem31',
text: '工作流启动',
type: 'MENUITEM',
......@@ -2413,7 +2413,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'D5A0D5AB-488A-47BD-A654-43F5B1F3BEF9',
id: '7597F2C5-1BC9-4ABC-85C4-2F5A1AACE8A8',
name: 'menuitem21',
text: '工作流动态操作视图',
type: 'MENUITEM',
......@@ -2433,7 +2433,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '136A0595-939D-4996-83E2-FCD1DB0F71C2',
id: 'AF2B552F-51C8-4A27-924C-58054B28463B',
name: 'menuitem11',
text: '其他视图',
type: 'MENUITEM',
......@@ -2451,7 +2451,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '671B4B76-E7F3-4C9C-9D26-06713D7851BD',
id: 'EF2C1C19-CC01-43B1-BEFC-7D40BD069448',
name: 'menuitem98',
text: '自定义视图',
type: 'MENUITEM',
......@@ -2473,7 +2473,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '5696A8EA-6453-41C9-9B2D-64BA1810C165',
id: 'C82E6B58-38FA-4479-B7C5-6578F85133C5',
name: 'menuitem153',
text: '逻辑',
type: 'MENUITEM',
......@@ -2491,7 +2491,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '054C814C-F6BE-4752-A37F-5108483BBF94',
id: '2D0F2C68-DF92-46AB-B493-A16FDA632922',
name: 'menuitem154',
text: '应用功能',
type: 'MENUITEM',
......@@ -2509,7 +2509,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'A64CC995-4CB5-42F2-85FD-D74F066E9A31',
id: '67043D51-0A78-429F-B10D-4538643253AC',
name: 'menuitem127',
text: '打开应用视图',
type: 'MENUITEM',
......@@ -2527,7 +2527,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'A244FD8E-6A51-4B4B-B71B-DB57D2582F61',
id: 'B1F03DFE-F83F-43B7-B4F3-8812CD053C93',
name: 'menuitem147',
text: '打开HTML页面',
type: 'MENUITEM',
......@@ -2545,7 +2545,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'D69F0736-1A7B-4B0A-A12A-883F81AFD1F5',
id: '7902F134-BF0D-478D-9FA1-8C74F4E01B3F',
name: 'menuitem160',
text: '执行JavaScript',
type: 'MENUITEM',
......@@ -2565,7 +2565,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'BF351829-AD33-4218-83B9-9B246DDAD1F0',
id: 'D2B3F19C-E528-4A6E-BC54-F9C07B289976',
name: 'menuitem155',
text: '界面行为',
type: 'MENUITEM',
......@@ -2583,7 +2583,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '00EFAC24-C882-4C4E-9F13-468AD78EBBC3',
id: '6726778F-AA91-4539-B5E2-5513D204A90C',
name: 'menuitem181',
text: '前台界面行为',
type: 'MENUITEM',
......@@ -2601,7 +2601,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'F93A6EF6-D103-4BAC-8A38-4355E1339A83',
id: '12E0F34C-50FF-4703-B070-34E6CF45764D',
name: 'menuitem182',
text: '后台界面行为',
type: 'MENUITEM',
......@@ -2623,7 +2623,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'E33E6FBC-C251-4F63-B61B-252E6302870A',
id: 'E99EB924-7D70-4C6E-9289-F9B5C2AD8DE6',
name: 'menuitem2',
text: '更多',
type: 'MENUITEM',
......@@ -2641,7 +2641,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '2509F838-DC1B-4BCD-BFE1-ABBE8515FEA2',
id: 'DAC0AEAF-8F5C-4555-A7BE-805D002ECA9C',
name: 'menuitem19',
text: '临时模式',
type: 'MENUITEM',
......@@ -2659,7 +2659,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'BF8BF255-DBB6-4A6D-9DD8-C6306135E4A5',
id: '1E0727D2-5D22-4318-B690-C27E02AC87F8',
name: 'menuitem46',
text: '数据导出导入',
type: 'MENUITEM',
......@@ -2677,7 +2677,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '7D8DA11E-7C51-4296-8C20-03C1F46F52C2',
id: 'DCBCD3C8-55AA-49C2-8AA9-841423789A09',
name: 'menuitem67',
text: '索引实体',
type: 'MENUITEM',
......@@ -2695,7 +2695,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'E51C3F30-B553-4430-90DE-2E035D6EED0C',
id: '024632C4-816F-436D-812E-DC19263D4A06',
name: 'menuitem184',
text: '主状态',
type: 'MENUITEM',
......@@ -2713,7 +2713,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '15E18823-D76A-459E-ABAD-0092D49A1DFB',
id: 'D206037B-4E38-4D02-B70C-AEC0F0AE5040',
name: 'menuitem70',
text: '表格主状态',
type: 'MENUITEM',
......@@ -2731,7 +2731,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'DF3943CD-0CB7-4498-A09D-687B68BCE4DA',
id: '3C175600-4529-4EB8-8271-FF0823E55B12',
name: 'menuitem148',
text: '列表主状态',
type: 'MENUITEM',
......@@ -2749,7 +2749,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '73E33E96-62A2-4030-AEFD-B2182DAF2A5C',
id: '78AD2031-B74D-4CF4-BC0A-ABE9CC8C55C8',
name: 'menuitem183',
text: '数据主状态',
type: 'MENUITEM',
......@@ -2767,7 +2767,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'CC6E1D08-5353-4D2E-89A7-12E0E97F38DE',
id: 'EC1119FC-C42E-4919-A6F3-DED7D43D2DCD',
name: 'menuitem28',
text: '日历主状态',
type: 'MENUITEM',
......@@ -2785,7 +2785,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '1252BDB9-8E6A-4840-B7CD-79C4A70BE509',
id: 'E55D4895-B4AE-4C13-8FEA-059F7F8F2E24',
name: 'menuitem29',
text: '树主状态',
type: 'MENUITEM',
......@@ -2807,7 +2807,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: 'BF8B914E-7FE5-45D4-A1EC-60AA8722B75B',
id: '83EFF3D6-97DA-450F-BF9E-859FEAC081B9',
name: 'menuitem22',
text: '测试',
type: 'MENUITEM',
......@@ -2825,7 +2825,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '3B967192-0454-437F-B8D6-9FCD01F3BB45',
id: '5B33BFF9-7055-4CA6-9F72-234440E6BC52',
name: 'menuitem23',
text: '卡片导航',
type: 'MENUITEM',
......@@ -2843,7 +2843,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '7E2A769D-2DAB-41C3-B075-DF8344724FB6',
id: 'AF231A14-6BAC-4302-BE68-1D69587D9590',
name: 'menuitem24',
text: '表单嵌入卡片视图',
type: 'MENUITEM',
......@@ -2861,7 +2861,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '2D14B09B-6356-4AC2-A67C-0C8446D94325',
id: 'A494359C-9045-486A-A5F0-B251D7945819',
name: 'menuitem25',
text: '关系界面刷新主表单',
type: 'MENUITEM',
......@@ -2881,7 +2881,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
],
},
{
id: '532ECE48-EBE2-40A1-939F-F9516BB459C2',
id: 'D11DD970-7CEA-405F-B0E9-9E59FC22EB69',
name: 'menuitem66',
text: '视图布局面板测试',
type: 'MENUITEM',
......@@ -2899,7 +2899,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: 'F43E6951-1514-4EDF-8C83-CD6293BD600E',
id: 'AA18CD2E-77F2-46AD-99D9-75240B75556A',
name: 'menuitem122',
text: '表格视图面板',
type: 'MENUITEM',
......@@ -2917,7 +2917,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: 'E9B47729-171C-4364-A493-6ECFC5E12109',
id: '49EA2745-4C8A-404B-971F-D79731F01666',
name: 'menuitem125',
text: '测试表单自定义布局多媒体',
type: 'MENUITEM',
......@@ -2933,6 +2933,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc100',
resourcetag: '',
},
{
id: '85AD8AFE-F300-43F9-A5A6-05727F309B27',
name: 'menuitem126',
text: '自定义导航',
type: 'MENUITEM',
counterid: '',
tooltip: '自定义导航',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'UsrAppFunc1102681676',
resourcetag: '',
},
],
},
......
......@@ -487,6 +487,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderDetailUsr2GridView9",
"viewtag": "37f61ee1bcce3ee0bff093eed18e1e37"
},
"ibizordertestcustomlayoutpanelgridexpview": {
"title": "订单表格导航视图(测试布局面板)",
"caption": "(测试布局面板)",
"viewtype": "DEGRIDEXPVIEW",
"viewmodule": "Sample",
"viewname": "IBIZOrderTestCustomLayoutPanelGridExpView",
"viewtag": "38b0b453d423e0772822db6be4f02505"
},
"ibizorderlistview": {
"title": "订单列表视图",
"caption": "订单",
......@@ -2127,6 +2135,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AppPanelView",
"viewtag": "201acedb447253ee1add1c791fa31fd4"
},
"appindexview": {
"title": "应用首页视图",
"caption": "测试12231",
"viewtype": "APPINDEXVIEW",
"viewmodule": "Ungroup",
"viewname": "AppIndexView",
"viewtag": "2D42F3B7-3267-4276-9120-10F2D81E35AF"
},
"appportalview": {
"title": "工作台",
"caption": "工作台",
......
......@@ -5,4 +5,4 @@
.ibizorder-grid-exp-view{
display: block;
}
\ No newline at end of file
}
<template>
<div class="app-view-layout" style="height: '100%'; width: '100%';'display': 'flex'; 'flex-direction': 'column';">
<app-standard-container name="page_container" :layoutModelDetails="layoutModelDetails">
<template #container2>
<app-standard-container name="container2" :layoutModelDetails="layoutModelDetails">
<template #view_pagecaption>
<span>属性项</span>
</template>
</app-standard-container>
</template>
<template #container_scroll1>
<app-scroll-container name="container_scroll1" :layoutModelDetails="layoutModelDetails">
<template #container_scroll_main1>
<app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
<template #nav_pos1>
</template>
</app-scroll-container>
</template>
<template #container_scroll_left1>
<app-scroll-container name="container_scroll_left1" :layoutModelDetails="layoutModelDetails">
<template #gridexpbar>
<view_gridexpbar
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:showBusyIndicator="true"
:viewUID="viewUID"
:newdata="newdata"
:opendata="opendata"
name="gridexpbar"
ref='gridexpbar'
@selectionchange="gridexpbar_selectionchange($event)"
@load="gridexpbar_load($event)"
@activated="gridexpbar_activated($event)"
@closeview="closeView($event)">
</view_gridexpbar>
</template>
</app-scroll-container>
</template>
</app-scroll-container>
</template>
</app-standard-container>
</div>
</template>
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch,Inject } from 'vue-property-decorator';
import { UIActionTool,Util } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import { Subject,Subscription } from 'rxjs';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
import IBIZOrderAuthService from '@/authservice/ibizorder/ibizorder-auth-service';
import GridExpViewEngine from '@engine/view/grid-exp-view-engine';
import IBIZOrderUIService from '@/uiservice/ibizorder/ibizorder-ui-service';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
@Component({
components: {
},
})
export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue {
/**
* 实体服务对象
*
* @type {IBIZOrderService}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public appEntityService: IBIZOrderService = new IBIZOrderService;
/**
* 实体UI服务对象
*
* @type IBIZOrderUIService
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public appUIService: IBIZOrderUIService = new IBIZOrderUIService();
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
@Emit()
public viewDatasChange(val: any):any {
return val;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
@Prop() public viewdata!: string;
/**
* 传入视图参数
*
* @type {string}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
@Prop() public viewparam!: string;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
@Prop({ default: true }) public viewDefaultUsage!: boolean;
/**
* 视图默认使用
*
* @type {string}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
@Inject({from:'navModel',default: 'tab'})
public navModel!:string;
/**
* 视图标识
*
* @type {string}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public viewtag: string = '38b0b453d423e0772822db6be4f02505';
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public customViewNavContexts:any ={
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public customViewParams:any ={
};
/**
* 视图模型数据
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public model: any = {
srfCaption: 'entities.ibizorder.views.testcustomlayoutpanelgridexpview.caption',
srfTitle: 'entities.ibizorder.views.testcustomlayoutpanelgridexpview.title',
srfSubTitle: 'entities.ibizorder.views.testcustomlayoutpanelgridexpview.subtitle',
dataInfo: ''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
@Watch('viewparam',{immediate: true, deep: true})
onParamData(newVal: any, oldVal: any) {
if(newVal){
this.viewparams = {};
if(typeof newVal == 'string') {
Object.assign(this.viewparams, JSON.parse(this.viewparam));
}else{
this.viewparams = Util.deepCopy(this.viewparam);
}
}
}
/**
* 处理应用上下文变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
@Watch('viewdata')
onViewData(newVal: any, oldVal: any) {
const _this: any = this;
if (!Object.is(newVal, oldVal) && _this.engine) {
this.$nextTick(()=>{
_this.parseViewParam();
_this.engine.load();
});
} else if(!Object.is(newVal, oldVal) && _this.refresh && _this.refresh instanceof Function) {
_this.refresh();
}
}
/**
* 容器模型
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public containerModel: any = {
view_gridexpbar: { name: 'gridexpbar', type: 'GRIDEXPBAR' },
view_searchbar: { name: 'searchbar', type: 'SEARCHBAR' },
wflinks: [],
};
/**
* 计数器刷新
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 视图状态订阅对象
*
* @public
* @type {Subject<{action: string, data: any}>}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public viewState: Subject<ViewState> = new Subject();
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public layoutModelDetails:any = {
view_pagecaption:new PanelFieldModel({ name: 'view_pagecaption', caption: '页面标题', itemType: 'FIELD', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
container2:new PanelContainerModel({ name: 'container2', caption: '容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['view_pagecaption']}),
nav_pos1:new PanelRawitemModel({ name: 'nav_pos1', caption: '导航区占位', itemType: 'RAWITEM', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
container_scroll_main1:new PanelContainerModel({ name: 'container_scroll_main1', caption: '面板容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['nav_pos1']}),
gridexpbar:new PanelCtrlPosModel({ name: 'gridexpbar', caption: '表格导航栏', itemType: 'CTRLPOS', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
container_scroll_left1:new PanelContainerModel({ name: 'container_scroll_left1', caption: '面板容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'BORDER', layoutPos:'WEST', layoutHeight:0, heightMode:'', layoutWidth:200, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['gridexpbar']}),
container_scroll1:new PanelContainerModel({ name: 'container_scroll1', caption: '滚动条容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll_main1','container_scroll_left1']}),
page_container:new PanelContainerModel({ name: 'page_container', caption: '容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, panel: this , details:['container2','container_scroll1']})
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public engine: GridExpViewEngine = new GridExpViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
gridexpbar: this.$refs.gridexpbar,
keyPSDEField: 'ibizorder',
majorPSDEField: 'ibizordername',
isLoadDefault: true,
});
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public navDataService = NavDataService.getInstance();
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public serviceStateEvent: Subscription | undefined;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
@Prop() public portletState?: any;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public portletStateEvent: Subscription | undefined;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public formDruipartEvent: Subscription | undefined;
/**
* 应用上下文
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public context:any = {};
/**
* 视图参数
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public viewparams:any = {};
/**
* 视图缓存数据
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
* @public
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public parseViewParam(inputvalue:any = null): void {
for(let key in this.context){
delete this.context[key];
}
if(this.$store.getters.getAppData() && this.$store.getters.getAppData().context){
Object.assign(this.context,this.$store.getters.getAppData().context);
}
if (!this.viewDefaultUsage && this.viewdata && !Object.is(this.viewdata, '')) {
if(typeof this.viewdata == 'string') {
Object.assign(this.context, JSON.parse(this.viewdata));
}
if(this.context && this.context.srfparentdename){
Object.assign(this.viewparams,{srfparentdename:this.context.srfparentdename});
}
if(this.context && this.context.srfparentkey){
Object.assign(this.viewparams,{srfparentkey:this.context.srfparentkey});
}
this.handleCustomViewData();
return;
}
const path = (this.$route.matched[this.$route.matched.length - 1]).path;
const keys: Array<any> = [];
const curReg = this.$pathToRegExp.pathToRegexp(path, keys);
const matchArray = curReg.exec(this.$route.path);
let tempValue: Object = {};
keys.forEach((item: any, index: number) => {
if(matchArray[index + 1]){
Object.defineProperty(tempValue, item.name, {
enumerable: true,
value: decodeURIComponent(matchArray[index + 1])
});
}
});
this.$viewTool.formatRouteParams(tempValue,this.$route,this.context,this.viewparams);
if(inputvalue){
Object.assign(this.context,{'ibizorder':inputvalue});
}
//初始化视图唯一标识
Object.assign(this.context,{srfsessionid:this.$util.createUUID()});
this.handleCustomViewData();
//初始化导航数据
this.initNavDataWithRoute();
}
/**
* 处理自定义视图数据
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public handleCustomViewData(){
if(Object.keys(this.customViewNavContexts).length > 0){
Object.keys(this.customViewNavContexts).forEach((item:any) =>{
let tempContext:any = {};
let curNavContext:any = this.customViewNavContexts[item];
this.handleCustomDataLogic(curNavContext,tempContext,item);
Object.assign(this.context,tempContext);
})
}
if(Object.keys(this.customViewParams).length > 0){
Object.keys(this.customViewParams).forEach((item:any) =>{
let tempParam:any = {};
let curNavParam:any = this.customViewParams[item];
this.handleCustomDataLogic(curNavParam,tempParam,item);
Object.assign(this.viewparams,tempParam);
})
}
}
/**
* 处理自定义视图数据逻辑
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public handleCustomDataLogic(curNavData:any,tempData:any,item:string){
// 直接值直接赋值
if(curNavData.isRawValue){
if(Object.is(curNavData.value,"null") || Object.is(curNavData.value,"")){
Object.defineProperty(tempData, item.toLowerCase(), {
value: null,
writable : true,
enumerable : true,
configurable : true
});
}else{
Object.defineProperty(tempData, item.toLowerCase(), {
value: curNavData.value,
writable : true,
enumerable : true,
configurable : true
});
}
}else{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if(this.context[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), {
value: this.context[(curNavData.value).toLowerCase()],
writable : true,
enumerable : true,
configurable : true
});
}else{
if(this.viewparams[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), {
value: this.viewparams[(curNavData.value).toLowerCase()],
writable : true,
enumerable : true,
configurable : true
});
}else{
Object.defineProperty(tempData, item.toLowerCase(), {
value: null,
writable : true,
enumerable : true,
configurable : true
});
}
}
}
}
/**
* 初始化导航数据(路由模式)
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public initNavDataWithRoute(data:any = null, isNew:boolean = false, isAlways:boolean = false){
if( isAlways || (this.viewDefaultUsage && Object.is(this.navModel,"route")) ){
this.navDataService.addNavData({id:'ibizorder-test-custom-layout-panel-grid-exp-view',tag:this.viewtag,srfkey:isNew ? null : this.context.ibizorder,title:this.$t(this.model.srfCaption),data:data,context:this.context,viewparams:this.viewparams,path:this.$route.fullPath});
}
}
/**
* 初始化导航数据(分页模式)
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public initNavDataWithTab(data:any = null,isOnlyAdd:boolean = true, isAlways:boolean = false){
if( isAlways || (this.viewDefaultUsage && !Object.is(this.navModel,"route")) ){
this.navDataService.addNavDataByOnly({id:'ibizorder-test-custom-layout-panel-grid-exp-view',tag:this.viewtag,srfkey:this.context.ibizorder,title:this.$t(this.model.srfCaption),data:data,context:this.context,viewparams:this.viewparams,path:this.$route.fullPath},isOnlyAdd);
}
}
/**
* Vue声明周期
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public afterCreated(){
let _this:any = this;
const secondtag = _this.$util.createUUID();
_this.$store.commit('viewaction/createdView', { viewtag: _this.viewtag, secondtag: secondtag });
_this.viewtag = secondtag;
_this.parseViewParam();
_this.serviceStateEvent = _this.navDataService.serviceState.subscribe(({ action,name, data }:{ action:string,name:any,data:any }) => {
if(!Object.is(name,'ibizorder-test-custom-layout-panel-grid-exp-view')){
return;
}
if (Object.is(action, 'viewrefresh')) {
_this.$nextTick(()=>{
_this.parseViewParam(data);
if(_this.engine){
_this.engine.load();
}
});
}
});
if(_this.portletState){
_this.portletStateEvent = _this.portletState.subscribe((res:any) =>{
if(!Object.is(res.name,'IBIZOrderTestCustomLayoutPanelGridExpView')){
return;
}
if(Object.is(res.action,'refresh') && _this.refresh && _this.refresh instanceof Function){
_this.refresh();
}
})
}
}
/**
* 销毁之前
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public beforeDestroy() {
this.$store.commit('viewaction/removeView', this.viewtag);
let _this: any = this
if (_this.serviceStateEvent) {
_this.serviceStateEvent.unsubscribe();
}
if (_this.portletStateEvent) {
_this.portletStateEvent.unsubscribe();
}
if (_this.engine) {
_this.engine.destroy();
}
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public mounted() {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public afterMounted(){
const _this: any = this;
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
this.initSplit();
}
/**
* gridexpbar 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public gridexpbar_selectionchange($event: any, $event2?: any) {
this.engine.onCtrlEvent('gridexpbar', 'selectionchange', $event);
}
/**
* gridexpbar 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public gridexpbar_load($event: any, $event2?: any) {
this.engine.onCtrlEvent('gridexpbar', 'load', $event);
}
/**
* gridexpbar 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public gridexpbar_activated($event: any, $event2?: any) {
this.engine.onCtrlEvent('gridexpbar', 'activated', $event);
}
/**
* 打开新建数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof IBIZOrderTestCustomLayoutPanelGridExpView
*/
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
this.$Notice.warning({ title: '错误', desc: '未指定关系视图' });
}
/**
* 打开编辑数据视图
*
* @param {any[]} args
* @param {*} [params]
* @param {*} [fullargs]
* @param {*} [$event]
* @param {*} [xData]
* @memberof IBIZOrderTestCustomLayoutPanelGridExpView
*/
public opendata(args: any[],fullargs?:any,params?: any, $event?: any, xData?: any) {
if(!this.viewDefaultUsage){
if(Object.is(this.navModel,"route")){
this.initNavDataWithRoute(this.viewCacheData, false, true);
}else{
this.initNavDataWithTab(this.viewCacheData, false, true);
}
}
let localContext:any = null;
let localViewParam:any =null;
this.$Notice.warning({ title: '错误', desc: '未指定关系视图' });
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public closeView(args: any[]): void {
let _view: any = this;
if (_view.viewdata) {
_view.$emit('viewdataschange', Array.isArray(args)?args:[args]);
_view.$emit('close', Array.isArray(args)?args:[args]);
} else if (_view.$tabPageExp) {
_view.$tabPageExp.onClose(_view.$route.fullPath);
}
}
/**
* 销毁视图回调
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public destroyed(){
this.afterDestroyed();
}
/**
* 执行destroyed后的逻辑
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public afterDestroyed(){
if(this.viewDefaultUsage){
let localStoreLength = Object.keys(localStorage);
if(localStoreLength.length > 0){
localStoreLength.forEach((item:string) =>{
if(item.startsWith(this.context.srfsessionid)){
localStorage.removeItem(item);
}
})
}
if(Object.is(this.navModel,"tab")){
this.navDataService.removeNavDataByTag(this.viewtag);
}
}
if (this.serviceStateEvent) {
this.serviceStateEvent.unsubscribe();
}
// 销毁计数器定时器
if(this.counterServiceArray && this.counterServiceArray.length >0){
this.counterServiceArray.forEach((item:any) =>{
if(item.destroyCounter && item.destroyCounter instanceof Function){
item.destroyCounter();
}
})
}
if(this.portletStateEvent){
this.portletStateEvent.unsubscribe();
}
if (this.formDruipartEvent) {
this.formDruipartEvent.unsubscribe();
}
this.viewState.complete();
}
/**
* 视图唯一标识
*
* @type {string}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public viewUID: string = 'sample-ibizorder-test-custom-layout-panel-grid-exp-view';
/**
* 分隔值
*
* @type {number}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public split: number = 0.5;
/**
* 导航项
*
* @type {*}
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public navItem: any = {};
/**
* split值变化事件
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public onSplitChange() {
if (this.split) {
this.$store.commit("setViewSplit", { viewUID: this.viewUID, viewSplit: this.split });
}
}
/**
* 初始化分隔值
*
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public initSplit() {
if (this.$store.getters.getViewSplit(this.viewUID)) {
this.split = this.$store.getters.getViewSplit(this.viewUID);
} else {
const containerWidth = (this.$el as any).offsetWidth;
this.split = 0 / containerWidth;
this.$store.commit("setViewSplit", { viewUID: this.viewUID, viewSplit: this.split });
}
}
}
</script>
<style lang='less'>
@import './ibizorder-test-custom-layout-panel-grid-exp-view.less';
</style>
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZOrderTestCustomLayoutPanelGridExpViewBase from './ibizorder-test-custom-layout-panel-grid-exp-view-base.vue';
import view_gridexpbar from '@widgets/ibizorder/test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar/test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar.vue';
import view_searchbar from '@widgets/ibizorder/-searchbar/-searchbar.vue';
@Component({
components: {
view_gridexpbar,
view_searchbar,
},
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 IBIZOrderTestCustomLayoutPanelGridExpView extends IBIZOrderTestCustomLayoutPanelGridExpViewBase {
}
</script>
\ No newline at end of file
......@@ -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-usr2-grid-view', () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-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('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
......@@ -1637,6 +1637,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/testcustomlayoutpanelgridexpview/:testcustomlayoutpanelgridexpview?',
meta: {
caption: 'entities.ibizorder.views.testcustomlayoutpanelgridexpview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'testcustomlayoutpanelgridexpview', parameterName: 'testcustomlayoutpanelgridexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'),
},
{
path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: {
......@@ -3371,6 +3385,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookinter-func-edit-view/ibizbookinter-func-edit-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/testcustomlayoutpanelgridexpview/:testcustomlayoutpanelgridexpview?',
meta: {
caption: 'entities.ibizorder.views.testcustomlayoutpanelgridexpview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'testcustomlayoutpanelgridexpview', parameterName: 'testcustomlayoutpanelgridexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'),
},
{
path: '/appportalview2/:appportalview2?',
meta: {
......
<template>
<div class="app-view-layout" style="height: '100%'; width: '100%';'display': 'flex'; 'flex-direction': 'column';">
<app-scroll-container name="container_scroll1" :layoutModelDetails="layoutModelDetails">
<template #container_scroll_main1>
<app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
<template #nav_tabs1>
<span>部件占位nav_tabs1</span>
</template>
<template #nav_pos1>
<span>部件占位nav_pos1</span>
</template>
</app-scroll-container>
</template>
<template #container_scroll_left1>
<app-scroll-container name="container_scroll_left1" :layoutModelDetails="layoutModelDetails">
<template #appmenu1>
<span>部件占位appmenu1</span>
</template>
<template #app_apptitle1>
<span>属性项</span>
</template>
</app-scroll-container>
</template>
<template #container_scroll_header1>
<app-scroll-container name="container_scroll_header1" :layoutModelDetails="layoutModelDetails">
<template #container_grid1>
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails">
<template #container1>
<app-simpleflex-container name="container1" :layoutModelDetails="layoutModelDetails">
<template #app_apptitle>
<span>属性项</span>
</template>
</app-simpleflex-container>
</template>
<template #container2>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails">
</app-simpleflex-container>
</template>
<template #container3>
<app-simpleflex-container name="container3" :layoutModelDetails="layoutModelDetails">
<template #auth_userinfo1>
<span>部件占位auth_userinfo1</span>
</template>
</app-simpleflex-container>
</template>
</app-simpleflex-container>
</template>
</app-scroll-container>
</template>
</app-scroll-container>
</div>
</template>
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch,Inject } from 'vue-property-decorator';
import { UIActionTool,Util } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import { Subject,Subscription } from 'rxjs';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
import { appConfig } from '@/config/appConfig';
@Component({
components: {
},
})
export default class AppIndexViewBase extends Vue {
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof AppIndexViewBase
*/
@Emit()
public viewDatasChange(val: any):any {
return val;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof AppIndexViewBase
*/
@Prop() public viewdata!: string;
/**
* 传入视图参数
*
* @type {string}
* @memberof AppIndexViewBase
*/
@Prop() public viewparam!: string;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
@Prop({ default: true }) public viewDefaultUsage!: boolean;
/**
* 视图标识
*
* @type {string}
* @memberof AppIndexViewBase
*/
public viewtag: string = '2D42F3B7-3267-4276-9120-10F2D81E35AF';
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof AppIndexViewBase
*/
public customViewNavContexts:any ={
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof AppIndexViewBase
*/
public customViewParams:any ={
};
/**
* 视图模型数据
*
* @type {*}
* @memberof AppIndexViewBase
*/
public model: any = {
srfCaption: 'app.views.appindexview.caption',
srfTitle: 'app.views.appindexview.title',
srfSubTitle: 'app.views.appindexview.subtitle',
dataInfo: ''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AppIndexViewBase
*/
@Watch('viewparam',{immediate: true, deep: true})
onParamData(newVal: any, oldVal: any) {
if(newVal){
this.viewparams = {};
if(typeof newVal == 'string') {
Object.assign(this.viewparams, JSON.parse(this.viewparam));
}else{
this.viewparams = Util.deepCopy(this.viewparam);
}
}
}
/**
* 处理应用上下文变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AppIndexViewBase
*/
@Watch('viewdata')
onViewData(newVal: any, oldVal: any) {
const _this: any = this;
if (!Object.is(newVal, oldVal) && _this.engine) {
this.$nextTick(()=>{
_this.parseViewParam();
_this.engine.load();
});
} else if(!Object.is(newVal, oldVal) && _this.refresh && _this.refresh instanceof Function) {
_this.refresh();
}
}
/**
* 容器模型
*
* @type {*}
* @memberof AppIndexViewBase
*/
public containerModel: any = {
view_appmenu: { name: 'appmenu', type: 'APPMENU' },
};
/**
* 计数器刷新
*
* @memberof AppIndexViewBase
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 视图状态订阅对象
*
* @public
* @type {Subject<{action: string, data: any}>}
* @memberof AppIndexViewBase
*/
public viewState: Subject<ViewState> = new Subject();
/**
* 视图布局面板模型对象
*
* @public
* @memberof AppIndexViewBase
*/
public layoutModelDetails:any = {
nav_tabs1:new PanelCtrlPosModel({ name: 'nav_tabs1', caption: '标签页导航栏', itemType: 'CTRLPOS', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
nav_pos1:new PanelCtrlPosModel({ name: 'nav_pos1', caption: '导航区占位', itemType: 'CTRLPOS', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
container_scroll_main1:new PanelContainerModel({ name: 'container_scroll_main1', caption: '面板容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:80, widthMode:'PERCENTAGE', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['nav_tabs1','nav_pos1']}),
appmenu1:new PanelCtrlPosModel({ name: 'appmenu1', caption: '首页菜单', itemType: 'CTRLPOS', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
app_apptitle1:new PanelFieldModel({ name: 'app_apptitle1', caption: '应用标题', itemType: 'FIELD', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
container_scroll_left1:new PanelContainerModel({ name: 'container_scroll_left1', caption: '面板容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'BORDER', layoutPos:'WEST', layoutHeight:0, heightMode:'', layoutWidth:20, widthMode:'PERCENTAGE', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['appmenu1','app_apptitle1']}),
app_apptitle:new PanelFieldModel({ name: 'app_apptitle', caption: '应用标题', itemType: 'FIELD', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
container1:new PanelContainerModel({ name: 'container1', caption: '面板容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:3, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['app_apptitle']}),
container2:new PanelContainerModel({ name: 'container2', caption: '面板容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[]}),
auth_userinfo1:new PanelCtrlPosModel({ name: 'auth_userinfo1', caption: '用户信息', itemType: 'CTRLPOS', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
container3:new PanelContainerModel({ name: 'container3', caption: '面板容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:3, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['auth_userinfo1']}),
container_grid1:new PanelContainerModel({ name: 'container_grid1', caption: '栅格容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container1','container2','container3']}),
container_scroll_header1:new PanelContainerModel({ name: 'container_scroll_header1', caption: '面板容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'BORDER', layoutPos:'NORTH', layoutHeight:80, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_grid1']}),
container_scroll1:new PanelContainerModel({ name: 'container_scroll1', caption: '滚动条容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll_main1','container_scroll_left1','container_scroll_header1']})
};
/**
* 引擎初始化
*
* @public
* @memberof AppIndexViewBase
*/
public engineInit(): void {
}
/**
* 应用导航服务
*
* @type {*}
* @memberof AppIndexViewBase
*/
public navDataService = NavDataService.getInstance();
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof AppIndexViewBase
*/
public serviceStateEvent: Subscription | undefined;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof AppIndexViewBase
*/
@Prop() public portletState?: any;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof AppIndexViewBase
*/
public portletStateEvent: Subscription | undefined;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof AppIndexViewBase
*/
public formDruipartEvent: Subscription | undefined;
/**
* 应用上下文
*
* @type {*}
* @memberof AppIndexViewBase
*/
public context:any = {};
/**
* 视图参数
*
* @type {*}
* @memberof AppIndexViewBase
*/
public viewparams:any = {};
/**
* 视图缓存数据
*
* @type {*}
* @memberof AppIndexViewBase
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof AppIndexViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
* @public
* @memberof AppIndexViewBase
*/
public parseViewParam(inputvalue:any = null): void {
for(let key in this.context){
delete this.context[key];
}
if(this.$store.getters.getAppData() && this.$store.getters.getAppData().context){
Object.assign(this.context,this.$store.getters.getAppData().context);
}
if (!this.viewDefaultUsage && this.viewdata && !Object.is(this.viewdata, '')) {
if(typeof this.viewdata == 'string') {
Object.assign(this.context, JSON.parse(this.viewdata));
}
if(this.context && this.context.srfparentdename){
Object.assign(this.viewparams,{srfparentdename:this.context.srfparentdename});
}
if(this.context && this.context.srfparentkey){
Object.assign(this.viewparams,{srfparentkey:this.context.srfparentkey});
}
this.handleCustomViewData();
return;
}
const path = (this.$route.matched[this.$route.matched.length - 1]).path;
const keys: Array<any> = [];
const curReg = this.$pathToRegExp.pathToRegexp(path, keys);
const matchArray = curReg.exec(this.$route.path);
let tempValue: Object = {};
keys.forEach((item: any, index: number) => {
if(matchArray[index + 1]){
Object.defineProperty(tempValue, item.name, {
enumerable: true,
value: decodeURIComponent(matchArray[index + 1])
});
}
});
this.$viewTool.formatRouteParams(tempValue,this.$route,this.context,this.viewparams);
this.handleCustomViewData();
//初始化导航数据
this.initNavDataWithRoute();
}
/**
* 处理自定义视图数据
*
* @memberof AppIndexViewBase
*/
public handleCustomViewData(){
if(Object.keys(this.customViewNavContexts).length > 0){
Object.keys(this.customViewNavContexts).forEach((item:any) =>{
let tempContext:any = {};
let curNavContext:any = this.customViewNavContexts[item];
this.handleCustomDataLogic(curNavContext,tempContext,item);
Object.assign(this.context,tempContext);
})
}
if(Object.keys(this.customViewParams).length > 0){
Object.keys(this.customViewParams).forEach((item:any) =>{
let tempParam:any = {};
let curNavParam:any = this.customViewParams[item];
this.handleCustomDataLogic(curNavParam,tempParam,item);
Object.assign(this.viewparams,tempParam);
})
}
}
/**
* 处理自定义视图数据逻辑
*
* @memberof AppIndexViewBase
*/
public handleCustomDataLogic(curNavData:any,tempData:any,item:string){
// 直接值直接赋值
if(curNavData.isRawValue){
if(Object.is(curNavData.value,"null") || Object.is(curNavData.value,"")){
Object.defineProperty(tempData, item.toLowerCase(), {
value: null,
writable : true,
enumerable : true,
configurable : true
});
}else{
Object.defineProperty(tempData, item.toLowerCase(), {
value: curNavData.value,
writable : true,
enumerable : true,
configurable : true
});
}
}else{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if(this.context[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), {
value: this.context[(curNavData.value).toLowerCase()],
writable : true,
enumerable : true,
configurable : true
});
}else{
if(this.viewparams[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), {
value: this.viewparams[(curNavData.value).toLowerCase()],
writable : true,
enumerable : true,
configurable : true
});
}else{
Object.defineProperty(tempData, item.toLowerCase(), {
value: null,
writable : true,
enumerable : true,
configurable : true
});
}
}
}
}
/**
* 初始化导航数据(路由模式)
*
* @memberof AppIndexViewBase
*/
public initNavDataWithRoute(data:any = null, isNew:boolean = false, isAlways:boolean = false){
if( isAlways || (this.viewDefaultUsage && Object.is(this.navModel,"route")) ){
this.navDataService.addNavData({id:'app-index-view',tag:this.viewtag,srfkey:isNew ? null : null,title:this.$t(this.model.srfCaption),data:data,context:this.context,viewparams:this.viewparams,path:this.$route.fullPath});
}
}
/**
* 初始化导航数据(分页模式)
*
* @memberof AppIndexViewBase
*/
public initNavDataWithTab(data:any = null,isOnlyAdd:boolean = true, isAlways:boolean = false){
if( isAlways || (this.viewDefaultUsage && !Object.is(this.navModel,"route")) ){
this.navDataService.addNavDataByOnly({id:'app-index-view',tag:this.viewtag,srfkey:null,title:this.$t(this.model.srfCaption),data:data,context:this.context,viewparams:this.viewparams,path:this.$route.fullPath},isOnlyAdd);
}
}
/**
* Vue声明周期
*
* @memberof AppIndexViewBase
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof AppIndexViewBase
*/
public afterCreated(){
let _this:any = this;
const secondtag = _this.$util.createUUID();
_this.$store.commit('viewaction/createdView', { viewtag: _this.viewtag, secondtag: secondtag });
_this.viewtag = secondtag;
_this.parseViewParam();
_this.serviceStateEvent = _this.navDataService.serviceState.subscribe(({ action,name, data }:{ action:string,name:any,data:any }) => {
if(!Object.is(name,'app-index-view')){
return;
}
if (Object.is(action, 'viewrefresh')) {
_this.$nextTick(()=>{
_this.parseViewParam(data);
if(_this.engine){
_this.engine.load();
}
});
}
});
if(_this.portletState){
_this.portletStateEvent = _this.portletState.subscribe((res:any) =>{
if(!Object.is(res.name,'AppIndexView')){
return;
}
if(Object.is(res.action,'refresh') && _this.refresh && _this.refresh instanceof Function){
_this.refresh();
}
})
}
}
/**
* 销毁之前
*
* @memberof AppIndexViewBase
*/
public beforeDestroy() {
this.$store.commit('viewaction/removeView', this.viewtag);
let _this: any = this
if (_this.serviceStateEvent) {
_this.serviceStateEvent.unsubscribe();
}
if (_this.portletStateEvent) {
_this.portletStateEvent.unsubscribe();
}
if (_this.engine) {
_this.engine.destroy();
}
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof AppIndexViewBase
*/
public mounted() {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof AppIndexViewBase
*/
public afterMounted(){
const _this: any = this;
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
this.viewState.next({ tag: 'appmenu', action: 'load', data: {} });
this.$viewTool.setIndexParameters([{ pathName: 'appindexview', parameterName: 'appindexview' }]);
this.$viewTool.setIndexViewParam(this.context);
this.mouse_move();
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof AppIndexViewBase
*/
public closeView(args: any[]): void {
let _view: any = this;
if (_view.viewdata) {
_view.$emit('viewdataschange', Array.isArray(args)?args:[args]);
_view.$emit('close', Array.isArray(args)?args:[args]);
} else if (_view.$tabPageExp) {
_view.$tabPageExp.onClose(_view.$route.fullPath);
}
}
/**
* 菜单位置
*
* @public
* @type {string}
* @memberof AppIndexViewBase
*/
public mode: string ='vertical';
/**
* 导航模式(route:面包屑模式、tab:分页导航模式)
*
* @type {string}
* @memberof AppIndexViewBase
*/
@Provide()
public navModel:string = "tab";
/**
* 抽屉状态
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
public contextMenuDragVisiable: boolean = false;
/**
* 是否支持应用切换
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
public isEnableAppSwitch: boolean = false;
/**
* 初始化之前
*
* @memberof AppIndexViewBase
*/
public beforeCreate(){
let navDataService = NavDataService.getInstance();
navDataService.removeAllNavData();
}
/**
* 当前主题
*
* @readonly
* @memberof AppIndexViewBase
*/
get selectTheme() {
if (this.$router.app.$store.state.selectTheme) {
return this.$router.app.$store.state.selectTheme;
} else if (localStorage.getItem('theme-class')) {
return localStorage.getItem('theme-class');
} else {
return appConfig.defaultTheme;
}
}
/**
* 当前字体
*
* @readonly
* @memberof AppIndexViewBase
*/
get selectFont() {
if (this.$router.app.$store.state.selectFont) {
return this.$router.app.$store.state.selectFont;
} else if (localStorage.getItem('font-family')) {
return localStorage.getItem('font-family');
} else {
return appConfig.defaultFont;
}
}
/**
* 菜单收缩变化
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
public collapseChange: boolean = false;
/**
* 菜单收缩点击
*
* @memberof AppIndexViewBase
*/
public handleClick(): void {
this.collapseChange = !this.collapseChange;
}
/**
* 默认打开的视图
*
* @type {*}
* @memberof AppIndexViewBase
*/
public defPSAppView: any = {
};
/**
* 应用起始页面
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
public isDefaultPage: boolean = false;
/**
* 空白视图模式
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
public isBlankMode:boolean = false;
/**
* 获取样式
*
* @readonly
* @type {string[]}
* @memberof AppIndexViewBase
*/
get themeClasses(): string {
return this.selectTheme;
}
/**
* 主题字体
*
* @readonly
* @type {*}
* @memberof AppIndexViewBase
*/
get themeStyle(): any {
return {
'height': '100vh',
'font-family': this.selectFont,
}
}
/**
* 获取路由列表
*
* @readonly
* @type {any[]}
* @memberof AppIndexViewBase
*/
get getRouterList(): any[] {
return this.$store.state.historyPathList;
}
/**
* 获取路由键值
*
* @readonly
* @type {string}
* @memberof AppIndexViewBase
*/
get getRouterViewKey(): string {
return this.$route.fullPath;
}
/**
* 鼠标拖动事件
*
* @param {*} val
* @returns {*}
* @memberof AppIndexViewBase
*/
public mouse_move(){
let move_axis:any = document.getElementById("move_axis");
let left_move :any= document.getElementById("left_move");
let right_move :any= document.getElementById("right_move");
let movebox :any= document.getElementById("movebox");
if(left_move && right_move && move_axis && movebox){
let leftWidth :number = parseInt(left_move.style.width);
move_axis.onmousedown = (e:any) =>{
let startX = e.clientX;
move_axis.left = move_axis.offsetLeft;
document.onmousemove = (e:any) =>{
let endX = e.clientX;
let moveLen = move_axis.left + (endX - startX);
let maxT = movebox.clientWidth - move_axis.offsetWidth;
if (moveLen < 150) moveLen = 150;
if (moveLen > maxT - 150) moveLen = maxT - 150;
move_axis.style.left = moveLen;
left_move.style.width = moveLen + "px";
right_move.style.width = (movebox.clientWidth - moveLen - 5) + "px";
if (moveLen>500) {
left_move.style.width = 500 + 'px';
}
let left_width : number = parseInt(left_move.style.width);
move_axis.style.left = left_width - 5 + 'px';
if (left_width < leftWidth){
move_axis.style.left = leftWidth - 5 + 'px';
}
}
document.onmouseup = (evt) =>{
document.onmousemove = null;
document.onmouseup = null;
move_axis.releaseCapture && move_axis.releaseCapture();
}
move_axis.setCapture && move_axis.setCapture();
return false;
}
}
}
}
</script>
<style lang='less'>
@import './app-index-view.less';
</style>
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AppIndexViewBase from './app-index-view-base.vue';
import view_appmenu from '@widgets/app/app-index-view-appmenu/app-index-view-appmenu.vue';
@Component({
components: {
view_appmenu,
},
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 AppIndexView extends AppIndexViewBase {
}
</script>
\ No newline at end of file
import Vue from 'vue';
import Vuex from 'vuex';
import VueRouter from 'vue-router';
import App from '@/App.vue';
import ElementUi from 'element-ui';
import ViewUI from 'view-design';
import ibizLab from 'ibiz-vue-lib';
import axios from "axios";
import { Interceptors } from '@/utils';
import {Print} from '@/utils/print';
import i18n from '@/locale'
import 'element-ui/lib/theme-chalk/index.css';
import 'view-design/dist/styles/iview.css';
import 'ibiz-vue-lib/lib/ibiz-vue-lib.css';
import '@/styles/default.less';
import VueAMap from 'vue-amap';
Vue.use(VueAMap);
VueAMap.initAMapApiLoader({
key: '6ab2751103aea67e817c90a5528181b5',
plugin: ["AMap.Geolocation","AMap.PlaceSearch","AMap.Geocoder", "AMap.Autocomplete"],
uiVersion: '1.1'
});
// 模拟数据
if (process.env.NODE_ENV === 'development') {
require('@/mock');
}
const pathToRegExp = require('path-to-regexp');
import { AppComponents } from '@/app-register';
import { PageComponents } from './page-register';
import { UserComponent } from '@/user-register';
import { PortletComponent } from '@/portlet-register';
import store from '@/store';
import router from './router';
const win: any = window;
win.axios = axios;
Vue.config.errorHandler = function (err: any, vm: any, info: any) {
console.log(err);
}
Vue.config.productionTip = false;
Vue.use(Print);
Vue.use(ibizLab);
Vue.use(Vuex);
Vue.use(win.AVUE);
Vue.use(VueRouter);;
Vue.use(ElementUi, {
i18n: (key: any, value: any) => i18n.t(key, value)
});
Vue.use(ViewUI, {
i18n: (key: any, value: any) => i18n.t(key, value)
});
// Vue.use(utils);
Vue.prototype.$pathToRegExp = pathToRegExp;
Vue.use(AppComponents);
Vue.use(PageComponents);
Vue.use(UserComponent);
Vue.use(PortletComponent);
router.beforeEach((to: any, from: any, next: any) => {
if(sessionStorage.getItem('lockState') && to.path != '/lock'){
next({ path: '/lock'});
}else{
if (to.meta && !to.meta.ignoreAddPage) {
router.app.$store.commit('addPage', to);
}
next();
}
});
Interceptors.getInstance(router,store);
const init = async () => {
new Vue({
i18n,
store,
router,
render: (h: any) => h(App),
}).$mount('#app');
};
init();
\ No newline at end of file
export const PageComponents = {
install(Vue: any, opt: any) {
Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue'));
Vue.component('ibizsample0014-grid-view', () => import('@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue'));
Vue.component('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'));
Vue.component('app-login-view', () => import('@pages/ungroup/app-login-view/app-login-view.vue'));
}
};
\ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob
......@@ -445,6 +445,15 @@ export const viewstate: any = {
'115bb38d6a2e8485eaf69751f3d24fdd',
],
},
{
viewtag: '38b0b453d423e0772822db6be4f02505',
viewmodule: 'Sample',
viewname: 'IBIZOrderTestCustomLayoutPanelGridExpView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '3d5803767cb3743ed92096aff4ca2b72',
viewmodule: 'Sample',
......@@ -773,6 +782,7 @@ export const viewstate: any = {
'd1e103c50de1fa941638bec77683936c',
'504c018faa34b2d0fce7c4c56569e02e',
'7ce3aaf69c0b882631428087b7db6464',
'38b0b453d423e0772822db6be4f02505',
],
},
{
......@@ -1991,6 +2001,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '2D42F3B7-3267-4276-9120-10F2D81E35AF',
viewmodule: 'Ungroup',
viewname: 'AppIndexView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '96bc1e4d0d5d6b66d639f401966b375b',
viewmodule: 'Ungroup',
......
......@@ -106,6 +106,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'selecteditview',srfappde:'ibizorders',component:'ibizorder-select-edit-view'});
this.allViewMap.set(':',{viewname:'dataviewexpview',srfappde:'ibizorders',component:'ibizorder-data-view-exp-view'});
this.allViewMap.set(':',{viewname:'sf15gridview',srfappde:'ibizorders',component:'ibizorder-sf15-grid-view'});
this.allViewMap.set(':',{viewname:'testcustomlayoutpanelgridexpview',srfappde:'ibizorders',component:'ibizorder-test-custom-layout-panel-grid-exp-view'});
this.allViewMap.set(':',{viewname:'listview',srfappde:'ibizorders',component:'ibizorder-list-view'});
this.allViewMap.set(':',{viewname:'wfactionview',srfappde:'ibizorders',component:'ibizorder-wfaction-view'});
this.allViewMap.set('WFMDATAVIEW:ODSP:W:10',{viewname:'odsp_w10_wfgridview',srfappde:'ibizorders',component:'ibizorder-odsp-w10-wfgrid-view'});
......
<template>
<div class="app-app-menu">
<el-menu
class="app-menu"
:default-openeds="defaultOpeneds"
:mode="mode"
:menu-trigger="trigger"
:collapse="isCollapse"
@select="select"
:default-active="defaultActive">
<template v-if="Object.is(mode,'horizontal')">
<template v-for="item0 in menus">
<template v-if="item0.items && Array.isArray(item0.items) && item0.items.length > 0">
<el-submenu v-show="!item0.hidden" :index="item0.name" :popper-class="popperClass" :key="item0.id" :class="item0.textcls">
<template slot='title'>
<template v-if="item0.icon && item0.icon != ''">
<img :src="item0.icon" class='app-menu-icon' />
</template>
<template v-else-if="item0.iconcls && item0.iconcls != ''">
<i :class="[item0.iconcls, 'app-menu-icon']"></i>
</template>
<template v-else>
<i class='app-menu-icon'></i>
</template>
<span class='text' :title="$t('app.menus.appindexview.' + item0.name)">{{$t('app.menus.appindexview.' + item0.name)}}</span>
</template>
<template v-for="item1 in item0.items">
<template v-if="item1.items && Array.isArray(item1.items) && item1.items.length > 0">
<el-submenu v-show="!item1.hidden" :index="item1.name" :popper-class="popperClass" :key="item1.id" :class="item1.textcls">
<template slot='title'>
<template v-if="item1.icon && item1.icon != ''">
<img :src="item1.icon" class='app-menu-icon' />
</template>
<template v-else-if="item1.iconcls && item1.iconcls != ''">
<i :class="[item1.iconcls, 'app-menu-icon']"></i>
</template>
<span class='text' :title="$t('app.menus.appindexview.' + item1.name)">{{$t('app.menus.appindexview.' + item1.name)}}</span>
</template>
<template v-for="item2 in item1.items">
<template v-if="item2.type =='MENUITEM'">
<el-menu-item v-show="!item2.hidden" :index="item2.name" :key="item2.id" :class="item2.textcls">
<template v-if="item2.icon && item2.icon != ''">
<img :src="item2.icon" class='app-menu-icon' />
</template>
<template v-else-if="item2.iconcls && item2.iconcls != ''">
<i :class="[item2.iconcls, 'app-menu-icon']"></i>
</template>
<template slot="title">
<span class="text" :title="$t('app.menus.appindexview.' + item2.name)">{{$t('app.menus.appindexview.' + item2.name)}}</span>
<template v-if="counterdata && counterdata[item2.counterid] && counterdata[item2.counterid] > 0">
<span class="pull-right">
<badge :count="counterdata[item2.counterid]" :overflow-count="9999"></badge>
</span>
</template>
</template>
</el-menu-item>
</template>
</template>
</el-submenu>
</template>
<template v-else>
<template v-if="item1.type =='MENUITEM'">
<el-menu-item v-show="!item1.hidden" :index="item1.name" :key="item1.id" :class="item1.textcls">
<template v-if="item1.icon && item1.icon != ''">
<img :src="item1.icon" class='app-menu-icon' />
</template>
<template v-else-if="item1.iconcls && item1.iconcls != ''">
<i :class="[item1.iconcls, 'app-menu-icon']"></i>
</template>
<template slot="title">
<span class="text" :title="$t('app.menus.appindexview.' + item1.name)">{{$t('app.menus.appindexview.' + item1.name)}} </span>
<template v-if="counterdata && counterdata[item1.counterid] && counterdata[item1.counterid] > 0">
<span class="pull-right">
<badge :count="counterdata[item1.counterid]" :overflow-count="9999"></badge>
</span>
</template>
</template>
</el-menu-item>
</template>
</template>
</template>
</el-submenu>
</template>
<template v-else>
<template v-if="item0.type =='MENUITEM'">
<el-menu-item v-show="!item0.hidden" :index="item0.name" :key="item0.id" :class="item0.textcls">
<template v-if="item0.icon && item0.icon != ''">
<img :src="item0.icon" class='app-menu-icon' />
</template>
<template v-else-if="item0.iconcls && item0.iconcls != ''">
<i :class="[item0.iconcls, 'app-menu-icon']"></i>
</template>
<template v-else>
<i class='app-menu-icon'></i>
</template>
<template slot="title">
<span class="text" :title="$t('app.menus.appindexview.' + item0.name)">{{$t('app.menus.appindexview.' + item0.name)}}</span>
<template v-if="counterdata && counterdata[item0.counterid] && counterdata[item0.counterid] > 0">
<span class="pull-right">
<badge :count="counterdata[item0.counterid]" :overflow-count="9999"></badge>
</span>
</template>
</template>
</el-menu-item>
</template>
</template>
</template>
</template>
<app-menu-item v-else :isCollapse="isCollapse" :menus="menus" :ctrlName="'appindexview'" :isFirst="true" :counterdata="counterdata" :popper-class="popperClass"></app-menu-item>
</el-menu>
</div>
</template>
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util,ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import AppCenterService from "@service/app/app-center-service";
import AppIndexViewService from './app-index-view-appmenu-service';
import AppIndexViewModel from './app-index-view-appmenu-model';
import { Environment } from '@/environments/environment';
import AuthService from '@/authservice/auth-service';
@Component({
components: {
}
})
export default class AppIndexViewBase extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof AppIndexViewBase
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof AppIndexViewBase
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof AppIndexViewBase
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof AppIndexViewBase
*/
@Prop() public viewparams!: any;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof AppIndexViewBase
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof AppIndexViewBase
*/
public getControlType(): string {
return 'APPMENU'
}
/**
* 建构部件服务对象
*
* @type {AppIndexViewService}
* @memberof AppIndexViewBase
*/
public service: AppIndexViewService = new AppIndexViewService({ $store: this.$store });
/**
* 关闭视图
*
* @param {any} args
* @memberof AppIndexViewBase
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof AppIndexViewBase
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof AppIndexViewBase
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof AppIndexViewBase
*/
public getData(): any {
return null;
}
/**
* 导航模式(route:面包屑模式、tab:分页导航模式)
*
* @type {string}
* @memberof AppIndexViewBase
*/
@Prop({default:'tab'}) public navModel?:string;
/**
* 视图标识
*
* @type {string}
* @memberof AppIndexViewBase
*/
@Prop() public viewtag!:string;
/**
* 菜单模型
*
* @public
* @type {AppIndexViewModel}
* @memberof AppIndexViewBase
*/
public menuMode: AppIndexViewModel = new AppIndexViewModel();
/**
* 显示处理提示
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
@Prop({ default: true }) public showBusyIndicator?: boolean;
/**
* 菜单数据
*
* @public
* @type {any[]}
* @memberof AppIndexViewBase
*/
@Provide()
public menus: any[] = [];
/**
* 菜单收缩改变
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
@Model() public collapsechange?: boolean;
/**
* 监听菜单收缩
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AppIndexViewBase
*/
@Watch('collapsechange')
onCollapsechangeChange(newVal: any, oldVal: any) {
if (newVal !== this.isCollapse) {
this.isCollapse = !this.isCollapse;
}
}
/**
* 当前模式,菜单在顶部还是在底部
*
* @type {*}
* @memberof AppIndexViewBase
*/
@Prop() mode: any;
/**
* 应用起始页面
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
@Prop({ default: false }) isDefaultPage?: boolean;
/**
* 空白视图模式
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
@Prop({ default: false }) isBlankMode?:boolean;
/**
* 默认打开视图
*
* @type {*}
* @memberof AppIndexViewBase
*/
@Prop() defPSAppView: any;
/**
* 默认激活的index
*
* @type {*}
* @memberof AppIndexViewBase
*/
@Provide() defaultActive: any = null;
/**
* 当前选中主题
*
* @type {*}
* @memberof AppIndexViewBase
*/
@Prop() selectTheme: any;
/**
* 默认打开的index数组
*
* @type {any[]}
* @memberof AppIndexViewBase
*/
@Provide() public defaultOpeneds: any[] = [];
/**
* 是否展开
*
* @type {boolean}
* @memberof AppIndexViewBase
*/
@Provide() public isCollapse: boolean = false;
/**
* 触发方式,默认click
*
* @type {string}
* @memberof AppIndexViewBase
*/
@Provide() trigger: string = 'click';
/**
* 计数器数据
*
* @type {*}
* @memberof AppIndexViewBase
*/
public counterdata: any = {};
/**
* 建构权限服务对象
*
* @type {AuthService}
* @memberof AppIndexViewBase
*/
public authService:AuthService = new AuthService();
/**
* vue 生命周期
*
* @memberof AppIndexViewBase
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof AppIndexViewBase
*/
public afterCreated(){
if (Object.is(this.mode, 'horizontal')) {
this.trigger = 'hover';
}
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.load(data);
});
}
}
/**
* vue 生命周期
*
* @memberof AppIndexViewBase
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof AppIndexViewBase
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
/**
* 获取菜单项数据
*
* @public
* @param {any[]} items
* @param {string} name
* @returns
* @memberof AppIndexViewBase
*/
public compute(items: any[], name: string) {
const item: any = {};
items.some((_item: any) => {
if (name && Object.is(_item.name, name)) {
Object.assign(item, _item);
this.setHideSideBar(_item);
return true;
}
if (_item.items && Array.isArray(_item.items)) {
const subItem = this.compute(_item.items, name);
if (Object.keys(subItem).length > 0) {
Object.assign(item, subItem);
return true;
}
}
return false;
});
return item;
}
/**
* 设置是否隐藏菜单栏
*
* @public
* @param {*} item
* @memberof AppIndexViewBase
*/
public setHideSideBar(item: any): void {
}
/**
* 菜单项选中处理
*
* @param {*} index
* @param {any[]} indexs
* @returns
* @memberof AppIndexViewBase
*/
public select(index: any, indexs: any[]) {
let item = this.compute(this.menus, index);
if (Object.keys(item).length === 0) {
return;
}
this.click(item);
}
/**
* 菜单点击
*
* @public
* @param {*} item 菜单数据
* @memberof AppIndexViewBase
*/
public click(item: any) {
if (item) {
let navDataService = NavDataService.getInstance();
if(Object.is(this.navModel,"route")){
navDataService.removeNavData(this.viewtag);
}
switch (item.appfunctag) {
default:
console.warn('未指定应用功能');
}
}
}
/**
* 数据加载
*
* @param {*} data
* @memberof AppIndexViewBase
*/
public load(data: any) {
this.handleMenusResource(this.menuMode.getAppMenuItems());
}
/**
* 通过统一资源标识计算菜单
*
* @param {*} data
* @memberof AppIndexViewBase
*/
public handleMenusResource(inputMenus:Array<any>){
if(this.$store.getters['authresource/getEnablePermissionValid']){
this.computedEffectiveMenus(inputMenus);
this.computeParentMenus(inputMenus);
}
this.dataProcess(inputMenus);
this.menus = inputMenus;
}
/**
* 计算有效菜单项
*
* @param {*} inputMenus
* @memberof AppIndexViewBase
*/
public computedEffectiveMenus(inputMenus:Array<any>){
inputMenus.forEach((_item:any) =>{
if(!this.authService.getMenusPermission(_item)){
_item.hidden = true;
if (_item.items && _item.items.length > 0) {
this.computedEffectiveMenus(_item.items);
}
}
})
}
/**
* 计算父项菜单项是否隐藏
*
* @param {*} inputMenus
* @memberof AppIndexViewBase
*/
public computeParentMenus(inputMenus:Array<any>){
if(inputMenus && inputMenus.length >0){
inputMenus.forEach((item:any) =>{
if(item.hidden && item.items && item.items.length >0){
item.items.map((singleItem:any) =>{
if(!singleItem.hidden){
item.hidden = false;
}else{
if(singleItem.items && singleItem.items.length >0){
singleItem.items.map((grandsonItem:any) =>{
if(!grandsonItem.hidden){
item.hidden = false;
}
})
}
}
if(item.items && item.items.length >0){
this.computeParentMenus(item.items);
}
})
}
})
}
}
/**
* 数据处理
*
* @public
* @param {any[]} items
* @memberof AppIndexViewBase
*/
public dataProcess(items: any[]): void {
items.forEach((_item: any) => {
if (_item.expanded) {
this.defaultOpeneds.push(_item.name);
}
if (_item.items && _item.items.length > 0) {
this.dataProcess(_item.items)
}
});
}
/**
* 提示框主题样式
*
* @readonly
* @type {string}
* @memberof AppIndexViewBase
*/
get popperClass(): string {
return 'app-popper-menu ' + this.selectTheme;
}
}
</script>
<style lang='less'>
@import './app-index-view-appmenu.less';
</style>
\ No newline at end of file
/**
* AppIndexView 部件模型
*
* @export
* @class AppIndexViewModel
*/
export default class AppIndexViewModel {
/**
* 菜单项集合
*
* @public
* @type {any[]}
* @memberof AppIndexViewModel
*/
public items: any[] = [
];
/**
* 应用功能集合
*
* @public
* @type {any[]}
* @memberof AppIndexViewModel
*/
public funcs: any[] = [
];
/**
* 获取所有菜单项集合
*
* @returns {any[]}
* @memberof AppIndexViewModel
*/
public getAppMenuItems(): any[] {
return this.items;
}
/**
* 获取所有应用功能集合
*
* @returns {any[]}
* @memberof AppIndexViewModel
*/
public getAppFuncs(): any[] {
return this.funcs;
}
}
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import AppIndexViewModel from './app-index-view-appmenu-model';
/**
* AppIndexView 部件服务对象
*
* @export
* @class AppIndexViewService
*/
export default class AppIndexViewService extends ControlService {
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof AppIndexViewService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of AppIndexViewService.
*
* @param {*} [opts={}]
* @memberof AppIndexViewService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new AppIndexViewModel();
}
/**
* 获取数据
*
* @returns {Promise<any>}
* @memberof AppIndexView
*/
@Errorlog
public get(params: any = {}): Promise<any> {
return Http.getInstance().get('v7/app-index-viewappmenu', params);
}
}
\ No newline at end of file
/*** BRGIN:菜单样式 ***/
.app-app-menu {
overflow-y: auto;
overflow-x: hidden;
height: calc(100% - 58px);
.ivu-divider{
background-color: #b3b3b3;
height: 2px;
}
> .el-menu {
border-right: 0;
.el-menu-item {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
.ivu-badge {
.ivu-badge-count {
box-shadow: 0 0 0 0px #fff;
}
}
}
.el-submenu__title i, .el-menu-item i {
font-size: 12px;
width: 18px;
}
.el-submenu__title .app-menu-icon,.el-menu-item .app-menu-icon{
width:20px;
font-size: 14px;
}
.el-submenu__title .text {
font-size: 16px;
}
.el-submenu__title .app-menu-circle,.el-menu-item .app-menu-circle {
display: inline-block;
border-radius: 50%;
width: 20px;
height: 20px;
line-height: 36px;
vertical-align:middle;
background: rgb(var(--app-footer-background-color-rgb));
border: 1px solid #fff;
border-color: rgb(var(--app-header-color-rgb));
color: rgb(var(--app-header-color-rgb));;
text-align: center;
font: 12px Arial, sans-serif;
}
.el-submenu__title, .el-menu-item {
height: 50px;
font-size: 14px;
line-height: 50px;
border-left: 4px !important;
}
.el-menu-item .el-tooltip {
padding-left: 12px !important;
}
.isCollpase .el-submenu__title{
padding-left: 12px !important;
}
.isFirst > .text {
font-size: 16px !important;
}
.el-menu-item, .el-submenu, .el-menu {
border-top: 1px solid #fff;
}
> .el-menu-item, > .el-submenu > .el-submenu__title {
height: 56px;
line-height: 56px;
padding-left: 16px !important;
}
.app-menu-icon {
margin: 4px;
text-align: center;
}
> .el-submenu {
> .el-menu {
> .el-menu-item, > .el-submenu > .el-submenu__title {
padding-left: 44px !important;
}
> .el-submenu {
> .el-menu {
> .el-menu-item, > .el-submenu > .el-submenu__title {
padding-left: 68px !important;
}
}
}
}
}
.active-icon {
font-size: 40px !important;
position: absolute;
right: 0;
line-height: 42px;
color: #fff !important;
display: none;
width: 24px !important;
overflow: hidden;
}
}
.el-menu--horizontal{
display: flex;
width: calc(100vw - 1100px);
height: 65px;
flex-wrap: nowrap;
overflow-x:scroll;
padding-top: 3px;
.el-menu-item{
overflow: visible;
}
.el-submenu{
.el-submenu__title{
padding-right: 0px !important;
padding-left: 0px !important;
}
}
}
.ivu-divider-horizontal {
width: 100%;
min-width: 100%;
margin: 4px auto;
margin-bottom: 1px;
}
}
.app-popper-menu {
.el-menu-item, .el-submenu__title {
height: 36px;
font-size: 16px;
line-height: 36px;
}
> .el-menu-item, > .el-submenu > .el-submenu__title {
height: 40px;
line-height: 40px;
}
.el-menu-item {
.ivu-badge {
.ivu-badge-count {
box-shadow: 0 0 0 0px #fff;
}
}
> span{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.ivu-divider-horizontal {
width: 100%;
min-width: 100%;
margin: 4px auto;
margin-bottom: 1px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AppIndexViewBase from './app-index-view-appmenu-base.vue';
@Component({
components: {
}
})
export default class AppIndexView extends AppIndexViewBase {
}
</script>
\ No newline at end of file
......@@ -919,6 +919,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc100':
this.clickAppFunc100(item);
return;
case 'UsrAppFunc1102681676':
this.clickUsrAppFunc1102681676(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -3383,6 +3386,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path);
})
}
/**
* 测试导航区占位
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickUsrAppFunc1102681676(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'testcustomlayoutpanelgridexpview', parameterName: 'testcustomlayoutpanelgridexpview' },
];
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);
})
}
/**
* 数据加载
......
......@@ -15,7 +15,7 @@ export default class MainMenuModel {
*/
public items: any[] = [
{
id: '951D5DBA-07CE-446D-9BEA-A7D80706EA5A',
id: 'C52E01B6-600E-41DA-B114-BE091C2BE967',
name: 'menuitem1',
text: '工作台',
type: 'MENUITEM',
......@@ -34,7 +34,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem1',
},
{
id: '6D0277C0-99AF-483F-B33B-9B5267204811',
id: '2EE60144-D2F8-46E1-A792-5DAACAE0FA1D',
name: 'menuitem3',
text: '控件',
type: 'MENUITEM',
......@@ -53,7 +53,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem3',
items: [
{
id: '5ECECB5E-C6BE-4A02-9DCE-22E3EBC098A0',
id: '30834D6D-1917-4B0D-8C20-31800300DD9B',
name: 'menuitem6',
text: '默认数据类型',
type: 'MENUITEM',
......@@ -72,7 +72,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem6',
},
{
id: 'A0B793FB-1CDC-45D2-AEF2-C070F1AB9506',
id: 'F258747E-DA47-48CC-8B89-4694F82C4CDF',
name: 'menuitem7',
text: '默认编辑器类型',
type: 'MENUITEM',
......@@ -91,7 +91,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem7',
},
{
id: 'ED710D13-33DD-4FD3-93A0-E7B0D93C0D7E',
id: 'A296474A-F181-44C2-9451-E8FD67A50F83',
name: 'menuitem72',
text: '扩展编辑器',
type: 'MENUITEM',
......@@ -110,7 +110,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem72',
},
{
id: '5C411E31-D7F8-4B56-94F2-DCBD37220416',
id: '68039A6F-0C94-42B4-A92A-E64ED65F27C2',
name: 'menuitem65',
text: '微服务组件',
type: 'MENUITEM',
......@@ -129,7 +129,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem65',
},
{
id: '852F94C6-668E-4614-858B-52895A3680A5',
id: 'F4B30448-A530-4C15-BB8F-F5084F8B58E6',
name: 'menuitem151',
text: '编辑器插件示例',
type: 'MENUITEM',
......@@ -150,7 +150,7 @@ export default class MainMenuModel {
],
},
{
id: '91EA6CBE-5B4D-4C89-8E50-7E389A789D2E',
id: '5C2FDF6C-2E02-457B-9AC8-25E6E905FF79',
name: 'menuitem4',
text: '部件',
type: 'MENUITEM',
......@@ -169,7 +169,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem4',
items: [
{
id: '52CF693A-088F-484D-9ACE-1AC36D59DD92',
id: 'D49AB197-9779-4342-9661-8F178D41664B',
name: 'menuitem112',
text: '应用类',
type: 'MENUITEM',
......@@ -188,7 +188,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem112',
items: [
{
id: '3D2F1407-658A-4398-9996-5DED1EE1E8B7',
id: 'DC2BC230-AD6F-4CF9-B523-FE31779348E2',
name: 'menuitem186',
text: '数据看板',
type: 'MENUITEM',
......@@ -207,7 +207,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem186',
},
{
id: 'C509636C-A91D-4AC4-8D39-EE7D26F1CC9F',
id: '991B888D-2458-4001-8F27-A4B53DAB3463',
name: 'menuitem129',
text: '门户部件',
type: 'MENUITEM',
......@@ -228,7 +228,7 @@ export default class MainMenuModel {
],
},
{
id: '35F29BB6-2317-4ACB-91F1-65DC940EF72B',
id: '768E57CC-6A60-4939-8CC5-38583271C998',
name: 'menuitem156',
text: '表单类',
type: 'MENUITEM',
......@@ -247,7 +247,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem156',
items: [
{
id: 'F78B4FC2-F3CA-4AAC-BBB4-3AAC0FE4F745',
id: '3D074648-A5D8-4B7E-B7AB-C4634EE0EED6',
name: 'menuitem12',
text: '编辑表单',
type: 'MENUITEM',
......@@ -266,7 +266,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem12',
items: [
{
id: '618EB66C-4CFA-483F-A07D-6D2813407A02',
id: '07EDD180-7453-4FD1-9036-003CCCD43F2D',
name: 'menuitem15',
text: '基础表单项',
type: 'MENUITEM',
......@@ -285,7 +285,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem15',
},
{
id: 'B2D3C430-79CA-4500-89D7-27240525FD58',
id: '7FE1CD69-166C-4C06-9085-0C3AF9F13AFA',
name: 'menuitem107',
text: '内置功能',
type: 'MENUITEM',
......@@ -304,7 +304,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem107',
},
{
id: '3E9DF85D-F147-4BB9-9526-BB9180B414D8',
id: '4A93E57B-7A02-4356-BF4B-5A9E0FB42F88',
name: 'menuitem47',
text: '新建默认值',
type: 'MENUITEM',
......@@ -323,7 +323,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem47',
},
{
id: '3595371D-B432-45F1-B3FA-8B0783E88E34',
id: 'B661913B-D17A-4C0D-8134-17BE8CF08BEF',
name: 'menuitem99',
text: '更新默认值',
type: 'MENUITEM',
......@@ -342,7 +342,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem99',
},
{
id: 'CB320266-3FD6-446A-A4EA-AEED6BD44404',
id: '3C57CED4-234A-45AC-9888-F739AC2D1F77',
name: 'menuitem48',
text: '输入提示',
type: 'MENUITEM',
......@@ -361,7 +361,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem48',
},
{
id: '0C10D1D8-D6EE-4F7E-B2C0-4865E294FFC2',
id: 'DA6473FD-8562-4344-8198-A45CD3FFD844',
name: 'menuitem49',
text: '辅助输入',
type: 'MENUITEM',
......@@ -380,7 +380,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem49',
},
{
id: 'F853B0AD-528A-4295-9A90-C82907DD9CE8',
id: '6F062490-69D1-41A0-A355-3167F36D23CA',
name: 'menuitem50',
text: '自动填充',
type: 'MENUITEM',
......@@ -399,7 +399,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem50',
},
{
id: 'C2E01BAD-67E1-4B26-9379-DEE58CDA2A6A',
id: '604FC64B-F614-4652-8831-93133BE9A467',
name: 'menuitem51',
text: '超链接',
type: 'MENUITEM',
......@@ -418,7 +418,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem51',
},
{
id: '301FC73F-F4B4-4ABE-A910-1061200FE86B',
id: '034A00E4-6A8F-4C59-964D-2378F319B2EC',
name: 'menuitem52',
text: '表单值重置',
type: 'MENUITEM',
......@@ -437,7 +437,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem52',
},
{
id: '4174B26F-1E32-4321-9098-0C211399973F',
id: '7873845E-30ED-499B-9429-44F90A9E3016',
name: 'menuitem55',
text: '动态显示',
type: 'MENUITEM',
......@@ -456,7 +456,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem55',
},
{
id: '4480C6F6-A657-4FBC-A1CC-06A90085ACD4',
id: '0B76B23B-FC38-4A2F-BD00-4B69E9AD5FC6',
name: 'menuitem53',
text: '动态启用',
type: 'MENUITEM',
......@@ -475,7 +475,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem53',
},
{
id: '0F8C5F54-F6CC-4675-8BCB-A6AB8A36A466',
id: '77465ACB-DBAC-4E79-8B7F-5F1E49D52663',
name: 'menuitem54',
text: '动态空输入',
type: 'MENUITEM',
......@@ -494,7 +494,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem54',
},
{
id: '880E586D-E5B3-47A1-921F-148575473C1F',
id: '8BA2B22F-1C68-4B74-8FC8-8438423C0A59',
name: 'menuitem56',
text: '表单项更新',
type: 'MENUITEM',
......@@ -513,7 +513,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem56',
},
{
id: 'A0B9CE1B-5E95-463B-B35E-33609FFBD420',
id: 'F82CCEF5-29B3-4D45-B689-F78ADC69BB6B',
name: 'menuitem108',
text: '表单值规则',
type: 'MENUITEM',
......@@ -534,7 +534,7 @@ export default class MainMenuModel {
],
},
{
id: '1375AF4A-8FD5-485C-BC99-F00E92AFFD7C',
id: 'DAD901D5-9D07-461C-80DD-F12C19CFD1E2',
name: 'menuitem16',
text: '搜索表单',
type: 'MENUITEM',
......@@ -555,7 +555,7 @@ export default class MainMenuModel {
],
},
{
id: '33CF2821-19D3-442E-8B15-F08DEDB40EA5',
id: 'AAD88B5F-9FD7-4466-8A4C-8D22188B6E2C',
name: 'menuitem157',
text: '导航类',
type: 'MENUITEM',
......@@ -574,7 +574,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem157',
items: [
{
id: 'E2D4E844-AB41-49EB-8B75-95BF7D409A6E',
id: '2A733A97-6E39-4FA5-A4AA-D9A424BC77EF',
name: 'menuitem120',
text: '分页导航',
type: 'MENUITEM',
......@@ -593,7 +593,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem120',
},
{
id: '02B1869B-A5B8-4E70-919D-FE02BB3D5B60',
id: '07A73D10-0C45-4461-A6B8-1C8E9D66A8A7',
name: 'menuitem128',
text: '表格导航',
type: 'MENUITEM',
......@@ -612,7 +612,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem128',
},
{
id: 'A4579AAF-A124-412D-B88F-66F3B1412CBD',
id: '76439528-1295-4773-8FA0-5F780BE946C0',
name: 'menuitem114',
text: '列表导航',
type: 'MENUITEM',
......@@ -631,7 +631,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem114',
},
{
id: '4A9A26A2-B751-46DE-A797-18A8AB96C35F',
id: '3AFD7134-D7E5-4676-A219-8A341976BF81',
name: 'menuitem137',
text: '卡片导航',
type: 'MENUITEM',
......@@ -650,7 +650,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem137',
},
{
id: '98D28CDF-F198-4B82-AFDE-C5403F6FD45E',
id: 'FB65554C-1224-4E6A-9F35-3C3E3051A9D0',
name: 'menuitem136',
text: '树导航',
type: 'MENUITEM',
......@@ -669,7 +669,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem136',
},
{
id: '626CFEA3-DD1C-4F66-94B3-793C8495DDF1',
id: '3D613D3E-BFF4-4A8C-B15C-27DBBCA7E205',
name: 'menuitem138',
text: '日历导航',
type: 'MENUITEM',
......@@ -688,7 +688,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem138',
},
{
id: '63751068-76A4-460D-99E0-6A9F638217C3',
id: 'A8FA4DE1-267E-49C1-B3F4-2B4B38CB0B14',
name: 'menuitem139',
text: '时间轴导航',
type: 'MENUITEM',
......@@ -707,7 +707,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem139',
},
{
id: '38565D76-A92F-4723-8BE1-AB8918AA91AE',
id: '21EAB614-CF48-489C-BC40-58429A7B6222',
name: 'menuitem20',
text: '数据关系分页',
type: 'MENUITEM',
......@@ -726,7 +726,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem20',
items: [
{
id: '76BBB659-0DD4-448A-AF0A-F27B2B16DE01',
id: 'EFEE0B47-94D0-427C-9145-0ED9E8AB51B4',
name: 'menuitem117',
text: '数据关系分页(上下关系)',
type: 'MENUITEM',
......@@ -745,7 +745,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem117',
},
{
id: 'E06AC577-16F7-4F72-BCFF-1F72109A0ABE',
id: '987973F1-7672-44A2-8400-4DB20EAC51AC',
name: 'menuitem118',
text: '数据关系分页(分页关系)',
type: 'MENUITEM',
......@@ -766,7 +766,7 @@ export default class MainMenuModel {
],
},
{
id: 'C3978B97-899F-497F-96F5-8FC7EC54A3D0',
id: 'C025BF9D-44DA-424A-9E99-FC08CAE33FB0',
name: 'menuitem116',
text: ' 数据关系栏',
type: 'MENUITEM',
......@@ -787,7 +787,7 @@ export default class MainMenuModel {
],
},
{
id: '7B697529-4E6F-422E-B525-67749DDF4BB1',
id: '5A8A7834-7FBE-48F1-A4FE-0EBED5C8B35C',
name: 'menuitem158',
text: '面板类',
type: 'MENUITEM',
......@@ -806,7 +806,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem158',
items: [
{
id: '18D0CC2B-75FB-4F1D-942D-8548742E8995',
id: '8BDF6783-0BE4-4356-BF86-4D29994DAD26',
name: 'menuitem145',
text: '选择视图面板',
type: 'MENUITEM',
......@@ -825,7 +825,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem145',
},
{
id: '954BD568-F083-4410-9D2B-1CDD5A90DC5F',
id: '0C46742F-26D4-484E-998D-D60CBEDBA82D',
name: 'menuitem17',
text: '向导面板',
type: 'MENUITEM',
......@@ -844,7 +844,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem17',
items: [
{
id: 'C61F39D7-F8FD-43EC-B8AD-D14287EBC51C',
id: '255F11B5-1CCB-48B1-AD61-4741A852E0E0',
name: 'menuitem134',
text: '基础用法',
type: 'MENUITEM',
......@@ -863,7 +863,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem134',
},
{
id: 'CCCD793D-85DE-4168-A548-38FEC6AE5C76',
id: '2C4A872F-12BC-47A3-9EC0-A7FB553BE0A0',
name: 'menuitem135',
text: '状态属性',
type: 'MENUITEM',
......@@ -884,7 +884,7 @@ export default class MainMenuModel {
],
},
{
id: '878CC2EA-FECB-48E9-BC6F-102D88909893',
id: 'A7975156-C102-4D27-B643-21C8A95000B3',
name: 'menuitem121',
text: '多编辑视图面板',
type: 'MENUITEM',
......@@ -903,7 +903,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem121',
items: [
{
id: 'F8ACF1A7-A8BD-4079-8555-5C1A573D9C57',
id: '62AEBC0E-1451-436D-8CB7-927BA7F26040',
name: 'menuitem115',
text: '多表单(行记录)',
type: 'MENUITEM',
......@@ -922,7 +922,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem115',
},
{
id: '0AD57242-0E97-4255-8463-CF6592EF47DF',
id: '005B4111-A56F-486F-975D-45E2310412AB',
name: 'menuitem123',
text: '多表单(上分页)',
type: 'MENUITEM',
......@@ -945,7 +945,7 @@ export default class MainMenuModel {
],
},
{
id: '859D0044-E2C6-4790-8F8E-282C196197F7',
id: 'A3B09050-5E83-47C6-93C3-C5C50645730E',
name: 'menuitem119',
text: '多数据类',
type: 'MENUITEM',
......@@ -964,7 +964,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem119',
items: [
{
id: 'DAC4F60A-59BA-4E73-BA40-19C41DE1CC94',
id: '8DCEF3CE-1904-4FE0-9D04-16E56C7C1A11',
name: 'menuitem13',
text: '表格',
type: 'MENUITEM',
......@@ -983,7 +983,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem13',
items: [
{
id: 'B8F08F85-4841-4349-BD95-A56BCC89502B',
id: '5DDAE1D6-4621-4B4A-9DBA-D64A79E38396',
name: 'menuitem57',
text: '禁用排序',
type: 'MENUITEM',
......@@ -1002,7 +1002,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem57',
},
{
id: '7305267D-8472-414B-AAB8-5A272971C3FC',
id: '65794452-33D5-477B-A360-BF2D87A93443',
name: 'menuitem59',
text: '行操作',
type: 'MENUITEM',
......@@ -1021,7 +1021,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem59',
},
{
id: '11207072-6A78-45EE-975E-C5DC39FDAB97',
id: '32797130-AA73-401A-BB92-E1DAEBA7AC77',
name: 'menuitem58',
text: '行编辑',
type: 'MENUITEM',
......@@ -1040,7 +1040,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem58',
},
{
id: 'DF7F07CA-11EA-4197-AB07-CAAC58DD95B4',
id: 'DEC753B9-22F9-4CD7-8720-D7353738B4D9',
name: 'menuitem73',
text: '内置功能',
type: 'MENUITEM',
......@@ -1059,7 +1059,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem73',
},
{
id: 'FF3FF0D5-32B6-486C-9FEE-D2D48ADBC391',
id: '69ABFDFF-4741-4D5E-BAA2-0D1DD354D723',
name: 'menuitem74',
text: '表格行编辑',
type: 'MENUITEM',
......@@ -1078,7 +1078,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem74',
},
{
id: '783D7393-23C3-4C28-BA5E-A3C146AF94B5',
id: '78FD9500-2446-47D6-A45B-A23FCC62BCE6',
name: 'menuitem75',
text: '新建默认值',
type: 'MENUITEM',
......@@ -1097,7 +1097,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem75',
},
{
id: 'B0818B91-45BA-4C15-B0D0-C79C7BF294A4',
id: '6F2C07FB-E429-4CFD-9F4F-989450B2C890',
name: 'menuitem76',
text: '更新默认值',
type: 'MENUITEM',
......@@ -1116,7 +1116,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem76',
},
{
id: '75F94A9B-D071-40BB-88A8-A37E5E8CB118',
id: '872CC5E5-EA29-4B45-947C-FC6D7C681A9E',
name: 'menuitem77',
text: '表格值规则',
type: 'MENUITEM',
......@@ -1135,7 +1135,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem77',
},
{
id: 'BF564AE7-248B-4296-9AE6-0A2D5AD71041',
id: '0B59F9F4-AB8B-4308-9178-FBD3CD66BC8C',
name: 'menuitem132',
text: '表格列更新',
type: 'MENUITEM',
......@@ -1154,7 +1154,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem132',
},
{
id: 'C0237519-4EF3-4A93-AA43-7BE221B911C4',
id: '8F1DA91E-1204-476B-BEF9-2B52FF1E525C',
name: 'menuitem133',
text: '表格列重置',
type: 'MENUITEM',
......@@ -1173,7 +1173,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem133',
},
{
id: 'E17E8493-E838-43C2-B983-3FEBE4F148C6',
id: '6B501607-04F7-49E4-A08B-E9EC5F294248',
name: 'menuitem78',
text: '自动分组',
type: 'MENUITEM',
......@@ -1192,7 +1192,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem78',
},
{
id: '245457E6-A252-42A7-B89C-D433BE9AEC36',
id: '769989F0-65DF-4D36-B74B-6085E77411BB',
name: 'menuitem80',
text: '代码表分组',
type: 'MENUITEM',
......@@ -1211,7 +1211,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem80',
},
{
id: '3AD81FD0-EED7-4561-A8BC-BAD751A18227',
id: '10829844-0250-4D1A-A20C-F32F8711EE54',
name: 'menuitem81',
text: '当前页聚合',
type: 'MENUITEM',
......@@ -1230,7 +1230,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem81',
},
{
id: '628AAA9C-7FE5-47ED-AD86-B527D3A6464F',
id: '7E5ACEB9-0A23-474F-A5DA-F8670039D367',
name: 'menuitem82',
text: '远程聚合',
type: 'MENUITEM',
......@@ -1251,7 +1251,7 @@ export default class MainMenuModel {
],
},
{
id: '3CC25A26-BBDB-4573-8F8D-2FEE17D8BA23',
id: '616CFCDC-C8EE-4FF4-A3B5-3D4FC19526DC',
name: 'menuitem83',
text: '列表',
type: 'MENUITEM',
......@@ -1270,7 +1270,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem83',
items: [
{
id: '0E2A804D-EE57-48BA-BF90-2DABC2C6EB88',
id: '84087433-50F9-4F41-8B96-EE1D65E04D31',
name: 'menuitem84',
text: '内置功能',
type: 'MENUITEM',
......@@ -1289,7 +1289,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem84',
},
{
id: '89AAA384-8115-4F29-9F2F-5A1065CE22BD',
id: 'FC95D1F0-2CBF-4F04-B558-3095839D9921',
name: 'menuitem85',
text: '自动分组',
type: 'MENUITEM',
......@@ -1308,7 +1308,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem85',
},
{
id: 'B698C05F-790F-4443-8CFA-6E225F39CCDE',
id: 'F7294C91-E430-4491-A878-2B44D0F56B83',
name: 'menuitem86',
text: '代码表分组',
type: 'MENUITEM',
......@@ -1327,7 +1327,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem86',
},
{
id: '5FBB3779-EEBB-4C07-BC17-3B1F570E20A4',
id: 'B22470CC-B35C-4482-B1D4-76FA0DD03CB3',
name: 'menuitem91',
text: '项布局面板',
type: 'MENUITEM',
......@@ -1346,7 +1346,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem91',
},
{
id: 'B0536559-4A3E-4552-B5ED-E324F73A8A36',
id: 'D4F1ADC5-8D80-4029-8F24-DD707B58B797',
name: 'menuitem143',
text: '自定义插件',
type: 'MENUITEM',
......@@ -1367,7 +1367,7 @@ export default class MainMenuModel {
],
},
{
id: 'B27E92D3-3536-48A6-B8B7-BB489F2C27C2',
id: '49DFF8C5-C5F3-4D73-B341-134611F93B3D',
name: 'menuitem95',
text: '日历',
type: 'MENUITEM',
......@@ -1386,7 +1386,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem95',
items: [
{
id: 'F2B70BE8-5C10-4E4D-9867-6AA4164B167F',
id: '30DF4EA8-6EA8-4DFD-84B6-ACCD8B9A1573',
name: 'menuitem96',
text: '内置功能',
type: 'MENUITEM',
......@@ -1405,7 +1405,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem96',
},
{
id: '85A44115-752C-4A52-92EC-88681CFDCDC9',
id: 'AB74E45D-C35B-4EF1-8527-B8B860509F38',
name: 'menuitem97',
text: '时间轴样式',
type: 'MENUITEM',
......@@ -1424,7 +1424,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem97',
},
{
id: 'C418CB0D-0B86-4B21-9130-4B3402000BF6',
id: '7F420FBA-76CF-42B3-B1FE-890FBD4C8576',
name: 'menuitem109',
text: '项布局面板',
type: 'MENUITEM',
......@@ -1443,7 +1443,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem109',
},
{
id: '23B39154-FD1A-458F-BC23-F2D33D4CF82F',
id: '1C5F38AB-ED99-4516-8FDB-612F5DA20732',
name: 'menuitem64',
text: '自定义插件',
type: 'MENUITEM',
......@@ -1464,7 +1464,7 @@ export default class MainMenuModel {
],
},
{
id: '926CE88A-5279-4455-BCDB-9107B33A7C3A',
id: 'F3F7F0A3-5227-4FFF-B59B-1816F81999F8',
name: 'menuitem14',
text: '树视图',
type: 'MENUITEM',
......@@ -1483,7 +1483,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem14',
items: [
{
id: '2C587B48-43EC-46E7-A83E-0E8016736CAE',
id: '3293B3A5-07A9-4DD8-8EF7-BA2B0DB7FB4F',
name: 'menuitem60',
text: '静态节点',
type: 'MENUITEM',
......@@ -1502,7 +1502,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem60',
},
{
id: '3A14D474-40B2-4A4D-840E-08E847BA4AFC',
id: 'A62D90D0-DF2D-41CA-A73A-CBB6ABFB9845',
name: 'menuitem61',
text: '动态节点(代码表)',
type: 'MENUITEM',
......@@ -1521,7 +1521,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem61',
},
{
id: 'A2AA65AA-12FD-41E1-A771-5CCD45FC5AC7',
id: 'DEC8DA15-8A52-4C6D-8A7A-B48AC279F4E9',
name: 'menuitem62',
text: '动态节点(实体)',
type: 'MENUITEM',
......@@ -1540,7 +1540,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem62',
},
{
id: '17F79CE3-FE88-48BE-BDBF-20E17683DC74',
id: '667DD73C-6B79-4DE6-B01A-1F2A514CE4DE',
name: 'menuitem63',
text: '右键操作',
type: 'MENUITEM',
......@@ -1561,7 +1561,7 @@ export default class MainMenuModel {
],
},
{
id: 'B31B4C55-01B8-4F3C-A04B-9E221090E4B2',
id: 'BB08F713-43DA-440E-81A1-C169AE9D33B3',
name: 'menuitem111',
text: '甘特图',
type: 'MENUITEM',
......@@ -1580,7 +1580,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem111',
},
{
id: 'FEC677D7-4757-4F09-B96A-94AAB1DE7D55',
id: '207B5C6C-798F-4554-8CCD-347285C7627D',
name: 'menuitem110',
text: '树表格',
type: 'MENUITEM',
......@@ -1599,7 +1599,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem110',
},
{
id: '528D2C00-E32B-4E47-99A0-51DF232B389D',
id: '022FBE08-E661-40E1-987C-ECC6B820955A',
name: 'menuitem87',
text: '数据视图',
type: 'MENUITEM',
......@@ -1618,7 +1618,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem87',
items: [
{
id: '09491CD7-7B3B-48EC-B5D8-56D18FAC3341',
id: '10A8BA72-9D2B-4CEE-BA00-5CE07C681E75',
name: 'menuitem88',
text: '内置功能',
type: 'MENUITEM',
......@@ -1637,7 +1637,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem88',
},
{
id: 'F21B8995-B2AA-4FCA-A415-501DA760D31C',
id: 'EADD66C3-2A3C-4EDD-9ACA-0EF790CC44F8',
name: 'menuitem89',
text: '自动分组',
type: 'MENUITEM',
......@@ -1656,7 +1656,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem89',
},
{
id: 'D310BEEC-847A-4B54-887F-5A2C28DC46F6',
id: 'C956E640-4274-42FE-8EB6-E89C0EA0E9B3',
name: 'menuitem90',
text: '代码表分组',
type: 'MENUITEM',
......@@ -1675,7 +1675,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem90',
},
{
id: 'E075765A-7881-4797-8A90-C031EB31F8EB',
id: 'B17D84E2-17E4-441B-8FE7-C5406C28D127',
name: 'menuitem94',
text: '项布局面板',
type: 'MENUITEM',
......@@ -1694,7 +1694,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem94',
},
{
id: '5691B13A-BCC0-4C07-B922-4CDB87871F4B',
id: '4183D684-E8D1-4283-8416-BB85AEC66653',
name: 'menuitem152',
text: '自定义插件',
type: 'MENUITEM',
......@@ -1715,7 +1715,7 @@ export default class MainMenuModel {
],
},
{
id: 'EADAEBFC-86CC-471A-91CB-D33FC447E160',
id: '6DEA2705-D54E-4FD6-9F84-A60898723D25',
name: 'menuitem101',
text: '看板视图',
type: 'MENUITEM',
......@@ -1734,7 +1734,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem101',
items: [
{
id: '68D0FDB9-CECC-4666-B939-918B01C6C4F1',
id: '5363DF9E-7CE4-4643-984C-D4FE84F7B58E',
name: 'menuitem102',
text: '内置功能',
type: 'MENUITEM',
......@@ -1753,7 +1753,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem102',
},
{
id: '5F3BD25F-5846-450D-AF7B-9ACBBC28F316',
id: '0CE5E893-602E-45E6-BD2E-FE8DBDF87443',
name: 'menuitem104',
text: '代码表分组',
type: 'MENUITEM',
......@@ -1772,7 +1772,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem104',
},
{
id: '94F1E39D-9989-45AD-9689-D33DB3B37C55',
id: 'AEF54B75-85FD-4DF1-8577-A82D93AFE239',
name: 'menuitem105',
text: '项布局面板',
type: 'MENUITEM',
......@@ -1793,7 +1793,7 @@ export default class MainMenuModel {
],
},
{
id: 'D5AA653A-0D30-4A7A-9642-31B430159A49',
id: 'A553FFD2-634F-4D09-BFA9-D90C71275259',
name: 'menuitem37',
text: '数据图表',
type: 'MENUITEM',
......@@ -1812,7 +1812,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem37',
items: [
{
id: '8E8AED92-77F7-4CB1-A7A8-BA8E93ACE1E7',
id: '5A9BCB80-3F80-43ED-9470-8892B749ED6D',
name: 'menuitem38',
text: '柱状图',
type: 'MENUITEM',
......@@ -1831,7 +1831,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem38',
},
{
id: '5CD3C45D-26ED-4A5E-AFE7-024AAABA7505',
id: '3E7E6F1B-95EA-42D7-AB62-A2D8B9D523CE',
name: 'menuitem39',
text: '折线图',
type: 'MENUITEM',
......@@ -1850,7 +1850,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem39',
},
{
id: '3ECAD248-DD6D-4CBA-B8B7-A0A07998B485',
id: 'A016AD97-EBA4-4154-9181-CCCD09025321',
name: 'menuitem40',
text: '饼图',
type: 'MENUITEM',
......@@ -1869,7 +1869,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem40',
},
{
id: 'DD4746DE-8631-4FF2-A333-1A3F8A88FDA1',
id: '2766C6A6-381B-4A6C-AE68-9B785262DD55',
name: 'menuitem41',
text: '区域图',
type: 'MENUITEM',
......@@ -1888,7 +1888,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem41',
},
{
id: '47F4AE2B-A346-419A-9B35-A503E46D296D',
id: '3713D459-F362-43B4-AF2A-9FABDBC07087',
name: 'menuitem42',
text: '雷达图',
type: 'MENUITEM',
......@@ -1913,7 +1913,7 @@ export default class MainMenuModel {
],
},
{
id: '0BB493B4-500F-4231-864F-EDE459982B57',
id: '580D2EC3-3954-4192-8128-664B63040C5A',
name: 'menuitem5',
text: '视图',
type: 'MENUITEM',
......@@ -1932,7 +1932,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem5',
items: [
{
id: 'C4D4FE81-1F14-420E-9C23-67957A5EB37F',
id: '796CACCD-9C51-41D9-BBE7-21277E6A3287',
name: 'menuitem140',
text: '单数据视图',
type: 'MENUITEM',
......@@ -1951,7 +1951,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem140',
items: [
{
id: '23170231-65CB-47EF-B62C-E886E5648B0B',
id: '759D87DC-7948-4E53-B99C-F1298F199D74',
name: 'menuitem161',
text: '实体向导视图',
type: 'MENUITEM',
......@@ -1970,7 +1970,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem161',
},
{
id: '22691EE9-B63C-49BA-ABC8-0C1D82AA0244',
id: '1E196E3D-571C-4D72-8411-351784C2E185',
name: 'menuitem8',
text: '实体编辑视图',
type: 'MENUITEM',
......@@ -1989,7 +1989,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem8',
},
{
id: '35790D52-0DDF-47AD-898C-FADD590B2949',
id: '1E849158-97DD-4C31-AF9E-36EED3026EF0',
name: 'menuitem162',
text: '实体编辑视图(分页关系)',
type: 'MENUITEM',
......@@ -2008,7 +2008,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem162',
},
{
id: 'DCAF1EB4-AD32-40FC-A6BD-7339063CF458',
id: '1001F50E-7CCF-442A-B87A-551762EB14F3',
name: 'menuitem163',
text: '实体编辑视图(上下关系)',
type: 'MENUITEM',
......@@ -2027,7 +2027,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem163',
},
{
id: 'BA07DB29-CB20-46FD-B69F-C84D5E4415A2',
id: '0734BCF1-F04D-4309-98D4-3C12D503E65B',
name: 'menuitem164',
text: '实体编辑视图(左右关系)',
type: 'MENUITEM',
......@@ -2046,7 +2046,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem164',
},
{
id: '1DDAD995-7439-4E4C-8609-1EF378D7DBF0',
id: '117E20CE-36A6-4866-84B2-D344218FB5AD',
name: 'menuitem165',
text: '实体分页导航视图',
type: 'MENUITEM',
......@@ -2065,7 +2065,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem165',
},
{
id: 'CC8A3DF0-A5D6-4B04-9690-9E64FD326CFB',
id: '78F3B0D3-4D92-4418-B075-682EB087D023',
name: 'menuitem166',
text: '实体数据看板视图',
type: 'MENUITEM',
......@@ -2084,7 +2084,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem166',
},
{
id: 'B44EB310-4C66-47EA-AF36-E7BA9FB2118C',
id: '409236B0-A823-475A-95E1-29A0718EB369',
name: 'menuitem167',
text: '实体选项操作视图',
type: 'MENUITEM',
......@@ -2105,7 +2105,7 @@ export default class MainMenuModel {
],
},
{
id: '02E6B28D-D38B-4C1C-B933-11BF8D8D96AA',
id: '0A91FD46-A57A-4861-8E1C-F01CC9DD821A',
name: 'menuitem141',
text: '多数据视图',
type: 'MENUITEM',
......@@ -2124,7 +2124,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem141',
items: [
{
id: 'EB6B1234-EF18-4B6B-8BAF-FEF9F7B70641',
id: 'FB97D14B-AF57-426A-8DCB-F3E788462164',
name: 'menuitem79',
text: '实体表格视图',
type: 'MENUITEM',
......@@ -2143,7 +2143,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem79',
},
{
id: '41BEE2DA-8DCF-4442-83EA-23737DA156D7',
id: 'EF16E5A0-C0DC-4777-AFC3-C70171E5AE45',
name: 'menuitem168',
text: '实体多表单编辑视图',
type: 'MENUITEM',
......@@ -2162,7 +2162,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem168',
},
{
id: '4E35CAC6-4DD0-4F38-9C9C-11B4A23F8009',
id: '11D7BBF4-772A-427A-9B00-D2DD0FE295BA',
name: 'menuitem169',
text: '实体甘特视图',
type: 'MENUITEM',
......@@ -2181,7 +2181,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem169',
},
{
id: '50A2F41F-6493-4677-B415-AFE4701D621B',
id: '83F7D6FD-2E73-4DEC-ABF4-A9B9859261E3',
name: 'menuitem9',
text: '实体列表视图',
type: 'MENUITEM',
......@@ -2200,7 +2200,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem9',
},
{
id: 'D55456F5-985F-4244-8CB8-1C4DEEFCC48E',
id: '88BFACEB-56A0-4B2E-BD98-041FB83619D6',
name: 'menuitem170',
text: '实体日历视图',
type: 'MENUITEM',
......@@ -2219,7 +2219,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem170',
},
{
id: '1B2A4C60-4C19-411B-B8B0-58750BE94279',
id: '4CBDEF84-3A95-4564-89FC-BF26CF8D9787',
name: 'menuitem171',
text: '实体看板视图',
type: 'MENUITEM',
......@@ -2238,7 +2238,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem171',
},
{
id: '941D8A23-58FF-46D1-A989-108AF7770501',
id: '083C0B11-3FB2-4DE3-A059-D48D7B1E0D5D',
name: 'menuitem172',
text: '实体树表格视图',
type: 'MENUITEM',
......@@ -2257,7 +2257,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem172',
},
{
id: '3142B261-F5DC-487A-BC31-E20AC0537E67',
id: 'F173A1AA-CD9B-45EF-A6EC-161E6C1570AB',
name: 'menuitem173',
text: '实体树视图',
type: 'MENUITEM',
......@@ -2276,7 +2276,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem173',
},
{
id: 'C74A436D-6E47-4A08-8B7F-FE67B440F607',
id: '418AD9FF-9F28-4634-9046-6AAD04EE92EF',
name: 'menuitem174',
text: '实体数据视图',
type: 'MENUITEM',
......@@ -2295,7 +2295,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem174',
},
{
id: 'C25CB5E9-F76D-40D5-83E3-CECE6D815AAC',
id: '42A7E7D6-FE06-4A80-82C7-F894F893749E',
name: 'menuitem175',
text: '实体图表视图',
type: 'MENUITEM',
......@@ -2316,7 +2316,7 @@ export default class MainMenuModel {
],
},
{
id: '0EEA85F6-146A-4B5C-8942-ECDB21F36C69',
id: '11A05C0A-6A25-4EBB-924C-F086A5CA5D00',
name: 'menuitem10',
text: '导航视图',
type: 'MENUITEM',
......@@ -2335,7 +2335,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem10',
items: [
{
id: 'C07FEFE2-B054-4589-A424-7D6A648EAD22',
id: '31099A6F-8F47-4357-BC92-AFE62557D2D5',
name: 'menuitem176',
text: '实体表格导航视图',
type: 'MENUITEM',
......@@ -2354,7 +2354,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem176',
},
{
id: '133B88F4-E3BD-4FE7-9A19-918E7DC9ED39',
id: '686A4E83-5C50-4A99-868C-576467CE02A4',
name: 'menuitem177',
text: '实体列表导航视图',
type: 'MENUITEM',
......@@ -2373,7 +2373,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem177',
},
{
id: 'DB13D765-4798-4916-A105-D63F096BE373',
id: '9700B6DD-B062-4F3A-BCC4-4DCD50258882',
name: 'menuitem178',
text: '实体卡片导航视图',
type: 'MENUITEM',
......@@ -2392,7 +2392,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem178',
},
{
id: '752E7592-EFF4-47A1-8061-3CE205B5DECC',
id: '04BE4224-784D-41B2-9152-A5DED4C11ED2',
name: 'menuitem179',
text: '实体日历导航视图',
type: 'MENUITEM',
......@@ -2411,7 +2411,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem179',
},
{
id: '2EC49850-24A9-4094-8871-640DDB251D98',
id: '42E7EF38-AFCA-4F16-8D56-E9B528FB1CA0',
name: 'menuitem180',
text: '实体树导航视图',
type: 'MENUITEM',
......@@ -2432,7 +2432,7 @@ export default class MainMenuModel {
],
},
{
id: '3CF53F4E-8581-44F8-A547-2D4B8E010F4C',
id: 'D91EF905-1EA5-40F6-B37E-7CE3B8A1BF25',
name: 'menuitem26',
text: '选择视图',
type: 'MENUITEM',
......@@ -2451,7 +2451,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem26',
items: [
{
id: '41AD21A9-2DE2-487F-BA75-E70B32A0A4E2',
id: 'DE6AE0A4-3ED1-4745-B9B4-95561801DB6A',
name: 'menuitem18',
text: '数据选择视图',
type: 'MENUITEM',
......@@ -2470,7 +2470,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem18',
},
{
id: '2773C8DB-5C72-42F3-ABC5-0DA5F3907CDD',
id: 'F82FB8DB-ACF5-4B5E-A2AB-F16E6969AD95',
name: 'menuitem27',
text: '索引选择视图',
type: 'MENUITEM',
......@@ -2491,7 +2491,7 @@ export default class MainMenuModel {
],
},
{
id: 'BFD4347D-8FEE-4F67-823D-916EB564D90C',
id: 'BB6F5544-C18D-4F2A-B165-3303ECB9F9DB',
name: 'menuitem69',
text: '工作流',
type: 'MENUITEM',
......@@ -2510,7 +2510,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem69',
items: [
{
id: '8BDA970B-9DDC-40AF-A4C2-11F714E6C6F7',
id: '29B1DE65-5C7C-45EF-9174-50AC51F5958E',
name: 'menuitem30',
text: '工作流动态导航视图',
type: 'MENUITEM',
......@@ -2529,7 +2529,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem30',
},
{
id: '02B6CE8D-34D9-44BF-8A44-3A461031C512',
id: '60B68E2D-D3AF-431C-98E9-F646D8566EF5',
name: 'menuitem31',
text: '工作流启动',
type: 'MENUITEM',
......@@ -2548,7 +2548,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem31',
},
{
id: 'D5A0D5AB-488A-47BD-A654-43F5B1F3BEF9',
id: '7597F2C5-1BC9-4ABC-85C4-2F5A1AACE8A8',
name: 'menuitem21',
text: '工作流动态操作视图',
type: 'MENUITEM',
......@@ -2569,7 +2569,7 @@ export default class MainMenuModel {
],
},
{
id: '136A0595-939D-4996-83E2-FCD1DB0F71C2',
id: 'AF2B552F-51C8-4A27-924C-58054B28463B',
name: 'menuitem11',
text: '其他视图',
type: 'MENUITEM',
......@@ -2588,7 +2588,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem11',
items: [
{
id: '671B4B76-E7F3-4C9C-9D26-06713D7851BD',
id: 'EF2C1C19-CC01-43B1-BEFC-7D40BD069448',
name: 'menuitem98',
text: '自定义视图',
type: 'MENUITEM',
......@@ -2611,7 +2611,7 @@ export default class MainMenuModel {
],
},
{
id: '5696A8EA-6453-41C9-9B2D-64BA1810C165',
id: 'C82E6B58-38FA-4479-B7C5-6578F85133C5',
name: 'menuitem153',
text: '逻辑',
type: 'MENUITEM',
......@@ -2630,7 +2630,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem153',
items: [
{
id: '054C814C-F6BE-4752-A37F-5108483BBF94',
id: '2D0F2C68-DF92-46AB-B493-A16FDA632922',
name: 'menuitem154',
text: '应用功能',
type: 'MENUITEM',
......@@ -2649,7 +2649,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem154',
items: [
{
id: 'A64CC995-4CB5-42F2-85FD-D74F066E9A31',
id: '67043D51-0A78-429F-B10D-4538643253AC',
name: 'menuitem127',
text: '打开应用视图',
type: 'MENUITEM',
......@@ -2668,7 +2668,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem127',
},
{
id: 'A244FD8E-6A51-4B4B-B71B-DB57D2582F61',
id: 'B1F03DFE-F83F-43B7-B4F3-8812CD053C93',
name: 'menuitem147',
text: '打开HTML页面',
type: 'MENUITEM',
......@@ -2687,7 +2687,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem147',
},
{
id: 'D69F0736-1A7B-4B0A-A12A-883F81AFD1F5',
id: '7902F134-BF0D-478D-9FA1-8C74F4E01B3F',
name: 'menuitem160',
text: '执行JavaScript',
type: 'MENUITEM',
......@@ -2708,7 +2708,7 @@ export default class MainMenuModel {
],
},
{
id: 'BF351829-AD33-4218-83B9-9B246DDAD1F0',
id: 'D2B3F19C-E528-4A6E-BC54-F9C07B289976',
name: 'menuitem155',
text: '界面行为',
type: 'MENUITEM',
......@@ -2727,7 +2727,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem155',
items: [
{
id: '00EFAC24-C882-4C4E-9F13-468AD78EBBC3',
id: '6726778F-AA91-4539-B5E2-5513D204A90C',
name: 'menuitem181',
text: '前台界面行为',
type: 'MENUITEM',
......@@ -2746,7 +2746,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem181',
},
{
id: 'F93A6EF6-D103-4BAC-8A38-4355E1339A83',
id: '12E0F34C-50FF-4703-B070-34E6CF45764D',
name: 'menuitem182',
text: '后台界面行为',
type: 'MENUITEM',
......@@ -2769,7 +2769,7 @@ export default class MainMenuModel {
],
},
{
id: 'E33E6FBC-C251-4F63-B61B-252E6302870A',
id: 'E99EB924-7D70-4C6E-9289-F9B5C2AD8DE6',
name: 'menuitem2',
text: '更多',
type: 'MENUITEM',
......@@ -2788,7 +2788,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem2',
items: [
{
id: '2509F838-DC1B-4BCD-BFE1-ABBE8515FEA2',
id: 'DAC0AEAF-8F5C-4555-A7BE-805D002ECA9C',
name: 'menuitem19',
text: '临时模式',
type: 'MENUITEM',
......@@ -2807,7 +2807,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem19',
},
{
id: 'BF8BF255-DBB6-4A6D-9DD8-C6306135E4A5',
id: '1E0727D2-5D22-4318-B690-C27E02AC87F8',
name: 'menuitem46',
text: '数据导出导入',
type: 'MENUITEM',
......@@ -2826,7 +2826,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem46',
},
{
id: '7D8DA11E-7C51-4296-8C20-03C1F46F52C2',
id: 'DCBCD3C8-55AA-49C2-8AA9-841423789A09',
name: 'menuitem67',
text: '索引实体',
type: 'MENUITEM',
......@@ -2845,7 +2845,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem67',
},
{
id: 'E51C3F30-B553-4430-90DE-2E035D6EED0C',
id: '024632C4-816F-436D-812E-DC19263D4A06',
name: 'menuitem184',
text: '主状态',
type: 'MENUITEM',
......@@ -2864,7 +2864,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem184',
items: [
{
id: '15E18823-D76A-459E-ABAD-0092D49A1DFB',
id: 'D206037B-4E38-4D02-B70C-AEC0F0AE5040',
name: 'menuitem70',
text: '表格主状态',
type: 'MENUITEM',
......@@ -2883,7 +2883,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem70',
},
{
id: 'DF3943CD-0CB7-4498-A09D-687B68BCE4DA',
id: '3C175600-4529-4EB8-8271-FF0823E55B12',
name: 'menuitem148',
text: '列表主状态',
type: 'MENUITEM',
......@@ -2902,7 +2902,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem148',
},
{
id: '73E33E96-62A2-4030-AEFD-B2182DAF2A5C',
id: '78AD2031-B74D-4CF4-BC0A-ABE9CC8C55C8',
name: 'menuitem183',
text: '数据主状态',
type: 'MENUITEM',
......@@ -2921,7 +2921,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem183',
},
{
id: 'CC6E1D08-5353-4D2E-89A7-12E0E97F38DE',
id: 'EC1119FC-C42E-4919-A6F3-DED7D43D2DCD',
name: 'menuitem28',
text: '日历主状态',
type: 'MENUITEM',
......@@ -2940,7 +2940,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem28',
},
{
id: '1252BDB9-8E6A-4840-B7CD-79C4A70BE509',
id: 'E55D4895-B4AE-4C13-8FEA-059F7F8F2E24',
name: 'menuitem29',
text: '树主状态',
type: 'MENUITEM',
......@@ -2963,7 +2963,7 @@ export default class MainMenuModel {
],
},
{
id: 'BF8B914E-7FE5-45D4-A1EC-60AA8722B75B',
id: '83EFF3D6-97DA-450F-BF9E-859FEAC081B9',
name: 'menuitem22',
text: '测试',
type: 'MENUITEM',
......@@ -2982,7 +2982,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem22',
items: [
{
id: '3B967192-0454-437F-B8D6-9FCD01F3BB45',
id: '5B33BFF9-7055-4CA6-9F72-234440E6BC52',
name: 'menuitem23',
text: '卡片导航',
type: 'MENUITEM',
......@@ -3001,7 +3001,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem23',
},
{
id: '7E2A769D-2DAB-41C3-B075-DF8344724FB6',
id: 'AF231A14-6BAC-4302-BE68-1D69587D9590',
name: 'menuitem24',
text: '表单嵌入卡片视图',
type: 'MENUITEM',
......@@ -3020,7 +3020,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem24',
},
{
id: '2D14B09B-6356-4AC2-A67C-0C8446D94325',
id: 'A494359C-9045-486A-A5F0-B251D7945819',
name: 'menuitem25',
text: '关系界面刷新主表单',
type: 'MENUITEM',
......@@ -3041,7 +3041,7 @@ export default class MainMenuModel {
],
},
{
id: '532ECE48-EBE2-40A1-939F-F9516BB459C2',
id: 'D11DD970-7CEA-405F-B0E9-9E59FC22EB69',
name: 'menuitem66',
text: '视图布局面板测试',
type: 'MENUITEM',
......@@ -3060,7 +3060,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem66',
items: [
{
id: 'F43E6951-1514-4EDF-8C83-CD6293BD600E',
id: 'AA18CD2E-77F2-46AD-99D9-75240B75556A',
name: 'menuitem122',
text: '表格视图面板',
type: 'MENUITEM',
......@@ -3079,7 +3079,7 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem122',
},
{
id: 'E9B47729-171C-4364-A493-6ECFC5E12109',
id: '49EA2745-4C8A-404B-971F-D79731F01666',
name: 'menuitem125',
text: '测试表单自定义布局多媒体',
type: 'MENUITEM',
......@@ -3096,6 +3096,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc100',
resourcetag: '',
authtag:'Web-MainMenu-menuitem125',
},
{
id: '85AD8AFE-F300-43F9-A5A6-05727F309B27',
name: 'menuitem126',
text: '自定义导航',
type: 'MENUITEM',
counterid: '',
tooltip: '自定义导航',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'UsrAppFunc1102681676',
resourcetag: '',
authtag:'Web-MainMenu-menuitem126',
},
],
},
......@@ -4387,6 +4406,18 @@ export default class MainMenuModel {
{ pathName: 'mediatesteditview', parameterName: 'mediatesteditview' },
],
},
{
appfunctag: 'UsrAppFunc1102681676',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizordertestcustomlayoutpanelgridexpview',
deResParameters: [],
routepath: '/index/:index?/ibizorders/:ibizorder?/testcustomlayoutpanelgridexpview/:testcustomlayoutpanelgridexpview?',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'testcustomlayoutpanelgridexpview', parameterName: 'testcustomlayoutpanelgridexpview' },
],
},
];
/**
......
......@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
<template>
<div id="testcustomlayoutpanelgridexpviewgridexpbar" class="app-grid-exp-bar">
<div class='grid-exp-bar-header'>
<div class="grid-exp-bar-title">
<icon type='ios-home-outline'/>{{ $t('app.gridBar.title') }}
</div>
</div>
<div class="exp-bar-action-container">
</div>
<div class='grid-exp-bar-content'>
<view_gridexpbar_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:isSingleSelect="isSingleSelect"
:showBusyIndicator="true"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
:isSelectFirstDefault="true"
:newdata="newdata"
:opendata="opendata"
name="gridexpbar_grid"
ref='gridexpbar_grid'
@selectionchange="gridexpbar_grid_selectionchange($event)"
@load="gridexpbar_grid_load($event)"
@closeview="closeView($event)">
</view_gridexpbar_grid>
</div>
</div>
</template>
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util,ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import AppCenterService from "@service/app/app-center-service";
import IBIZOrderEntityService from '@/service/ibizorder/ibizorder-service';
import TestCustomLayoutPanelGridExpViewgridexpbarService from './test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar-service';
import IBIZOrderUIService from '@/uiservice/ibizorder/ibizorder-ui-service';
import CodeListService from "@/codelist/codelist-service";
@Component({
components: {
}
})
export default class TestCustomLayoutPanelGridExpViewgridexpbarBase extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
@Prop() public viewparams!: any;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public getControlType(): string {
return 'GRIDEXPBAR'
}
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public counterServiceArray:Array<any> = [];
/**
* 建构部件服务对象
*
* @type {TestCustomLayoutPanelGridExpViewgridexpbarService}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public service: TestCustomLayoutPanelGridExpViewgridexpbarService = new TestCustomLayoutPanelGridExpViewgridexpbarService({ $store: this.$store });
/**
* 实体服务对象
*
* @type {IBIZOrderService}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public appEntityService: IBIZOrderEntityService = new IBIZOrderEntityService({ $store: this.$store });
/**
* gridexpbar_grid 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public gridexpbar_grid_selectionchange($event: any, $event2?: any) {
this.gridexpbar_selectionchange($event, 'gridexpbar_grid', $event2);
}
/**
* gridexpbar_grid 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public gridexpbar_grid_load($event: any, $event2?: any) {
this.gridexpbar_load($event, 'gridexpbar_grid', $event2);
}
/**
* 转化数据
*
* @param {any} args
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public transformData(args: any) {
let _this: any = this;
if(_this.service && _this.service.handleRequestData instanceof Function && _this.service.handleRequestData('transform',_this.context,args)){
return _this.service.handleRequestData('transform',_this.context,args)['data'];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
@Prop() public opendata: any;
/**
* 视图唯一标识
*
* @type {string}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
@Prop() public viewUID!:string;
/**
* 是否单选
*
* @public
* @type {(boolean)}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public isSingleSelect:boolean = true;
/**
* 可搜索字段名称
*
*
* @type {(string)}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public placeholder = "订单名称";
/**
* 搜素值
*
* @public
* @type {(string)}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public searchText: string = "";
/**
* 导航视图名称
*
* @type {string}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public navViewName: string = "";
/**
* 导航过滤项
*
* @type {string}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public navFilter: string = "";
/**
* 导航关系
*
* @type {string}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public navPSDer: string = "";
/**
* 导航上下文参数
*
* @type {*}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public navigateContext:any =null;
/**
* 导航视图参数
*
* @type {*}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public navigateParams:any = null;
/**
* 显示处理提示
*
* @type {boolean}
* @memberof MOBILEENTITY3Canlen
*/
@Prop({ default: true }) public showBusyIndicator!: boolean;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public getData(): any {
return null;
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public afterCreated(){
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.viewState.next({ tag: 'gridexpbar_grid', action: action, data: data });
});
}
}
/**
* Vue声明周期(组件渲染完毕)
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public mounted() {
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public afterMounted() { }
/**
* vue 生命周期
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
/**
* 执行搜索
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public onSearch($event:any) {
let grid:any = this.$refs.gridexpbar_grid;
grid.load({ query: this.searchText });
}
/**
* 刷新
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public refresh(args?: any): void {
const refs: any = this.$refs;
if (refs && refs.gridexpbar_grid) {
refs.gridexpbar_grid.refresh();
}
}
/**
* gridexpbar的选中数据事件
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public gridexpbar_selectionchange(args: any [], tag?: string, $event2?: any): void {
const tempContext: any = {};
const tempViewParam: any = {};
if (args.length === 0) {
this.calcToolbarItemState(true);
return ;
}
const arg: any = args[0];
if (this.context) {
Object.assign(tempContext, JSON.parse(JSON.stringify(this.context)));
}
Object.assign(tempContext, { 'ibizorder': arg['ibizorder']});
Object.assign(tempContext, { srfparentdename: 'IBIZOrder', srfparentkey:arg['ibizorder']});
if (this.navFilter && !Object.is(this.navFilter, "")) {
Object.assign(tempViewParam, { [this.navFilter]: arg['ibizorder']});
}
if (this.navPSDer && !Object.is(this.navPSDer,"")) {
Object.assign(tempViewParam, { [this.navPSDer]: arg['ibizorder']});
}
if (this.navigateContext && Object.keys(this.navigateContext).length > 0) {
let _context:any = this.$util.computedNavData(arg, tempContext, tempViewParam, this.navigateContext);
Object.assign(tempContext, _context);
}
if (this.navigateParams && Object.keys(this.navigateParams).length > 0) {
let _params:any = this.$util.computedNavData(arg, tempContext, tempViewParam, this.navigateParams);
Object.assign(tempViewParam, _params);
}
const navItem: any = {
navView: this.navViewName,
data: args,
srfnavdata: {
context: tempContext,
viewparams: tempViewParam
}
}
this.calcToolbarItemState(false);
this.$emit('selectionchange', navItem);
}
/**
* gridexpbar的load完成事件
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public gridexpbar_load(args:any, tag?: string, $event2?: any){
this.calcToolbarItemState(true);
this.$emit('load',args);
}
/**
* 设置导航区工具栏禁用状态
*
* @param {boolean} state
* @return {*}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public calcToolbarItemState(state: boolean) {
let _this: any = this;
const models:any = _this.testcustomlayoutpanelgridexpviewgridexpbar_toolbarModels;
if (models) {
for (const key in models) {
if (!models.hasOwnProperty(key)) {
return;
}
const _item = models[key];
if (_item.uiaction && (Object.is(_item.uiaction.target, 'SINGLEKEY') || Object.is(_item.uiaction.target, 'MULTIKEY'))) {
_item.disabled = state;
}
_item.visabled = true;
if (_item.noprivdisplaymode && _item.noprivdisplaymode === 6) {
_item.visabled = false;
}
}
this.calcNavigationToolbarState();
}
}
/**
* 计算导航工具栏权限状态
*
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public calcNavigationToolbarState(){
let _this: any = this;
// 界面行为
if(_this.testcustomlayoutpanelgridexpviewgridexpbar_toolbarModels){
const curUIService:IBIZOrderUIService = new IBIZOrderUIService();
ViewTool.calcActionItemAuthState({},_this.testcustomlayoutpanelgridexpviewgridexpbar_toolbarModels,curUIService);
}
}
}
</script>
<style lang='less'>
@import './test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar.less';
</style>
\ No newline at end of file
/**
* TestCustomLayoutPanelGridExpViewgridexpbar 部件模型
*
* @export
* @class TestCustomLayoutPanelGridExpViewgridexpbarModel
*/
export default class TestCustomLayoutPanelGridExpViewgridexpbarModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarGridexpbarMode
*/
public getDataItems(): any[] {
return [
]
}
}
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
import TestCustomLayoutPanelGridExpViewgridexpbarModel from './test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar-model';
/**
* TestCustomLayoutPanelGridExpViewgridexpbar 部件服务对象
*
* @export
* @class TestCustomLayoutPanelGridExpViewgridexpbarService
*/
export default class TestCustomLayoutPanelGridExpViewgridexpbarService extends ControlService {
/**
* 订单服务对象
*
* @type {IBIZOrderService}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarService
*/
public appEntityService: IBIZOrderService = new IBIZOrderService();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of TestCustomLayoutPanelGridExpViewgridexpbarService.
*
* @param {*} [opts={}]
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new TestCustomLayoutPanelGridExpViewgridexpbarModel();
}
}
\ No newline at end of file
.app-grid-exp-bar {
height: 100%;
display: flex;
flex-direction: column;
.grid-exp-bar-header {
line-height: 50px;
border-bottom: 1px solid #ddd;
.grid-exp-bar-title {
font-size: 18px;
padding-left: 8px;
i {
font-size: 20px;
margin-top: -2px;
}
}
}
.exp-bar-action-container {
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
.search-container {
width: 30%;
height: 48px;
padding: 10px 10px 10px 0;
min-width: 200px;
max-width: 400px;
}
.toolbar-container{
padding: 4px;
}
.quick-group-container {
padding-top: 8px;
padding-right: 20px;
}
}
.grid-exp-bar-content {
flex-grow: 1;
overflow: auto;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TestCustomLayoutPanelGridExpViewgridexpbarBase from './test-custom-layout-panel-grid-exp-viewgridexpbar-gridexpbar-base.vue';
import view_gridexpbar_grid from '@widgets/ibizorder/main-grid/main-grid.vue';
@Component({
components: {
view_gridexpbar_grid,
}
})
export default class TestCustomLayoutPanelGridExpViewgridexpbar extends TestCustomLayoutPanelGridExpViewgridexpbarBase {
}
</script>
\ No newline at end of file
......@@ -17,10 +17,40 @@ module.exports = {
// proxy: "http://127.0.0.1:8080/",
historyApiFallback: {
rewrites: [
// { from: /^\/appindexview$/, to: '/appindexview.html' },
]
}
},
pages: {
// 新增默认首页入口
index : {
// page 的入口
entry: 'src/pages/ungroup/app-index-view/main.ts',
// 模板来源
template: 'src/template.html',
// 在 dist/index.html 的输出
filename: 'index.html',
// 当使用 title 选项时,
// template 中的 title 标签需要是 <title><%= htmlWebpackPlugin.options.title %></title>
title: '应用首页视图',
// 在这个页面中包含的块,默认情况下会包含
// 提取出来的通用 chunk 和 vendor chunk。
// chunks: ['chunk-vendors', 'chunk-common', 'index']
},
appindexview: {
// page 的入口
entry: 'src/pages/ungroup/app-index-view/main.ts',
// 模板来源
template: 'src/template.html',
// 在 dist/index.html 的输出
filename: 'appindexview.html',
// 当使用 title 选项时,
// template 中的 title 标签需要是 <title><%= htmlWebpackPlugin.options.title %></title>
title: '应用首页视图',
// 在这个页面中包含的块,默认情况下会包含
// 提取出来的通用 chunk 和 vendor chunk。
// chunks: ['chunk-vendors', 'chunk-common', 'index']
},
index: {
// page 的入口
entry: 'src/pages/sample/index/main.ts',
......@@ -43,6 +73,8 @@ module.exports = {
config.plugins.delete('preload-index')
// 删除预加载资源
config.plugins.delete('prefetch-index')
config.plugins.delete('preload-appindexview')
config.plugins.delete('prefetch-appindexview')
config.resolve.alias
.set('@ibizsys', resolve('src/ibizsys'))
.set('@pages', resolve('src/pages'))
......
......@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-11-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-20-14">
<createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)">
</column>
......
......@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-11-8" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-20-8" runOnChange="true">
<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 ]]>
</createView>
......
......@@ -375,7 +375,7 @@
{
"appid":"Web",
"appname":"演示应用",
"appmenu":[{"menuid":"QUICKMENUBAR", "menuname":"appMenu", "menuitem":[{ "id":"menuitem1" , "name":"应用菜单" , "items":[{ "id":"menuitem2" , "name":"打开文档" }]}] },{"menuid":"iconMenu", "menuname":"iconMenu", "menuitem":[{ "id":"menuitem1" , "name":"菜单1" , "items":[{ "id":"menuitem6" , "name":"菜单项" },{ "id":"menuitem9" , "name":"菜单项" },{ "id":"menuitem10" , "name":"菜单项" }]},{ "id":"menuitem2" , "name":"菜单2" , "items":[{ "id":"menuitem7" , "name":"菜单项" }]},{ "id":"menuitem3" , "name":"菜单3" , "items":[{ "id":"menuitem8" , "name":"菜单项" }]},{ "id":"menuitem4" , "name":"菜单4" },{ "id":"menuitem5" , "name":"菜单5" }] },{"menuid":"MainMenu", "menuname":"MainMenu", "menuitem":[{ "id":"menuitem1" , "name":"工作台" },{ "id":"menuitem3" , "name":"控件" , "items":[{ "id":"menuitem6" , "name":"默认数据类型" },{ "id":"menuitem7" , "name":"默认编辑器类型" },{ "id":"menuitem72" , "name":"扩展编辑器" },{ "id":"menuitem65" , "name":"微服务组件" },{ "id":"menuitem151" , "name":"编辑器插件示例" }]},{ "id":"menuitem4" , "name":"部件" , "items":[{ "id":"menuitem112" , "name":"应用类" , "items":[{ "id":"menuitem186" , "name":"数据看板" },{ "id":"menuitem129" , "name":"门户部件" }]},{ "id":"menuitem156" , "name":"表单类" , "items":[{ "id":"menuitem12" , "name":"编辑表单" , "items":[{ "id":"menuitem15" , "name":"基础表单项" },{ "id":"menuitem107" , "name":"内置功能" },{ "id":"menuitem47" , "name":"新建默认值" },{ "id":"menuitem99" , "name":"更新默认值" },{ "id":"menuitem48" , "name":"输入提示" },{ "id":"menuitem49" , "name":"辅助输入" },{ "id":"menuitem50" , "name":"自动填充" },{ "id":"menuitem51" , "name":"超链接" },{ "id":"menuitem52" , "name":"表单值重置" },{ "id":"menuitem55" , "name":"动态显示" },{ "id":"menuitem53" , "name":"动态启用" },{ "id":"menuitem54" , "name":"动态空输入" },{ "id":"menuitem56" , "name":"表单项更新" },{ "id":"menuitem108" , "name":"表单值规则" }]},{ "id":"menuitem16" , "name":"搜索表单" }]},{ "id":"menuitem157" , "name":"导航类" , "items":[{ "id":"menuitem120" , "name":"分页导航" },{ "id":"menuitem128" , "name":"表格导航" },{ "id":"menuitem114" , "name":"列表导航" },{ "id":"menuitem137" , "name":"卡片导航" },{ "id":"menuitem136" , "name":"树导航" },{ "id":"menuitem138" , "name":"日历导航" },{ "id":"menuitem139" , "name":"时间轴导航" },{ "id":"menuitem20" , "name":"数据关系分页" , "items":[{ "id":"menuitem117" , "name":"数据关系分页(上下关系)" },{ "id":"menuitem118" , "name":"数据关系分页(分页关系)" }]},{ "id":"menuitem116" , "name":" 数据关系栏" }]},{ "id":"menuitem158" , "name":"面板类" , "items":[{ "id":"menuitem145" , "name":"选择视图面板" },{ "id":"menuitem17" , "name":"向导面板" , "items":[{ "id":"menuitem134" , "name":"基础用法" },{ "id":"menuitem135" , "name":"状态属性" }]},{ "id":"menuitem121" , "name":"多编辑视图面板" , "items":[{ "id":"menuitem115" , "name":"多表单(行记录)" },{ "id":"menuitem123" , "name":"多表单(上分页)" }]}]},{ "id":"menuitem119" , "name":"多数据类" , "items":[{ "id":"menuitem13" , "name":"表格" , "items":[{ "id":"menuitem57" , "name":"禁用排序" },{ "id":"menuitem59" , "name":"行操作" },{ "id":"menuitem58" , "name":"行编辑" },{ "id":"menuitem73" , "name":"内置功能" },{ "id":"menuitem74" , "name":"表格行编辑" },{ "id":"menuitem75" , "name":"新建默认值" },{ "id":"menuitem76" , "name":"更新默认值" },{ "id":"menuitem77" , "name":"表格值规则" },{ "id":"menuitem132" , "name":"表格列更新" },{ "id":"menuitem133" , "name":"表格列重置" },{ "id":"menuitem78" , "name":"自动分组" },{ "id":"menuitem80" , "name":"代码表分组" },{ "id":"menuitem81" , "name":"当前页聚合" },{ "id":"menuitem82" , "name":"远程聚合" }]},{ "id":"menuitem83" , "name":"列表" , "items":[{ "id":"menuitem84" , "name":"内置功能" },{ "id":"menuitem85" , "name":"自动分组" },{ "id":"menuitem86" , "name":"代码表分组" },{ "id":"menuitem91" , "name":"项布局面板" },{ "id":"menuitem143" , "name":"自定义插件" }]},{ "id":"menuitem95" , "name":"日历" , "items":[{ "id":"menuitem96" , "name":"内置功能" },{ "id":"menuitem97" , "name":"时间轴样式" },{ "id":"menuitem109" , "name":"项布局面板" },{ "id":"menuitem64" , "name":"自定义插件" }]},{ "id":"menuitem14" , "name":"树视图" , "items":[{ "id":"menuitem60" , "name":"静态节点" },{ "id":"menuitem61" , "name":"动态节点(代码表)" },{ "id":"menuitem62" , "name":"动态节点(实体)" },{ "id":"menuitem63" , "name":"右键操作" }]},{ "id":"menuitem111" , "name":"甘特图" },{ "id":"menuitem110" , "name":"树表格" },{ "id":"menuitem87" , "name":"数据视图" , "items":[{ "id":"menuitem88" , "name":"内置功能" },{ "id":"menuitem89" , "name":"自动分组" },{ "id":"menuitem90" , "name":"代码表分组" },{ "id":"menuitem94" , "name":"项布局面板" },{ "id":"menuitem152" , "name":"自定义插件" }]},{ "id":"menuitem101" , "name":"看板视图" , "items":[{ "id":"menuitem102" , "name":"内置功能" },{ "id":"menuitem104" , "name":"代码表分组" },{ "id":"menuitem105" , "name":"项布局面板" }]},{ "id":"menuitem37" , "name":"数据图表" , "items":[{ "id":"menuitem38" , "name":"柱状图" },{ "id":"menuitem39" , "name":"折线图" },{ "id":"menuitem40" , "name":"饼图" },{ "id":"menuitem41" , "name":"区域图" },{ "id":"menuitem42" , "name":"雷达图" }]}]}]},{ "id":"menuitem5" , "name":"视图" , "items":[{ "id":"menuitem140" , "name":"单数据视图" , "items":[{ "id":"menuitem161" , "name":"实体向导视图" },{ "id":"menuitem8" , "name":"实体编辑视图" },{ "id":"menuitem162" , "name":"实体编辑视图(分页关系)" },{ "id":"menuitem163" , "name":"实体编辑视图(上下关系)" },{ "id":"menuitem164" , "name":"实体编辑视图(左右关系)" },{ "id":"menuitem165" , "name":"实体分页导航视图" },{ "id":"menuitem166" , "name":"实体数据看板视图" },{ "id":"menuitem167" , "name":"实体选项操作视图" }]},{ "id":"menuitem141" , "name":"多数据视图" , "items":[{ "id":"menuitem79" , "name":"实体表格视图" },{ "id":"menuitem168" , "name":"实体多表单编辑视图" },{ "id":"menuitem169" , "name":"实体甘特视图" },{ "id":"menuitem9" , "name":"实体列表视图" },{ "id":"menuitem170" , "name":"实体日历视图" },{ "id":"menuitem171" , "name":"实体看板视图" },{ "id":"menuitem172" , "name":"实体树表格视图" },{ "id":"menuitem173" , "name":"实体树视图" },{ "id":"menuitem174" , "name":"实体数据视图" },{ "id":"menuitem175" , "name":"实体图表视图" }]},{ "id":"menuitem10" , "name":"导航视图" , "items":[{ "id":"menuitem176" , "name":"实体表格导航视图" },{ "id":"menuitem177" , "name":"实体列表导航视图" },{ "id":"menuitem178" , "name":"实体卡片导航视图" },{ "id":"menuitem179" , "name":"实体日历导航视图" },{ "id":"menuitem180" , "name":"实体树导航视图" }]},{ "id":"menuitem26" , "name":"选择视图" , "items":[{ "id":"menuitem18" , "name":"数据选择视图" },{ "id":"menuitem27" , "name":"索引选择视图" }]},{ "id":"menuitem69" , "name":"工作流" , "items":[{ "id":"menuitem30" , "name":"工作流动态导航视图" },{ "id":"menuitem31" , "name":"工作流启动" },{ "id":"menuitem21" , "name":"工作流动态操作视图" }]},{ "id":"menuitem11" , "name":"其他视图" , "items":[{ "id":"menuitem98" , "name":"自定义视图" }]}]},{ "id":"menuitem153" , "name":"逻辑" , "items":[{ "id":"menuitem154" , "name":"应用功能" , "items":[{ "id":"menuitem127" , "name":"打开应用视图" },{ "id":"menuitem147" , "name":"打开HTML页面" },{ "id":"menuitem160" , "name":"执行JavaScript" }]},{ "id":"menuitem155" , "name":"界面行为" , "items":[{ "id":"menuitem181" , "name":"前台界面行为" },{ "id":"menuitem182" , "name":"后台界面行为" }]}]},{ "id":"menuitem2" , "name":"更多" , "items":[{ "id":"menuitem19" , "name":"临时模式" },{ "id":"menuitem46" , "name":"数据导出导入" },{ "id":"menuitem67" , "name":"索引实体" },{ "id":"menuitem184" , "name":"主状态" , "items":[{ "id":"menuitem70" , "name":"表格主状态" },{ "id":"menuitem148" , "name":"列表主状态" },{ "id":"menuitem183" , "name":"数据主状态" },{ "id":"menuitem28" , "name":"日历主状态" },{ "id":"menuitem29" , "name":"树主状态" }]}]},{ "id":"menuitem22" , "name":"测试" , "items":[{ "id":"menuitem23" , "name":"卡片导航" },{ "id":"menuitem24" , "name":"表单嵌入卡片视图" },{ "id":"menuitem25" , "name":"关系界面刷新主表单" }]},{ "id":"menuitem66" , "name":"视图布局面板测试" , "items":[{ "id":"menuitem122" , "name":"表格视图面板" },{ "id":"menuitem125" , "name":"测试表单自定义布局多媒体" }]}] }]
"appmenu":[{"menuid":"QUICKMENUBAR", "menuname":"appMenu", "menuitem":[{ "id":"menuitem1" , "name":"应用菜单" , "items":[{ "id":"menuitem2" , "name":"打开文档" }]}] },{"menuid":"iconMenu", "menuname":"iconMenu", "menuitem":[{ "id":"menuitem1" , "name":"菜单1" , "items":[{ "id":"menuitem6" , "name":"菜单项" },{ "id":"menuitem9" , "name":"菜单项" },{ "id":"menuitem10" , "name":"菜单项" }]},{ "id":"menuitem2" , "name":"菜单2" , "items":[{ "id":"menuitem7" , "name":"菜单项" }]},{ "id":"menuitem3" , "name":"菜单3" , "items":[{ "id":"menuitem8" , "name":"菜单项" }]},{ "id":"menuitem4" , "name":"菜单4" },{ "id":"menuitem5" , "name":"菜单5" }] },{"menuid":"AppIndexView", "menuname":"AppIndexView", "menuitem":[] },{"menuid":"MainMenu", "menuname":"MainMenu", "menuitem":[{ "id":"menuitem1" , "name":"工作台" },{ "id":"menuitem3" , "name":"控件" , "items":[{ "id":"menuitem6" , "name":"默认数据类型" },{ "id":"menuitem7" , "name":"默认编辑器类型" },{ "id":"menuitem72" , "name":"扩展编辑器" },{ "id":"menuitem65" , "name":"微服务组件" },{ "id":"menuitem151" , "name":"编辑器插件示例" }]},{ "id":"menuitem4" , "name":"部件" , "items":[{ "id":"menuitem112" , "name":"应用类" , "items":[{ "id":"menuitem186" , "name":"数据看板" },{ "id":"menuitem129" , "name":"门户部件" }]},{ "id":"menuitem156" , "name":"表单类" , "items":[{ "id":"menuitem12" , "name":"编辑表单" , "items":[{ "id":"menuitem15" , "name":"基础表单项" },{ "id":"menuitem107" , "name":"内置功能" },{ "id":"menuitem47" , "name":"新建默认值" },{ "id":"menuitem99" , "name":"更新默认值" },{ "id":"menuitem48" , "name":"输入提示" },{ "id":"menuitem49" , "name":"辅助输入" },{ "id":"menuitem50" , "name":"自动填充" },{ "id":"menuitem51" , "name":"超链接" },{ "id":"menuitem52" , "name":"表单值重置" },{ "id":"menuitem55" , "name":"动态显示" },{ "id":"menuitem53" , "name":"动态启用" },{ "id":"menuitem54" , "name":"动态空输入" },{ "id":"menuitem56" , "name":"表单项更新" },{ "id":"menuitem108" , "name":"表单值规则" }]},{ "id":"menuitem16" , "name":"搜索表单" }]},{ "id":"menuitem157" , "name":"导航类" , "items":[{ "id":"menuitem120" , "name":"分页导航" },{ "id":"menuitem128" , "name":"表格导航" },{ "id":"menuitem114" , "name":"列表导航" },{ "id":"menuitem137" , "name":"卡片导航" },{ "id":"menuitem136" , "name":"树导航" },{ "id":"menuitem138" , "name":"日历导航" },{ "id":"menuitem139" , "name":"时间轴导航" },{ "id":"menuitem20" , "name":"数据关系分页" , "items":[{ "id":"menuitem117" , "name":"数据关系分页(上下关系)" },{ "id":"menuitem118" , "name":"数据关系分页(分页关系)" }]},{ "id":"menuitem116" , "name":" 数据关系栏" }]},{ "id":"menuitem158" , "name":"面板类" , "items":[{ "id":"menuitem145" , "name":"选择视图面板" },{ "id":"menuitem17" , "name":"向导面板" , "items":[{ "id":"menuitem134" , "name":"基础用法" },{ "id":"menuitem135" , "name":"状态属性" }]},{ "id":"menuitem121" , "name":"多编辑视图面板" , "items":[{ "id":"menuitem115" , "name":"多表单(行记录)" },{ "id":"menuitem123" , "name":"多表单(上分页)" }]}]},{ "id":"menuitem119" , "name":"多数据类" , "items":[{ "id":"menuitem13" , "name":"表格" , "items":[{ "id":"menuitem57" , "name":"禁用排序" },{ "id":"menuitem59" , "name":"行操作" },{ "id":"menuitem58" , "name":"行编辑" },{ "id":"menuitem73" , "name":"内置功能" },{ "id":"menuitem74" , "name":"表格行编辑" },{ "id":"menuitem75" , "name":"新建默认值" },{ "id":"menuitem76" , "name":"更新默认值" },{ "id":"menuitem77" , "name":"表格值规则" },{ "id":"menuitem132" , "name":"表格列更新" },{ "id":"menuitem133" , "name":"表格列重置" },{ "id":"menuitem78" , "name":"自动分组" },{ "id":"menuitem80" , "name":"代码表分组" },{ "id":"menuitem81" , "name":"当前页聚合" },{ "id":"menuitem82" , "name":"远程聚合" }]},{ "id":"menuitem83" , "name":"列表" , "items":[{ "id":"menuitem84" , "name":"内置功能" },{ "id":"menuitem85" , "name":"自动分组" },{ "id":"menuitem86" , "name":"代码表分组" },{ "id":"menuitem91" , "name":"项布局面板" },{ "id":"menuitem143" , "name":"自定义插件" }]},{ "id":"menuitem95" , "name":"日历" , "items":[{ "id":"menuitem96" , "name":"内置功能" },{ "id":"menuitem97" , "name":"时间轴样式" },{ "id":"menuitem109" , "name":"项布局面板" },{ "id":"menuitem64" , "name":"自定义插件" }]},{ "id":"menuitem14" , "name":"树视图" , "items":[{ "id":"menuitem60" , "name":"静态节点" },{ "id":"menuitem61" , "name":"动态节点(代码表)" },{ "id":"menuitem62" , "name":"动态节点(实体)" },{ "id":"menuitem63" , "name":"右键操作" }]},{ "id":"menuitem111" , "name":"甘特图" },{ "id":"menuitem110" , "name":"树表格" },{ "id":"menuitem87" , "name":"数据视图" , "items":[{ "id":"menuitem88" , "name":"内置功能" },{ "id":"menuitem89" , "name":"自动分组" },{ "id":"menuitem90" , "name":"代码表分组" },{ "id":"menuitem94" , "name":"项布局面板" },{ "id":"menuitem152" , "name":"自定义插件" }]},{ "id":"menuitem101" , "name":"看板视图" , "items":[{ "id":"menuitem102" , "name":"内置功能" },{ "id":"menuitem104" , "name":"代码表分组" },{ "id":"menuitem105" , "name":"项布局面板" }]},{ "id":"menuitem37" , "name":"数据图表" , "items":[{ "id":"menuitem38" , "name":"柱状图" },{ "id":"menuitem39" , "name":"折线图" },{ "id":"menuitem40" , "name":"饼图" },{ "id":"menuitem41" , "name":"区域图" },{ "id":"menuitem42" , "name":"雷达图" }]}]}]},{ "id":"menuitem5" , "name":"视图" , "items":[{ "id":"menuitem140" , "name":"单数据视图" , "items":[{ "id":"menuitem161" , "name":"实体向导视图" },{ "id":"menuitem8" , "name":"实体编辑视图" },{ "id":"menuitem162" , "name":"实体编辑视图(分页关系)" },{ "id":"menuitem163" , "name":"实体编辑视图(上下关系)" },{ "id":"menuitem164" , "name":"实体编辑视图(左右关系)" },{ "id":"menuitem165" , "name":"实体分页导航视图" },{ "id":"menuitem166" , "name":"实体数据看板视图" },{ "id":"menuitem167" , "name":"实体选项操作视图" }]},{ "id":"menuitem141" , "name":"多数据视图" , "items":[{ "id":"menuitem79" , "name":"实体表格视图" },{ "id":"menuitem168" , "name":"实体多表单编辑视图" },{ "id":"menuitem169" , "name":"实体甘特视图" },{ "id":"menuitem9" , "name":"实体列表视图" },{ "id":"menuitem170" , "name":"实体日历视图" },{ "id":"menuitem171" , "name":"实体看板视图" },{ "id":"menuitem172" , "name":"实体树表格视图" },{ "id":"menuitem173" , "name":"实体树视图" },{ "id":"menuitem174" , "name":"实体数据视图" },{ "id":"menuitem175" , "name":"实体图表视图" }]},{ "id":"menuitem10" , "name":"导航视图" , "items":[{ "id":"menuitem176" , "name":"实体表格导航视图" },{ "id":"menuitem177" , "name":"实体列表导航视图" },{ "id":"menuitem178" , "name":"实体卡片导航视图" },{ "id":"menuitem179" , "name":"实体日历导航视图" },{ "id":"menuitem180" , "name":"实体树导航视图" }]},{ "id":"menuitem26" , "name":"选择视图" , "items":[{ "id":"menuitem18" , "name":"数据选择视图" },{ "id":"menuitem27" , "name":"索引选择视图" }]},{ "id":"menuitem69" , "name":"工作流" , "items":[{ "id":"menuitem30" , "name":"工作流动态导航视图" },{ "id":"menuitem31" , "name":"工作流启动" },{ "id":"menuitem21" , "name":"工作流动态操作视图" }]},{ "id":"menuitem11" , "name":"其他视图" , "items":[{ "id":"menuitem98" , "name":"自定义视图" }]}]},{ "id":"menuitem153" , "name":"逻辑" , "items":[{ "id":"menuitem154" , "name":"应用功能" , "items":[{ "id":"menuitem127" , "name":"打开应用视图" },{ "id":"menuitem147" , "name":"打开HTML页面" },{ "id":"menuitem160" , "name":"执行JavaScript" }]},{ "id":"menuitem155" , "name":"界面行为" , "items":[{ "id":"menuitem181" , "name":"前台界面行为" },{ "id":"menuitem182" , "name":"后台界面行为" }]}]},{ "id":"menuitem2" , "name":"更多" , "items":[{ "id":"menuitem19" , "name":"临时模式" },{ "id":"menuitem46" , "name":"数据导出导入" },{ "id":"menuitem67" , "name":"索引实体" },{ "id":"menuitem184" , "name":"主状态" , "items":[{ "id":"menuitem70" , "name":"表格主状态" },{ "id":"menuitem148" , "name":"列表主状态" },{ "id":"menuitem183" , "name":"数据主状态" },{ "id":"menuitem28" , "name":"日历主状态" },{ "id":"menuitem29" , "name":"树主状态" }]}]},{ "id":"menuitem22" , "name":"测试" , "items":[{ "id":"menuitem23" , "name":"卡片导航" },{ "id":"menuitem24" , "name":"表单嵌入卡片视图" },{ "id":"menuitem25" , "name":"关系界面刷新主表单" }]},{ "id":"menuitem66" , "name":"视图布局面板测试" , "items":[{ "id":"menuitem122" , "name":"表格视图面板" },{ "id":"menuitem125" , "name":"测试表单自定义布局多媒体" },{ "id":"menuitem126" , "name":"自定义导航" }]}] }]
}
]
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册