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

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

上级 9a05ca3c
......@@ -791,6 +791,17 @@
"codename":"Label",
"value": "label",
"disabled": false
}
, {
"id": "userdefined",
"label": "用户自定义",
"text": "用户自定义",
"class":"",
"data":"",
"codename":"Userdefined",
"value": "userdefined",
"disabled": false
}
]
......
......@@ -295,10 +295,7 @@ function getAppLocale(){
menuitem167: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem141: commonLogic.appcommonhandle("多数据视图",null),
menuitem9: commonLogic.appcommonhandle("列表视图",null),
menuitem21: commonLogic.appcommonhandle("左右表格视图",null),
menuitem20: commonLogic.appcommonhandle("嵌入表格视图",null),
menuitem79: commonLogic.appcommonhandle("表格视图",null),
menuitem19: commonLogic.appcommonhandle("常规表格视图",null),
menuitem168: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem169: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem170: commonLogic.appcommonhandle("实体日历视图",null),
......
......@@ -295,10 +295,7 @@ function getAppLocale(){
menuitem167: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem141: commonLogic.appcommonhandle("多数据视图",null),
menuitem9: commonLogic.appcommonhandle("列表视图",null),
menuitem21: commonLogic.appcommonhandle("左右表格视图",null),
menuitem20: commonLogic.appcommonhandle("嵌入表格视图",null),
menuitem79: commonLogic.appcommonhandle("表格视图",null),
menuitem19: commonLogic.appcommonhandle("常规表格视图",null),
menuitem168: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem169: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem170: commonLogic.appcommonhandle("实体日历视图",null),
......
......@@ -110,6 +110,7 @@ function getLocaleResourceBase(){
"fileupload": commonLogic.appcommonhandle("文件上传控件",null),
"textbox": commonLogic.appcommonhandle("文本框",null),
"label": commonLogic.appcommonhandle("标签",null),
"userdefined": commonLogic.appcommonhandle("用户自定义",null),
"empty": commonLogic.appcommonhandle("",null)
},
BookType: {
......
......@@ -110,6 +110,7 @@ function getLocaleResourceBase(){
"fileupload": commonLogic.appcommonhandle("文件上传控件",null),
"textbox": commonLogic.appcommonhandle("文本框",null),
"label": commonLogic.appcommonhandle("标签",null),
"userdefined": commonLogic.appcommonhandle("用户自定义",null),
"empty": commonLogic.appcommonhandle("",null),
},
BookType: {
......
......@@ -2117,44 +2117,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: '',
resourcetag: '',
items: [
{
id: 'b1503704e65adf4dae2db3d1cdc455eb',
name: 'menuitem21',
text: '左右表格视图',
type: 'MENUITEM',
counterid: '',
tooltip: '左右表格视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto185',
resourcetag: '',
},
{
id: '9f724e163751e8b2af2f182d730102ab',
name: 'menuitem20',
text: '嵌入表格视图',
type: 'MENUITEM',
counterid: '',
tooltip: '嵌入表格视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto258',
resourcetag: '',
},
],
},
{
id: '4D101B76-6E2A-4D05-9699-CA5687313802',
......@@ -2171,28 +2133,8 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
items: [
{
id: '76d99ae37ab8394df855024bc633247a',
name: 'menuitem19',
text: '常规表格视图',
type: 'MENUITEM',
counterid: '',
tooltip: '常规表格视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto145',
appfunctag: 'Auto299',
resourcetag: '',
},
],
},
{
id: '01CBA2DE-EF8F-4887-8BE2-F37027A6EEB4',
......
......@@ -799,6 +799,17 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"codename":"Label",
value: "label",
disabled: false,
},
{
id: "userdefined",
label: "用户自定义",
text: "用户自定义",
"class":"",
"data":"",
"codename":"Userdefined",
value: "userdefined",
disabled: false,
},
]
......
......@@ -28,7 +28,6 @@ export const PageComponents = {
Vue.component('ibizbooknew-default-value-grid-view', () => import('@pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view.vue'));
Vue.component('ibizbookcalendar-view', () => import('@pages/sample/ibizbookcalendar-view/ibizbookcalendar-view.vue'));
Vue.component('ibizhardware-index-pickup-data-view', () => import('@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'));
Vue.component('ibizorder-sgrid-view2', () => import('@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'));
Vue.component('app-portal-view2', () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'));
Vue.component('ibizsample0021-grid-view', () => import('@pages/sample/ibizsample0021-grid-view/ibizsample0021-grid-view.vue'));
Vue.component('ibizcustomer-mpickup-view', () => import('@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'));
......@@ -51,8 +50,8 @@ export const PageComponents = {
Vue.component('ibizhardware-sgrid-view', () => import('@pages/sample/ibizhardware-sgrid-view/ibizhardware-sgrid-view.vue'));
Vue.component('ibizbookwizard-iwith-state-view', () => import('@pages/sample/ibizbookwizard-iwith-state-view/ibizbookwizard-iwith-state-view.vue'));
Vue.component('ibizsample0017-form-pickup-data-view', () => import('@pages/sample/ibizsample0017-form-pickup-data-view/ibizsample0017-form-pickup-data-view.vue'));
Vue.component('ibizorder-sf5-grid-view', () => import('@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'));
Vue.component('ibizbookmedit-view9', () => import('@pages/sample/ibizbookmedit-view9/ibizbookmedit-view9.vue'));
Vue.component('ibizorder-sf5-grid-view', () => import('@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'));
Vue.component('ibizcustomer-edit-view', () => import('@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue'));
Vue.component('ibizbookgroup-by-codelist-kan-ban-view', () => import('@pages/sample/ibizbookgroup-by-codelist-kan-ban-view/ibizbookgroup-by-codelist-kan-ban-view.vue'));
Vue.component('ibizbookusr3-data-view', () => import('@pages/sample/ibizbookusr3-data-view/ibizbookusr3-data-view.vue'));
......@@ -104,8 +103,8 @@ export const PageComponents = {
Vue.component('ibizorder-area-chart-view', () => import('@pages/sample/ibizorder-area-chart-view/ibizorder-area-chart-view.vue'));
Vue.component('ibizbookexport-and-import-grid-view', () => import('@pages/sample/ibizbookexport-and-import-grid-view/ibizbookexport-and-import-grid-view.vue'));
Vue.component('ibizorder-sf20-grid-view', () => import('@pages/sample/ibizorder-sf20-grid-view/ibizorder-sf20-grid-view.vue'));
Vue.component('ibizorder-calendar-exp-view', () => import('@pages/sample/ibizorder-calendar-exp-view/ibizorder-calendar-exp-view.vue'));
Vue.component('ibizorder-grid-view9', () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'));
Vue.component('ibizorder-calendar-exp-view', () => import('@pages/sample/ibizorder-calendar-exp-view/ibizorder-calendar-exp-view.vue'));
Vue.component('ibizappviewedit-view', () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'));
Vue.component('ibizbookusr2-list-view', () => import('@pages/sample/ibizbookusr2-list-view/ibizbookusr2-list-view.vue'));
Vue.component('ibizorder-f9-edit-view', () => import('@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue'));
......@@ -120,8 +119,8 @@ export const PageComponents = {
Vue.component('ibizsoftware-suit-grid-view9', () => import('@pages/sample/ibizsoftware-suit-grid-view9/ibizsoftware-suit-grid-view9.vue'));
Vue.component('ibizbookhas-panel-list-view', () => import('@pages/sample/ibizbookhas-panel-list-view/ibizbookhas-panel-list-view.vue'));
Vue.component('ibizbookusr9-grid-view', () => import('@pages/sample/ibizbookusr9-grid-view/ibizbookusr9-grid-view.vue'));
Vue.component('ibizorder-sf6-grid-view', () => import('@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'));
Vue.component('ibizorder-tree-grid-ex-view', () => import('@pages/sample/ibizorder-tree-grid-ex-view/ibizorder-tree-grid-ex-view.vue'));
Vue.component('ibizorder-sf6-grid-view', () => import('@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'));
Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'));
Vue.component('ibizbookusr8-grid-view', () => import('@pages/sample/ibizbookusr8-grid-view/ibizbookusr8-grid-view.vue'));
Vue.component('ibizorder-gantt-view', () => import('@pages/sample/ibizorder-gantt-view/ibizorder-gantt-view.vue'));
......
......@@ -517,20 +517,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/sgridview2/:sgridview2?',
meta: {
caption: 'entities.ibizorder.views.sgridview2.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview2', parameterName: 'sgridview2' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'),
},
{
path: 'appportalview2/:appportalview2?',
meta: {
......@@ -869,32 +855,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizsample0017-form-pickup-data-view/ibizsample0017-form-pickup-data-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/sf5gridview/:sf5gridview?',
path: 'ibizbooks/:ibizbook?/meditview9/:meditview9?',
meta: {
caption: 'entities.ibizorder.views.sf5gridview.caption',
caption: 'entities.ibizbook.views.meditview9.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf5gridview', parameterName: 'sf5gridview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'meditview9', parameterName: 'meditview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'),
component: () => import('@pages/sample/ibizbookmedit-view9/ibizbookmedit-view9.vue'),
},
{
path: 'ibizbooks/:ibizbook?/meditview9/:meditview9?',
path: 'ibizorders/:ibizorder?/sf5gridview/:sf5gridview?',
meta: {
caption: 'entities.ibizbook.views.meditview9.caption',
caption: 'entities.ibizorder.views.sf5gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'meditview9', parameterName: 'meditview9' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf5gridview', parameterName: 'sf5gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookmedit-view9/ibizbookmedit-view9.vue'),
component: () => import('@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/editview/:editview?',
......@@ -1671,32 +1657,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizorder-sf20-grid-view/ibizorder-sf20-grid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/calendarexpview/:calendarexpview?',
path: 'ibizorders/:ibizorder?/gridview9/:gridview9?',
meta: {
caption: 'entities.ibizorder.views.calendarexpview.caption',
caption: 'entities.ibizorder.views.gridview9.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'calendarexpview', parameterName: 'calendarexpview' },
{ pathName: 'gridview9', parameterName: 'gridview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-calendar-exp-view/ibizorder-calendar-exp-view.vue'),
component: () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'),
},
{
path: 'ibizorders/:ibizorder?/gridview9/:gridview9?',
path: 'ibizorders/:ibizorder?/calendarexpview/:calendarexpview?',
meta: {
caption: 'entities.ibizorder.views.gridview9.caption',
caption: 'entities.ibizorder.views.calendarexpview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'gridview9', parameterName: 'gridview9' },
{ pathName: 'calendarexpview', parameterName: 'calendarexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'),
component: () => import('@pages/sample/ibizorder-calendar-exp-view/ibizorder-calendar-exp-view.vue'),
},
{
path: 'ibizappviews/:ibizappview?/editview/:editview?',
......@@ -1910,32 +1896,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizbookusr9-grid-view/ibizbookusr9-grid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/sf6gridview/:sf6gridview?',
path: 'ibizorders/:ibizorder?/treegridexview/:treegridexview?',
meta: {
caption: 'entities.ibizorder.views.sf6gridview.caption',
caption: 'entities.ibizorder.views.treegridexview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf6gridview', parameterName: 'sf6gridview' },
{ pathName: 'treegridexview', parameterName: 'treegridexview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'),
component: () => import('@pages/sample/ibizorder-tree-grid-ex-view/ibizorder-tree-grid-ex-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/treegridexview/:treegridexview?',
path: 'ibizorders/:ibizorder?/sf6gridview/:sf6gridview?',
meta: {
caption: 'entities.ibizorder.views.treegridexview.caption',
caption: 'entities.ibizorder.views.sf6gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'treegridexview', parameterName: 'treegridexview' },
{ pathName: 'sf6gridview', parameterName: 'sf6gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-tree-grid-ex-view/ibizorder-tree-grid-ex-view.vue'),
component: () => import('@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/editview/:editview?',
......@@ -5165,19 +5151,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-usr2-grid-view/ibizcustomer-usr2-grid-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/sgridview2/:sgridview2?',
meta: {
caption: 'entities.ibizorder.views.sgridview2.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview2', parameterName: 'sgridview2' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'),
},
{
path: '/ibizappextendeditors/:ibizappextendeditor?/editview/:editview?',
meta: {
......
......@@ -223,7 +223,6 @@ export const viewstate: any = {
'323ab2f980880093a8f5fbaf3e0965a0',
'fdb297cd4b12374534413c3053aec1b8',
'f4c5c766fd5755b694e0401dddc4d1ad',
'e7441fa67d425df343d996c745fb5d6b',
'8BB18350-57AE-4922-BF47-74A872658D8A',
'ab97a6e7bcf4e95d95abf2af463af7a0',
'692ede21641dfdb7075ede69d7c4ad33',
......@@ -269,7 +268,6 @@ export const viewstate: any = {
'28e0ba8bf7d5467c21c6f84b114e255f',
'f94df735642ce85ebb2fe3816c4dc77b',
'a682806a2655b566842d5495e43a06f3',
'ac9add3724d90fba46e7298ac051fa5f',
'7a96f3c6b2f7269043c9637ff1f3e747',
'16b68282950fb352dfe27e94bda47304',
'2bf74d5d66fa6d8d38b21b090586529b',
......@@ -281,8 +279,8 @@ export const viewstate: any = {
'756fecec409c3a955f0cd737259d27c7',
'490f607f17e7cc8ceccc77f2d0b9a70d',
'ce961e4db11b6cb36fcb604e4a4948a3',
'13ed6c02918e612bac45715a6f300f2f',
'17c2991a0bd88cfd2bd6f8651537450b',
'13ed6c02918e612bac45715a6f300f2f',
'9c8e1b12e5e55164c2ec0e5617e1574b',
'3077eef0d4b96e220a02f795ffb545fc',
'e9b54ef29b192ecd2da05ff9570eb4d5',
......@@ -1776,16 +1774,6 @@ export const viewstate: any = {
'e2b5e2bcaa091e21a16f620e0225ba7f',
],
},
{
viewtag: 'e7441fa67d425df343d996c745fb5d6b',
viewmodule: 'Sample',
viewname: 'IBIZOrderSGridView2',
viewaction: '',
viewdatachange: false,
refviews: [
'f90fa878f2ed0eb4e27353786b10c3f4',
],
},
{
viewtag: 'e7f67094501adaf9fd3bd9c3ee074450',
viewmodule: 'Sample',
......
......@@ -523,7 +523,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
Object.assign(context,{CONTEXTPARAM1:"%ibizorderid%"});
Object.assign(context,{CONTEXTPARAM1:"%ibizorderid%",IBIZORDER:"15c8e85a50dae2893c26945df5b58e4e",IBIZORDERID:"15c8e85a50dae2893c26945df5b58e4e"});
Object.assign(params,{param2:"%ibizorderid%"});
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'NONE';
......
......@@ -638,9 +638,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc15':
this.clickAppFunc15(item);
return;
case 'Auto258':
this.clickAuto258(item);
return;
case 'Auto114':
this.clickAuto114(item);
return;
......@@ -716,9 +713,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc58':
this.clickAppFunc58(item);
return;
case 'Auto145':
this.clickAuto145(item);
return;
case 'AppFunc42':
this.clickAppFunc42(item);
return;
......@@ -758,15 +752,15 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto3':
this.clickAuto3(item);
return;
case 'AppFunc22':
this.clickAppFunc22(item);
return;
case 'AppFunc31':
this.clickAppFunc31(item);
return;
case 'Auto279':
this.clickAuto279(item);
return;
case 'AppFunc22':
this.clickAppFunc22(item);
return;
case 'AppFunc57':
this.clickAppFunc57(item);
return;
......@@ -842,9 +836,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc86':
this.clickAppFunc86(item);
return;
case 'Auto185':
this.clickAuto185(item);
return;
case 'AppFunc66':
this.clickAppFunc66(item);
return;
......@@ -941,6 +932,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc56':
this.clickAppFunc56(item);
return;
case 'Auto299':
this.clickAuto299(item);
return;
case 'AppFunc9':
this.clickAppFunc9(item);
return;
......@@ -1298,29 +1292,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 嵌入表格视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAuto258(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'gridview9', parameterName: 'gridview9' },
];
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);
})
}
/**
* 表单项更新
*
......@@ -1896,29 +1867,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 常规表格视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAuto145(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
];
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);
})
}
/**
* 功能名称
*
......@@ -2219,18 +2167,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
* 自定义视图
* 图书实体表单(内置功能)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc22(item: any = {}) {
public clickAppFunc31(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'customview', parameterName: 'customview' },
{ pathName: 'interfunceditview', parameterName: 'interfunceditview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
......@@ -2242,18 +2190,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
* 图书实体表单(内置功能)
* 表单项输入提示
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc31(item: any = {}) {
public clickAuto279(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'interfunceditview', parameterName: 'interfunceditview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf2editview', parameterName: 'sf2editview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
......@@ -2265,18 +2213,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
* 表单项输入提示
* 自定义视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAuto279(item: any = {}) {
public clickAppFunc22(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf2editview', parameterName: 'sf2editview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'customview', parameterName: 'customview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
......@@ -2862,29 +2810,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 左右关系表格
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAuto185(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview2', parameterName: 'sgridview2' },
];
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);
})
}
/**
* 应用门户视图
*
......@@ -3596,6 +3521,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 常规表格视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAuto299(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
];
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);
})
}
/**
* 功能名称
*
......
......@@ -2236,46 +2236,6 @@ export default class MainMenuModel {
appfunctag: '',
resourcetag: '',
authtag:'Web-MainMenu-menuitem9',
items: [
{
id: 'b1503704e65adf4dae2db3d1cdc455eb',
name: 'menuitem21',
text: '左右表格视图',
type: 'MENUITEM',
counterid: '',
tooltip: '左右表格视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto185',
resourcetag: '',
authtag:'Web-MainMenu-menuitem21',
},
{
id: '9f724e163751e8b2af2f182d730102ab',
name: 'menuitem20',
text: '嵌入表格视图',
type: 'MENUITEM',
counterid: '',
tooltip: '嵌入表格视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto258',
resourcetag: '',
authtag:'Web-MainMenu-menuitem20',
},
],
},
{
id: '4D101B76-6E2A-4D05-9699-CA5687313802',
......@@ -2292,30 +2252,9 @@ export default class MainMenuModel {
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
appfunctag: 'Auto299',
resourcetag: '',
authtag:'Web-MainMenu-menuitem79',
items: [
{
id: '76d99ae37ab8394df855024bc633247a',
name: 'menuitem19',
text: '常规表格视图',
type: 'MENUITEM',
counterid: '',
tooltip: '常规表格视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto145',
resourcetag: '',
authtag:'Web-MainMenu-menuitem19',
},
],
},
{
id: '01CBA2DE-EF8F-4887-8BE2-F37027A6EEB4',
......@@ -3632,18 +3571,6 @@ export default class MainMenuModel {
{ pathName: 'usr2dataview', parameterName: 'usr2dataview' },
],
},
{
appfunctag: 'Auto258',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizordergridview9',
deResParameters: [],
routepath: '/index/:index?/ibizorders/:ibizorder?/gridview9/:gridview9?',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'gridview9', parameterName: 'gridview9' },
],
},
{
appfunctag: 'Auto114',
appfuncyype: 'APPVIEW',
......@@ -3944,18 +3871,6 @@ export default class MainMenuModel {
{ pathName: 'dataviewexpview', parameterName: 'dataviewexpview' },
],
},
{
appfunctag: 'Auto145',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizordersgridview',
deResParameters: [],
routepath: '/index/:index?/ibizorders/:ibizorder?/sgridview/:sgridview?',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
},
{
appfunctag: 'AppFunc42',
appfuncyype: 'APPVIEW',
......@@ -4112,18 +4027,6 @@ export default class MainMenuModel {
{ pathName: 'areachartview', parameterName: 'areachartview' },
],
},
{
appfunctag: 'AppFunc22',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizbookcustomview',
deResParameters: [],
routepath: '/index/:index?/ibizbooks/:ibizbook?/customview/:customview?',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'customview', parameterName: 'customview' },
],
},
{
appfunctag: 'AppFunc31',
appfuncyype: 'APPVIEW',
......@@ -4148,6 +4051,18 @@ export default class MainMenuModel {
{ pathName: 'sf2editview', parameterName: 'sf2editview' },
],
},
{
appfunctag: 'AppFunc22',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizbookcustomview',
deResParameters: [],
routepath: '/index/:index?/ibizbooks/:ibizbook?/customview/:customview?',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'customview', parameterName: 'customview' },
],
},
{
appfunctag: 'AppFunc57',
appfuncyype: 'APPVIEW',
......@@ -4448,18 +4363,6 @@ export default class MainMenuModel {
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto185',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizordersgridview2',
deResParameters: [],
routepath: '/index/:index?/ibizorders/:ibizorder?/sgridview2/:sgridview2?',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview2', parameterName: 'sgridview2' },
],
},
{
appfunctag: 'AppFunc66',
appfuncyype: 'APPVIEW',
......@@ -4827,6 +4730,18 @@ export default class MainMenuModel {
{ pathName: 'listexpview', parameterName: 'listexpview' },
],
},
{
appfunctag: 'Auto299',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizordersgridview',
deResParameters: [],
routepath: '/index/:index?/ibizorders/:ibizorder?/sgridview/:sgridview?',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
},
{
appfunctag: 'AppFunc9',
appfuncyype: 'APPVIEW',
......
......@@ -626,7 +626,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: 'IBIZOrderSGridView2' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderZDYTPGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -662,7 +662,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: 'IBIZOrderSGridView2' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderZDYTPGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -901,7 +901,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSGridView2'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderZDYTPGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -991,7 +991,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSGridView2'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderZDYTPGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1096,7 +1096,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSGridView2'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderZDYTPGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -1990,7 +1990,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSGridView2'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderZDYTPGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -1998,7 +1998,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSGridView2'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderZDYTPGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......@@ -2065,7 +2065,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSGridView2'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderZDYTPGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -843,7 +843,8 @@ public class StaticDict {
PICKER("picker","数据选择"),
FILEUPLOAD("fileupload","文件上传控件"),
TEXTBOX("textbox","文本框"),
LABEL("label","标签");
LABEL("label","标签"),
USERDEFINED("userdefined","用户自定义");
private String value;
private String text;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册