浏览代码

Merge branch 'develop3.0-tmd' of http://106.12.23.251:10080/TEAMMODEL/TEAMModelOS into develop3.0-tmd

zhouj1203@hotmail.com 4 年之前
父节点
当前提交
5984682e7f
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      TEAMModelOS/ClientApp/src/components/questionnaire/BaseProgress.vue

+ 6 - 1
TEAMModelOS/ClientApp/src/components/questionnaire/BaseProgress.vue

@@ -30,7 +30,12 @@
 						left: 'center',
 						top: 'center'
 					},
-					tooltip: {},
+					tooltip: {
+						trigger: 'item',
+						formatter: function(params) {
+							return `问卷完成度:${ (((that.total - that.noAnswerdCount) / that.total) * 100).toFixed(2) }%`
+						}
+					},
 					angleAxis: {
 						max: 100,
 						clockwise: false, // 逆时针