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

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

上级 72659bab
......@@ -2931,7 +2931,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
appfunctag: 'AppFunc100',
resourcetag: '',
},
],
......
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZCustomerMediaTestEditViewBase from './ibizcustomer-media-test-edit-view-base.vue';
import view_form from '@widgets/ibizcustomer/add-data-form-form/add-data-form-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 IBIZCustomerMediaTestEditView extends IBIZCustomerMediaTestEditViewBase {
}
</script>
\ No newline at end of file
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -31,7 +31,22 @@
<template #container4>
<app-standard-container name="container4" :layoutModelDetails="layoutModelDetails">
<template #tabpanel1>
<span>分组容器</span>
<app-tab-panel name="tabpanel1" :layoutModelDetails="layoutModelDetails">
<template #search>
<app-tab-page name="search" :layoutModelDetails="layoutModelDetails">
<template #searchform>
<span>部件占位</span>
</template>
</app-tab-page>
</template>
<template #content>
<app-tab-page name="content" :layoutModelDetails="layoutModelDetails">
<template #grid>
<span>部件占位</span>
</template>
</app-tab-page>
</template>
</app-tab-panel>
</template>
</app-standard-container>
</template>
......@@ -278,9 +293,9 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
container_2:new PanelContainerModel({ name: 'container_2', caption: '容器', itemType: 'CONTAINER', 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 , details:['toolbar']}),
container_grid1:new PanelContainerModel({ name: 'container_grid1', 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:['container1','container2','container_2']}),
searchform:new PanelCtrlPosModel({ name: 'searchform', caption: 'SEARCHFORM', itemType: 'CTRLPOS', 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 }),
search:new PanelTabPageModel({ name: 'search', caption: '搜索', itemType: 'TABPAGE', 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 }),
search:new PanelTabPageModel({ name: 'search', caption: '搜索', itemType: 'TABPAGE', 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 parentTabName: 'tabpanel1' }),
grid:new PanelCtrlPosModel({ name: 'grid', caption: 'GRID', itemType: 'CTRLPOS', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
content:new PanelTabPageModel({ name: 'content', caption: '内容', itemType: 'TABPAGE', 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 }),
content:new PanelTabPageModel({ name: 'content', caption: '内容', itemType: 'TABPAGE', 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 parentTabName: 'tabpanel1' }),
tabpanel1:new PanelTabPanelModel({ name: 'tabpanel1', caption: '分页部件', itemType: 'TABPANEL', 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:['search','content'] }),
container4:new PanelContainerModel({ name: 'container4', caption: '容器', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['tabpanel1']}),
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:['container_grid1','container4']})
......
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -25,3 +25,4 @@
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -105,6 +105,7 @@ export const PageComponents = {
Vue.component('ibizbookusr4-edit-view', () => import('@pages/sample/ibizbookusr4-edit-view/ibizbookusr4-edit-view.vue'));
Vue.component('ibizorder-detail-usr3-edit-view', () => import('@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue'));
Vue.component('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('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'));
......
......@@ -1623,6 +1623,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/mediatesteditview/:mediatesteditview?',
meta: {
caption: 'entities.ibizcustomer.views.mediatesteditview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'mediatesteditview', parameterName: 'mediatesteditview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view.vue'),
},
{
path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: {
......@@ -4040,6 +4054,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/mediatesteditview/:mediatesteditview?',
meta: {
caption: 'entities.ibizcustomer.views.mediatesteditview.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'mediatesteditview', parameterName: 'mediatesteditview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view.vue'),
},
{
path: '/ibizsample0003s/:ibizsample0003?/stabexpview/:stabexpview?',
meta: {
......
......@@ -772,6 +772,7 @@ export const viewstate: any = {
'f0e584392d060bfef6ad4cec29f73d0d',
'd1e103c50de1fa941638bec77683936c',
'504c018faa34b2d0fce7c4c56569e02e',
'7ce3aaf69c0b882631428087b7db6464',
],
},
{
......@@ -1045,6 +1046,15 @@ export const viewstate: any = {
'7f46cd67bcfbeac794fcc5c91d8bcceb',
],
},
{
viewtag: '7ce3aaf69c0b882631428087b7db6464',
viewmodule: 'Sample',
viewname: 'IBIZCustomerMediaTestEditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '7d8f3c4529fab9a97c562a1d9d9b9a85',
viewmodule: 'Sample',
......
......@@ -916,6 +916,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc99':
this.clickAppFunc99(item);
return;
case 'AppFunc100':
this.clickAppFunc100(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -3357,6 +3360,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path);
})
}
/**
* 自定义布局表单多媒体测试
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc100(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'mediatesteditview', parameterName: 'mediatesteditview' },
];
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);
})
}
/**
* 数据加载
......
......@@ -3093,7 +3093,7 @@ export default class MainMenuModel {
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
appfunctag: 'AppFunc100',
resourcetag: '',
authtag:'Web-MainMenu-menuitem125',
},
......@@ -4375,6 +4375,18 @@ export default class MainMenuModel {
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
},
{
appfunctag: 'AppFunc100',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizcustomermediatesteditview',
deResParameters: [],
routepath: '/index/:index?/ibizcustomers/:ibizcustomer?/mediatesteditview/:mediatesteditview?',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'mediatesteditview', parameterName: 'mediatesteditview' },
],
},
];
/**
......
......@@ -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: 'IBIZBOOKUsr5GridView' + (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: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
/**
* AddDataForm 部件模型
*
* @export
* @class AddDataFormModel
*/
export default class AddDataFormModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof AddDataFormModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'ibizcustomerid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizcustomername',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'ibizcustomername',
prop: 'ibizcustomername',
dataType: 'TEXT',
},
{
name: 'address',
prop: 'address',
dataType: 'TEXT',
},
{
name: 'ibizcustomerid',
prop: 'ibizcustomerid',
dataType: 'GUID',
},
{
name: 'customeruid',
prop: 'customeruid',
dataType: 'TEXT',
},
{
name: 'ibizcustomer',
prop: 'ibizcustomerid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AddDataFormBase from './add-data-form-form-base.vue';
@Component({
components: {
}
})
export default class AddDataForm extends AddDataFormBase {
}
</script>
\ No newline at end of file
......@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-38-10">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-40-10">
<createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
......@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-38-4" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-40-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册