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

ibiz4j 发布系统代码

上级 0315c184
......@@ -24,6 +24,7 @@
"element-ui": "^2.13.0",
"file-saver": "^2.0.2",
"font-awesome": "^4.7.0",
"ibiz-gantt-elastic": "^1.0.6",
"interactjs": "^1.9.4",
"moment": "^2.24.0",
"path-to-regexp": "^6.1.0",
......
......@@ -47,6 +47,14 @@
"viewname": "IBZOrganizationPickupGridView",
"viewtag": "4c3fc434585ac656b753c26c1f10482b"
},
"ibzemployeempickupview": {
"title": "人员数据多项选择视图",
"caption": "人员",
"viewtype": "DEMPICKUPVIEW",
"viewmodule": "ou",
"viewname": "IBZEmployeeMPickupView",
"viewtag": "5ef90c56e30ba698e1ba1fc05f426725"
},
"ibzemployeeoptionview": {
"title": "人员选项操作视图",
"caption": "人员",
......@@ -63,6 +71,14 @@
"viewname": "IBZDepartmentPickupGridView",
"viewtag": "66fa282d24a21eec39d958e7fc6c23a8"
},
"ibzdepartmentmpickupview": {
"title": "部门数据多项选择视图",
"caption": "部门",
"viewtype": "DEMPICKUPVIEW",
"viewmodule": "ou",
"viewname": "IBZDepartmentMPickupView",
"viewtag": "95a44e1851d28a16a90965f60d6ff4ae"
},
"ibzorganizationoptionview": {
"title": "单位机构选项操作视图",
"caption": "单位机构",
......@@ -111,6 +127,30 @@
"viewname": "IBZEmployeeChangePwdView",
"viewtag": "b752aab6603d699de44f7dc2c8164b9c"
},
"ibzdeptmembereditview": {
"title": "部门成员编辑视图",
"caption": "部门成员",
"viewtype": "DEEDITVIEW",
"viewmodule": "ou",
"viewname": "IBZDeptMemberEditView",
"viewtag": "bf9108c85aaa6f3d2498f87b2439b9df"
},
"ibzdeptmembergridview": {
"title": "部门成员表格视图",
"caption": "部门成员",
"viewtype": "DEGRIDVIEW",
"viewmodule": "ou",
"viewname": "IBZDeptMemberGridView",
"viewtag": "c9aa00ee38b42ea5ba1d2deb5959ac2b"
},
"ibzemployeepickupview": {
"title": "人员数据选择视图",
"caption": "人员",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ou",
"viewname": "IBZEmployeePickupView",
"viewtag": "d1ec542e553e00c6455ca776efc61882"
},
"ibzdepartmentgridview": {
"title": "部门表格视图",
"caption": "部门",
......@@ -118,5 +158,13 @@
"viewmodule": "ou",
"viewname": "IBZDepartmentGridView",
"viewtag": "d2cc126cb4bcf523d72509bef0183ee0"
},
"ibzemployeepickupgridview": {
"title": "人员选择表格视图",
"caption": "人员",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ou",
"viewname": "IBZEmployeePickupGridView",
"viewtag": "f1bebdb9438783db0010d34aa03092c8"
}
}
import ibzdeptmember_en_US from '@locale/lanres/ibzdept-member/ibzdept-member_en_US';
import ibzdepartment_en_US from '@locale/lanres/ibzdepartment/ibzdepartment_en_US';
import ibzemployee_en_US from '@locale/lanres/ibzemployee/ibzemployee_en_US';
import ibzorganization_en_US from '@locale/lanres/ibzorganization/ibzorganization_en_US';
......@@ -65,6 +66,7 @@ export default {
},
},
entities: {
ibzdeptmember: ibzdeptmember_en_US,
ibzdepartment: ibzdepartment_en_US,
ibzemployee: ibzemployee_en_US,
ibzorganization: ibzorganization_en_US,
......
import ibzdeptmember_zh_CN from '@locale/lanres/ibzdept-member/ibzdept-member_zh_CN';
import ibzdepartment_zh_CN from '@locale/lanres/ibzdepartment/ibzdepartment_zh_CN';
import ibzemployee_zh_CN from '@locale/lanres/ibzemployee/ibzemployee_zh_CN';
import ibzorganization_zh_CN from '@locale/lanres/ibzorganization/ibzorganization_zh_CN';
......@@ -65,6 +66,7 @@ export default {
},
},
entities: {
ibzdeptmember: ibzdeptmember_zh_CN,
ibzdepartment: ibzdepartment_zh_CN,
ibzemployee: ibzemployee_zh_CN,
ibzorganization: ibzorganization_zh_CN,
......
......@@ -29,6 +29,10 @@ export default {
},
pickupgridview: {
caption: "部门",
title: '部门',
},
mpickupview: {
caption: "部门",
title: '部门',
},
pickupview: {
......
......@@ -28,6 +28,10 @@ export default {
},
pickupgridview: {
caption: '部门',
title: '部门',
},
mpickupview: {
caption: '部门',
title: '部门',
},
pickupview: {
......
export default {
fields: {
memberid: '标识',
deptid: '部门标识',
deptname: '部门名称',
userid: '用户标识',
personname: '成员',
},
views: {
editview: {
caption: "部门成员",
title: '部门成员',
},
gridview: {
caption: "部门成员",
title: '部门成员',
},
},
main_form: {
details: {
group1: "部门成员基本信息",
formpage1: "基本信息",
srforikey: "",
srfkey: "标识",
srfmajortext: "成员",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
deptname: "部门名称",
deptid: "部门标识",
personname: "成员",
userid: "用户标识",
memberid: "标识",
},
uiactions: {
},
},
main_grid: {
columns: {
deptname: "部门",
personname: "成员",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
};
\ No newline at end of file
export default {
fields: {
memberid: '标识',
deptid: '部门标识',
deptname: '部门名称',
userid: '用户标识',
personname: '成员',
},
views: {
editview: {
caption: '部门成员',
title: '部门成员',
},
gridview: {
caption: '部门成员',
title: '部门成员',
},
},
main_form: {
details: {
group1: '部门成员基本信息',
formpage1: '基本信息',
srforikey: '',
srfkey: '标识',
srfmajortext: '成员',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
deptname: '部门名称',
deptid: '部门标识',
personname: '成员',
userid: '用户标识',
memberid: '标识',
},
uiactions: {
},
},
main_grid: {
columns: {
deptname: '部门',
personname: '成员',
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem4: {
caption: '编辑',
tip: '编辑',
},
tbitem6: {
caption: '拷贝',
tip: '拷贝',
},
tbitem7: {
caption: '-',
tip: '',
},
tbitem8: {
caption: '删除',
tip: '删除',
},
tbitem9: {
caption: '-',
tip: '',
},
tbitem13: {
caption: '导出',
tip: '导出',
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: '保存',
tip: '保存',
},
tbitem6: {
caption: '-',
tip: '',
},
tbitem7: {
caption: '删除',
tip: '删除',
},
tbitem8: {
caption: '-',
tip: '',
},
tbitem14: {
caption: '拷贝',
tip: '拷贝',
},
},
};
\ No newline at end of file
export default {
fields: {
userid: '用户标',
userid: '用户标',
username: '用户全局名',
personname: '姓名',
usercode: '用户工号',
......@@ -45,6 +45,10 @@ export default {
},
gridview: {
caption: "人员",
title: '人员',
},
mpickupview: {
caption: "人员",
title: '人员',
},
optionview: {
......@@ -53,6 +57,14 @@ export default {
},
changepwdview: {
caption: "人员",
title: '人员',
},
pickupview: {
caption: "人员",
title: '人员',
},
pickupgridview: {
caption: "人员",
title: '人员',
},
},
......@@ -60,11 +72,12 @@ export default {
details: {
grouppanel1: "分组面板",
grouppanel2: "分组面板",
druipart1: "部门",
group1: "人员基本信息",
formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "",
srfkey: "用户标",
srfkey: "用户标",
srfmajortext: "姓名",
srftempmode: "",
srfuf: "",
......@@ -93,7 +106,7 @@ export default {
fontsize: "字号",
reserver: "保留",
usericon: "照片",
userid: "用户标",
userid: "用户标",
},
uiactions: {
},
......@@ -104,7 +117,7 @@ export default {
formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "",
srfkey: "用户标",
srfkey: "用户标",
srfmajortext: "姓名",
srftempmode: "",
srfuf: "",
......@@ -117,7 +130,7 @@ export default {
mdeptname: "部门",
enable: "逻辑有效",
orgid: "单位",
userid: "用户标",
userid: "用户标",
mdeptid: "主部门",
},
uiactions: {
......@@ -129,7 +142,7 @@ export default {
formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "",
srfkey: "用户标",
srfkey: "用户标",
srfmajortext: "姓名",
srftempmode: "",
srfuf: "",
......@@ -138,7 +151,7 @@ export default {
oldpasswd: "原始密码",
newpasswd: "新密码",
cfmpasswd: "新密码确认",
userid: "用户标",
userid: "用户标",
},
uiactions: {
},
......
export default {
fields: {
userid: '用户标',
userid: '用户标',
username: '用户全局名',
personname: '姓名',
usercode: '用户工号',
......@@ -44,6 +44,10 @@ export default {
},
gridview: {
caption: '人员',
title: '人员',
},
mpickupview: {
caption: '人员',
title: '人员',
},
optionview: {
......@@ -52,6 +56,14 @@ export default {
},
changepwdview: {
caption: '人员',
title: '人员',
},
pickupview: {
caption: '人员',
title: '人员',
},
pickupgridview: {
caption: '人员',
title: '人员',
},
},
......@@ -59,11 +71,12 @@ export default {
details: {
grouppanel1: '分组面板',
grouppanel2: '分组面板',
druipart1: '部门',
group1: '人员基本信息',
formpage1: '基本信息',
srfupdatedate: '最后修改时间',
srforikey: '',
srfkey: '用户标',
srfkey: '用户标',
srfmajortext: '姓名',
srftempmode: '',
srfuf: '',
......@@ -92,7 +105,7 @@ export default {
fontsize: '字号',
reserver: '保留',
usericon: '照片',
userid: '用户标',
userid: '用户标',
},
uiactions: {
},
......@@ -103,7 +116,7 @@ export default {
formpage1: '基本信息',
srfupdatedate: '最后修改时间',
srforikey: '',
srfkey: '用户标',
srfkey: '用户标',
srfmajortext: '姓名',
srftempmode: '',
srfuf: '',
......@@ -116,7 +129,7 @@ export default {
mdeptname: '部门',
enable: '逻辑有效',
orgid: '单位',
userid: '用户标',
userid: '用户标',
mdeptid: '主部门',
},
uiactions: {
......@@ -128,7 +141,7 @@ export default {
formpage1: '基本信息',
srfupdatedate: '最后修改时间',
srforikey: '',
srfkey: '用户标',
srfkey: '用户标',
srfmajortext: '姓名',
srftempmode: '',
srfuf: '',
......@@ -137,7 +150,7 @@ export default {
oldpasswd: '原始密码',
newpasswd: '新密码',
cfmpasswd: '新密码确认',
userid: '用户标',
userid: '用户标',
},
uiactions: {
},
......
......@@ -7,6 +7,7 @@ import './login/login';
import './upload/upload';
// 实体级接口对象
import './entity/ibzdept-members/ibzdept-members';
import './entity/ibzdepartments/ibzdepartments';
import './entity/ibzemployees/ibzemployees';
import './entity/ibzorganizations/ibzorganizations';
......@@ -55,6 +55,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBZOrganizationPickupGridView",
"viewtag": "4c3fc434585ac656b753c26c1f10482b"
},
"ibzemployeempickupview": {
"title": "人员数据多项选择视图",
"caption": "人员",
"viewtype": "DEMPICKUPVIEW",
"viewmodule": "ou",
"viewname": "IBZEmployeeMPickupView",
"viewtag": "5ef90c56e30ba698e1ba1fc05f426725"
},
"ibzemployeeoptionview": {
"title": "人员选项操作视图",
"caption": "人员",
......@@ -71,6 +79,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBZDepartmentPickupGridView",
"viewtag": "66fa282d24a21eec39d958e7fc6c23a8"
},
"ibzdepartmentmpickupview": {
"title": "部门数据多项选择视图",
"caption": "部门",
"viewtype": "DEMPICKUPVIEW",
"viewmodule": "ou",
"viewname": "IBZDepartmentMPickupView",
"viewtag": "95a44e1851d28a16a90965f60d6ff4ae"
},
"ibzorganizationoptionview": {
"title": "单位机构选项操作视图",
"caption": "单位机构",
......@@ -119,6 +135,30 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBZEmployeeChangePwdView",
"viewtag": "b752aab6603d699de44f7dc2c8164b9c"
},
"ibzdeptmembereditview": {
"title": "部门成员编辑视图",
"caption": "部门成员",
"viewtype": "DEEDITVIEW",
"viewmodule": "ou",
"viewname": "IBZDeptMemberEditView",
"viewtag": "bf9108c85aaa6f3d2498f87b2439b9df"
},
"ibzdeptmembergridview": {
"title": "部门成员表格视图",
"caption": "部门成员",
"viewtype": "DEGRIDVIEW",
"viewmodule": "ou",
"viewname": "IBZDeptMemberGridView",
"viewtag": "c9aa00ee38b42ea5ba1d2deb5959ac2b"
},
"ibzemployeepickupview": {
"title": "人员数据选择视图",
"caption": "人员",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ou",
"viewname": "IBZEmployeePickupView",
"viewtag": "d1ec542e553e00c6455ca776efc61882"
},
"ibzdepartmentgridview": {
"title": "部门表格视图",
"caption": "部门",
......@@ -126,6 +166,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewmodule": "ou",
"viewname": "IBZDepartmentGridView",
"viewtag": "d2cc126cb4bcf523d72509bef0183ee0"
},
"ibzemployeepickupgridview": {
"title": "人员选择表格视图",
"caption": "人员",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ou",
"viewname": "IBZEmployeePickupGridView",
"viewtag": "f1bebdb9438783db0010d34aa03092c8"
}
}];
});
\ No newline at end of file
.ibzdepartment-mpickup-view{
position: relative;
}
.pickup-view {
>.translate-contant {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
.translate-buttons {
width: 80px;
display: flex;
align-items: center;
text-align: center;
button {
margin-bottom: 5px;
}
}
.left, .right {
width: 300px;
}
.right {
border: 1px solid #e9e9e9;
.mpicker-select {
font-family: helvetica, sans-serif;
font-size: 16px;
text-align: justify;
word-spacing: -3.8pt;
line-height: 1.6;
font-weight: bold;
word-spacing: 10px;
height: 100%;
overflow: auto;
}
.mpicker-select > div {
padding: 3px 10px;
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
font-weight: initial;
cursor: pointer;
min-height: 28px;
border: 1px solid #e9e9e9;
margin: 4px 4px;
transition: all .3s;
}
.mpicker-select > div:hover {
background: #ecf6fd;
}
.mpicker-select > .select{
color: #108ee9;
background: #ecf6fd;
}
}
.center{
width: calc(100% - 380px);
.pickupviewpanel {
width: 100%;
height: 100%;
}
}
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBZDepartmentMPickupViewBase from './ibzdepartment-mpickup-view-base.vue';
import view_pickupviewpanel from '@widgets/ibzdepartment/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.vue';
@Component({
components: {
view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBZDepartmentMPickupView extends IBZDepartmentMPickupViewBase {
}
</script>
\ No newline at end of file
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibzdept-member-edit-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 IBZDeptMemberEditViewBase from './ibzdept-member-edit-view-base.vue';
import view_form from '@widgets/ibzdept-member/main-form/main-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBZDeptMemberEditView extends IBZDeptMemberEditViewBase {
}
</script>
\ No newline at end of file
.ibzdept-member-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 IBZDeptMemberGridViewBase from './ibzdept-member-grid-view-base.vue';
import view_grid from '@widgets/ibzdept-member/main-grid/main-grid.vue';
@Component({
components: {
view_grid,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBZDeptMemberGridView extends IBZDeptMemberGridViewBase {
}
</script>
\ No newline at end of file
.ibzemployee-mpickup-view{
position: relative;
}
.pickup-view {
>.translate-contant {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
.translate-buttons {
width: 80px;
display: flex;
align-items: center;
text-align: center;
button {
margin-bottom: 5px;
}
}
.left, .right {
width: 300px;
}
.right {
border: 1px solid #e9e9e9;
.mpicker-select {
font-family: helvetica, sans-serif;
font-size: 16px;
text-align: justify;
word-spacing: -3.8pt;
line-height: 1.6;
font-weight: bold;
word-spacing: 10px;
height: 100%;
overflow: auto;
}
.mpicker-select > div {
padding: 3px 10px;
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
font-weight: initial;
cursor: pointer;
min-height: 28px;
border: 1px solid #e9e9e9;
margin: 4px 4px;
transition: all .3s;
}
.mpicker-select > div:hover {
background: #ecf6fd;
}
.mpicker-select > .select{
color: #108ee9;
background: #ecf6fd;
}
}
.center{
width: calc(100% - 380px);
.pickupviewpanel {
width: 100%;
height: 100%;
}
}
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBZEmployeeMPickupViewBase from './ibzemployee-mpickup-view-base.vue';
import view_pickupviewpanel from '@widgets/ibzemployee/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.vue';
@Component({
components: {
view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBZEmployeeMPickupView extends IBZEmployeeMPickupViewBase {
}
</script>
\ No newline at end of file
.ibzemployee-pickup-grid-view{
position: relative;
}
.ibzemployee-pickup-grid-view{
width:100%;
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBZEmployeePickupGridViewBase from './ibzemployee-pickup-grid-view-base.vue';
import view_grid from '@widgets/ibzemployee/main-grid/main-grid.vue';
import view_searchform from '@widgets/ibzemployee/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBZEmployeePickupGridView extends IBZEmployeePickupGridViewBase {
}
</script>
\ No newline at end of file
.ibzemployee-pickup-view{
position: relative;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBZEmployeePickupViewBase from './ibzemployee-pickup-view-base.vue';
import view_pickupviewpanel from '@widgets/ibzemployee/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue';
@Component({
components: {
view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBZEmployeePickupView extends IBZEmployeePickupViewBase {
}
</script>
\ No newline at end of file
......@@ -8,8 +8,14 @@ export const PageComponents = {
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('ibzorganization-grid-view', () => import('@pages/ou/ibzorganization-grid-view/ibzorganization-grid-view.vue'));
Vue.component('ibzemployee-mpickup-view', () => import('@pages/ou/ibzemployee-mpickup-view/ibzemployee-mpickup-view.vue'));
Vue.component('ibzorganization-edit-view', () => import('@pages/ou/ibzorganization-edit-view/ibzorganization-edit-view.vue'));
Vue.component('ibzdept-member-grid-view', () => import('@pages/ou/ibzdept-member-grid-view/ibzdept-member-grid-view.vue'));
Vue.component('ibzemployee-pickup-grid-view', () => import('@pages/ou/ibzemployee-pickup-grid-view/ibzemployee-pickup-grid-view.vue'));
Vue.component('ibzdepartment-edit-view', () => import('@pages/ou/ibzdepartment-edit-view/ibzdepartment-edit-view.vue'));
Vue.component('ibzemployee-pickup-view', () => import('@pages/ou/ibzemployee-pickup-view/ibzemployee-pickup-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('ibzorganization-pickup-view', () => import('@pages/ou/ibzorganization-pickup-view/ibzorganization-pickup-view.vue'));
Vue.component('ibzemployee-option-view', () => import('@pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue'));
Vue.component('ibzdepartment-pickup-view', () => import('@pages/ou/ibzdepartment-pickup-view/ibzdepartment-pickup-view.vue'));
......
......@@ -39,7 +39,8 @@ export class EntityServiceRegister {
* @memberof EntityServiceRegister
*/
protected init(): void {
this.allEntityService.set('ibzdepartment', () => import('@/service/ibzdepartment/ibzdepartment-service'));
this.allEntityService.set('ibzdeptmember', () => import('@/service/ibzdept-member/ibzdept-member-service'));
this.allEntityService.set('ibzdepartment', () => import('@/service/ibzdepartment/ibzdepartment-service'));
this.allEntityService.set('ibzemployee', () => import('@/service/ibzemployee/ibzemployee-service'));
this.allEntityService.set('ibzorganization', () => import('@/service/ibzorganization/ibzorganization-service'));
}
......
import { Http,Util } from '@/utils';
import IBZDeptMemberServiceBase from './ibzdept-member-service-base';
/**
* 部门成员服务对象
*
* @export
* @class IBZDeptMemberService
* @extends {IBZDeptMemberServiceBase}
*/
export default class IBZDeptMemberService extends IBZDeptMemberServiceBase {
/**
* Creates an instance of IBZDeptMemberService.
*
* @param {*} [opts={}]
* @memberof IBZDeptMemberService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -143,6 +143,21 @@ export default class IBZEmployeeServiceBase extends EntityService {
return Http.getInstance().post(`/ibzdepartments/${context.ibzdepartment}/ibzemployees`,data,isloading);
}
let masterData:any = {};
let ibzdeptmembersData:any = [];
if(!Object.is(this.tempStorage.getItem(context.srfsessionkey+'_ibzdeptmembers'),'undefined')){
ibzdeptmembersData = JSON.parse(this.tempStorage.getItem(context.srfsessionkey+'_ibzdeptmembers') as any);
if(ibzdeptmembersData && ibzdeptmembersData.length && ibzdeptmembersData.length > 0){
ibzdeptmembersData.forEach((item:any) => {
if(item.srffrontuf){
if(Object.is(item.srffrontuf,"0")){
item.memberid = null;
}
delete item.srffrontuf;
}
});
}
}
masterData.ibzdeptmembers = ibzdeptmembersData;
Object.assign(data,masterData);
if(!data.srffrontuf || data.srffrontuf !== "1"){
data[this.APPDEKEY] = null;
......@@ -152,6 +167,7 @@ export default class IBZEmployeeServiceBase extends EntityService {
}
let tempContext:any = JSON.parse(JSON.stringify(context));
let res:any = await Http.getInstance().post(`/ibzemployees`,data,isloading);
this.tempStorage.setItem(tempContext.srfsessionkey+'_ibzdeptmembers',JSON.stringify(res.data.ibzdeptmembers));
return res;
}
......@@ -197,8 +213,24 @@ export default class IBZEmployeeServiceBase extends EntityService {
return Http.getInstance().put(`/ibzdepartments/${context.ibzdepartment}/ibzemployees/${context.ibzemployee}`,data,isloading);
}
let masterData:any = {};
let ibzdeptmembersData:any = [];
if(!Object.is(this.tempStorage.getItem(context.srfsessionkey+'_ibzdeptmembers'),'undefined')){
ibzdeptmembersData = JSON.parse(this.tempStorage.getItem(context.srfsessionkey+'_ibzdeptmembers') as any);
if(ibzdeptmembersData && ibzdeptmembersData.length && ibzdeptmembersData.length > 0){
ibzdeptmembersData.forEach((item:any) => {
if(item.srffrontuf){
if(Object.is(item.srffrontuf,"0")){
item.memberid = null;
}
delete item.srffrontuf;
}
});
}
}
masterData.ibzdeptmembers = ibzdeptmembersData;
Object.assign(data,masterData);
let res:any = await Http.getInstance().put(`/ibzemployees/${context.ibzemployee}`,data,isloading);
this.tempStorage.setItem(context.srfsessionkey+'_ibzdeptmembers',JSON.stringify(res.data.ibzdeptmembers));
return res;
}
......@@ -222,8 +254,24 @@ export default class IBZEmployeeServiceBase extends EntityService {
return Http.getInstance().post(`/ibzdepartments/${context.ibzdepartment}/ibzemployees/${context.ibzemployee}/save`,data,isloading);
}
let masterData:any = {};
let ibzdeptmembersData:any = [];
if(!Object.is(this.tempStorage.getItem(context.srfsessionkey+'_ibzdeptmembers'),'undefined')){
ibzdeptmembersData = JSON.parse(this.tempStorage.getItem(context.srfsessionkey+'_ibzdeptmembers') as any);
if(ibzdeptmembersData && ibzdeptmembersData.length && ibzdeptmembersData.length > 0){
ibzdeptmembersData.forEach((item:any) => {
if(item.srffrontuf){
if(Object.is(item.srffrontuf,"0")){
item.memberid = null;
}
delete item.srffrontuf;
}
});
}
}
masterData.ibzdeptmembers = ibzdeptmembersData;
Object.assign(data,masterData);
let res:any = await Http.getInstance().post(`/ibzemployees/${context.ibzemployee}/save`,data,isloading);
this.tempStorage.setItem(context.srfsessionkey+'_ibzdeptmembers',JSON.stringify(res.data.ibzdeptmembers));
return res;
}
......@@ -247,6 +295,7 @@ export default class IBZEmployeeServiceBase extends EntityService {
return Http.getInstance().get(`/ibzdepartments/${context.ibzdepartment}/ibzemployees/${context.ibzemployee}`,isloading);
}
let res:any = await Http.getInstance().get(`/ibzemployees/${context.ibzemployee}`,isloading);
this.tempStorage.setItem(context.srfsessionkey+'_ibzdeptmembers',JSON.stringify(res.data.ibzdeptmembers));
return res;
}
......@@ -272,6 +321,7 @@ export default class IBZEmployeeServiceBase extends EntityService {
}
let res:any = await Http.getInstance().get(`/ibzemployees/getdraft`,isloading);
res.data.ibzemployee = data.ibzemployee;
this.tempStorage.setItem(context.srfsessionkey+'_ibzdeptmembers',JSON.stringify(res.data.ibzdeptmembers));
return res;
}
......
......@@ -20,6 +20,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'c9aa00ee38b42ea5ba1d2deb5959ac2b',
'9e25d15d43ff644fa008c9cf7d063ac3',
'b59db4df07430a34645566a64d59244c',
],
......@@ -66,6 +67,16 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '5ef90c56e30ba698e1ba1fc05f426725',
viewmodule: 'ou',
viewname: 'IBZEmployeeMPickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'f1bebdb9438783db0010d34aa03092c8',
],
},
{
viewtag: '61a772e0bde33e5e8e9b83ea0f354271',
viewmodule: 'ou',
......@@ -86,6 +97,16 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '95a44e1851d28a16a90965f60d6ff4ae',
viewmodule: 'ou',
viewname: 'IBZDepartmentMPickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'66fa282d24a21eec39d958e7fc6c23a8',
],
},
{
viewtag: '995d26f289a30e31573d557a5f5ba254',
viewmodule: 'ou',
......@@ -148,6 +169,39 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'bf9108c85aaa6f3d2498f87b2439b9df',
viewmodule: 'ou',
viewname: 'IBZDeptMemberEditView',
viewaction: '',
viewdatachange: false,
refviews: [
'd1ec542e553e00c6455ca776efc61882',
'b59db4df07430a34645566a64d59244c',
],
},
{
viewtag: 'c9aa00ee38b42ea5ba1d2deb5959ac2b',
viewmodule: 'ou',
viewname: 'IBZDeptMemberGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'5ef90c56e30ba698e1ba1fc05f426725',
'95a44e1851d28a16a90965f60d6ff4ae',
'bf9108c85aaa6f3d2498f87b2439b9df',
],
},
{
viewtag: 'd1ec542e553e00c6455ca776efc61882',
viewmodule: 'ou',
viewname: 'IBZEmployeePickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'f1bebdb9438783db0010d34aa03092c8',
],
},
{
viewtag: 'd2cc126cb4bcf523d72509bef0183ee0',
viewmodule: 'ou',
......@@ -159,6 +213,15 @@ export const viewstate: any = {
'21259e2d03645750f1d3d71839f1223b',
],
},
{
viewtag: 'f1bebdb9438783db0010d34aa03092c8',
viewmodule: 'ou',
viewname: 'IBZEmployeePickupGridView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
],
createdviews: [],
}
\ No newline at end of file
......@@ -82,6 +82,7 @@ export default class IBZDepartmentUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'optionview',srfappde:'ibzdepartments'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibzdepartments'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibzdepartments'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'ibzdepartments'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibzdepartments'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibzdepartments'});
}
......
import IBZDeptMemberUIServiceBase from './ibzdept-member-ui-service-base';
/**
* 部门成员UI服务对象
*
* @export
* @class IBZDeptMemberUIService
*/
export default class IBZDeptMemberUIService extends IBZDeptMemberUIServiceBase {
/**
* Creates an instance of IBZDeptMemberUIService.
*
* @param {*} [opts={}]
* @memberof IBZDeptMemberUIService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -81,8 +81,11 @@ export default class IBZEmployeeUIServiceBase extends UIService {
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibzemployees'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibzemployees'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'ibzemployees'});
this.allViewMap.set(':',{viewname:'optionview',srfappde:'ibzemployees'});
this.allViewMap.set(':',{viewname:'changepwdview',srfappde:'ibzemployees'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibzemployees'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibzemployees'});
}
/**
......
......@@ -39,7 +39,8 @@ export class UIServiceRegister {
* @memberof UIServiceRegister
*/
protected init(): void {
this.allUIService.set('ibzdepartment', () => import('@/uiservice/ibzdepartment/ibzdepartment-ui-service'));
this.allUIService.set('ibzdeptmember', () => import('@/uiservice/ibzdept-member/ibzdept-member-ui-service'));
this.allUIService.set('ibzdepartment', () => import('@/uiservice/ibzdepartment/ibzdepartment-ui-service'));
this.allUIService.set('ibzemployee', () => import('@/uiservice/ibzemployee/ibzemployee-ui-service'));
this.allUIService.set('ibzorganization', () => import('@/uiservice/ibzorganization/ibzorganization-ui-service'));
}
......
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* MPickupViewpickupviewpanel 部件服务对象
*
* @export
* @class MPickupViewpickupviewpanelService
*/
export default class MPickupViewpickupviewpanelService extends ControlService {
}
\ No newline at end of file
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册