From 80125173e0051ffdd9914d33586b739e80362e78 Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期四, 23 五月 2024 17:48:09 +0800
Subject: [PATCH] Merge branch 'master' of ssh://117.78.1.188:29418/dkyChenJiang

---
 javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/infocopy.html |  178 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 178 insertions(+), 0 deletions(-)

diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/infocopy.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/infocopy.html
new file mode 100644
index 0000000..32e3404
--- /dev/null
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/infocopy.html
@@ -0,0 +1,178 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('鍩烘湰淇℃伅')" />
+    <th:block th:include="include :: datetimepicker-css" />
+    <style type="text/css">
+        * {
+            padding: 0px;
+            margin: 0px;
+            box-sizing: border-box;
+            user-select: none;
+        }
+
+        html,
+        body {
+            height: 100%;
+        }
+
+        #container {
+            height: 100%;
+            padding: 20px;
+        }
+
+        .basic-info {
+            border-collapse: collapse;
+            width: 100%;
+           
+        }
+
+        .basic-info td {
+            border: 1px solid #8080807a;
+            padding: 8px 0px 8px 5px;
+        }
+        
+        .project-name{
+        	font-size: 16px;
+        }
+        
+        .map-model{
+        	margin-top: 10px;
+        	text-align: right;
+        }
+        
+        .map-model button{
+        	background-color: rgb(66,139,202);
+		    height: 30px;
+		    line-height: 30px;
+		    color: white;
+		    padding: 0px 10px;
+		    border-width: 0px;
+		    border-radius: 3px;	
+        }
+    </style>
+</head>
+<body class="white-bg">
+    <div id="container">
+
+        <div class="row">
+            <p class="project-name">
+                 <h3>鍦哄湴淇℃伅</h3>
+<!--                <span class="name-label">鍦哄湴鍚嶇О锛�</span>-->
+<!--                <span class="name-val" th:text="${project.fullName}"></span>-->
+            </p>
+            <table class="basic-info">
+                <tr>
+                    <td>寤鸿鍗曚綅锛�</td>
+                    <td colspan="3" th:text="${project.companyName}"></td>
+                    <td>鍔冲姟鍗曚綅锛�</td>
+                    <td colspan="3" th:text="${project.laborUnit}"></td>
+                </tr>
+                <tr>
+                    <td>寤鸿鍦扮偣锛�</td>
+                    <td colspan="7" th:text="${project.address}"></td>
+                </tr>
+                <tr>
+                    <td>鍦哄湴鍚嶇О锛�</td>
+                    <td colspan="5" th:text="${project.fullName}"></td>
+                    <td>鍦哄湴缂栧彿锛�</td>
+                    <td th:text="${project.code}"></td>
+                </tr>
+                <tr>
+                    <td>閽诲瓟涓暟锛�</td>
+                    <td th:text="${project.holeNum}"></td>
+                    <td>寮�濮嬫椂闂达細</td>
+                    <td th:text="${#dates.format(project.createTime,'yyyy-MM-dd')}"></td>
+                    <td>缁堟鏃堕棿锛�</td>
+                    <td th:text="${#dates.format(project.endTime,'yyyy-MM-dd')}"></td>
+                    <td>璐熻矗浜猴細</td>
+                    <td th:text="${project.leaderName}"></td>
+                </tr>
+            </table>
+            <!--        <div class="map-model">-->
+            <!--        	<button onclick="map()" type="button">鍦板浘妯″紡</button>-->
+            <!--        </div>-->
+        </div>
+
+        <div class="row" style="margin-top: 30px;">
+            <h3>鍦哄湴閽诲瓟鍒楄〃</h3>
+        </div>
+        <div class="row">
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: datetimepicker-js" />
+
+   <script th:inline="javascript">
+        var project =[[${project}]];
+        var projectId=[[${projectId}]];
+        var statusDatas = [[${@dict.getType('hole_status')}]];
+        var prefix = ctx + "geo/hole";
+
+        $(function() {
+            var options = {
+                url: prefix + "/list?projectId=" + projectId,
+                modalName: "閽诲瓟",
+                columns: [
+                    {
+                        field : 'code',
+                        title : '閽诲瓟缂栧彿'
+                    },
+                    {
+                        field : 'elevation',
+                        title : '瀛斿彛楂樼▼锛坢锛�'
+                    },
+                    {
+                        field : 'depth',
+                        title : '璁捐瀛旀繁锛坢锛�'
+                    },
+                    {
+                        field : 'longitude',
+                        title : '閽诲瓟缁忓害',
+                        visible: false
+                    },
+                    {
+                        field : 'latitude',
+                        title : '閽诲瓟绾害',
+                        visible: false
+                    },
+                    {
+                        field : 'status',
+                        title : '閽诲瓟鐘舵��',
+                        formatter: function(value, row, index) {
+                            return $.table.selectDictLabel(statusDatas, value);
+                        }
+                    },
+                    {
+                        field : 'footage',
+                        title : '鎬昏繘灏猴紙m锛�',
+                    },
+                    {
+                        field : 'footageCpl',
+                        title : '宸插畬鎴愯繘灏猴紙m锛�',
+                    },
+                    {
+                        field : 'rate',
+                        title : '瀹屾垚杩涘害(%)',
+                        formatter: function(value, row, index) {
+                            if (row.rate !=null){
+                                return (row.rate*100).toFixed(2) + "%";
+                            }else{
+                                return "0%";
+                            }
+                        }
+                    }
+                ]
+            };
+            $.table.init(options);
+        });
+        //
+	    // function map(){
+	    //    parent.$.modal.openTab("椤圭洰鍦板浘",ctx+"/geo/projectwork/map?id=" + project.ids);
+	    // }
+    </script>
+</body>
+</html>
\ No newline at end of file

--
Gitblit v1.9.1