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

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

上级 866d2187
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
menuitem75: "新建默认值", menuitem75: "新建默认值",
menuitem76: "更新默认值", menuitem76: "更新默认值",
menuitem77: "表格值规则", menuitem77: "表格值规则",
menuitem132: "表格更新", menuitem132: "表格更新",
menuitem133: "表格项值重置", menuitem133: "表格项值重置",
menuitem78: "自动分组", menuitem78: "自动分组",
menuitem80: "代码表分组", menuitem80: "代码表分组",
......
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
menuitem75: "新建默认值", menuitem75: "新建默认值",
menuitem76: "更新默认值", menuitem76: "更新默认值",
menuitem77: "表格值规则", menuitem77: "表格值规则",
menuitem132: "表格更新", menuitem132: "表格更新",
menuitem133: "表格项值重置", menuitem133: "表格项值重置",
menuitem78: "自动分组", menuitem78: "自动分组",
menuitem80: "代码表分组", menuitem80: "代码表分组",
......
...@@ -420,6 +420,21 @@ export default { ...@@ -420,6 +420,21 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main6_grid: {
columns: {
ibizbookname: "图书名称",
author: "图书作者",
type: "图书类型",
press: "图书出版社",
price: "图书价格",
booknumber: "图书数量",
lendouttime: "借出日期",
returntime: "归还日期",
},
nodata:"",
uiactions: {
},
},
main5_grid: { main5_grid: {
columns: { columns: {
type: "图书类型", type: "图书类型",
...@@ -456,21 +471,6 @@ export default { ...@@ -456,21 +471,6 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main6_grid: {
columns: {
ibizbookname: "图书名称",
author: "图书作者",
type: "图书类型",
press: "图书出版社",
price: "图书价格",
booknumber: "图书数量",
lendouttime: "借出日期",
returntime: "归还日期",
},
nodata:"",
uiactions: {
},
},
gridexpbar_grid_grid: { gridexpbar_grid_grid: {
columns: { columns: {
}, },
...@@ -1045,6 +1045,64 @@ export default { ...@@ -1045,6 +1045,64 @@ export default {
tip: "数据导入", tip: "数据导入",
}, },
}, },
usr7gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
deuiaction2: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
editview3toolbar_toolbar: { editview3toolbar_toolbar: {
}, },
editview2toolbar_toolbar: { editview2toolbar_toolbar: {
...@@ -1309,64 +1367,6 @@ export default { ...@@ -1309,64 +1367,6 @@ export default {
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usr7gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
deuiaction2: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
tree_treeview: { tree_treeview: {
nodata:"", nodata:"",
nodes: { nodes: {
......
...@@ -419,6 +419,21 @@ export default { ...@@ -419,6 +419,21 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main6_grid: {
columns: {
ibizbookname: "图书名称",
author: "图书作者",
type: "图书类型",
press: "图书出版社",
price: "图书价格",
booknumber: "图书数量",
lendouttime: "借出日期",
returntime: "归还日期",
},
nodata:"",
uiactions: {
},
},
main5_grid: { main5_grid: {
columns: { columns: {
type: "图书类型", type: "图书类型",
...@@ -455,21 +470,6 @@ export default { ...@@ -455,21 +470,6 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main6_grid: {
columns: {
ibizbookname: "图书名称",
author: "图书作者",
type: "图书类型",
press: "图书出版社",
price: "图书价格",
booknumber: "图书数量",
lendouttime: "借出日期",
returntime: "归还日期",
},
nodata:"",
uiactions: {
},
},
gridexpbar_grid_grid: { gridexpbar_grid_grid: {
columns: { columns: {
}, },
...@@ -1044,6 +1044,64 @@ export default { ...@@ -1044,6 +1044,64 @@ export default {
tip: "数据导入", tip: "数据导入",
}, },
}, },
usr7gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
deuiaction2: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
editview3toolbar_toolbar: { editview3toolbar_toolbar: {
}, },
editview2toolbar_toolbar: { editview2toolbar_toolbar: {
...@@ -1308,64 +1366,6 @@ export default { ...@@ -1308,64 +1366,6 @@ export default {
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usr7gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
deuiaction2: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
tree_treeview: { tree_treeview: {
nodata:"", nodata:"",
nodes: { nodes: {
......
...@@ -593,10 +593,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -593,10 +593,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{ {
id: '12042027-A10B-41AC-8DBD-19B37767E3F9', id: '12042027-A10B-41AC-8DBD-19B37767E3F9',
name: 'menuitem132', name: 'menuitem132',
text: '表格更新', text: '表格更新',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '表格更新', tooltip: '表格更新',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -605,7 +605,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -605,7 +605,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: 'AppFunc54',
resourcetag: '', resourcetag: '',
}, },
{ {
......
.ibizbookusr7-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
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr7GridViewBase from './ibizbookusr7-grid-view-base.vue';
import view_grid from '@widgets/ibizbook/main6-grid/main6-grid.vue';
import view_searchform from '@widgets/ibizbook/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 IBIZBOOKUsr7GridView extends IBIZBOOKUsr7GridViewBase {
}
</script>
\ No newline at end of file
...@@ -154,12 +154,13 @@ export const PageComponents = { ...@@ -154,12 +154,13 @@ export const PageComponents = {
Vue.component('ibizorder-usr3-edit-view', () => import('@pages/sample/ibizorder-usr3-edit-view/ibizorder-usr3-edit-view.vue')); Vue.component('ibizorder-usr3-edit-view', () => import('@pages/sample/ibizorder-usr3-edit-view/ibizorder-usr3-edit-view.vue'));
Vue.component('ibizbookupdate-default-grid-view', () => import('@pages/sample/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view.vue')); Vue.component('ibizbookupdate-default-grid-view', () => import('@pages/sample/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view.vue'));
Vue.component('ibizsample0003-stab-exp-view', () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue')); Vue.component('ibizsample0003-stab-exp-view', () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'));
Vue.component('ibizbookusr7-grid-view', () => import('@pages/sample/ibizbookusr7-grid-view/ibizbookusr7-grid-view.vue'));
Vue.component('ibizbookauto-group-list-view', () => import('@pages/sample/ibizbookauto-group-list-view/ibizbookauto-group-list-view.vue')); Vue.component('ibizbookauto-group-list-view', () => import('@pages/sample/ibizbookauto-group-list-view/ibizbookauto-group-list-view.vue'));
Vue.component('ibizuniproduct-grid-view9', () => import('@pages/sample/ibizuniproduct-grid-view9/ibizuniproduct-grid-view9.vue')); Vue.component('ibizuniproduct-grid-view9', () => import('@pages/sample/ibizuniproduct-grid-view9/ibizuniproduct-grid-view9.vue'));
Vue.component('ibizsample0003-sf5-edit-view', () => import('@pages/sample/ibizsample0003-sf5-edit-view/ibizsample0003-sf5-edit-view.vue')); Vue.component('ibizsample0003-sf5-edit-view', () => import('@pages/sample/ibizsample0003-sf5-edit-view/ibizsample0003-sf5-edit-view.vue'));
Vue.component('ibizuniproduct-index-pickup-data-view', () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue')); Vue.component('ibizuniproduct-index-pickup-data-view', () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'));
Vue.component('ibizorder-tab-exp-view', () => import('@pages/sample/ibizorder-tab-exp-view/ibizorder-tab-exp-view.vue'));
Vue.component('ibizorder-type-usr2-grid-view', () => import('@pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue')); Vue.component('ibizorder-type-usr2-grid-view', () => import('@pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue'));
Vue.component('ibizorder-tab-exp-view', () => import('@pages/sample/ibizorder-tab-exp-view/ibizorder-tab-exp-view.vue'));
Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue')); Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue'));
Vue.component('ibizsample0014-grid-view', () => import('@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue')); Vue.component('ibizsample0014-grid-view', () => import('@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue'));
Vue.component('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue')); Vue.component('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'));
......
...@@ -2506,6 +2506,20 @@ const router = new Router({ ...@@ -2506,6 +2506,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'), component: () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/usr7gridview/:usr7gridview?',
meta: {
caption: 'entities.ibizbook.views.usr7gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr7gridview', parameterName: 'usr7gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr7-grid-view/ibizbookusr7-grid-view.vue'),
},
{ {
path: 'ibizbooks/:ibizbook?/autogrouplistview/:autogrouplistview?', path: 'ibizbooks/:ibizbook?/autogrouplistview/:autogrouplistview?',
meta: { meta: {
...@@ -2563,32 +2577,32 @@ const router = new Router({ ...@@ -2563,32 +2577,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'), component: () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'),
}, },
{ {
path: 'ibizorders/:ibizorder?/tabexpview/:tabexpview?', path: 'ibizordertypes/:ibizordertype?/usr2gridview/:usr2gridview?',
meta: { meta: {
caption: 'entities.ibizorder.views.tabexpview.caption', caption: 'entities.ibizordertype.views.usr2gridview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' }, { pathName: 'ibizordertypes', parameterName: 'ibizordertype' },
{ pathName: 'tabexpview', parameterName: 'tabexpview' }, { pathName: 'usr2gridview', parameterName: 'usr2gridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizorder-tab-exp-view/ibizorder-tab-exp-view.vue'), component: () => import('@pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue'),
}, },
{ {
path: 'ibizordertypes/:ibizordertype?/usr2gridview/:usr2gridview?', path: 'ibizorders/:ibizorder?/tabexpview/:tabexpview?',
meta: { meta: {
caption: 'entities.ibizordertype.views.usr2gridview.caption', caption: 'entities.ibizorder.views.tabexpview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizordertypes', parameterName: 'ibizordertype' }, { pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' }, { pathName: 'tabexpview', parameterName: 'tabexpview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizorder-type-usr2-grid-view/ibizorder-type-usr2-grid-view.vue'), component: () => import('@pages/sample/ibizorder-tab-exp-view/ibizorder-tab-exp-view.vue'),
}, },
...indexRoutes, ...indexRoutes,
], ],
...@@ -3108,6 +3122,19 @@ const router = new Router({ ...@@ -3108,6 +3122,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0002-edit-view/ibizsample0002-edit-view.vue'), component: () => import('@pages/sample/ibizsample0002-edit-view/ibizsample0002-edit-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/usr7gridview/:usr7gridview?',
meta: {
caption: 'entities.ibizbook.views.usr7gridview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr7gridview', parameterName: 'usr7gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr7-grid-view/ibizbookusr7-grid-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/groupbycodelistkanbanview/:groupbycodelistkanbanview?', path: '/ibizbooks/:ibizbook?/groupbycodelistkanbanview/:groupbycodelistkanbanview?',
meta: { meta: {
......
...@@ -281,6 +281,7 @@ export const viewstate: any = { ...@@ -281,6 +281,7 @@ export const viewstate: any = {
'369a14f21cbff0d0fe23831aecfca7ba', '369a14f21cbff0d0fe23831aecfca7ba',
'794fbfb192285c60dc9ce640270d79c0', '794fbfb192285c60dc9ce640270d79c0',
'00a0716a2029a7fe79fe03b6f74c7c90', '00a0716a2029a7fe79fe03b6f74c7c90',
'302c48740ebb26191bba93f1795af44e',
'2b42718d8fb3b4c9a01651222304445a', '2b42718d8fb3b4c9a01651222304445a',
'a894de140705ecab2f39797d2922a3ce', 'a894de140705ecab2f39797d2922a3ce',
'e57dd501c75c6933363fa245edcadbbd', 'e57dd501c75c6933363fa245edcadbbd',
...@@ -418,6 +419,16 @@ export const viewstate: any = { ...@@ -418,6 +419,16 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: '302c48740ebb26191bba93f1795af44e',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr7GridView',
viewaction: '',
viewdatachange: false,
refviews: [
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{ {
viewtag: '3041238537beef69c0f3410a1ba04c84', viewtag: '3041238537beef69c0f3410a1ba04c84',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -653,12 +653,12 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -653,12 +653,12 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto176': case 'Auto176':
this.clickAuto176(item); this.clickAuto176(item);
return; return;
case 'AppFunc48':
this.clickAppFunc48(item);
return;
case 'AppFunc24': case 'AppFunc24':
this.clickAppFunc24(item); this.clickAppFunc24(item);
return; return;
case 'AppFunc48':
this.clickAppFunc48(item);
return;
case 'Auto3': case 'Auto3':
this.clickAuto3(item); this.clickAuto3(item);
return; return;
...@@ -746,6 +746,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -746,6 +746,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto393': case 'Auto393':
this.clickAuto393(item); this.clickAuto393(item);
return; return;
case 'AppFunc54':
this.clickAppFunc54(item);
return;
case 'AppFunc47': case 'AppFunc47':
this.clickAppFunc47(item); this.clickAppFunc47(item);
return; return;
...@@ -1878,18 +1881,18 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -1878,18 +1881,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
} }
/** /**
* 功能名称 * 订单示例数据补充
* *
* @param {*} [item={}] * @param {*} [item={}]
* @memberof MainMenu * @memberof MainMenu
*/ */
public clickAppFunc48(item: any = {}) { public clickAppFunc24(item: any = {}) {
const viewparam: any = {}; const viewparam: any = {};
Object.assign(viewparam, {}); Object.assign(viewparam, {});
const deResParameters: any[] = []; const deResParameters: any[] = [];
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' }, { pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr6gridview', parameterName: 'usr6gridview' }, { pathName: 'zdytpgridview', parameterName: 'zdytpgridview' },
]; ];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam); const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){ if(Object.is(this.$route.fullPath,path)){
...@@ -1901,18 +1904,18 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -1901,18 +1904,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
} }
/** /**
* 订单示例数据补充 * 功能名称
* *
* @param {*} [item={}] * @param {*} [item={}]
* @memberof MainMenu * @memberof MainMenu
*/ */
public clickAppFunc24(item: any = {}) { public clickAppFunc48(item: any = {}) {
const viewparam: any = {}; const viewparam: any = {};
Object.assign(viewparam, {}); Object.assign(viewparam, {});
const deResParameters: any[] = []; const deResParameters: any[] = [];
const parameters: any[] = [ const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' }, { pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'zdytpgridview', parameterName: 'zdytpgridview' }, { pathName: 'usr6gridview', parameterName: 'usr6gridview' },
]; ];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam); const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){ if(Object.is(this.$route.fullPath,path)){
...@@ -2590,6 +2593,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -2590,6 +2593,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 表格列更新
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc54(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr7gridview', parameterName: 'usr7gridview' },
];
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);
})
}
/** /**
* 功能名称 * 功能名称
* *
......
...@@ -629,10 +629,10 @@ export default class MainMenuModel { ...@@ -629,10 +629,10 @@ export default class MainMenuModel {
{ {
id: '12042027-A10B-41AC-8DBD-19B37767E3F9', id: '12042027-A10B-41AC-8DBD-19B37767E3F9',
name: 'menuitem132', name: 'menuitem132',
text: '表格更新', text: '表格更新',
type: 'MENUITEM', type: 'MENUITEM',
counterid: '', counterid: '',
tooltip: '表格更新', tooltip: '表格更新',
expanded: false, expanded: false,
separator: false, separator: false,
hidden: false, hidden: false,
...@@ -641,7 +641,7 @@ export default class MainMenuModel { ...@@ -641,7 +641,7 @@ export default class MainMenuModel {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '', appfunctag: 'AppFunc54',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem132', authtag:'Web-MainMenu-menuitem132',
}, },
......
此差异已折叠。
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Main6Base from './main6-grid-base.vue';
@Component({
components: {
}
})
export default class Main6 extends Main6Base {
}
</script>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册