This commit is contained in:
dong_bo0602 2021-06-17 10:32:45 +08:00
parent 1d4d318eae
commit 373eb6b857
3 changed files with 30 additions and 9 deletions

View File

@ -102,7 +102,7 @@
.chart{width:260px;height:170px;margin-top:10px} .chart{width:260px;height:170px;margin-top:10px}
.count-container{width:900px} .count-container{width:900px}
.count-out{margin-top:30px} .count-out{margin-top:30px}
.count-box{float:left;width:210px;height:115px;padding:20px 20px 30px 100px;box-sizing:border-box;text-align:right;margin-right:15px} .count-box{float:left;width:210px;height:115px;padding:20px 20px 30px 100px;cursor:pointer;box-sizing:border-box;text-align:right;margin-right:15px}
.count-box:first-child{background:url(../images/count-icon1.png) no-repeat center;background-size:100% 100%} .count-box:first-child{background:url(../images/count-icon1.png) no-repeat center;background-size:100% 100%}
.count-box:nth-child(2){background:url(../images/count-icon2.png) no-repeat center;background-size:100% 100%} .count-box:nth-child(2){background:url(../images/count-icon2.png) no-repeat center;background-size:100% 100%}
.count-box:nth-child(3){background:url(../images/count-icon3.png) no-repeat center;background-size:100% 100%} .count-box:nth-child(3){background:url(../images/count-icon3.png) no-repeat center;background-size:100% 100%}

View File

@ -92,19 +92,19 @@
<div class="count-container fr"> <div class="count-container fr">
<div class="count-title">指标状态统计</div> <div class="count-title">指标状态统计</div>
<div class="count-out clearFloat" v-cloak> <div class="count-out clearFloat" v-cloak>
<div class="count-box"> <div class="count-box" @click="openCountDetail('route/indexaudit/list_1.html')">
<span>{{countInfo.count1}}</span> <span>{{countInfo.count1}}</span>
<p>未审核</p> <p>未审核</p>
</div> </div>
<div class="count-box"> <div class="count-box" @click="openCountDetail('route/indexaudit/list_2.html')">
<span>{{countInfo.count2}}</span> <span>{{countInfo.count2}}</span>
<p>审核通过</p> <p>审核通过</p>
</div> </div>
<div class="count-box"> <div class="count-box" @click="openCountDetail('route/indexaudit/list_3.html')">
<span>{{countInfo.count3}}</span> <span>{{countInfo.count3}}</span>
<p>归档</p> <p>归档</p>
</div> </div>
<div class="count-box"> <div class="count-box" @click="openCountDetail('route/indexaudit/list_4.html')">
<span>{{countInfo.count4}}</span> <span>{{countInfo.count4}}</span>
<p>审核不通过</p> <p>审核不通过</p>
</div> </div>
@ -283,7 +283,8 @@
bottomNavList: [], bottomNavList: [],
countInfo: {}, countInfo: {},
initLeft: '', initLeft: '',
curContentId: '' curContentId: '',
departmentId: ''
}, },
methods: { methods: {
// 饼图 // 饼图
@ -501,6 +502,23 @@
}, function() { }, function() {
// layer.close(loadLayerIndex); // layer.close(loadLayerIndex);
}); });
},
// 未审核
openCountDetail: function (path) {
var self = this
var id = this.pageId
layer.open({
type: 2,
title: false,
closeBtn: true,
area: ['70%', '70%'],
shadeClose: true,
anim: 2,
content: top.restAjax.path(path + '?indexLibIdParentId=' + '{id}' + '&departmentId=' + self.departmentId, [id]),
end: function() {
// self.getMainList(self.curId)
}
});
} }
}, },
mounted: function () { mounted: function () {
@ -513,6 +531,9 @@
} else { } else {
this.initLeft = '' this.initLeft = ''
} }
if (restAjax.params(window.location.href).departmentId) {
this.departmentId = restAjax.params(window.location.href).departmentId
}
this.getNav() this.getNav()
// this.getTopNav() // this.getTopNav()
this.getGateNav() this.getGateNav()

View File

@ -90,13 +90,13 @@
<div class="type-title">信息类目</div> <div class="type-title">信息类目</div>
<ul> <ul>
<li> <li>
<a href="route/web/public.html?id=6f0ec363-49a9-4174-a48f-290b69495dfc">四个清单</a> <a :href="'route/web/public.html?id=6f0ec363-49a9-4174-a48f-290b69495dfc&departmentId=' + departmentId">四个清单</a>
</li> </li>
<li> <li>
<a href="route/web/public.html?id=cdd5ffd5-ebd7-4901-afce-f2e98d506c97">五项流程</a> <a :href="'route/web/public.html?id=cdd5ffd5-ebd7-4901-afce-f2e98d506c97&departmentId=' + departmentId">五项流程</a>
</li> </li>
<li> <li>
<a href="route/web/public.html?id=c912f0ff-d1e6-4346-a0cd-c955ea559a0b">六本台账</a> <a :href="'route/web/public.html?id=c912f0ff-d1e6-4346-a0cd-c955ea559a0b&departmentId=' + departmentId">六本台账</a>
</li> </li>
</ul> </ul>
</div> </div>