From 5ee9baa45f4090425ded1f7236e46c1a86b0d9cb Mon Sep 17 00:00:00 2001 From: zmk <496160012@qq.com> Date: 星期二, 28 五月 2024 18:07:26 +0800 Subject: [PATCH] 提交代码 --- javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/info.html | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 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 15c7106..b528a47 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 @@ -149,7 +149,7 @@ </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> @@ -221,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(); }); @@ -303,6 +312,7 @@ el: "#app", data() { return { + holeProcess:"", project: "", holeData: [], tubLogs:[], -- Gitblit v1.9.1