This commit is contained in:
dong_bo0602 2021-06-18 10:32:03 +08:00
parent a04dc526b2
commit d15668dfb3

View File

@ -93,19 +93,19 @@
<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" @click="openCountDetail('route/indexaudit/list_1.html')"> <div class="count-box" @click="openCountDetail('route/indexaudit/list_1.html')">
<span>{{countInfo.count1}}</span> <span>{{countInfo.checkPendingNum}}</span>
<p>未审核</p> <p>未审核</p>
</div> </div>
<div class="count-box" @click="openCountDetail('route/indexaudit/list_2.html')"> <div class="count-box" @click="openCountDetail('route/indexaudit/list_2.html')">
<span>{{countInfo.count2}}</span> <span>{{countInfo.checkPassNum}}</span>
<p>审核通过</p> <p>审核通过</p>
</div> </div>
<div class="count-box" @click="openCountDetail('route/indexaudit/list_3.html')"> <div class="count-box" @click="openCountDetail('route/indexaudit/list_3.html')">
<span>{{countInfo.count3}}</span> <span>{{countInfo.checkArchivesNum}}</span>
<p>归档</p> <p>归档</p>
</div> </div>
<div class="count-box" @click="openCountDetail('route/indexaudit/list_4.html')"> <div class="count-box" @click="openCountDetail('route/indexaudit/list_4.html')">
<span>{{countInfo.count4}}</span> <span>{{countInfo.checkNoPassNum}}</span>
<p>审核不通过</p> <p>审核不通过</p>
</div> </div>
</div> </div>
@ -308,10 +308,10 @@
center: ['70%', '50%'], center: ['70%', '50%'],
selectedMode: 'single', selectedMode: 'single',
data: [ data: [
{value: self.countInfo.count1, name: '未审核',}, {value: self.countInfo.checkPendingNum, name: '未审核',},
{value: self.countInfo.count2, name: '审核通过',}, {value: self.countInfo.checkPassNum, name: '审核通过',},
{value: self.countInfo.count3, name: '归档',}, {value: self.countInfo.checkArchivesNum, name: '归档',},
{value: self.countInfo.count4, name: '审核不通过',} {value: self.countInfo.checkNoPassNum, name: '审核不通过',}
], ],
label: { label: {
normal: { normal: {
@ -505,7 +505,11 @@
// 获取统计信息 // 获取统计信息
getCount: function () { getCount: function () {
var self = this 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.countInfo = data
self.initChart() self.initChart()
}, function(code, data) { }, function(code, data) {