|
@@ -150,15 +150,6 @@
|
|
@click="handleLeft"
|
|
@click="handleLeft"
|
|
>{{ $t('离职名单') }}</el-button>
|
|
>{{ $t('离职名单') }}</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="1.5">
|
|
|
|
- <el-button
|
|
|
|
- type="success"
|
|
|
|
- icon="el-icon-user"
|
|
|
|
- size="mini"
|
|
|
|
- @click="handleSuccessor"
|
|
|
|
- v-hasPermi="['system:user:export']"
|
|
|
|
- >{{ $t('继任者清单') }}</el-button>
|
|
|
|
- </el-col>
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
@@ -546,22 +537,6 @@
|
|
<el-button @click="left.open = false">{{ $t('返 回') }}</el-button>
|
|
<el-button @click="left.open = false">{{ $t('返 回') }}</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <!-- 继任者清单 -->
|
|
|
|
- <el-dialog v-loading="loading" title="继任者清单" :visible.sync="successor.open" width="650px" append-to-body custom-class="successorDialog">
|
|
|
|
- <el-table :data="successorList">
|
|
|
|
- <el-table-column property="post" label="岗位" align="center" width="150"></el-table-column>
|
|
|
|
- <el-table-column property="currentPerson" label="当前人员" align="center" width="150"></el-table-column>
|
|
|
|
- <el-table-column property="successor1" label="继任者1号" align="center" width="150"></el-table-column>
|
|
|
|
- <el-table-column property="successor2" label="继任者2号" align="center" width="150"></el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
- <pagination
|
|
|
|
- v-show="total>0"
|
|
|
|
- :total="total"
|
|
|
|
- :page.sync="querySuccessorParams.pageNum"
|
|
|
|
- :limit.sync="querySuccessorParams.pageSize"
|
|
|
|
- @pagination="getSuccessorList"
|
|
|
|
- />
|
|
|
|
- </el-dialog>
|
|
|
|
<el-drawer
|
|
<el-drawer
|
|
:title="$t('数据分析')"
|
|
:title="$t('数据分析')"
|
|
size="600px"
|
|
size="600px"
|
|
@@ -606,17 +581,7 @@
|
|
</el-drawer>
|
|
</el-drawer>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
-<style>
|
|
|
|
-.successorDialog {
|
|
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- margin:0 !important;
|
|
|
|
- position:absolute;
|
|
|
|
- top:30%;
|
|
|
|
- left:50%;
|
|
|
|
- transform:translate(-50%,-50%);
|
|
|
|
-}
|
|
|
|
-</style>
|
|
|
|
|
|
+
|
|
<script>
|
|
<script>
|
|
import { listStaffmgr, listpIdStaffmgr, listLeftStaffmgr, getStaffmgr, delStaffmgr, delLeftStaffmgr,reLeftStaffmgr ,addStaffmgr, updateStaffmgr, exportStaffmgr } from "@/api/plant/staffmgr";
|
|
import { listStaffmgr, listpIdStaffmgr, listLeftStaffmgr, getStaffmgr, delStaffmgr, delLeftStaffmgr,reLeftStaffmgr ,addStaffmgr, updateStaffmgr, exportStaffmgr } from "@/api/plant/staffmgr";
|
|
import { allFileList, listCommonfile, getCommonfile, delCommonfile, addCommonfile, updateCommonfile, exportCommonfile} from "@/api/common/commonfile";
|
|
import { allFileList, listCommonfile, getCommonfile, delCommonfile, addCommonfile, updateCommonfile, exportCommonfile} from "@/api/common/commonfile";
|
|
@@ -778,15 +743,6 @@
|
|
querypIdParams: {
|
|
querypIdParams: {
|
|
units: '10,18',
|
|
units: '10,18',
|
|
},
|
|
},
|
|
- // 继任者查询参数
|
|
|
|
- querySuccessorParams: {
|
|
|
|
- pageNum: 1,
|
|
|
|
- pageSize: 10,
|
|
|
|
- post: undefined
|
|
|
|
- },
|
|
|
|
- successor: {
|
|
|
|
- open: false,
|
|
|
|
- },
|
|
|
|
educations: [],
|
|
educations: [],
|
|
units: [],
|
|
units: [],
|
|
teams: [],
|
|
teams: [],
|
|
@@ -887,16 +843,6 @@
|
|
this.deptOptions = response.data;
|
|
this.deptOptions = response.data;
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- /** 查询继任者列表 */
|
|
|
|
- getSuccessorList() {
|
|
|
|
- this.loading = true;
|
|
|
|
- listSuccessorUser(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
|
|
|
|
- this.userList = response.rows;
|
|
|
|
- this.total = response.total;
|
|
|
|
- this.loading = false;
|
|
|
|
- }
|
|
|
|
- );
|
|
|
|
- },
|
|
|
|
/** 转换目标录入数据结构 */
|
|
/** 转换目标录入数据结构 */
|
|
normalizer(node) {
|
|
normalizer(node) {
|
|
if (node.children && !node.children.length) {
|
|
if (node.children && !node.children.length) {
|
|
@@ -1230,10 +1176,6 @@
|
|
this.dialogImageUrl = file.url;
|
|
this.dialogImageUrl = file.url;
|
|
this.dialogVisible = true;
|
|
this.dialogVisible = true;
|
|
},
|
|
},
|
|
- /** 继任者清单按钮操作 */
|
|
|
|
- handleSuccessor() {
|
|
|
|
- this.successor.open=true;
|
|
|
|
- },
|
|
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|