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

ibiz4j 发布系统代码

上级 52c7207e
...@@ -62,8 +62,6 @@ export default { ...@@ -62,8 +62,6 @@ export default {
menuitem1: '单位管理', menuitem1: '单位管理',
menuitem2: '部门管理', menuitem2: '部门管理',
menuitem3: '人员管理', menuitem3: '人员管理',
menuitem4: '组织树',
menuitem5: '部门树',
}, },
}, },
}, },
......
...@@ -62,8 +62,6 @@ export default { ...@@ -62,8 +62,6 @@ export default {
menuitem1: '单位管理', menuitem1: '单位管理',
menuitem2: '部门管理', menuitem2: '部门管理',
menuitem3: '人员管理', menuitem3: '人员管理',
menuitem4: '组织树',
menuitem5: '部门树',
}, },
}, },
}, },
......
...@@ -43,7 +43,7 @@ mock.onGet('v7/ouindex-viewappmenu').reply((config: any) => { ...@@ -43,7 +43,7 @@ mock.onGet('v7/ouindex-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-sitemap', iconcls: 'fa fa-sitemap',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: 'Auto2', appfunctag: '_3',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -61,42 +61,6 @@ mock.onGet('v7/ouindex-viewappmenu').reply((config: any) => { ...@@ -61,42 +61,6 @@ mock.onGet('v7/ouindex-viewappmenu').reply((config: any) => {
iconcls: 'fa fa-user', iconcls: 'fa fa-user',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: 'Auto1',
resourcetag: '',
},
{
id: 'B043B2E4-3E81-4205-B1F8-54935A127BB2',
name: 'menuitem4',
text: '组织树',
type: 'MENUITEM',
counterid: '',
tooltip: '组织树',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '_3',
resourcetag: '',
},
{
id: 'F195C919-76BD-4D80-9AAF-4FA48B58A81D',
name: 'menuitem5',
text: '部门树',
type: 'MENUITEM',
counterid: '',
tooltip: '部门树',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '_2', appfunctag: '_2',
resourcetag: '', resourcetag: '',
}, },
......
...@@ -3,8 +3,8 @@ export const PageComponents = { ...@@ -3,8 +3,8 @@ export const PageComponents = {
Vue.component('ibzemployee-edit-view', () => import('@pages/ou/ibzemployee-edit-view/ibzemployee-edit-view.vue')); Vue.component('ibzemployee-edit-view', () => import('@pages/ou/ibzemployee-edit-view/ibzemployee-edit-view.vue'));
Vue.component('ibzdepartment-option-view', () => import('@pages/ou/ibzdepartment-option-view/ibzdepartment-option-view.vue')); Vue.component('ibzdepartment-option-view', () => import('@pages/ou/ibzdepartment-option-view/ibzdepartment-option-view.vue'));
Vue.component('ibzdepartment-pickup-grid-view', () => import('@pages/ou/ibzdepartment-pickup-grid-view/ibzdepartment-pickup-grid-view.vue')); Vue.component('ibzdepartment-pickup-grid-view', () => import('@pages/ou/ibzdepartment-pickup-grid-view/ibzdepartment-pickup-grid-view.vue'));
Vue.component('ibzemployee-grid-view', () => import('@pages/ou/ibzemployee-grid-view/ibzemployee-grid-view.vue'));
Vue.component('ibzorganization-option-view', () => import('@pages/ou/ibzorganization-option-view/ibzorganization-option-view.vue')); Vue.component('ibzorganization-option-view', () => import('@pages/ou/ibzorganization-option-view/ibzorganization-option-view.vue'));
Vue.component('ibzemployee-grid-view', () => import('@pages/ou/ibzemployee-grid-view/ibzemployee-grid-view.vue'));
Vue.component('ibzorganization-pickup-grid-view', () => import('@pages/ou/ibzorganization-pickup-grid-view/ibzorganization-pickup-grid-view.vue')); Vue.component('ibzorganization-pickup-grid-view', () => import('@pages/ou/ibzorganization-pickup-grid-view/ibzorganization-pickup-grid-view.vue'));
Vue.component('ibzdepartment-grid-view', () => import('@pages/ou/ibzdepartment-grid-view/ibzdepartment-grid-view.vue')); Vue.component('ibzdepartment-grid-view', () => import('@pages/ou/ibzdepartment-grid-view/ibzdepartment-grid-view.vue'));
Vue.component('ibzorganization-grid-view', () => import('@pages/ou/ibzorganization-grid-view/ibzorganization-grid-view.vue')); Vue.component('ibzorganization-grid-view', () => import('@pages/ou/ibzorganization-grid-view/ibzorganization-grid-view.vue'));
...@@ -18,8 +18,8 @@ export const PageComponents = { ...@@ -18,8 +18,8 @@ export const PageComponents = {
Vue.component('ibzdepartment-mpickup-view', () => import('@pages/ou/ibzdepartment-mpickup-view/ibzdepartment-mpickup-view.vue')); Vue.component('ibzdepartment-mpickup-view', () => import('@pages/ou/ibzdepartment-mpickup-view/ibzdepartment-mpickup-view.vue'));
Vue.component('ibzdept-member-edit-view', () => import('@pages/ou/ibzdept-member-edit-view/ibzdept-member-edit-view.vue')); Vue.component('ibzdept-member-edit-view', () => import('@pages/ou/ibzdept-member-edit-view/ibzdept-member-edit-view.vue'));
Vue.component('ibzorganization-pickup-view', () => import('@pages/ou/ibzorganization-pickup-view/ibzorganization-pickup-view.vue')); Vue.component('ibzorganization-pickup-view', () => import('@pages/ou/ibzorganization-pickup-view/ibzorganization-pickup-view.vue'));
Vue.component('ibzdepartment-tree-exp-view', () => import('@pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view.vue'));
Vue.component('ibzemployee-option-view', () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue')); Vue.component('ibzemployee-option-view', () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'));
Vue.component('ibzdepartment-tree-exp-view', () => import('@pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view.vue'));
Vue.component('ibzdepartment-pickup-view', () => import('@pages/ou/ibzdepartment-pickup-view/ibzdepartment-pickup-view.vue')); Vue.component('ibzdepartment-pickup-view', () => import('@pages/ou/ibzdepartment-pickup-view/ibzdepartment-pickup-view.vue'));
} }
}; };
\ No newline at end of file
...@@ -144,6 +144,19 @@ const router = new Router({ ...@@ -144,6 +144,19 @@ const router = new Router({
}, },
component: () => import('@pages/ou/ibzdepartment-pickup-grid-view/ibzdepartment-pickup-grid-view.vue'), component: () => import('@pages/ou/ibzdepartment-pickup-grid-view/ibzdepartment-pickup-grid-view.vue'),
}, },
{
path: 'ibzorganizations/:ibzorganization?/optionview/:optionview?',
meta: {
caption: 'entities.ibzorganization.views.optionview.caption',
parameters: [
{ pathName: 'ouindexview', parameterName: 'ouindexview' },
{ pathName: 'ibzorganizations', parameterName: 'ibzorganization' },
{ pathName: 'optionview', parameterName: 'optionview' },
],
requireAuth: true,
},
component: () => import('@pages/ou/ibzorganization-option-view/ibzorganization-option-view.vue'),
},
{ {
path: 'ibzorganizations/:ibzorganization?/ibzdepartments/:ibzdepartment?/ibzemployees/:ibzemployee?/gridview/:gridview?', path: 'ibzorganizations/:ibzorganization?/ibzdepartments/:ibzdepartment?/ibzemployees/:ibzemployee?/gridview/:gridview?',
meta: { meta: {
...@@ -200,19 +213,6 @@ const router = new Router({ ...@@ -200,19 +213,6 @@ const router = new Router({
}, },
component: () => import('@pages/ou/ibzemployee-grid-view/ibzemployee-grid-view.vue'), component: () => import('@pages/ou/ibzemployee-grid-view/ibzemployee-grid-view.vue'),
}, },
{
path: 'ibzorganizations/:ibzorganization?/optionview/:optionview?',
meta: {
caption: 'entities.ibzorganization.views.optionview.caption',
parameters: [
{ pathName: 'ouindexview', parameterName: 'ouindexview' },
{ pathName: 'ibzorganizations', parameterName: 'ibzorganization' },
{ pathName: 'optionview', parameterName: 'optionview' },
],
requireAuth: true,
},
component: () => import('@pages/ou/ibzorganization-option-view/ibzorganization-option-view.vue'),
},
{ {
path: 'ibzorganizations/:ibzorganization?/pickupgridview/:pickupgridview?', path: 'ibzorganizations/:ibzorganization?/pickupgridview/:pickupgridview?',
meta: { meta: {
...@@ -674,39 +674,40 @@ const router = new Router({ ...@@ -674,39 +674,40 @@ const router = new Router({
component: () => import('@pages/ou/ibzorganization-pickup-view/ibzorganization-pickup-view.vue'), component: () => import('@pages/ou/ibzorganization-pickup-view/ibzorganization-pickup-view.vue'),
}, },
{ {
path: 'ibzorganizations/:ibzorganization?/ibzdepartments/:ibzdepartment?/treeexpview/:treeexpview?', path: 'ibzorganizations/:ibzorganization?/ibzdepartments/:ibzdepartment?/ibzemployees/:ibzemployee?/optionview/:optionview?',
meta: { meta: {
caption: 'entities.ibzdepartment.views.treeexpview.caption', caption: 'entities.ibzemployee.views.optionview.caption',
parameters: [ parameters: [
{ pathName: 'ouindexview', parameterName: 'ouindexview' }, { pathName: 'ouindexview', parameterName: 'ouindexview' },
{ pathName: 'ibzorganizations', parameterName: 'ibzorganization' }, { pathName: 'ibzorganizations', parameterName: 'ibzorganization' },
{ pathName: 'ibzdepartments', parameterName: 'ibzdepartment' }, { pathName: 'ibzdepartments', parameterName: 'ibzdepartment' },
{ pathName: 'treeexpview', parameterName: 'treeexpview' }, { pathName: 'ibzemployees', parameterName: 'ibzemployee' },
{ pathName: 'optionview', parameterName: 'optionview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view.vue'), component: () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'),
}, },
{ {
path: 'ibzdepartments/:ibzdepartment?/treeexpview/:treeexpview?', path: 'ibzorganizations/:ibzorganization?/ibzemployees/:ibzemployee?/optionview/:optionview?',
meta: { meta: {
caption: 'entities.ibzdepartment.views.treeexpview.caption', caption: 'entities.ibzemployee.views.optionview.caption',
parameters: [ parameters: [
{ pathName: 'ouindexview', parameterName: 'ouindexview' }, { pathName: 'ouindexview', parameterName: 'ouindexview' },
{ pathName: 'ibzdepartments', parameterName: 'ibzdepartment' }, { pathName: 'ibzorganizations', parameterName: 'ibzorganization' },
{ pathName: 'treeexpview', parameterName: 'treeexpview' }, { pathName: 'ibzemployees', parameterName: 'ibzemployee' },
{ pathName: 'optionview', parameterName: 'optionview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view.vue'), component: () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'),
}, },
{ {
path: 'ibzorganizations/:ibzorganization?/ibzdepartments/:ibzdepartment?/ibzemployees/:ibzemployee?/optionview/:optionview?', path: 'ibzdepartments/:ibzdepartment?/ibzemployees/:ibzemployee?/optionview/:optionview?',
meta: { meta: {
caption: 'entities.ibzemployee.views.optionview.caption', caption: 'entities.ibzemployee.views.optionview.caption',
parameters: [ parameters: [
{ pathName: 'ouindexview', parameterName: 'ouindexview' }, { pathName: 'ouindexview', parameterName: 'ouindexview' },
{ pathName: 'ibzorganizations', parameterName: 'ibzorganization' },
{ pathName: 'ibzdepartments', parameterName: 'ibzdepartment' }, { pathName: 'ibzdepartments', parameterName: 'ibzdepartment' },
{ pathName: 'ibzemployees', parameterName: 'ibzemployee' }, { pathName: 'ibzemployees', parameterName: 'ibzemployee' },
{ pathName: 'optionview', parameterName: 'optionview' }, { pathName: 'optionview', parameterName: 'optionview' },
...@@ -716,12 +717,11 @@ const router = new Router({ ...@@ -716,12 +717,11 @@ const router = new Router({
component: () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'), component: () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'),
}, },
{ {
path: 'ibzorganizations/:ibzorganization?/ibzemployees/:ibzemployee?/optionview/:optionview?', path: 'ibzemployees/:ibzemployee?/optionview/:optionview?',
meta: { meta: {
caption: 'entities.ibzemployee.views.optionview.caption', caption: 'entities.ibzemployee.views.optionview.caption',
parameters: [ parameters: [
{ pathName: 'ouindexview', parameterName: 'ouindexview' }, { pathName: 'ouindexview', parameterName: 'ouindexview' },
{ pathName: 'ibzorganizations', parameterName: 'ibzorganization' },
{ pathName: 'ibzemployees', parameterName: 'ibzemployee' }, { pathName: 'ibzemployees', parameterName: 'ibzemployee' },
{ pathName: 'optionview', parameterName: 'optionview' }, { pathName: 'optionview', parameterName: 'optionview' },
], ],
...@@ -730,31 +730,31 @@ const router = new Router({ ...@@ -730,31 +730,31 @@ const router = new Router({
component: () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'), component: () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'),
}, },
{ {
path: 'ibzdepartments/:ibzdepartment?/ibzemployees/:ibzemployee?/optionview/:optionview?', path: 'ibzorganizations/:ibzorganization?/ibzdepartments/:ibzdepartment?/treeexpview/:treeexpview?',
meta: { meta: {
caption: 'entities.ibzemployee.views.optionview.caption', caption: 'entities.ibzdepartment.views.treeexpview.caption',
parameters: [ parameters: [
{ pathName: 'ouindexview', parameterName: 'ouindexview' }, { pathName: 'ouindexview', parameterName: 'ouindexview' },
{ pathName: 'ibzorganizations', parameterName: 'ibzorganization' },
{ pathName: 'ibzdepartments', parameterName: 'ibzdepartment' }, { pathName: 'ibzdepartments', parameterName: 'ibzdepartment' },
{ pathName: 'ibzemployees', parameterName: 'ibzemployee' }, { pathName: 'treeexpview', parameterName: 'treeexpview' },
{ pathName: 'optionview', parameterName: 'optionview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'), component: () => import('@pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view.vue'),
}, },
{ {
path: 'ibzemployees/:ibzemployee?/optionview/:optionview?', path: 'ibzdepartments/:ibzdepartment?/treeexpview/:treeexpview?',
meta: { meta: {
caption: 'entities.ibzemployee.views.optionview.caption', caption: 'entities.ibzdepartment.views.treeexpview.caption',
parameters: [ parameters: [
{ pathName: 'ouindexview', parameterName: 'ouindexview' }, { pathName: 'ouindexview', parameterName: 'ouindexview' },
{ pathName: 'ibzemployees', parameterName: 'ibzemployee' }, { pathName: 'ibzdepartments', parameterName: 'ibzdepartment' },
{ pathName: 'optionview', parameterName: 'optionview' }, { pathName: 'treeexpview', parameterName: 'treeexpview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'), component: () => import('@pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view.vue'),
}, },
{ {
path: 'ibzorganizations/:ibzorganization?/ibzdepartments/:ibzdepartment?/pickupview/:pickupview?', path: 'ibzorganizations/:ibzorganization?/ibzdepartments/:ibzdepartment?/pickupview/:pickupview?',
......
...@@ -181,8 +181,6 @@ export const viewstate: any = { ...@@ -181,8 +181,6 @@ export const viewstate: any = {
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'25e23f456601163e730de6c1a825364b', '25e23f456601163e730de6c1a825364b',
'2300119cfeaff98d4bc48c1679515968',
'd2cc126cb4bcf523d72509bef0183ee0',
'cace6f75674cff323d90d670e609aa21', 'cace6f75674cff323d90d670e609aa21',
'9ed83d4d91fedf510a43bbe8908a21ba', '9ed83d4d91fedf510a43bbe8908a21ba',
], ],
......
...@@ -564,12 +564,6 @@ export default class OUIndexViewBase extends Vue implements ControlInterface { ...@@ -564,12 +564,6 @@ export default class OUIndexViewBase extends Vue implements ControlInterface {
case 'Auto3': case 'Auto3':
this.clickAuto3(item); this.clickAuto3(item);
return; return;
case 'Auto1':
this.clickAuto1(item);
return;
case 'Auto2':
this.clickAuto2(item);
return;
case '_2': case '_2':
this.click_2(item); this.click_2(item);
return; return;
...@@ -616,42 +610,6 @@ export default class OUIndexViewBase extends Vue implements ControlInterface { ...@@ -616,42 +610,6 @@ export default class OUIndexViewBase extends Vue implements ControlInterface {
this.$router.push(path); this.$router.push(path);
} }
/**
* 人员管理
*
* @param {*} [item={}]
* @memberof OUIndexView
*/
public clickAuto1(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibzemployees', parameterName: 'ibzemployee' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
}
/**
* 部门管理
*
* @param {*} [item={}]
* @memberof OUIndexView
*/
public clickAuto2(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibzdepartments', parameterName: 'ibzdepartment' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
}
/** /**
* 部门树 * 部门树
* *
......
...@@ -47,7 +47,7 @@ export default class OUIndexViewModel { ...@@ -47,7 +47,7 @@ export default class OUIndexViewModel {
iconcls: 'fa fa-sitemap', iconcls: 'fa fa-sitemap',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: 'Auto2', appfunctag: '_3',
resourcetag: '', resourcetag: '',
}, },
{ {
...@@ -65,42 +65,6 @@ export default class OUIndexViewModel { ...@@ -65,42 +65,6 @@ export default class OUIndexViewModel {
iconcls: 'fa fa-user', iconcls: 'fa fa-user',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: 'Auto1',
resourcetag: '',
},
{
id: 'B043B2E4-3E81-4205-B1F8-54935A127BB2',
name: 'menuitem4',
text: '组织树',
type: 'MENUITEM',
counterid: '',
tooltip: '组织树',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '_3',
resourcetag: '',
},
{
id: 'F195C919-76BD-4D80-9AAF-4FA48B58A81D',
name: 'menuitem5',
text: '部门树',
type: 'MENUITEM',
counterid: '',
tooltip: '部门树',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '_2', appfunctag: '_2',
resourcetag: '', resourcetag: '',
}, },
...@@ -138,30 +102,6 @@ export default class OUIndexViewModel { ...@@ -138,30 +102,6 @@ export default class OUIndexViewModel {
{ pathName: 'gridview', parameterName: 'gridview' }, { pathName: 'gridview', parameterName: 'gridview' },
], ],
}, },
{
appfunctag: 'Auto1',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibzemployeegridview',
deResParameters: [],
routepath: '/ouindexview/:ouindexview?/ibzemployees/:ibzemployee?/gridview/:gridview?',
parameters: [
{ pathName: 'ibzemployees', parameterName: 'ibzemployee' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto2',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibzdepartmentgridview',
deResParameters: [],
routepath: '/ouindexview/:ouindexview?/ibzdepartments/:ibzdepartment?/gridview/:gridview?',
parameters: [
{ pathName: 'ibzdepartments', parameterName: 'ibzdepartment' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{ {
appfunctag: '_2', appfunctag: '_2',
appfuncyype: 'APPVIEW', appfuncyype: 'APPVIEW',
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
{ {
"appid":"web", "appid":"web",
"appname":"统一组织单位", "appname":"统一组织单位",
"appmenu":[{"menuid":"OUIndexView", "menuname":"OUIndexView", "menuitem":[{ "id":"menuitem1" , "name":"单位管理" },{ "id":"menuitem2" , "name":"部门管理" },{ "id":"menuitem3" , "name":"人员管理" },{ "id":"menuitem4" , "name":"组织树" },{ "id":"menuitem5" , "name":"部门树" }] }] "appmenu":[{"menuid":"OUIndexView", "menuname":"OUIndexView", "menuitem":[{ "id":"menuitem1" , "name":"单位管理" },{ "id":"menuitem2" , "name":"部门管理" },{ "id":"menuitem3" , "name":"人员管理" }] }]
} }
] ]
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册