|
@@ -1,8 +1,9 @@
|
|
|
<template>
|
|
|
- <div id="declareElementsModal">
|
|
|
+ <div id="declareElementsModal" ref="declareElementsModal">
|
|
|
<a-modal
|
|
|
title="人员档案"
|
|
|
v-model="declareElementsModVis"
|
|
|
+ :getContainer ='()=>$refs.declareElementsModal'
|
|
|
@cancel="handleCancel"
|
|
|
width="80%"
|
|
|
style="top:330px;left:100px;"
|
|
@@ -20,7 +21,7 @@
|
|
|
:data-source="declareElementsData"
|
|
|
:rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
|
|
:pagination="false"
|
|
|
- :scroll="{y: 300}"
|
|
|
+ :scroll="{y:300}"
|
|
|
>
|
|
|
|
|
|
</a-table>
|
|
@@ -74,13 +75,13 @@ export default {
|
|
|
{
|
|
|
title: '员工姓名',
|
|
|
dataIndex: 'realname',
|
|
|
- width: 90,
|
|
|
+ width:'48%',
|
|
|
className: 'replacecolor',
|
|
|
},
|
|
|
{
|
|
|
title: '岗位',
|
|
|
dataIndex: 'post',
|
|
|
- width: 90,
|
|
|
+ width:'50%',
|
|
|
className: 'replacecolor',
|
|
|
},
|
|
|
],
|
|
@@ -160,9 +161,15 @@ export default {
|
|
|
background-color: #f0f2f5;
|
|
|
}
|
|
|
/deep/ .ant-modal-body {
|
|
|
- padding: 10px;
|
|
|
+ // padding: 10px;
|
|
|
+ margin:0 !important;
|
|
|
+ margin-left: 0px !important;
|
|
|
}
|
|
|
/deep/.ant-form-item{
|
|
|
margin-bottom: 0px !important;
|
|
|
+}
|
|
|
+ /deep/.ant-modal{
|
|
|
+ top: 106px !important;
|
|
|
+ left: 10px !important;
|
|
|
}
|
|
|
</style>
|