From 98b1fc47a5c40422a7289c9ac10960f26f742d93 Mon Sep 17 00:00:00 2001
From: chenhuan <czj123456>
Date: 星期四, 16 五月 2024 15:44:03 +0800
Subject: [PATCH] druid
---
javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html | 71 ++++++-----------------------------
1 files changed, 12 insertions(+), 59 deletions(-)
diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html
index b9be8f5..27e3e93 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html
@@ -16,6 +16,10 @@
<input type="text" name="fullName"/>
</li>
<li>
+ <p>椤圭洰缂栧彿锛�</p>
+ <input type="text" name="code"/>
+ </li>
+ <li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 鎼滅储</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 閲嶇疆</a>
</li>
@@ -25,9 +29,9 @@
</div>
<div class="btn-group-sm" id="toolbar" role="group">
-<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="geo:project:add">-->
-<!-- <i class="fa fa-plus"></i> 娣诲姞-->
-<!-- </a>-->
+ <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="geo:project:add">
+ <i class="fa fa-plus"></i> 娣诲姞
+ </a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="geo:project:edit">
<i class="fa fa-edit"></i> 淇敼
</a>
@@ -58,6 +62,11 @@
checkbox: true
},
{
+ field : 'code',
+ title : '椤圭洰缂栧彿',
+ sortable:true
+ },
+ {
field : 'fullName',
title : '椤圭洰鍚嶇О',
formatter: function(value, row, index) {
@@ -66,65 +75,13 @@
sortable:true
},
{
- field : 'companyName',
- title : '鍕樺療鍗曚綅'
- },
- {
field : 'laborUnit',
title : '鍔冲姟鍗曚綅'
},
{
field : 'district',
title : '鍖哄幙',
- formatter: function(value, row, index) {
- if(row.district === 1){
- return "涓滃煄鍖�";
- }else if(row.district === 17){
- return "瀵嗕簯鍘�";
- }else if(row.district === 16){
- return "骞宠胺鍖�";
- }else if(row.district === 15){
- return "鎬�鏌斿尯";
- }else if(row.district === 14){
- return "澶у叴鍖�";
- }else if(row.district === 13){
- return "鏄屽钩鍖�";
- }else if(row.district === 12){
- return "椤轰箟鍖�";
- }else if(row.district === 11){
- return "閫氬窞鍖�";
- }else if(row.district === 10){
- return "鎴垮北鍖�";
- }else if(row.district === 9){
- return "闂ㄥご娌熷尯";
- }else if(row.district === 8){
- return "娴锋穩鍖�";
- }else if(row.district === 7){
- return "鐭虫櫙灞卞尯";
- }else if(row.district === 6){
- return "涓板彴鍖�";
- }else if(row.district === 5){
- return "鏈濋槼鍖�";
- }else if(row.district === 4){
- return "瀹f鍖�";
- }else if(row.district === 3){
- return "宕囨枃鍖�";
- }else if(row.district === 2){
- return "瑗垮煄鍖�";
- }else if(row.district === 18){
- return "寤跺簡鍘�";
- }else if(row.district === 99){
- return "澶栧煚";
- }else {
- return "";
- }
- }
},
- {
- field : 'owner',
- title : '涓氫富鍚嶇О'
- },
-
{
field : 'leaderName',
title : '椤圭洰璐熻矗浜�'
@@ -143,10 +100,6 @@
return "楠屾敹";
}
}
- },
- {
- field : 'dataSource',
- title : '鏁版嵁鏉ユ簮'
},
{
title: '鎿嶄綔',
--
Gitblit v1.9.1