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

ibiz4j 发布系统代码

上级 e58f1668
...@@ -23,12 +23,11 @@ ...@@ -23,12 +23,11 @@
</template> </template>
<template v-if="getColumnState('deptid')"> <template v-if="getColumnState('deptid')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -53,12 +52,11 @@ ...@@ -53,12 +52,11 @@
</template> </template>
<template v-if="getColumnState('deptcode')"> <template v-if="getColumnState('deptcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -83,12 +81,11 @@ ...@@ -83,12 +81,11 @@
</template> </template>
<template v-if="getColumnState('deptname')"> <template v-if="getColumnState('deptname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -113,12 +110,11 @@ ...@@ -113,12 +110,11 @@
</template> </template>
<template v-if="getColumnState('shortname')"> <template v-if="getColumnState('shortname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -143,12 +139,11 @@ ...@@ -143,12 +139,11 @@
</template> </template>
<template v-if="getColumnState('deptlevel')"> <template v-if="getColumnState('deptlevel')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -173,12 +168,11 @@ ...@@ -173,12 +168,11 @@
</template> </template>
<template v-if="getColumnState('bcode')"> <template v-if="getColumnState('bcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -203,12 +197,11 @@ ...@@ -203,12 +197,11 @@
</template> </template>
<template v-if="getColumnState('showorder')"> <template v-if="getColumnState('showorder')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -233,12 +226,11 @@ ...@@ -233,12 +226,11 @@
</template> </template>
<template v-if="getColumnState('createdate')"> <template v-if="getColumnState('createdate')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.createdate"></app-format-data> <app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.createdate"></app-format-data>
</template> </template>
...@@ -246,12 +238,11 @@ ...@@ -246,12 +238,11 @@
</template> </template>
<template v-if="getColumnState('updatedate')"> <template v-if="getColumnState('updatedate')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.updatedate"></app-format-data> <app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.updatedate"></app-format-data>
</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"
......
...@@ -23,12 +23,11 @@ ...@@ -23,12 +23,11 @@
</template> </template>
<template v-if="getColumnState('deptid')"> <template v-if="getColumnState('deptid')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.deptid}}</span> <span>{{row.deptid}}</span>
</template> </template>
...@@ -36,12 +35,11 @@ ...@@ -36,12 +35,11 @@
</template> </template>
<template v-if="getColumnState('deptcode')"> <template v-if="getColumnState('deptcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.deptcode}}</span> <span>{{row.deptcode}}</span>
</template> </template>
...@@ -49,12 +47,11 @@ ...@@ -49,12 +47,11 @@
</template> </template>
<template v-if="getColumnState('deptname')"> <template v-if="getColumnState('deptname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.deptname}}</span> <span>{{row.deptname}}</span>
</template> </template>
...@@ -62,12 +59,11 @@ ...@@ -62,12 +59,11 @@
</template> </template>
<template v-if="getColumnState('shortname')"> <template v-if="getColumnState('shortname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.shortname}}</span> <span>{{row.shortname}}</span>
</template> </template>
...@@ -75,12 +71,11 @@ ...@@ -75,12 +71,11 @@
</template> </template>
<template v-if="getColumnState('deptlevel')"> <template v-if="getColumnState('deptlevel')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.deptlevel}}</span> <span>{{row.deptlevel}}</span>
</template> </template>
...@@ -88,12 +83,11 @@ ...@@ -88,12 +83,11 @@
</template> </template>
<template v-if="getColumnState('bcode')"> <template v-if="getColumnState('bcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.bcode}}</span> <span>{{row.bcode}}</span>
</template> </template>
...@@ -101,12 +95,11 @@ ...@@ -101,12 +95,11 @@
</template> </template>
<template v-if="getColumnState('showorder')"> <template v-if="getColumnState('showorder')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.showorder}}</span> <span>{{row.showorder}}</span>
</template> </template>
...@@ -114,12 +107,11 @@ ...@@ -114,12 +107,11 @@
</template> </template>
<template v-if="getColumnState('createdate')"> <template v-if="getColumnState('createdate')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.createdate"></app-format-data> <app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.createdate"></app-format-data>
</template> </template>
...@@ -127,12 +119,11 @@ ...@@ -127,12 +119,11 @@
</template> </template>
<template v-if="getColumnState('updatedate')"> <template v-if="getColumnState('updatedate')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.updatedate"></app-format-data> <app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.updatedate"></app-format-data>
</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>
......
...@@ -23,12 +23,11 @@ ...@@ -23,12 +23,11 @@
</template> </template>
<template v-if="getColumnState('deptname')"> <template v-if="getColumnState('deptname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -45,12 +44,11 @@ ...@@ -45,12 +44,11 @@
</template> </template>
<template v-if="getColumnState('personname')"> <template v-if="getColumnState('personname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.personname}}</span> <span>{{row.personname}}</span>
</template> </template>
...@@ -58,12 +56,11 @@ ...@@ -58,12 +56,11 @@
</template> </template>
<template v-if="getColumnState('deptid')"> <template v-if="getColumnState('deptid')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
......
...@@ -23,12 +23,11 @@ ...@@ -23,12 +23,11 @@
</template> </template>
<template v-if="getColumnState('usercode')"> <template v-if="getColumnState('usercode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -53,12 +52,11 @@ ...@@ -53,12 +52,11 @@
</template> </template>
<template v-if="getColumnState('personname')"> <template v-if="getColumnState('personname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -83,12 +81,11 @@ ...@@ -83,12 +81,11 @@
</template> </template>
<template v-if="getColumnState('loginname')"> <template v-if="getColumnState('loginname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -113,12 +110,11 @@ ...@@ -113,12 +110,11 @@
</template> </template>
<template v-if="getColumnState('orgcode')"> <template v-if="getColumnState('orgcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.orgcode}}</span> <span>{{row.orgcode}}</span>
</template> </template>
...@@ -126,12 +122,11 @@ ...@@ -126,12 +122,11 @@
</template> </template>
<template v-if="getColumnState('orgname')"> <template v-if="getColumnState('orgname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -167,12 +162,11 @@ ...@@ -167,12 +162,11 @@
</template> </template>
<template v-if="getColumnState('mdeptcode')"> <template v-if="getColumnState('mdeptcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.mdeptcode}}</span> <span>{{row.mdeptcode}}</span>
</template> </template>
...@@ -180,12 +174,11 @@ ...@@ -180,12 +174,11 @@
</template> </template>
<template v-if="getColumnState('mdeptname')"> <template v-if="getColumnState('mdeptname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -221,12 +214,11 @@ ...@@ -221,12 +214,11 @@
</template> </template>
<template v-if="getColumnState('sex')"> <template v-if="getColumnState('sex')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -243,12 +235,11 @@ ...@@ -243,12 +235,11 @@
</template> </template>
<template v-if="getColumnState('phone')"> <template v-if="getColumnState('phone')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -273,12 +264,11 @@ ...@@ -273,12 +264,11 @@
</template> </template>
<template v-if="getColumnState('ipaddr')"> <template v-if="getColumnState('ipaddr')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
...@@ -303,12 +293,11 @@ ...@@ -303,12 +293,11 @@
</template> </template>
<template v-if="getColumnState('showorder')"> <template v-if="getColumnState('showorder')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template v-if="actualIsOpenEdit"> <template v-if="actualIsOpenEdit">
<i-form style="height:100%;" :model="row"> <i-form style="height:100%;" :model="row">
......
...@@ -23,12 +23,11 @@ ...@@ -23,12 +23,11 @@
</template> </template>
<template v-if="getColumnState('usercode')"> <template v-if="getColumnState('usercode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.usercode}}</span> <span>{{row.usercode}}</span>
</template> </template>
...@@ -36,12 +35,11 @@ ...@@ -36,12 +35,11 @@
</template> </template>
<template v-if="getColumnState('personname')"> <template v-if="getColumnState('personname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.personname}}</span> <span>{{row.personname}}</span>
</template> </template>
...@@ -49,12 +47,11 @@ ...@@ -49,12 +47,11 @@
</template> </template>
<template v-if="getColumnState('loginname')"> <template v-if="getColumnState('loginname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.loginname}}</span> <span>{{row.loginname}}</span>
</template> </template>
...@@ -62,12 +59,11 @@ ...@@ -62,12 +59,11 @@
</template> </template>
<template v-if="getColumnState('orgcode')"> <template v-if="getColumnState('orgcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.orgcode}}</span> <span>{{row.orgcode}}</span>
</template> </template>
...@@ -75,12 +71,11 @@ ...@@ -75,12 +71,11 @@
</template> </template>
<template v-if="getColumnState('orgname')"> <template v-if="getColumnState('orgname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.orgname}}</span> <span>{{row.orgname}}</span>
</template> </template>
...@@ -88,12 +83,11 @@ ...@@ -88,12 +83,11 @@
</template> </template>
<template v-if="getColumnState('mdeptcode')"> <template v-if="getColumnState('mdeptcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.mdeptcode}}</span> <span>{{row.mdeptcode}}</span>
</template> </template>
...@@ -101,12 +95,11 @@ ...@@ -101,12 +95,11 @@
</template> </template>
<template v-if="getColumnState('mdeptname')"> <template v-if="getColumnState('mdeptname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.mdeptname}}</span> <span>{{row.mdeptname}}</span>
</template> </template>
...@@ -114,12 +107,11 @@ ...@@ -114,12 +107,11 @@
</template> </template>
<template v-if="getColumnState('sex')"> <template v-if="getColumnState('sex')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<template > <template >
<codelist :value="row.sex" tag='CLIBZSex' codelistType='STATIC' ></codelist> <codelist :value="row.sex" tag='CLIBZSex' codelistType='STATIC' ></codelist>
...@@ -129,12 +121,11 @@ ...@@ -129,12 +121,11 @@
</template> </template>
<template v-if="getColumnState('phone')"> <template v-if="getColumnState('phone')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.phone}}</span> <span>{{row.phone}}</span>
</template> </template>
...@@ -142,12 +133,11 @@ ...@@ -142,12 +133,11 @@
</template> </template>
<template v-if="getColumnState('ipaddr')"> <template v-if="getColumnState('ipaddr')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.ipaddr}}</span> <span>{{row.ipaddr}}</span>
</template> </template>
...@@ -155,12 +145,11 @@ ...@@ -155,12 +145,11 @@
</template> </template>
<template v-if="getColumnState('showorder')"> <template v-if="getColumnState('showorder')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.showorder}}</span> <span>{{row.showorder}}</span>
</template> </template>
......
...@@ -23,12 +23,11 @@ ...@@ -23,12 +23,11 @@
</template> </template>
<template v-if="getColumnState('orgid')"> <template v-if="getColumnState('orgid')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.orgid}}</span> <span>{{row.orgid}}</span>
</template> </template>
...@@ -36,12 +35,11 @@ ...@@ -36,12 +35,11 @@
</template> </template>
<template v-if="getColumnState('orgcode')"> <template v-if="getColumnState('orgcode')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.orgcode}}</span> <span>{{row.orgcode}}</span>
</template> </template>
...@@ -49,12 +47,11 @@ ...@@ -49,12 +47,11 @@
</template> </template>
<template v-if="getColumnState('orgname')"> <template v-if="getColumnState('orgname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.orgname}}</span> <span>{{row.orgname}}</span>
</template> </template>
...@@ -62,12 +59,11 @@ ...@@ -62,12 +59,11 @@
</template> </template>
<template v-if="getColumnState('orglevel')"> <template v-if="getColumnState('orglevel')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.orglevel}}</span> <span>{{row.orglevel}}</span>
</template> </template>
...@@ -75,12 +71,11 @@ ...@@ -75,12 +71,11 @@
</template> </template>
<template v-if="getColumnState('shortname')"> <template v-if="getColumnState('shortname')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.shortname}}</span> <span>{{row.shortname}}</span>
</template> </template>
...@@ -88,12 +83,11 @@ ...@@ -88,12 +83,11 @@
</template> </template>
<template v-if="getColumnState('showorder')"> <template v-if="getColumnState('showorder')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<span>{{row.showorder}}</span> <span>{{row.showorder}}</span>
</template> </template>
...@@ -101,12 +95,11 @@ ...@@ -101,12 +95,11 @@
</template> </template>
<template v-if="getColumnState('createdate')"> <template v-if="getColumnState('createdate')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.createdate"></app-format-data> <app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.createdate"></app-format-data>
</template> </template>
...@@ -114,12 +107,11 @@ ...@@ -114,12 +107,11 @@
</template> </template>
<template v-if="getColumnState('updatedate')"> <template v-if="getColumnState('updatedate')">
<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>
<template v-slot="{row,column}"> <template v-slot="{row,column}">
<app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.updatedate"></app-format-data> <app-format-data format="YYYY-MM-DD hh:mm:ss" :data="row.updatedate"></app-format-data>
</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>
......
...@@ -125,10 +125,10 @@ public class IBZDepartmentResource { ...@@ -125,10 +125,10 @@ public class IBZDepartmentResource {
@RequestMapping(method = RequestMethod.PUT, value = "/ibzdepartments/{ibzdepartment_id}") @RequestMapping(method = RequestMethod.PUT, value = "/ibzdepartments/{ibzdepartment_id}")
@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);
} }
......
...@@ -52,10 +52,10 @@ public class IBZDeptMemberResource { ...@@ -52,10 +52,10 @@ public class IBZDeptMemberResource {
@RequestMapping(method = RequestMethod.PUT, value = "/ibzdeptmembers/{ibzdeptmember_id}") @RequestMapping(method = RequestMethod.PUT, value = "/ibzdeptmembers/{ibzdeptmember_id}")
@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);
...@@ -105,10 +106,10 @@ public class IBZEmployeeResource { ...@@ -105,10 +106,10 @@ public class IBZEmployeeResource {
@RequestMapping(method = RequestMethod.PUT, value = "/ibzemployees/{ibzemployee_id}") @RequestMapping(method = RequestMethod.PUT, value = "/ibzemployees/{ibzemployee_id}")
@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);
} }
......
...@@ -59,10 +59,10 @@ public class IBZOrganizationResource { ...@@ -59,10 +59,10 @@ public class IBZOrganizationResource {
@RequestMapping(method = RequestMethod.PUT, value = "/ibzorganizations/{ibzorganization_id}") @RequestMapping(method = RequestMethod.PUT, value = "/ibzorganizations/{ibzorganization_id}")
@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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册