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

zoo457790531 发布系统代码 [ibz-lite,应用]

上级 53b332e4
......@@ -131,15 +131,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("帮助",null),
},
},
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
usr2gridviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
......@@ -197,7 +189,15 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("帮助",null),
},
},
usr2gridviewtoolbar_toolbar: {
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
......
......@@ -131,15 +131,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Help",null),
},
},
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
usr2gridviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
......@@ -197,7 +189,15 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Help",null),
},
},
usr2gridviewtoolbar_toolbar: {
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
......
......@@ -131,15 +131,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("帮助",null),
},
},
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
usr2gridviewtoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
......@@ -197,7 +189,15 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("帮助",null),
},
},
usr2gridviewtoolbar_toolbar: {
gridviewtoolbar_toolbar: {
tbitem1_publish: {
caption: commonLogic.appcommonhandle("发布模型",null),
tip: commonLogic.appcommonhandle("发布模型",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
......
......@@ -15,6 +15,7 @@ export const PageComponents = {
Vue.component('dst-view-edit-view', () => import('@pages/lite/dst-view-edit-view/dst-view-edit-view.vue'));
Vue.component('meta-entity-pickup-view', () => import('@pages/lite/meta-entity-pickup-view/meta-entity-pickup-view.vue'));
Vue.component('dst-config-edit-view', () => import('@pages/lite/dst-config-edit-view/dst-config-edit-view.vue'));
Vue.component('meta-dynamic-model-usr2-grid-view', () => import('@pages/lite/meta-dynamic-model-usr2-grid-view/meta-dynamic-model-usr2-grid-view.vue'));
Vue.component('meta-data-set-edit-view', () => import('@pages/lite/meta-data-set-edit-view/meta-data-set-edit-view.vue'));
Vue.component('meta-model-grid-view', () => import('@pages/lite/meta-model-grid-view/meta-model-grid-view.vue'));
Vue.component('meta-module-pickup-view', () => import('@pages/lite/meta-module-pickup-view/meta-module-pickup-view.vue'));
......
......@@ -445,6 +445,20 @@ const router = new Router({
},
component: () => import('@pages/lite/dst-config-edit-view/dst-config-edit-view.vue'),
},
{
path: 'metadynamicmodels/:metadynamicmodel?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.metadynamicmodel.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'liteindex', parameterName: 'liteindex' },
{ pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/lite/meta-dynamic-model-usr2-grid-view/meta-dynamic-model-usr2-grid-view.vue'),
},
{
path: 'dstsystems/:dstsystem?/metaentities/:metaentity?/metadatasets/:metadataset?/editview/:editview?',
meta: {
......@@ -1857,6 +1871,19 @@ const router = new Router({
},
component: () => import('@pages/lite/meta-relationship-edit-view/meta-relationship-edit-view.vue'),
},
{
path: '/metadynamicmodels/:metadynamicmodel?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.metadynamicmodel.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/lite/meta-dynamic-model-usr2-grid-view/meta-dynamic-model-usr2-grid-view.vue'),
},
{
path: '/dstsystems/:dstsystem?/metaentities/:metaentity?/metarelationships/:metarelationship?/pickupgridview/:pickupgridview?',
meta: {
......
.meta-dynamic-model-usr2-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MetaDynamicModelUsr2GridViewBase from './meta-dynamic-model-usr2-grid-view-base.vue';
import view_grid from '@widgets/meta-dynamic-model/main-grid/main-grid.vue';
import view_searchform from '@widgets/meta-dynamic-model/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
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 MetaDynamicModelUsr2GridView extends MetaDynamicModelUsr2GridViewBase {
}
</script>
\ No newline at end of file
......@@ -39,7 +39,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'4f66aaf7857f97a00ab6cf6c1c054262',
'409f7ea81d15d2e2f1ee295d189d965b',
],
},
{
......@@ -165,6 +165,16 @@ export const viewstate: any = {
'2a68c7ba74abbda10f2be9d4905f1a7d',
],
},
{
viewtag: '409f7ea81d15d2e2f1ee295d189d965b',
viewmodule: 'lite',
viewname: 'MetaDynamicModelUsr2GridView',
viewaction: '',
viewdatachange: false,
refviews: [
'1777e5578e41e94cdf738b950a961ab1',
],
},
{
viewtag: '4dea38f94640a261d70d58a8307356b9',
viewmodule: 'lite',
......
......@@ -44,7 +44,7 @@
refviewtype='DEGRIDVIEW'
refreshitems=''
:ignorefieldvaluechange="ignorefieldvaluechange"
viewname='meta-dynamic-model-grid-view'
viewname='meta-dynamic-model-usr2-grid-view'
tempMode='0'
:data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册