0618
This commit is contained in:
parent
a04dc526b2
commit
d15668dfb3
@ -93,19 +93,19 @@
|
||||
<div class="count-title">指标状态统计</div>
|
||||
<div class="count-out clearFloat" v-cloak>
|
||||
<div class="count-box" @click="openCountDetail('route/indexaudit/list_1.html')">
|
||||
<span>{{countInfo.count1}}</span>
|
||||
<span>{{countInfo.checkPendingNum}}</span>
|
||||
<p>未审核</p>
|
||||
</div>
|
||||
<div class="count-box" @click="openCountDetail('route/indexaudit/list_2.html')">
|
||||
<span>{{countInfo.count2}}</span>
|
||||
<span>{{countInfo.checkPassNum}}</span>
|
||||
<p>审核通过</p>
|
||||
</div>
|
||||
<div class="count-box" @click="openCountDetail('route/indexaudit/list_3.html')">
|
||||
<span>{{countInfo.count3}}</span>
|
||||
<span>{{countInfo.checkArchivesNum}}</span>
|
||||
<p>归档</p>
|
||||
</div>
|
||||
<div class="count-box" @click="openCountDetail('route/indexaudit/list_4.html')">
|
||||
<span>{{countInfo.count4}}</span>
|
||||
<span>{{countInfo.checkNoPassNum}}</span>
|
||||
<p>审核不通过</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -308,10 +308,10 @@
|
||||
center: ['70%', '50%'],
|
||||
selectedMode: 'single',
|
||||
data: [
|
||||
{value: self.countInfo.count1, name: '未审核',},
|
||||
{value: self.countInfo.count2, name: '审核通过',},
|
||||
{value: self.countInfo.count3, name: '归档',},
|
||||
{value: self.countInfo.count4, name: '审核不通过',}
|
||||
{value: self.countInfo.checkPendingNum, name: '未审核',},
|
||||
{value: self.countInfo.checkPassNum, name: '审核通过',},
|
||||
{value: self.countInfo.checkArchivesNum, name: '归档',},
|
||||
{value: self.countInfo.checkNoPassNum, name: '审核不通过',}
|
||||
],
|
||||
label: {
|
||||
normal: {
|
||||
@ -505,7 +505,11 @@
|
||||
// 获取统计信息
|
||||
getCount: function () {
|
||||
var self = this
|
||||
top.restAjax.get(top.restAjax.path('api/indexlib/countIndexLib/{indexLibParentId}', [self.curId]), {}, null, function(code, data) {
|
||||
top.restAjax.get(top.restAjax.path('api/indexaudit/count-auth', []), {
|
||||
indexLibIdParentId: self.curId,
|
||||
departmentId: self.departmentId
|
||||
}, null, function(code, data) {
|
||||
console.log(data)
|
||||
self.countInfo = data
|
||||
self.initChart()
|
||||
}, function(code, data) {
|
||||
|
Loading…
Reference in New Issue
Block a user