From d15668dfb3cd7770363282255539149c7cce2657 Mon Sep 17 00:00:00 2001
From: dong_bo0602 <358256383@qq.com>
Date: Fri, 18 Jun 2021 10:32:03 +0800
Subject: [PATCH] 0618
---
.../resources/static/route/web/public.html | 22 +++++++++++--------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/src/main/resources/static/route/web/public.html b/src/main/resources/static/route/web/public.html
index 448e98e..601b6b1 100644
--- a/src/main/resources/static/route/web/public.html
+++ b/src/main/resources/static/route/web/public.html
@@ -93,19 +93,19 @@
指标状态统计
-
{{countInfo.count1}}
+
{{countInfo.checkPendingNum}}
未审核
-
{{countInfo.count2}}
+
{{countInfo.checkPassNum}}
审核通过
-
{{countInfo.count3}}
+
{{countInfo.checkArchivesNum}}
归档
-
{{countInfo.count4}}
+
{{countInfo.checkNoPassNum}}
审核不通过
@@ -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) {