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

ibiz4j 发布系统代码

上级 e58f1668
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptid')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptid')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.deptid')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.deptid')}}
</span> </span>
</template> </template>
...@@ -55,7 +54,6 @@ ...@@ -55,7 +54,6 @@
<el-table-column show-overflow-tooltip :prop="'deptcode'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptcode'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.deptcode')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.deptcode')}}
</span> </span>
</template> </template>
...@@ -85,7 +83,6 @@ ...@@ -85,7 +83,6 @@
<el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.deptname')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.deptname')}}
</span> </span>
</template> </template>
...@@ -115,7 +112,6 @@ ...@@ -115,7 +112,6 @@
<el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.shortname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.shortname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.shortname')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.shortname')}}
</span> </span>
</template> </template>
...@@ -145,7 +141,6 @@ ...@@ -145,7 +141,6 @@
<el-table-column show-overflow-tooltip :prop="'deptlevel'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptlevel')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptlevel'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptlevel')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.deptlevel')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.deptlevel')}}
</span> </span>
</template> </template>
...@@ -175,7 +170,6 @@ ...@@ -175,7 +170,6 @@
<el-table-column show-overflow-tooltip :prop="'bcode'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.bcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'bcode'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.bcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.bcode')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.bcode')}}
</span> </span>
</template> </template>
...@@ -205,7 +199,6 @@ ...@@ -205,7 +199,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.showorder')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.showorder')}}
</span> </span>
</template> </template>
...@@ -235,7 +228,6 @@ ...@@ -235,7 +228,6 @@
<el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.createdate')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.createdate')}}
</span> </span>
</template> </template>
...@@ -248,7 +240,6 @@ ...@@ -248,7 +240,6 @@
<el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.updatedate')}} {{$t('entities.ibzdepartment.editgrid_grid.columns.updatedate')}}
</span> </span>
</template> </template>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
:value='data.leadername' :value='data.leadername'
valueitem="leaderid" valueitem="leaderid"
:multiple="true" :multiple="true"
filter="srforgid" filter="orgid"
:fillmap="{'id':'leaderid','label':'leadername'}" :fillmap="{'id':'leaderid','label':'leadername'}"
:disabled="detailsModel.leadername.disabled" :disabled="detailsModel.leadername.disabled"
:data="data" :data="data"
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdepartment.main_grid.columns.deptid')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdepartment.main_grid.columns.deptid')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.deptid')}} {{$t('entities.ibzdepartment.main_grid.columns.deptid')}}
</span> </span>
</template> </template>
...@@ -38,7 +37,6 @@ ...@@ -38,7 +37,6 @@
<el-table-column show-overflow-tooltip :prop="'deptcode'" :label="$t('entities.ibzdepartment.main_grid.columns.deptcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptcode'" :label="$t('entities.ibzdepartment.main_grid.columns.deptcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.deptcode')}} {{$t('entities.ibzdepartment.main_grid.columns.deptcode')}}
</span> </span>
</template> </template>
...@@ -51,7 +49,6 @@ ...@@ -51,7 +49,6 @@
<el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdepartment.main_grid.columns.deptname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdepartment.main_grid.columns.deptname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.deptname')}} {{$t('entities.ibzdepartment.main_grid.columns.deptname')}}
</span> </span>
</template> </template>
...@@ -64,7 +61,6 @@ ...@@ -64,7 +61,6 @@
<el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzdepartment.main_grid.columns.shortname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzdepartment.main_grid.columns.shortname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.shortname')}} {{$t('entities.ibzdepartment.main_grid.columns.shortname')}}
</span> </span>
</template> </template>
...@@ -77,7 +73,6 @@ ...@@ -77,7 +73,6 @@
<el-table-column show-overflow-tooltip :prop="'deptlevel'" :label="$t('entities.ibzdepartment.main_grid.columns.deptlevel')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptlevel'" :label="$t('entities.ibzdepartment.main_grid.columns.deptlevel')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.deptlevel')}} {{$t('entities.ibzdepartment.main_grid.columns.deptlevel')}}
</span> </span>
</template> </template>
...@@ -90,7 +85,6 @@ ...@@ -90,7 +85,6 @@
<el-table-column show-overflow-tooltip :prop="'bcode'" :label="$t('entities.ibzdepartment.main_grid.columns.bcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'bcode'" :label="$t('entities.ibzdepartment.main_grid.columns.bcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.bcode')}} {{$t('entities.ibzdepartment.main_grid.columns.bcode')}}
</span> </span>
</template> </template>
...@@ -103,7 +97,6 @@ ...@@ -103,7 +97,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzdepartment.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzdepartment.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.showorder')}} {{$t('entities.ibzdepartment.main_grid.columns.showorder')}}
</span> </span>
</template> </template>
...@@ -116,7 +109,6 @@ ...@@ -116,7 +109,6 @@
<el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzdepartment.main_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzdepartment.main_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.createdate')}} {{$t('entities.ibzdepartment.main_grid.columns.createdate')}}
</span> </span>
</template> </template>
...@@ -129,7 +121,6 @@ ...@@ -129,7 +121,6 @@
<el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzdepartment.main_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzdepartment.main_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.updatedate')}} {{$t('entities.ibzdepartment.main_grid.columns.updatedate')}}
</span> </span>
</template> </template>
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
</i-col> </i-col>
<i-col v-show="detailsModel.orgname.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.orgname.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='orgname' :itemRules="this.rules.orgname" class='' :caption="$t('entities.ibzdepartment.newform_form.details.orgname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.orgname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='orgname' :itemRules="this.rules.orgname" class='' :caption="$t('entities.ibzdepartment.newform_form.details.orgname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.orgname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-org-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'orgid','label':'orgname'}" :multiple="false" style="" @select-change="onFormItemValueChange"></app-org-select> <app-org-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'orgid','label':'orgname'}" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange"></app-org-select>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.pdeptname.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.pdeptname.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='pdeptname' :itemRules="this.rules.pdeptname" class='' :caption="$t('entities.ibzdepartment.newform_form.details.pdeptname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.pdeptname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='pdeptname' :itemRules="this.rules.pdeptname" class='' :caption="$t('entities.ibzdepartment.newform_form.details.pdeptname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.pdeptname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-department-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'pdeptid','label':'pdeptname'}" :multiple="false" style="" @select-change="onFormItemValueChange"></app-department-select> <app-department-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'pdeptid','label':'pdeptname'}" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange"></app-department-select>
</app-form-item> </app-form-item>
</i-col> </i-col>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdeptmember.main_grid.columns.deptname')" :width="250" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdeptmember.main_grid.columns.deptname')" :width="250" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdeptmember.main_grid.columns.deptname')}} {{$t('entities.ibzdeptmember.main_grid.columns.deptname')}}
</span> </span>
</template> </template>
...@@ -47,7 +46,6 @@ ...@@ -47,7 +46,6 @@
<el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzdeptmember.main_grid.columns.personname')" :width="250" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzdeptmember.main_grid.columns.personname')" :width="250" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdeptmember.main_grid.columns.personname')}} {{$t('entities.ibzdeptmember.main_grid.columns.personname')}}
</span> </span>
</template> </template>
...@@ -60,7 +58,6 @@ ...@@ -60,7 +58,6 @@
<el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdeptmember.main_grid.columns.deptid')" :width="100" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdeptmember.main_grid.columns.deptid')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzdeptmember.main_grid.columns.deptid')}} {{$t('entities.ibzdeptmember.main_grid.columns.deptid')}}
</span> </span>
</template> </template>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'usercode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.usercode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'usercode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.usercode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.usercode')}} {{$t('entities.ibzemployee.editgrid_grid.columns.usercode')}}
</span> </span>
</template> </template>
...@@ -55,7 +54,6 @@ ...@@ -55,7 +54,6 @@
<el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.personname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.personname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.personname')}} {{$t('entities.ibzemployee.editgrid_grid.columns.personname')}}
</span> </span>
</template> </template>
...@@ -85,7 +83,6 @@ ...@@ -85,7 +83,6 @@
<el-table-column show-overflow-tooltip :prop="'loginname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.loginname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'loginname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.loginname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.loginname')}} {{$t('entities.ibzemployee.editgrid_grid.columns.loginname')}}
</span> </span>
</template> </template>
...@@ -115,7 +112,6 @@ ...@@ -115,7 +112,6 @@
<el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.orgcode')}} {{$t('entities.ibzemployee.editgrid_grid.columns.orgcode')}}
</span> </span>
</template> </template>
...@@ -128,7 +124,6 @@ ...@@ -128,7 +124,6 @@
<el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.orgname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.orgname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.orgname')}} {{$t('entities.ibzemployee.editgrid_grid.columns.orgname')}}
</span> </span>
</template> </template>
...@@ -169,7 +164,6 @@ ...@@ -169,7 +164,6 @@
<el-table-column show-overflow-tooltip :prop="'mdeptcode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.mdeptcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'mdeptcode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.mdeptcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.mdeptcode')}} {{$t('entities.ibzemployee.editgrid_grid.columns.mdeptcode')}}
</span> </span>
</template> </template>
...@@ -182,7 +176,6 @@ ...@@ -182,7 +176,6 @@
<el-table-column show-overflow-tooltip :prop="'mdeptname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.mdeptname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'mdeptname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.mdeptname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.mdeptname')}} {{$t('entities.ibzemployee.editgrid_grid.columns.mdeptname')}}
</span> </span>
</template> </template>
...@@ -223,7 +216,6 @@ ...@@ -223,7 +216,6 @@
<el-table-column show-overflow-tooltip :prop="'sex'" :label="$t('entities.ibzemployee.editgrid_grid.columns.sex')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'sex'" :label="$t('entities.ibzemployee.editgrid_grid.columns.sex')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.sex')}} {{$t('entities.ibzemployee.editgrid_grid.columns.sex')}}
</span> </span>
</template> </template>
...@@ -245,7 +237,6 @@ ...@@ -245,7 +237,6 @@
<el-table-column show-overflow-tooltip :prop="'phone'" :label="$t('entities.ibzemployee.editgrid_grid.columns.phone')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'phone'" :label="$t('entities.ibzemployee.editgrid_grid.columns.phone')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.phone')}} {{$t('entities.ibzemployee.editgrid_grid.columns.phone')}}
</span> </span>
</template> </template>
...@@ -275,7 +266,6 @@ ...@@ -275,7 +266,6 @@
<el-table-column show-overflow-tooltip :prop="'ipaddr'" :label="$t('entities.ibzemployee.editgrid_grid.columns.ipaddr')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'ipaddr'" :label="$t('entities.ibzemployee.editgrid_grid.columns.ipaddr')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.ipaddr')}} {{$t('entities.ibzemployee.editgrid_grid.columns.ipaddr')}}
</span> </span>
</template> </template>
...@@ -305,7 +295,6 @@ ...@@ -305,7 +295,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzemployee.editgrid_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzemployee.editgrid_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.showorder')}} {{$t('entities.ibzemployee.editgrid_grid.columns.showorder')}}
</span> </span>
</template> </template>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'usercode'" :label="$t('entities.ibzemployee.main_grid.columns.usercode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'usercode'" :label="$t('entities.ibzemployee.main_grid.columns.usercode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.usercode')}} {{$t('entities.ibzemployee.main_grid.columns.usercode')}}
</span> </span>
</template> </template>
...@@ -38,7 +37,6 @@ ...@@ -38,7 +37,6 @@
<el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzemployee.main_grid.columns.personname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzemployee.main_grid.columns.personname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.personname')}} {{$t('entities.ibzemployee.main_grid.columns.personname')}}
</span> </span>
</template> </template>
...@@ -51,7 +49,6 @@ ...@@ -51,7 +49,6 @@
<el-table-column show-overflow-tooltip :prop="'loginname'" :label="$t('entities.ibzemployee.main_grid.columns.loginname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'loginname'" :label="$t('entities.ibzemployee.main_grid.columns.loginname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.loginname')}} {{$t('entities.ibzemployee.main_grid.columns.loginname')}}
</span> </span>
</template> </template>
...@@ -64,7 +61,6 @@ ...@@ -64,7 +61,6 @@
<el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzemployee.main_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzemployee.main_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.orgcode')}} {{$t('entities.ibzemployee.main_grid.columns.orgcode')}}
</span> </span>
</template> </template>
...@@ -77,7 +73,6 @@ ...@@ -77,7 +73,6 @@
<el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzemployee.main_grid.columns.orgname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzemployee.main_grid.columns.orgname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.orgname')}} {{$t('entities.ibzemployee.main_grid.columns.orgname')}}
</span> </span>
</template> </template>
...@@ -90,7 +85,6 @@ ...@@ -90,7 +85,6 @@
<el-table-column show-overflow-tooltip :prop="'mdeptcode'" :label="$t('entities.ibzemployee.main_grid.columns.mdeptcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'mdeptcode'" :label="$t('entities.ibzemployee.main_grid.columns.mdeptcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.mdeptcode')}} {{$t('entities.ibzemployee.main_grid.columns.mdeptcode')}}
</span> </span>
</template> </template>
...@@ -103,7 +97,6 @@ ...@@ -103,7 +97,6 @@
<el-table-column show-overflow-tooltip :prop="'mdeptname'" :label="$t('entities.ibzemployee.main_grid.columns.mdeptname')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'mdeptname'" :label="$t('entities.ibzemployee.main_grid.columns.mdeptname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.mdeptname')}} {{$t('entities.ibzemployee.main_grid.columns.mdeptname')}}
</span> </span>
</template> </template>
...@@ -116,7 +109,6 @@ ...@@ -116,7 +109,6 @@
<el-table-column show-overflow-tooltip :prop="'sex'" :label="$t('entities.ibzemployee.main_grid.columns.sex')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'sex'" :label="$t('entities.ibzemployee.main_grid.columns.sex')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.sex')}} {{$t('entities.ibzemployee.main_grid.columns.sex')}}
</span> </span>
</template> </template>
...@@ -131,7 +123,6 @@ ...@@ -131,7 +123,6 @@
<el-table-column show-overflow-tooltip :prop="'phone'" :label="$t('entities.ibzemployee.main_grid.columns.phone')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'phone'" :label="$t('entities.ibzemployee.main_grid.columns.phone')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.phone')}} {{$t('entities.ibzemployee.main_grid.columns.phone')}}
</span> </span>
</template> </template>
...@@ -144,7 +135,6 @@ ...@@ -144,7 +135,6 @@
<el-table-column show-overflow-tooltip :prop="'ipaddr'" :label="$t('entities.ibzemployee.main_grid.columns.ipaddr')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'ipaddr'" :label="$t('entities.ibzemployee.main_grid.columns.ipaddr')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.ipaddr')}} {{$t('entities.ibzemployee.main_grid.columns.ipaddr')}}
</span> </span>
</template> </template>
...@@ -157,7 +147,6 @@ ...@@ -157,7 +147,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzemployee.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzemployee.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.showorder')}} {{$t('entities.ibzemployee.main_grid.columns.showorder')}}
</span> </span>
</template> </template>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'orgid'" :label="$t('entities.ibzorganization.main_grid.columns.orgid')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'orgid'" :label="$t('entities.ibzorganization.main_grid.columns.orgid')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.orgid')}} {{$t('entities.ibzorganization.main_grid.columns.orgid')}}
</span> </span>
</template> </template>
...@@ -38,7 +37,6 @@ ...@@ -38,7 +37,6 @@
<el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzorganization.main_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzorganization.main_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.orgcode')}} {{$t('entities.ibzorganization.main_grid.columns.orgcode')}}
</span> </span>
</template> </template>
...@@ -51,7 +49,6 @@ ...@@ -51,7 +49,6 @@
<el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzorganization.main_grid.columns.orgname')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzorganization.main_grid.columns.orgname')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.orgname')}} {{$t('entities.ibzorganization.main_grid.columns.orgname')}}
</span> </span>
</template> </template>
...@@ -64,7 +61,6 @@ ...@@ -64,7 +61,6 @@
<el-table-column show-overflow-tooltip :prop="'orglevel'" :label="$t('entities.ibzorganization.main_grid.columns.orglevel')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'orglevel'" :label="$t('entities.ibzorganization.main_grid.columns.orglevel')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.orglevel')}} {{$t('entities.ibzorganization.main_grid.columns.orglevel')}}
</span> </span>
</template> </template>
...@@ -77,7 +73,6 @@ ...@@ -77,7 +73,6 @@
<el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzorganization.main_grid.columns.shortname')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzorganization.main_grid.columns.shortname')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.shortname')}} {{$t('entities.ibzorganization.main_grid.columns.shortname')}}
</span> </span>
</template> </template>
...@@ -90,7 +85,6 @@ ...@@ -90,7 +85,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzorganization.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzorganization.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.showorder')}} {{$t('entities.ibzorganization.main_grid.columns.showorder')}}
</span> </span>
</template> </template>
...@@ -103,7 +97,6 @@ ...@@ -103,7 +97,6 @@
<el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzorganization.main_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzorganization.main_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.createdate')}} {{$t('entities.ibzorganization.main_grid.columns.createdate')}}
</span> </span>
</template> </template>
...@@ -116,7 +109,6 @@ ...@@ -116,7 +109,6 @@
<el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzorganization.main_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzorganization.main_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.updatedate')}} {{$t('entities.ibzorganization.main_grid.columns.updatedate')}}
</span> </span>
</template> </template>
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<!--输出实体[IBZDEPT]数据结构 --> <!--输出实体[IBZDEPT]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ibzdept-625-4"> <changeSet author="a_A_5d9d78509" id="tab-ibzdept-628-4">
<createTable tableName="IBZDEPT"> <createTable tableName="IBZDEPT">
<column name="DEPTID" remarks="" type="VARCHAR(100)"> <column name="DEPTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBZDEPT_DEPTID"/> <constraints primaryKey="true" primaryKeyName="PK_IBZDEPT_DEPTID"/>
...@@ -179,10 +179,10 @@ ...@@ -179,10 +179,10 @@
<addForeignKeyConstraint baseColumnNames="USERID" baseTableName="IBZDEPTMEMBER" constraintName="DER1N_IBZDEPTMEMBER_IBZEMP_USE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="USERID" referencedTableName="IBZEMP" validate="true"/> <addForeignKeyConstraint baseColumnNames="USERID" baseTableName="IBZDEPTMEMBER" constraintName="DER1N_IBZDEPTMEMBER_IBZEMP_USE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="USERID" referencedTableName="IBZEMP" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[IBZDEPT]外键关系 --> <!--输出实体[IBZDEPT]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-ibzdept-625-10"> <changeSet author="a_A_5d9d78509" id="fk-ibzdept-628-10">
<addForeignKeyConstraint baseColumnNames="PDEPTID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZDEPT_PDEPTID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="DEPTID" referencedTableName="IBZDEPT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PDEPTID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZDEPT_PDEPTID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="DEPTID" referencedTableName="IBZDEPT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_A_5d9d78509" id="fk-ibzdept-625-11"> <changeSet author="a_A_5d9d78509" id="fk-ibzdept-628-11">
<addForeignKeyConstraint baseColumnNames="ORGID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZORG_ORGID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGID" referencedTableName="IBZORG" validate="true"/> <addForeignKeyConstraint baseColumnNames="ORGID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZORG_ORGID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGID" referencedTableName="IBZORG" validate="true"/>
</changeSet> </changeSet>
......
...@@ -126,9 +126,9 @@ public class IBZDepartmentResource { ...@@ -126,9 +126,9 @@ public class IBZDepartmentResource {
@Transactional @Transactional
public ResponseEntity<IBZDepartmentDTO> update(@PathVariable("ibzdepartment_id") String ibzdepartment_id, @RequestBody IBZDepartmentDTO ibzdepartmentdto) { public ResponseEntity<IBZDepartmentDTO> update(@PathVariable("ibzdepartment_id") String ibzdepartment_id, @RequestBody IBZDepartmentDTO ibzdepartmentdto) {
IBZDepartment domain = ibzdepartmentMapping.toDomain(ibzdepartmentdto); IBZDepartment domain = ibzdepartmentMapping.toDomain(ibzdepartmentdto);
domain.setDeptid(ibzdepartment_id); domain .setDeptid(ibzdepartment_id);
ibzdepartmentService.update(domain); ibzdepartmentService.update(domain );
IBZDepartmentDTO dto = ibzdepartmentMapping.toDto(domain); IBZDepartmentDTO dto = ibzdepartmentMapping.toDto(domain );
return ResponseEntity.status(HttpStatus.OK).body(dto); return ResponseEntity.status(HttpStatus.OK).body(dto);
} }
......
...@@ -53,9 +53,9 @@ public class IBZDeptMemberResource { ...@@ -53,9 +53,9 @@ public class IBZDeptMemberResource {
@Transactional @Transactional
public ResponseEntity<IBZDeptMemberDTO> update(@PathVariable("ibzdeptmember_id") String ibzdeptmember_id, @RequestBody IBZDeptMemberDTO ibzdeptmemberdto) { public ResponseEntity<IBZDeptMemberDTO> update(@PathVariable("ibzdeptmember_id") String ibzdeptmember_id, @RequestBody IBZDeptMemberDTO ibzdeptmemberdto) {
IBZDeptMember domain = ibzdeptmemberMapping.toDomain(ibzdeptmemberdto); IBZDeptMember domain = ibzdeptmemberMapping.toDomain(ibzdeptmemberdto);
domain.setMemberid(ibzdeptmember_id); domain .setMemberid(ibzdeptmember_id);
ibzdeptmemberService.update(domain); ibzdeptmemberService.update(domain );
IBZDeptMemberDTO dto = ibzdeptmemberMapping.toDto(domain); IBZDeptMemberDTO dto = ibzdeptmemberMapping.toDto(domain );
return ResponseEntity.status(HttpStatus.OK).body(dto); return ResponseEntity.status(HttpStatus.OK).body(dto);
} }
......
...@@ -69,6 +69,7 @@ public class IBZEmployeeResource { ...@@ -69,6 +69,7 @@ public class IBZEmployeeResource {
@Transactional @Transactional
public ResponseEntity<IBZEmployeeDTO> initPwd(@PathVariable("ibzemployee_id") String ibzemployee_id, @RequestBody IBZEmployeeDTO ibzemployeedto) { public ResponseEntity<IBZEmployeeDTO> initPwd(@PathVariable("ibzemployee_id") String ibzemployee_id, @RequestBody IBZEmployeeDTO ibzemployeedto) {
IBZEmployee ibzemployee = ibzemployeeMapping.toDomain(ibzemployeedto); IBZEmployee ibzemployee = ibzemployeeMapping.toDomain(ibzemployeedto);
ibzemployee.setUserid(ibzemployee_id);
ibzemployee = ibzemployeeService.initPwd(ibzemployee); ibzemployee = ibzemployeeService.initPwd(ibzemployee);
ibzemployeedto = ibzemployeeMapping.toDto(ibzemployee); ibzemployeedto = ibzemployeeMapping.toDto(ibzemployee);
return ResponseEntity.status(HttpStatus.OK).body(ibzemployeedto); return ResponseEntity.status(HttpStatus.OK).body(ibzemployeedto);
...@@ -106,9 +107,9 @@ public class IBZEmployeeResource { ...@@ -106,9 +107,9 @@ public class IBZEmployeeResource {
@Transactional @Transactional
public ResponseEntity<IBZEmployeeDTO> update(@PathVariable("ibzemployee_id") String ibzemployee_id, @RequestBody IBZEmployeeDTO ibzemployeedto) { public ResponseEntity<IBZEmployeeDTO> update(@PathVariable("ibzemployee_id") String ibzemployee_id, @RequestBody IBZEmployeeDTO ibzemployeedto) {
IBZEmployee domain = ibzemployeeMapping.toDomain(ibzemployeedto); IBZEmployee domain = ibzemployeeMapping.toDomain(ibzemployeedto);
domain.setUserid(ibzemployee_id); domain .setUserid(ibzemployee_id);
ibzemployeeService.update(domain); ibzemployeeService.update(domain );
IBZEmployeeDTO dto = ibzemployeeMapping.toDto(domain); IBZEmployeeDTO dto = ibzemployeeMapping.toDto(domain );
return ResponseEntity.status(HttpStatus.OK).body(dto); return ResponseEntity.status(HttpStatus.OK).body(dto);
} }
......
...@@ -60,9 +60,9 @@ public class IBZOrganizationResource { ...@@ -60,9 +60,9 @@ public class IBZOrganizationResource {
@Transactional @Transactional
public ResponseEntity<IBZOrganizationDTO> update(@PathVariable("ibzorganization_id") String ibzorganization_id, @RequestBody IBZOrganizationDTO ibzorganizationdto) { public ResponseEntity<IBZOrganizationDTO> update(@PathVariable("ibzorganization_id") String ibzorganization_id, @RequestBody IBZOrganizationDTO ibzorganizationdto) {
IBZOrganization domain = ibzorganizationMapping.toDomain(ibzorganizationdto); IBZOrganization domain = ibzorganizationMapping.toDomain(ibzorganizationdto);
domain.setOrgid(ibzorganization_id); domain .setOrgid(ibzorganization_id);
ibzorganizationService.update(domain); ibzorganizationService.update(domain );
IBZOrganizationDTO dto = ibzorganizationMapping.toDto(domain); IBZOrganizationDTO dto = ibzorganizationMapping.toDto(domain );
return ResponseEntity.status(HttpStatus.OK).body(dto); return ResponseEntity.status(HttpStatus.OK).body(dto);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册