2021-06-10 18:12:37 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
|
|
|
|
<head>
|
|
|
|
|
<base href="/twoduty/">
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<title>乡镇街道综合办公平台</title>
|
|
|
|
|
<link rel="stylesheet" href="assets/web/css/reset.css">
|
|
|
|
|
<link rel="stylesheet" href="assets/web/css/style.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body style="background: #f4f4f4">
|
|
|
|
|
<div id="app">
|
|
|
|
|
<div class="header assessment-header">
|
|
|
|
|
<div class="banner">
|
|
|
|
|
<img src="assets/web/images/assessment-banner1.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="nav child">
|
|
|
|
|
<ul class="clearFloat" v-cloak>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="indexweb">
|
|
|
|
|
<div class="left fl">
|
|
|
|
|
<span>首页</span>
|
|
|
|
|
<p>乡镇街道综合办公平台</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right fr">
|
|
|
|
|
<img src="assets/web/images/nav-icon1.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="route/web/notice.html">
|
|
|
|
|
<div class="left fl">
|
|
|
|
|
<span>相关通知</span>
|
|
|
|
|
<p>各部门通知公告</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right fr">
|
|
|
|
|
<img src="assets/web/images/nav-icon2.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2021-06-16 10:40:10 +08:00
|
|
|
|
<li>
|
2021-06-10 18:12:37 +08:00
|
|
|
|
<a href="route/web/public.html?id=6f0ec363-49a9-4174-a48f-290b69495dfc">
|
|
|
|
|
<div class="left fl">
|
|
|
|
|
<span>四个清单</span>
|
|
|
|
|
<p>四个清单</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right fr">
|
|
|
|
|
<img src="assets/web/images/nav-icon3.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2021-06-16 10:40:10 +08:00
|
|
|
|
<li>
|
2021-06-10 18:12:37 +08:00
|
|
|
|
<a href="route/web/public.html?id=cdd5ffd5-ebd7-4901-afce-f2e98d506c97">
|
|
|
|
|
<div class="left fl">
|
|
|
|
|
<span>五项流程</span>
|
|
|
|
|
<p>五项流程</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right fr">
|
|
|
|
|
<img src="assets/web/images/nav-icon5.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2021-06-16 10:40:10 +08:00
|
|
|
|
<li>
|
2021-06-10 18:12:37 +08:00
|
|
|
|
<a href="route/web/public.html?id=c912f0ff-d1e6-4346-a0cd-c955ea559a0b">
|
|
|
|
|
<div class="left fl">
|
|
|
|
|
<span>六本台账</span>
|
|
|
|
|
<p>六本台账</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right fr">
|
|
|
|
|
<img src="assets/web/images/nav-icon3.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<!-- <li>-->
|
|
|
|
|
<!-- <a href="route/web/assessment.html">-->
|
|
|
|
|
<!-- <div class="left fl">-->
|
|
|
|
|
<!-- <span>记实考核</span>-->
|
|
|
|
|
<!-- <p>各类记实考核</p>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div class="right fr">-->
|
|
|
|
|
<!-- <img src="assets/web/images/nav-icon4.png" alt="">-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </a>-->
|
|
|
|
|
<!-- </li>-->
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="leader">
|
|
|
|
|
<div class="leader-title">
|
|
|
|
|
<span>领导班子</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="leader-list">
|
|
|
|
|
<ul class="clearFloat" v-cloak>
|
|
|
|
|
<li v-for="leader in leaderList">
|
2021-06-16 10:40:10 +08:00
|
|
|
|
<a :href="'route/web/leader-detail.html?userId=' + leader.departmentMemberId">
|
2021-06-10 18:12:37 +08:00
|
|
|
|
<div class="avatar-leader">
|
2021-06-16 10:40:10 +08:00
|
|
|
|
<img :src="'route/file/download/true/' + leader.departmentMemberPhoto" alt="" v-if="leader.departmentMemberPhoto" class="avatar">
|
2021-06-10 18:12:37 +08:00
|
|
|
|
<img src="assets/web/images/default-avatar.png" alt="" v-else class="default-avatar">
|
|
|
|
|
</div>
|
2021-06-16 10:40:10 +08:00
|
|
|
|
<span>{{leader.departmentMemberName}}</span>
|
|
|
|
|
<p>{{leader.departmentMemberPosition}}</p>
|
2021-06-10 18:12:37 +08:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
2021-06-16 10:40:10 +08:00
|
|
|
|
<div class="pager leader-pager" v-if="page.totalPage > 1" v-cloak>
|
|
|
|
|
<span @click="paging(1)">首页</span>
|
|
|
|
|
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
|
|
|
|
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
|
|
|
|
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
|
|
|
|
{{cpage}}
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<ul v-if="page.totalPage > 5">
|
|
|
|
|
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
|
|
|
|
{{cpage}}
|
|
|
|
|
</li>
|
|
|
|
|
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
|
|
|
|
{{page.totalPage - 5 + cpage}}
|
|
|
|
|
</li>
|
|
|
|
|
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
|
|
|
|
{{page.page - (3 - cpage)}}
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
|
|
|
|
<span @click="paging(page.totalPage)">尾页</span>
|
|
|
|
|
</div>
|
2021-06-10 18:12:37 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-06-16 10:40:10 +08:00
|
|
|
|
<div class="loading" v-if="isLoading">
|
|
|
|
|
<img src="assets/web/images/loading.gif" alt="">
|
|
|
|
|
</div>
|
2021-06-10 18:12:37 +08:00
|
|
|
|
|
|
|
|
|
<div class="footer">
|
|
|
|
|
<!-- 版权所有:杭锦旗纪委监察局 备案号:蒙ICP备 14000612 技术支持:内蒙古成迈信息科技有限公司(0471-5316868)-->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script src="assets/web/js/jquery-2.1.4.min.js"></script>
|
|
|
|
|
<script src="assets/web/js/jquery.SuperSlide.2.1.1.js"></script>
|
|
|
|
|
<script src="assets/web/js/vue.js"></script>
|
|
|
|
|
<script src="assets/web/js/ajax.js"></script>
|
|
|
|
|
<script src="assets/js/restajax.js"></script>
|
|
|
|
|
<script src="assets/web/layer-v3.3.0/layer/layer.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
var vue = new Vue({
|
|
|
|
|
el: '#app',
|
|
|
|
|
data: {
|
|
|
|
|
departmentId: '',
|
2021-06-16 10:40:10 +08:00
|
|
|
|
leaderList: [],
|
|
|
|
|
page: {
|
|
|
|
|
page: 1,
|
|
|
|
|
rows: 10,
|
|
|
|
|
totalPage: 1,
|
|
|
|
|
departmentId: ''
|
|
|
|
|
},
|
|
|
|
|
isLoading: false
|
2021-06-10 18:12:37 +08:00
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getLeader: function () {
|
|
|
|
|
var self = this
|
2021-06-16 10:40:10 +08:00
|
|
|
|
self.isLoading = true
|
|
|
|
|
top.restAjax.get(top.restAjax.path('api/departmentmember/list-page-departmentid', []), self.page, null, function(code, data) {
|
|
|
|
|
self.leaderList = data.rows
|
|
|
|
|
self.page.page = data.page
|
|
|
|
|
self.page.totalPage = Math.ceil(data.total / self.page.rows)
|
|
|
|
|
self.isLoading = false
|
2021-06-10 18:12:37 +08:00
|
|
|
|
}, function(code, data) {
|
|
|
|
|
layer.msg(data.msg);
|
|
|
|
|
}, function() {
|
|
|
|
|
// loadLayerIndex1 = layer.load(0, {shade: false});
|
|
|
|
|
}, function() {
|
|
|
|
|
// layer.close(loadLayerIndex1);
|
|
|
|
|
});
|
2021-06-16 10:40:10 +08:00
|
|
|
|
},
|
|
|
|
|
paging: function (page) {
|
|
|
|
|
if (!this.isLoading) {
|
|
|
|
|
this.page.page = page
|
|
|
|
|
this.getLeader()
|
|
|
|
|
}
|
2021-06-10 18:12:37 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted: function () {
|
2021-06-16 10:40:10 +08:00
|
|
|
|
this.page.departmentId = restAjax.params(window.location.href).departmentId
|
2021-06-10 18:12:37 +08:00
|
|
|
|
this.getLeader()
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|