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

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

上级 7caabe26
...@@ -455,6 +455,14 @@ ...@@ -455,6 +455,14 @@
"viewname": "IBIZOrderDetailSEditView9", "viewname": "IBIZOrderDetailSEditView9",
"viewtag": "55c0b817ceaaa2894e76b510d94da24c" "viewtag": "55c0b817ceaaa2894e76b510d94da24c"
}, },
"ibizbookusr2meditview9": {
"title": "图书多表单编辑视图",
"caption": "图书",
"viewtype": "DEMEDITVIEW9",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr2MEditView9",
"viewtag": "5686558064d641b7ff599746970461cd"
},
"ibizsample0002pickupview": { "ibizsample0002pickupview": {
"title": "首页图表数据源数据选择视图", "title": "首页图表数据源数据选择视图",
"caption": "示例实体02", "caption": "示例实体02",
......
...@@ -239,11 +239,11 @@ export default { ...@@ -239,11 +239,11 @@ export default {
menuitem119: "分页视图", menuitem119: "分页视图",
menuitem120: "分页导航", menuitem120: "分页导航",
menuitem121: "多编辑视图", menuitem121: "多编辑视图",
menuitem115: "多表单编辑", menuitem115: "多表单(行记录)",
menuitem122: "数据关系栏", menuitem122: "数据关系栏",
menuitem116: "多表单(左右关系)", menuitem116: "编辑视图(左右关系)",
menuitem117: "多表单(上下关系)", menuitem117: "编辑视图(上下关系)",
menuitem118: "多表单(分页关系)", menuitem118: "编辑视图(分页关系)",
menuitem5: "视图", menuitem5: "视图",
menuitem9: "列表视图", menuitem9: "列表视图",
menuitem19: "常规表格视图", menuitem19: "常规表格视图",
......
...@@ -239,11 +239,11 @@ export default { ...@@ -239,11 +239,11 @@ export default {
menuitem119: "分页视图", menuitem119: "分页视图",
menuitem120: "分页导航", menuitem120: "分页导航",
menuitem121: "多编辑视图", menuitem121: "多编辑视图",
menuitem115: "多表单编辑", menuitem115: "多表单(行记录)",
menuitem122: "数据关系栏", menuitem122: "数据关系栏",
menuitem116: "多表单(左右关系)", menuitem116: "编辑视图(左右关系)",
menuitem117: "多表单(上下关系)", menuitem117: "编辑视图(上下关系)",
menuitem118: "多表单(分页关系)", menuitem118: "编辑视图(分页关系)",
menuitem5: "视图", menuitem5: "视图",
menuitem9: "列表视图", menuitem9: "列表视图",
menuitem19: "常规表格视图", menuitem19: "常规表格视图",
......
...@@ -54,6 +54,10 @@ export default { ...@@ -54,6 +54,10 @@ export default {
caption: "图书", caption: "图书",
title: "图书表格视图(表格值规则)", title: "图书表格视图(表格值规则)",
}, },
usr2meditview9: {
caption: "图书",
title: "图书多表单编辑视图",
},
meditview9: { meditview9: {
caption: "图书", caption: "图书",
title: "图书多表单编辑视图(多表单)", title: "图书多表单编辑视图(多表单)",
......
...@@ -53,6 +53,10 @@ export default { ...@@ -53,6 +53,10 @@ export default {
caption: "图书", caption: "图书",
title: "图书表格视图(表格值规则)", title: "图书表格视图(表格值规则)",
}, },
usr2meditview9: {
caption: "图书",
title: "图书多表单编辑视图",
},
meditview9: { meditview9: {
caption: "图书", caption: "图书",
title: "图书多表单编辑视图(多表单)", title: "图书多表单编辑视图(多表单)",
......
import ViewMessageService from '../view-message-service'; import ViewMessageService from '../view-message-service';
/** /**
* 多表单编辑视图消息服务对象基类 * 多表单编辑(行记录)视图消息服务对象基类
* *
* @export * @export
* @class ViewMsg31MessageServiceBase * @class ViewMsg31MessageServiceBase
...@@ -25,10 +25,10 @@ export default class ViewMsg31MessageServiceBase extends ViewMessageService { ...@@ -25,10 +25,10 @@ export default class ViewMsg31MessageServiceBase extends ViewMessageService {
*/ */
public initBasicParam(){ public initBasicParam(){
this.id = "BABA99D6-3DB7-43EA-8628-0643DAB34E62"; this.id = "BABA99D6-3DB7-43EA-8628-0643DAB34E62";
this.name = "多表单编辑"; this.name = "多表单编辑(行记录)";
this.codename = "ViewMsg31"; this.codename = "ViewMsg31";
this.title = ""; this.title = "";
this.content = "多表单编辑:该视图为图书多表单编辑视图。"; this.content = "多表单编辑:该视图为图书多表单编辑视图行记录样式。";
this.closeMode = 0; this.closeMode = 0;
this.position = "TOP"; this.position = "TOP";
this.type = "error"; this.type = "error";
......
import ViewMsg31MessageServiceBase from './view-msg31-message-base'; import ViewMsg31MessageServiceBase from './view-msg31-message-base';
/** /**
* 多表单编辑视图消息服务对象 * 多表单编辑(行记录)视图消息服务对象
* *
* @export * @export
* @class ViewMsg31MessageService * @class ViewMsg31MessageService
......
...@@ -1405,10 +1405,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -1405,10 +1405,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{ {
id: '17CBCE02-3E93-4C5F-87B9-C19D1DA7994B', id: '17CBCE02-3E93-4C5F-87B9-C19D1DA7994B',
name: 'menuitem115', name: 'menuitem115',
text: '多表单编辑', text: '多表单(行记录)',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '多表单编辑', tooltip: '多表单(行记录)',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -1443,10 +1443,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -1443,10 +1443,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{ {
id: 'DDD0927E-EA23-4D97-A8B6-7D9341A4A331', id: 'DDD0927E-EA23-4D97-A8B6-7D9341A4A331',
name: 'menuitem116', name: 'menuitem116',
text: '多表单(左右关系)', text: '编辑视图(左右关系)',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '多表单(左右关系)', tooltip: '编辑视图(左右关系)',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -1461,10 +1461,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -1461,10 +1461,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{ {
id: '4A60A0B5-EDAB-4103-88C6-5713F98FBF96', id: '4A60A0B5-EDAB-4103-88C6-5713F98FBF96',
name: 'menuitem117', name: 'menuitem117',
text: '多表单(上下关系)', text: '编辑视图(上下关系)',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '多表单(上下关系)', tooltip: '编辑视图(上下关系)',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -1479,10 +1479,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -1479,10 +1479,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{ {
id: 'F3BDE046-F267-4AAF-A174-F1020066C4B5', id: 'F3BDE046-F267-4AAF-A174-F1020066C4B5',
name: 'menuitem118', name: 'menuitem118',
text: '多表单(分页关系)', text: '编辑视图(分页关系)',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '多表单(分页关系)', tooltip: '编辑视图(分页关系)',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
......
...@@ -463,6 +463,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -463,6 +463,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderDetailSEditView9", "viewname": "IBIZOrderDetailSEditView9",
"viewtag": "55c0b817ceaaa2894e76b510d94da24c" "viewtag": "55c0b817ceaaa2894e76b510d94da24c"
}, },
"ibizbookusr2meditview9": {
"title": "图书多表单编辑视图",
"caption": "图书",
"viewtype": "DEMEDITVIEW9",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr2MEditView9",
"viewtag": "5686558064d641b7ff599746970461cd"
},
"ibizsample0002pickupview": { "ibizsample0002pickupview": {
"title": "首页图表数据源数据选择视图", "title": "首页图表数据源数据选择视图",
"caption": "示例实体02", "caption": "示例实体02",
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizsample0001-edit-view{
position: relative;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZSample0001EditViewBase from './ibizsample0001-edit-view-base.vue';
import view_form from '@widgets/ibizsample0001/main-form/main-form.vue';
@Component({
components: {
view_form,
},
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 IBIZSample0001EditView extends IBIZSample0001EditViewBase {
}
</script>
\ No newline at end of file
...@@ -1304,7 +1304,7 @@ export default class IBIZSample0001Usr2GridViewBase extends Vue { ...@@ -1304,7 +1304,7 @@ export default class IBIZSample0001Usr2GridViewBase extends Vue {
} }
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' }, { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'sf2editview', parameterName: 'sf2editview' }, { pathName: 'editview', parameterName: 'editview' },
]; ];
const _this: any = this; const _this: any = this;
const openIndexViewTab = (data: any) => { const openIndexViewTab = (data: any) => {
...@@ -1350,7 +1350,7 @@ export default class IBIZSample0001Usr2GridViewBase extends Vue { ...@@ -1350,7 +1350,7 @@ export default class IBIZSample0001Usr2GridViewBase extends Vue {
} }
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' }, { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'sf2editview', parameterName: 'sf2editview' }, { pathName: 'editview', parameterName: 'editview' },
]; ];
const _this: any = this; const _this: any = this;
if(fullargs && fullargs.copymode){ if(fullargs && fullargs.copymode){
......
...@@ -2,6 +2,7 @@ export const PageComponents = { ...@@ -2,6 +2,7 @@ export const PageComponents = {
install(Vue: any, opt: any) { install(Vue: any, opt: any) {
Vue.component('ibizsample0001-sf6-edit-view', () => import('@pages/sample/ibizsample0001-sf6-edit-view/ibizsample0001-sf6-edit-view.vue')); Vue.component('ibizsample0001-sf6-edit-view', () => import('@pages/sample/ibizsample0001-sf6-edit-view/ibizsample0001-sf6-edit-view.vue'));
Vue.component('ibizsample0003-smpickup-view2', () => import('@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue')); Vue.component('ibizsample0003-smpickup-view2', () => import('@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'));
Vue.component('ibizsample0001-edit-view', () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'));
Vue.component('ibizorder-detail-sedit-view9', () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue')); Vue.component('ibizorder-detail-sedit-view9', () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'));
Vue.component('ibizorder-detail-smedit-view9', () => import('@pages/sample/ibizorder-detail-smedit-view9/ibizorder-detail-smedit-view9.vue')); Vue.component('ibizorder-detail-smedit-view9', () => import('@pages/sample/ibizorder-detail-smedit-view9/ibizorder-detail-smedit-view9.vue'));
Vue.component('ibizsample0003-edit-view', () => import('@pages/sample/ibizsample0003-edit-view/ibizsample0003-edit-view.vue')); Vue.component('ibizsample0003-edit-view', () => import('@pages/sample/ibizsample0003-edit-view/ibizsample0003-edit-view.vue'));
...@@ -65,8 +66,8 @@ export const PageComponents = { ...@@ -65,8 +66,8 @@ export const PageComponents = {
Vue.component('ibizbookusr3-calendar-view', () => import('@pages/sample/ibizbookusr3-calendar-view/ibizbookusr3-calendar-view.vue')); Vue.component('ibizbookusr3-calendar-view', () => import('@pages/sample/ibizbookusr3-calendar-view/ibizbookusr3-calendar-view.vue'));
Vue.component('ibizsample0017-grid-view', () => import('@pages/sample/ibizsample0017-grid-view/ibizsample0017-grid-view.vue')); Vue.component('ibizsample0017-grid-view', () => import('@pages/sample/ibizsample0017-grid-view/ibizsample0017-grid-view.vue'));
Vue.component('ibizorder-f8-edit-view', () => import('@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue')); Vue.component('ibizorder-f8-edit-view', () => import('@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue'));
Vue.component('ibizsample0003-f1-tree-exp-view', () => import('@pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view.vue'));
Vue.component('ibizorder-f19-edit-view', () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue')); Vue.component('ibizorder-f19-edit-view', () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'));
Vue.component('ibizsample0003-f1-tree-exp-view', () => import('@pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view.vue'));
Vue.component('ibizsample0017-f10-edit-view', () => import('@pages/sample/ibizsample0017-f10-edit-view/ibizsample0017-f10-edit-view.vue')); Vue.component('ibizsample0017-f10-edit-view', () => import('@pages/sample/ibizsample0017-f10-edit-view/ibizsample0017-f10-edit-view.vue'));
Vue.component('ibizsample0002-pickup-view', () => import('@pages/sample/ibizsample0002-pickup-view/ibizsample0002-pickup-view.vue')); Vue.component('ibizsample0002-pickup-view', () => import('@pages/sample/ibizsample0002-pickup-view/ibizsample0002-pickup-view.vue'));
Vue.component('ibizuniproduct-edit-view', () => import('@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue')); Vue.component('ibizuniproduct-edit-view', () => import('@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'));
......
...@@ -78,6 +78,35 @@ const router = new Router({ ...@@ -78,6 +78,35 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'), component: () => import('@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'),
}, },
{
path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/editview/:editview?',
meta: {
caption: 'entities.ibizsample0001.views.editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'),
},
{
path: 'ibizsample0001s/:ibizsample0001?/editview/:editview?',
meta: {
caption: 'entities.ibizsample0001.views.editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'),
},
{ {
path: 'ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?', path: 'ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?',
meta: { meta: {
...@@ -991,32 +1020,32 @@ const router = new Router({ ...@@ -991,32 +1020,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue'), component: () => import('@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue'),
}, },
{ {
path: 'ibizsample0003s/:ibizsample0003?/f1treeexpview/:f1treeexpview?', path: 'ibizorders/:ibizorder?/f19editview/:f19editview?',
meta: { meta: {
caption: 'entities.ibizsample0003.views.f1treeexpview.caption', caption: 'entities.ibizorder.views.f19editview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' }, { pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'f1treeexpview', parameterName: 'f1treeexpview' }, { pathName: 'f19editview', parameterName: 'f19editview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view.vue'), component: () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'),
}, },
{ {
path: 'ibizorders/:ibizorder?/f19editview/:f19editview?', path: 'ibizsample0003s/:ibizsample0003?/f1treeexpview/:f1treeexpview?',
meta: { meta: {
caption: 'entities.ibizorder.views.f19editview.caption', caption: 'entities.ibizsample0003.views.f1treeexpview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' }, { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'f19editview', parameterName: 'f19editview' }, { pathName: 'f1treeexpview', parameterName: 'f1treeexpview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'), component: () => import('@pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view.vue'),
}, },
{ {
path: 'ibizsample0017s/:ibizsample0017?/f10editview/:f10editview?', path: 'ibizsample0017s/:ibizsample0017?/f10editview/:f10editview?',
...@@ -2303,6 +2332,33 @@ const router = new Router({ ...@@ -2303,6 +2332,33 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-detail-sf1-edit-view/ibizorder-detail-sf1-edit-view.vue'), component: () => import('@pages/sample/ibizorder-detail-sf1-edit-view/ibizorder-detail-sf1-edit-view.vue'),
}, },
{
path: '/ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/editview/:editview?',
meta: {
caption: 'entities.ibizsample0001.views.editview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'),
},
{
path: '/ibizsample0001s/:ibizsample0001?/editview/:editview?',
meta: {
caption: 'entities.ibizsample0001.views.editview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-edit-view/ibizsample0001-edit-view.vue'),
},
{ {
path: '/ibizorders/:ibizorder?/gridview/:gridview?', path: '/ibizorders/:ibizorder?/gridview/:gridview?',
meta: { meta: {
......
...@@ -85,6 +85,15 @@ export const viewstate: any = { ...@@ -85,6 +85,15 @@ export const viewstate: any = {
'ec6cfd868c34a036250a813b24068519', 'ec6cfd868c34a036250a813b24068519',
], ],
}, },
{
viewtag: '119bfcd8d598ef01a96ed25a6ea8e5c3',
viewmodule: 'Sample',
viewname: 'IBIZSample0001EditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '11daa00d1185ebac3e0faec0d04fb9de', viewtag: '11daa00d1185ebac3e0faec0d04fb9de',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -637,7 +646,7 @@ export const viewstate: any = { ...@@ -637,7 +646,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'658d519f1868979431e7e0da5d967e6b', '119bfcd8d598ef01a96ed25a6ea8e5c3',
], ],
}, },
{ {
......
...@@ -105,6 +105,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -105,6 +105,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'haspanellistview',srfappde:'ibizbooks',component:'ibizbookhas-panel-list-view'}); this.allViewMap.set(':',{viewname:'haspanellistview',srfappde:'ibizbooks',component:'ibizbookhas-panel-list-view'});
this.allViewMap.set(':',{viewname:'usr2calendarview',srfappde:'ibizbooks',component:'ibizbookusr2-calendar-view'}); this.allViewMap.set(':',{viewname:'usr2calendarview',srfappde:'ibizbooks',component:'ibizbookusr2-calendar-view'});
this.allViewMap.set(':',{viewname:'valuerulesgridview',srfappde:'ibizbooks',component:'ibizbookvalue-rules-grid-view'}); this.allViewMap.set(':',{viewname:'valuerulesgridview',srfappde:'ibizbooks',component:'ibizbookvalue-rules-grid-view'});
this.allViewMap.set(':',{viewname:'usr2meditview9',srfappde:'ibizbooks',component:'ibizbookusr2-medit-view9'});
this.allViewMap.set(':',{viewname:'meditview9',srfappde:'ibizbooks',component:'ibizbookmedit-view9'}); this.allViewMap.set(':',{viewname:'meditview9',srfappde:'ibizbooks',component:'ibizbookmedit-view9'});
this.allViewMap.set(':',{viewname:'editview2',srfappde:'ibizbooks',component:'ibizbookedit-view2'}); this.allViewMap.set(':',{viewname:'editview2',srfappde:'ibizbooks',component:'ibizbookedit-view2'});
this.allViewMap.set(':',{viewname:'interfunctreeview',srfappde:'ibizbooks',component:'ibizbookinter-func-tree-view'}); this.allViewMap.set(':',{viewname:'interfunctreeview',srfappde:'ibizbooks',component:'ibizbookinter-func-tree-view'});
......
...@@ -1485,10 +1485,10 @@ export default class MainMenuModel { ...@@ -1485,10 +1485,10 @@ export default class MainMenuModel {
{ {
id: '17CBCE02-3E93-4C5F-87B9-C19D1DA7994B', id: '17CBCE02-3E93-4C5F-87B9-C19D1DA7994B',
name: 'menuitem115', name: 'menuitem115',
text: '多表单编辑', text: '多表单(行记录)',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '多表单编辑', tooltip: '多表单(行记录)',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -1525,10 +1525,10 @@ export default class MainMenuModel { ...@@ -1525,10 +1525,10 @@ export default class MainMenuModel {
{ {
id: 'DDD0927E-EA23-4D97-A8B6-7D9341A4A331', id: 'DDD0927E-EA23-4D97-A8B6-7D9341A4A331',
name: 'menuitem116', name: 'menuitem116',
text: '多表单(左右关系)', text: '编辑视图(左右关系)',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '多表单(左右关系)', tooltip: '编辑视图(左右关系)',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -1544,10 +1544,10 @@ export default class MainMenuModel { ...@@ -1544,10 +1544,10 @@ export default class MainMenuModel {
{ {
id: '4A60A0B5-EDAB-4103-88C6-5713F98FBF96', id: '4A60A0B5-EDAB-4103-88C6-5713F98FBF96',
name: 'menuitem117', name: 'menuitem117',
text: '多表单(上下关系)', text: '编辑视图(上下关系)',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '多表单(上下关系)', tooltip: '编辑视图(上下关系)',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -1563,10 +1563,10 @@ export default class MainMenuModel { ...@@ -1563,10 +1563,10 @@ export default class MainMenuModel {
{ {
id: 'F3BDE046-F267-4AAF-A174-F1020066C4B5', id: 'F3BDE046-F267-4AAF-A174-F1020066C4B5',
name: 'menuitem118', name: 'menuitem118',
text: '多表单(分页关系)', text: '编辑视图(分页关系)',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '多表单(分页关系)', tooltip: '编辑视图(分页关系)',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
......
...@@ -2017,7 +2017,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2017,7 +2017,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -2052,7 +2052,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2052,7 +2052,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -2113,7 +2113,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2113,7 +2113,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2221,7 +2221,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2221,7 +2221,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2298,7 +2298,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2298,7 +2298,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001SF4EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0001EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册