From 3f1889e77f861a8284770c85bdd83204f6863f39 Mon Sep 17 00:00:00 2001 From: zmk <496160012@qq.com> Date: 星期二, 28 五月 2024 18:07:43 +0800 Subject: [PATCH] Merge branch 'master' of ssh://117.78.1.188:29418/dkyChenJiang --- javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/info.html | 28 +++++++++++++++++++++++++--- 1 files changed, 25 insertions(+), 3 deletions(-) diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/info.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/info.html index 67711b1..aa84e43 100644 --- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/info.html +++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/info.html @@ -77,6 +77,7 @@ </template> {{project.code}} </el-descriptions-item> + <el-descriptions-item> <template slot="label"> <i class="el-icon-map-location"></i> @@ -148,12 +149,15 @@ </div> <div> <div style="padding-left: 20%;"> - <el-progress type="dashboard" color="#FF0000" :percentage="50"> + <el-progress type="dashboard" color="#FF0000" :percentage=holeProcess> </el-progress> </div> </div> </el-card> </el-col> + + + </el-row> <el-row style="height: 200px;"> <el-col :span="24"> @@ -217,12 +221,21 @@ var prefix2 = ctx + "geo/TubLog"; $(function() { + //鍦哄湴閽诲瓟鍒楄〃 var url = prefix + "/holelist?projectId=" + projectId; $.ajaxSettings.async = false; $.get(url,{},function(res){ vm.holeData = res.data; }); vm.project = project; + //鍦哄湴杩涘害 + var url2 = prefix + "/holeProcess?projectId=" + projectId; + $.ajaxSettings.async = false; + $.get(url2,{},function(res){ + vm.holeProcess = (res.data*100).toFixed(0); + alert(vm.holeProcess); + }); + tubLogs(); }); @@ -260,7 +273,11 @@ emphasis: { focus: 'series' }, - data: [] + data: [], + itemStyle: { + // 淇敼鏌卞瓙鐨勯鑹� + color: '#e2b507' + } }, { name: '鍏ュ簱', @@ -269,7 +286,11 @@ emphasis: { focus: 'series' }, - data: [] + data: [], + itemStyle: { + // 淇敼鏌卞瓙鐨勯鑹� + color: '#2992c6' + } }, ] @@ -299,6 +320,7 @@ el: "#app", data() { return { + holeProcess:"", project: "", holeData: [], tubLogs:[], -- Gitblit v1.9.1