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

zoo457790531 发布系统代码 [ibz-disk,存储]

上级 f5fd1995
......@@ -43,7 +43,7 @@ mock.onGet('v7/sdindex-viewappmenu').reply((config: any) => {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc',
appfunctag: 'AppFunc2',
resourcetag: '',
},
],
......
......@@ -2,6 +2,7 @@ export const PageComponents = {
install(Vue: any, opt: any) {
Vue.component('meta-dynamic-model-edit-view', () => import('@pages/lite/meta-dynamic-model-edit-view/meta-dynamic-model-edit-view.vue'));
Vue.component('sdfile-edit-view', () => import('@pages/disk/sdfile-edit-view/sdfile-edit-view.vue'));
Vue.component('meta-dynamic-model-dyna-inst-grid-view', () => import('@pages/lite/meta-dynamic-model-dyna-inst-grid-view/meta-dynamic-model-dyna-inst-grid-view.vue'));
Vue.component('meta-dynamic-model-dyna-inst-edit-view', () => import('@pages/lite/meta-dynamic-model-dyna-inst-edit-view/meta-dynamic-model-dyna-inst-edit-view.vue'));
Vue.component('meta-dynamic-model-grid-view', () => import('@pages/lite/meta-dynamic-model-grid-view/meta-dynamic-model-grid-view.vue'));
Vue.component('sdfile-grid-view', () => import('@pages/disk/sdfile-grid-view/sdfile-grid-view.vue'));
......
......@@ -63,6 +63,20 @@ const router = new Router({
},
component: () => import('@pages/disk/sdfile-edit-view/sdfile-edit-view.vue'),
},
{
path: 'metadynamicmodels/:metadynamicmodel?/dynainstgridview/:dynainstgridview?',
meta: {
caption: 'entities.metadynamicmodel.views.dynainstgridview.caption',
info:'',
parameters: [
{ pathName: 'sdindexview', parameterName: 'sdindexview' },
{ pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'dynainstgridview', parameterName: 'dynainstgridview' },
],
requireAuth: true,
},
component: () => import('@pages/lite/meta-dynamic-model-dyna-inst-grid-view/meta-dynamic-model-dyna-inst-grid-view.vue'),
},
{
path: 'metadynamicmodels/:metadynamicmodel?/dynainsteditview/:dynainsteditview?',
meta: {
......@@ -160,6 +174,19 @@ const router = new Router({
},
component: () => import('@pages/lite/meta-dynamic-model-grid-view/meta-dynamic-model-grid-view.vue'),
},
{
path: '/metadynamicmodels/:metadynamicmodel?/dynainstgridview/:dynainstgridview?',
meta: {
caption: 'entities.metadynamicmodel.views.dynainstgridview.caption',
info:'',
parameters: [
{ pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'dynainstgridview', parameterName: 'dynainstgridview' },
],
requireAuth: true,
},
component: () => import('@pages/lite/meta-dynamic-model-dyna-inst-grid-view/meta-dynamic-model-dyna-inst-grid-view.vue'),
},
{
path: '/metadynamicmodels/:metadynamicmodel?/editview/:editview?',
meta: {
......
......@@ -50,7 +50,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'af9cfc34d957186380a012e322abff0c',
'cec3236f5a1f742f9b91f313506ccc6c',
'795a12a2bfb63a98ce5bb80310509360',
],
},
......
......@@ -595,8 +595,8 @@ export default class SDIndexViewBase extends Vue implements ControlInterface {
navDataService.removeNavData(this.viewtag);
}
switch (item.appfunctag) {
case 'AppFunc':
this.clickAppFunc(item);
case 'AppFunc2':
this.clickAppFunc2(item);
return;
case 'Auto1':
this.clickAuto1(item);
......@@ -614,13 +614,13 @@ export default class SDIndexViewBase extends Vue implements ControlInterface {
* @param {*} [item={}]
* @memberof SDIndexView
*/
public clickAppFunc(item: any = {}) {
public clickAppFunc2(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'gridview', parameterName: 'gridview' },
{ pathName: 'dynainstgridview', parameterName: 'dynainstgridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
......
......@@ -48,7 +48,7 @@ export default class SDIndexViewModel {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc',
appfunctag: 'AppFunc2',
resourcetag: '',
authtag:'web-SDIndexView-menuitem2',
},
......@@ -63,15 +63,15 @@ export default class SDIndexViewModel {
*/
public funcs: any[] = [
{
appfunctag: 'AppFunc',
appfunctag: 'AppFunc2',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'metadynamicmodelgridview',
codename: 'metadynamicmodeldynainstgridview',
deResParameters: [],
routepath: '/sdindexview/:sdindexview?/metadynamicmodels/:metadynamicmodel?/gridview/:gridview?',
routepath: '/sdindexview/:sdindexview?/metadynamicmodels/:metadynamicmodel?/dynainstgridview/:dynainstgridview?',
parameters: [
{ pathName: 'metadynamicmodels', parameterName: 'metadynamicmodel' },
{ pathName: 'gridview', parameterName: 'gridview' },
{ pathName: 'dynainstgridview', parameterName: 'dynainstgridview' },
],
},
{
......
......@@ -4,7 +4,7 @@
<!--输出实体[META_DYNAMICMODEL]数据结构 -->
<changeSet author="root" id="tab-meta_dynamicmodel-5-1">
<changeSet author="a_A_5d9d78509" id="tab-meta_dynamicmodel-5-1">
<createTable tableName="IBZDYNAMICMODEL">
<column name="DYNAINSTID" remarks="" type="VARCHAR(100)">
</column>
......@@ -27,7 +27,7 @@
<!--输出实体[META_DYNAMICMODEL]外键关系 -->
<changeSet author="root" id="fk-meta_dynamicmodel-5-2">
<changeSet author="a_A_5d9d78509" id="fk-meta_dynamicmodel-5-2">
<addForeignKeyConstraint baseColumnNames="PDYNAINSTID" baseTableName="IBZDYNAMICMODEL" constraintName="DER1N_META_DYNAMICMODEL_META_D" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONFIGID" referencedTableName="IBZDYNAMICMODEL" validate="true"/>
</changeSet>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册