Commit 616ed302 authored by lixinglin's avatar lixinglin

后台管理编辑园区信息

parent 6810ef4e
...@@ -13,14 +13,11 @@ ...@@ -13,14 +13,11 @@
一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适的。于是利用空闲休息时间开始自己写了一套后台系统。如此有了立业云。她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适的。于是利用空闲休息时间开始自己写了一套后台系统。如此有了立业云。她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
性别男,立业云是给女儿取的名字(寓意:立业云)
立业云是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。 立业云是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。
* 前后端分离版本,请移步[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue),微服务版本,请移步[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud) * 前后端分离版本,请移步[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue),微服务版本,请移步[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud)
* 感谢 [hplus](https://gitee.com/hplus_admin/hplus) 后台主题 UI 框架。 * 感谢 [hplus](https://gitee.com/hplus_admin/hplus) 后台主题 UI 框架。
* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)  
* 阿里云优惠券:[点我领取](https://www.aliyun.com/minisite/goods?userCode=brki8iof&share_source=copy_link),腾讯云优惠券:[点我领取](https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console)  
## 内置功能 ## 内置功能
...@@ -42,61 +39,3 @@ ...@@ -42,61 +39,3 @@
16. 缓存监控:对系统的缓存查询,删除、清空等操作。 16. 缓存监控:对系统的缓存查询,删除、清空等操作。
17. 在线构建器:拖动表单元素生成相应的HTML代码。 17. 在线构建器:拖动表单元素生成相应的HTML代码。
18. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 18. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。
## 在线体验
- admin/admin123
- 陆陆续续收到一些打赏,为了更好的体验已用于演示服务器升级。谢谢各位小伙伴。
演示地址:http://ruoyi.vip
文档地址:http://doc.ruoyi.vip
## 演示图
<table>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-42e518aa72a24d228427a1261cb3679f395.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-7f20dd0edba25e5187c5c4dd3ec7d3d9797.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-2dae3d87f6a8ca05057db059cd9a411d51d.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-ea4d98423471e55fba784694e45d12bd4bb.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-7f6c6e9f5873efca09bd2870ee8468b8fce.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-c708b65f2c382a03f69fe1efa8d341e6cff.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-9ab586c47dd5c7b92bca0d727962c90e3b8.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-ef954122a2080e02013112db21754b955c6.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-088edb4d531e122415a1e2342bccb1a9691.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-f886fe19bd820c0efae82f680223cac196c.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-c7a2eb71fa65d6e660294b4bccca613d638.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-e60137fb0787defe613bd83331dc4755a70.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-7c51c1b5758f0a0f92ed3c60469b7526f9f.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-15181aed45bb2461aa97b594cbf2f86ea5f.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-83326ad52ea63f67233d126226738054d98.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-3bd6d31e913b70df00107db51d64ef81df7.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-70a2225836bc82042a6785edf6299e2586a.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-0184d6ab01fdc6667a14327fcaf8b46345d.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-64d8086dc2c02c8f71170290482f7640098.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-5e4daac0bb59612c5038448acbcef235e3a.png"/></td>
</tr>
</table>
## 立业云交流群
QQ群: [![加入QQ群](https://img.shields.io/badge/已满-1389287-blue.svg)](https://jq.qq.com/?_wv=1027&k=5HBAaYN) [![加入QQ群](https://img.shields.io/badge/已满-1679294-blue.svg)](https://jq.qq.com/?_wv=1027&k=5cHeRVW) [![加入QQ群](https://img.shields.io/badge/已满-1529866-blue.svg)](https://jq.qq.com/?_wv=1027&k=53R0L5Z) [![加入QQ群](https://img.shields.io/badge/已满-1772718-blue.svg)](https://jq.qq.com/?_wv=1027&k=5g75dCU) [![加入QQ群](https://img.shields.io/badge/已满-1366522-blue.svg)](https://jq.qq.com/?_wv=1027&k=58cPoHA) [![加入QQ群](https://img.shields.io/badge/已满-1382251-blue.svg)](https://jq.qq.com/?_wv=1027&k=5Ofd4Pb) [![加入QQ群](https://img.shields.io/badge/已满-1145125-blue.svg)](https://jq.qq.com/?_wv=1027&k=5yugASz) [![加入QQ群](https://img.shields.io/badge/已满-86752435-blue.svg)](https://jq.qq.com/?_wv=1027&k=5Rf3d2P) [![加入QQ群](https://img.shields.io/badge/已满-134072510-blue.svg)](https://jq.qq.com/?_wv=1027&k=5ZIjaeP) [![加入QQ群](https://img.shields.io/badge/已满-210336300-blue.svg)](https://jq.qq.com/?_wv=1027&k=5CJw1jY) [![加入QQ群](https://img.shields.io/badge/已满-339522636-blue.svg)](https://jq.qq.com/?_wv=1027&k=5omzbKc) [![加入QQ群](https://img.shields.io/badge/已满-130035985-blue.svg)](https://jq.qq.com/?_wv=1027&k=qPIKBb7s) [![加入QQ群](https://img.shields.io/badge/已满-143151071-blue.svg)](https://jq.qq.com/?_wv=1027&k=4NsjKbtU) [![加入QQ群](https://img.shields.io/badge/已满-158781320-blue.svg)](https://jq.qq.com/?_wv=1027&k=VD2pkz2G) [![加入QQ群](https://img.shields.io/badge/已满-201531282-blue.svg)](https://jq.qq.com/?_wv=1027&k=HlshFwkJ) [![加入QQ群](https://img.shields.io/badge/已满-101526938-blue.svg)](https://jq.qq.com/?_wv=1027&k=0ARRrO9V) [![加入QQ群](https://img.shields.io/badge/已满-264355400-blue.svg)](https://jq.qq.com/?_wv=1027&k=up9k3ZXJ) [![加入QQ群](https://img.shields.io/badge/已满-298522656-blue.svg)](https://jq.qq.com/?_wv=1027&k=540WfdEr) [![加入QQ群](https://img.shields.io/badge/已满-139845794-blue.svg)](https://jq.qq.com/?_wv=1027&k=ss91fC4t) [![加入QQ群](https://img.shields.io/badge/已满-185760789-blue.svg)](https://jq.qq.com/?_wv=1027&k=Cqd66IKe) [![加入QQ群](https://img.shields.io/badge/175104288-blue.svg)](https://jq.qq.com/?_wv=1027&k=7FplYUnR)
\ No newline at end of file
...@@ -111,11 +111,19 @@ public class ParkInfoController extends BaseController { ...@@ -111,11 +111,19 @@ public class ParkInfoController extends BaseController {
/** /**
* 修改保存parkinfo * 修改保存parkinfo
*/ */
@RequiresPermissions("parkinfo:info:edit")
@Log(title = "changeParkStatus", businessType = BusinessType.UPDATE)
@PostMapping("/changeParkStatus")
@ResponseBody
public AjaxResult changeParkStatus(ParkInfo parkInfo) {
return toAjax(parkInfoService.changeParkStatus(parkInfo));
}
@RequiresPermissions("parkinfo:info:edit") @RequiresPermissions("parkinfo:info:edit")
@Log(title = "parkinfo", businessType = BusinessType.UPDATE) @Log(title = "parkinfo", businessType = BusinessType.UPDATE)
@PostMapping("/edit") @PostMapping("/edit")
@ResponseBody @ResponseBody
public AjaxResult editSave(ParkInfo parkInfo) { public AjaxResult edit(ParkInfo parkInfo) {
return toAjax(parkInfoService.updateParkInfo(parkInfo)); return toAjax(parkInfoService.updateParkInfo(parkInfo));
} }
......
...@@ -46,6 +46,7 @@ public interface IParkInfoService { ...@@ -46,6 +46,7 @@ public interface IParkInfoService {
* @param parkInfo parkinfo * @param parkInfo parkinfo
* @return 结果 * @return 结果
*/ */
public int changeParkStatus(ParkInfo parkInfo);
public int updateParkInfo(ParkInfo parkInfo); public int updateParkInfo(ParkInfo parkInfo);
/** /**
......
...@@ -100,7 +100,7 @@ public class ParkInfoServiceImpl implements IParkInfoService { ...@@ -100,7 +100,7 @@ public class ParkInfoServiceImpl implements IParkInfoService {
*/ */
@Override @Override
@Transactional @Transactional
public int updateParkInfo(ParkInfo parkInfo) { public int changeParkStatus(ParkInfo parkInfo) {
parkInfo.setUpdateTime(DateUtils.getNowDate()); parkInfo.setUpdateTime(DateUtils.getNowDate());
Long id = parkInfo.getId(); Long id = parkInfo.getId();
Integer status = parkInfo.getStatus(); Integer status = parkInfo.getStatus();
...@@ -148,6 +148,14 @@ public class ParkInfoServiceImpl implements IParkInfoService { ...@@ -148,6 +148,14 @@ public class ParkInfoServiceImpl implements IParkInfoService {
return 1; return 1;
} }
@Override
@Transactional
public int updateParkInfo(ParkInfo parkInfo) {
parkInfo.setUpdateTime(DateUtils.getNowDate());
parkInfoMapper.updateParkInfo(parkInfo);
return 1;
}
public int updateOtherUserParkInfo(Map<String, Long> map) { public int updateOtherUserParkInfo(Map<String, Long> map) {
return parkInfoMapper.updateOtherUserParkInfo(map); return parkInfoMapper.updateOtherUserParkInfo(map);
} }
......
...@@ -111,7 +111,7 @@ public class SubmitExamineLogServiceImpl implements ISubmitExamineLogService { ...@@ -111,7 +111,7 @@ public class SubmitExamineLogServiceImpl implements ISubmitExamineLogService {
@Override @Override
public int updateSubmitParkExamineLog(SubmitExamineLog submitExamineLog, ParkInfo parkInfo) { public int updateSubmitParkExamineLog(SubmitExamineLog submitExamineLog, ParkInfo parkInfo) {
if (submitExamineLog.getType() == 2) { if (submitExamineLog.getType() == 2) {
parkInfoService.updateParkInfo(parkInfo); parkInfoService.changeParkStatus(parkInfo);
//作废初始数据 //作废初始数据
ParkInfo parkInfoNew = parkInfoService.selectParkInfoById(parkInfo.getId()); ParkInfo parkInfoNew = parkInfoService.selectParkInfoById(parkInfo.getId());
System.out.println(parkInfoNew.toString()); System.out.println(parkInfoNew.toString());
...@@ -119,7 +119,7 @@ public class SubmitExamineLogServiceImpl implements ISubmitExamineLogService { ...@@ -119,7 +119,7 @@ public class SubmitExamineLogServiceImpl implements ISubmitExamineLogService {
if (ObjectUtils.isNotEmpty(mirrorId)) { if (ObjectUtils.isNotEmpty(mirrorId)) {
ParkInfo parkInfoOld = parkInfoService.selectParkInfoById(mirrorId); ParkInfo parkInfoOld = parkInfoService.selectParkInfoById(mirrorId);
parkInfoOld.setStatus(ParkInfoStatusEnum.USELESS.getCode()); parkInfoOld.setStatus(ParkInfoStatusEnum.USELESS.getCode());
parkInfoService.updateParkInfo(parkInfoOld); parkInfoService.changeParkStatus(parkInfoOld);
//作废其他用户数据 //作废其他用户数据
Map<String, Long> map = new HashMap<>(); Map<String, Long> map = new HashMap<>();
map.put("id", parkInfo.getId()); map.put("id", parkInfo.getId());
......
...@@ -824,7 +824,7 @@ ...@@ -824,7 +824,7 @@
}); });
function clickValid(id, status, mirrorId) { function clickValid(id, status, mirrorId) {
url = "/parkInfo/info/edit"; url = "/parkInfo/info/changeParkStatus";
// 1=-未认证;2-认证中;3-已认证;4-已拒绝;9-作废 // 1=-未认证;2-认证中;3-已认证;4-已拒绝;9-作废
$.post(url, {id: id, status: status, mirrorId: mirrorId}, function (result) { $.post(url, {id: id, status: status, mirrorId: mirrorId}, function (result) {
if (result.code == web_status.SUCCESS) { if (result.code == web_status.SUCCESS) {
......
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" > <html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head> <head>
<th:block th:include="include :: header('修改园区信息')" /> <th:block th:include="include :: header('修改园区信息')"/>
<th:block th:include="include :: datetimepicker-css" /> <th:block th:include="include :: datetimepicker-css"/>
<th:block th:include="include :: bootstrap-fileinput-css"/> <th:block th:include="include :: bootstrap-fileinput-css"/>
</head> </head>
<body class="white-bg"> <body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> <div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-info-edit" th:object="${parkInfo}"> <form class="form-horizontal m" id="form-info-edit" th:object="${parkInfo}">
<input name="id" th:field="*{id}" type="hidden"> <input name="id" th:field="*{id}" type="hidden">
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label is-required">园区名称:</label> <label class="col-sm-3 control-label is-required">园区名称:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="name" th:field="*{name}" class="form-control" type="text" required> <input name="name" th:field="*{name}" class="form-control" type="text" required>
</div> </div>
</div> </div>
<div class="form-group"> <!-- <div class="form-group">-->
<label class="col-sm-3 control-label">所属集团id(1-产业新城;2-幸福产城):</label> <!-- <label class="col-sm-3 control-label">所属集团id(1-产业新城;2-幸福产城):</label>-->
<div class="col-sm-8"> <!-- <div class="col-sm-8">-->
<input name="groupId" th:field="*{groupId}" class="form-control" type="text"> <!-- <input name="groupId" th:field="*{groupId}" class="form-control" type="text">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="form-group"> <!-- <div class="form-group">-->
<label class="col-sm-3 control-label">所属集团:</label> <!-- <label class="col-sm-3 control-label">所属集团:</label>-->
<div class="col-sm-8"> <!-- <div class="col-sm-8">-->
<input name="groupName" th:field="*{groupName}" class="form-control" type="text"> <!-- <input name="groupName" th:field="*{groupName}" class="form-control" type="text">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="form-group"> <div class="form-group" style="display: none">
<label class="col-sm-3 control-label">所属片区id:</label> <label class="col-sm-3 control-label">所属片区id:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="zoneId" th:field="*{zoneId}" class="form-control" type="text"> <input id="zoneId" name="zoneId" th:field="*{zoneId}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">所属片区:</label> <label class="col-sm-3 control-label">所属开发区:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="zoneName" th:field="*{zoneName}" class="form-control" type="text"> <input name="zoneName" id="zoneName" th:field="*{zoneName}" class="form-control" type="text" onclick="selectType()">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">园区级别:</label> <label class="col-sm-3 control-label">园区级别:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="levelCode" th:field="*{levelCode}" class="form-control" type="text"> <!-- <input name="levelName" th:field="*{levelName}" class="form-control" type="text">-->
</div> <select name="levelName" th:with="type=${@dict.getType('park_level')}" class="form-control m-b">
</div> <option value="">所有</option>
<div class="form-group"> <option th:each="dict : ${type}" th:text="${dict.dictLabel}"
<label class="col-sm-3 control-label">园区级别:</label> th:value="${dict.dictValue}" th:field="*{levelName}"></option>
<div class="col-sm-8"> </select>
<input name="levelName" th:field="*{levelName}" class="form-control" type="text"> </div>
</div> </div>
</div>
<div class="form-group"> <!-- <div class="form-group">-->
<label class="col-sm-3 control-label">省份code:</label> <!-- <label class="col-sm-3 control-label">省份code:</label>-->
<div class="col-sm-8"> <!-- <div class="col-sm-8">-->
<input name="provinceCode" th:field="*{provinceCode}" class="form-control" type="text"> <!-- <input name="provinceCode" th:field="*{provinceCode}" class="form-control" type="text">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">省份:</label> <label class="col-sm-3 control-label">省份:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="provinceName" th:field="*{provinceName}" class="form-control" type="text"> <input name="provinceName" th:field="*{provinceName}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <!-- <div class="form-group">-->
<label class="col-sm-3 control-label">城市code:</label> <!-- <label class="col-sm-3 control-label">城市code:</label>-->
<div class="col-sm-8"> <!-- <div class="col-sm-8">-->
<input name="cityCode" th:field="*{cityCode}" class="form-control" type="text"> <!-- <input name="cityCode" th:field="*{cityCode}" class="form-control" type="text">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">城市:</label> <label class="col-sm-3 control-label">城市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="cityName" th:field="*{cityName}" class="form-control" type="text"> <input name="cityName" th:field="*{cityName}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <!-- <div class="form-group">-->
<label class="col-sm-3 control-label">区/县code:</label> <!-- <label class="col-sm-3 control-label">区/县code:</label>-->
<div class="col-sm-8"> <!-- <div class="col-sm-8">-->
<input name="regionCode" th:field="*{regionCode}" class="form-control" type="text"> <!-- <input name="regionCode" th:field="*{regionCode}" class="form-control" type="text">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">区/县:</label> <label class="col-sm-3 control-label">区/县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="regionName" th:field="*{regionName}" class="form-control" type="text"> <input name="regionName" th:field="*{regionName}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">详细地址:</label> <label class="col-sm-3 control-label">详细地址:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="address" th:field="*{address}" class="form-control" type="text"> <input name="address" th:field="*{address}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">园区简介:</label> <label class="col-sm-3 control-label">园区简介:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<textarea name="description" class="form-control">[[*{description}]]</textarea> <textarea name="description" class="form-control">[[*{description}]]</textarea>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">占地面积:</label> <label class="col-sm-3 control-label">占地面积:</label>
<div class="col-sm-7"> <div class="col-sm-7">
<input name="coverArea" th:field="*{coverArea}" class="form-control" type="text"> <input name="coverArea" th:field="*{coverArea}" class="form-control" type="text">
</div> </div>
<label class="col-sm-1 control-label"></label> <label class="col-sm-1 control-label"></label>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">建筑面积:</label> <label class="col-sm-3 control-label">建筑面积:</label>
<div class="col-sm-7"> <div class="col-sm-7">
<input name="floorArea" th:field="*{floorArea}" class="form-control" type="text"> <input name="floorArea" th:field="*{floorArea}" class="form-control" type="text">
</div> </div>
<label class="col-sm-1 control-label"></label> <label class="col-sm-1 control-label"></label>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">容积率:</label> <label class="col-sm-3 control-label">容积率:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="plotRatio" th:field="*{plotRatio}" class="form-control" type="text"> <input name="plotRatio" th:field="*{plotRatio}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">土地性质:</label> <label class="col-sm-3 control-label">土地性质:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="landProperty" th:field="*{landProperty}" class="form-control" type="text"> <input name="landProperty" th:field="*{landProperty}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">产权性质:</label> <label class="col-sm-3 control-label">产权性质:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="ownershipProperty" th:field="*{ownershipProperty}" class="form-control" type="text"> <input name="ownershipProperty" th:field="*{ownershipProperty}" class="form-control" type="text">
</div> </div>
</div> </div>
<!-- <div class="form-group"> --> <!-- <div class="form-group"> -->
<!-- <label class="col-sm-3 control-label">产品数量:</label>--> <!-- <label class="col-sm-3 control-label">产品数量:</label>-->
<!-- <div class="col-sm-8">--> <!-- <div class="col-sm-8">-->
<!-- <input name="productQuantity" th:field="*{productQuantity}" class="form-control" type="text">--> <!-- <input name="productQuantity" th:field="*{productQuantity}" class="form-control" type="text">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">主导产业:</label> <label class="col-sm-3 control-label">主导产业:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="primaryIndustry" th:field="*{primaryIndustry}" class="form-control" type="text"> <input name="primaryIndustry" th:field="*{primaryIndustry}" class="form-control" type="text">
</div>
</div> </div>
</div>
<!-- <div class="form-group"> --> <!-- <div class="form-group"> -->
<!-- <label class="col-sm-3 control-label">所属行业:</label>--> <!-- <label class="col-sm-3 control-label">所属行业:</label>-->
<!-- <div class="col-sm-8">--> <!-- <div class="col-sm-8">-->
<!-- <input name="industryIds" th:field="*{industryIds}" class="form-control" type="text">--> <!-- <input name="industryIds" th:field="*{industryIds}" class="form-control" type="text">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="form-group"> --> <!-- <div class="form-group"> -->
<!-- <label class="col-sm-3 control-label">招商方向:</label>--> <!-- <label class="col-sm-3 control-label">招商方向:</label>-->
<!-- <div class="col-sm-8">--> <!-- <div class="col-sm-8">-->
<!-- <input name="investmentDirection" th:field="*{investmentDirection}" class="form-control" type="text">--> <!-- <input name="investmentDirection" th:field="*{investmentDirection}" class="form-control" type="text">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<div class="form-group">
<label class="col-sm-3 control-label">投资强度:</label>
<div class="col-sm-8">
<input name="investmentStrength" th:field="*{investmentStrength}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">税收强度:</label>
<div class="col-sm-8">
<input name="taxationStrength" th:field="*{taxationStrength}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">亩均产值:</label>
<div class="col-sm-8">
<input name="averageOutputValue" th:field="*{averageOutputValue}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">环评要求:</label>
<div class="col-sm-8">
<input name="environmentalEquirements" th:field="*{environmentalEquirements}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位工业增加值能耗:</label>
<div class="col-sm-8">
<input name="valueAddedEnergy" th:field="*{valueAddedEnergy}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位工业总产值能耗:</label>
<div class="col-sm-8">
<input name="totalValueEnergy" th:field="*{totalValueEnergy}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">禁限目录:</label>
<div class="col-sm-8">
<input name="prohibitDirectory" th:field="*{prohibitDirectory}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">禁限目录文件:</label>
<div class="col-sm-8">
<input type="hidden" name="prohibitDirectoryFile" th:field="*{prohibitDirectoryFile}">
<div class="file-loading">
<input class="form-control file-upload" id="prohibitDirectoryFile" name="file" type="file">
</div>
</div>
</div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">准入类-其他:</label> <label class="col-sm-3 control-label">投资强度:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="accessOther" th:field="*{accessOther}" class="form-control" type="text"> <input name="investmentStrength" th:field="*{investmentStrength}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">环评指标:</label> <label class="col-sm-3 control-label">税收强度:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="environmentalIndicators" th:field="*{environmentalIndicators}" class="form-control" type="text"> <input name="taxationStrength" th:field="*{taxationStrength}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">消防等级:</label> <label class="col-sm-3 control-label">亩均产值:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="fireProtectionLevel" th:field="*{fireProtectionLevel}" class="form-control" type="text"> <input name="averageOutputValue" th:field="*{averageOutputValue}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">产业服务平台:</label> <label class="col-sm-3 control-label">环评要求:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="industrialServicePlatform" th:field="*{industrialServicePlatform}" class="form-control" type="text"> <input name="environmentalEquirements" th:field="*{environmentalEquirements}" class="form-control"
</div> type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">电压及变电站:</label> <div class="form-group">
<div class="col-sm-8"> <label class="col-sm-3 control-label">单位工业增加值能耗:</label>
<input name="voltageAndSubstation" th:field="*{voltageAndSubstation}" class="form-control" type="text"> <div class="col-sm-8">
</div> <input name="valueAddedEnergy" th:field="*{valueAddedEnergy}" class="form-control" type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">双回路电:</label> <div class="form-group">
<div class="col-sm-8"> <label class="col-sm-3 control-label">单位工业总产值能耗:</label>
<input name="doubleCircuitElectricity" th:field="*{doubleCircuitElectricity}" class="form-control" type="text"> <div class="col-sm-8">
</div> <input name="totalValueEnergy" th:field="*{totalValueEnergy}" class="form-control" type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">供电类型:</label> <div class="form-group">
<div class="col-sm-8"> <label class="col-sm-3 control-label">禁限目录:</label>
<input name="powerSupplyType" th:field="*{powerSupplyType}" class="form-control" type="text"> <div class="col-sm-8">
</div> <input name="prohibitDirectory" th:field="*{prohibitDirectory}" class="form-control" type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">电价:</label> <div class="form-group">
<div class="col-sm-7"> <label class="col-sm-3 control-label">禁限目录文件:</label>
<input name="electricityPrice" th:field="*{electricityPrice}" class="form-control" type="text"> <div class="col-sm-8">
</div> <input type="hidden" name="prohibitDirectoryFile" th:field="*{prohibitDirectoryFile}">
<label class="col-sm-1 control-label">元/度</label> <div class="file-loading">
</div> <input class="form-control file-upload" id="prohibitDirectoryFile" name="file" type="file">
<div class="form-group"> </div>
<label class="col-sm-3 control-label">居民生活用水:</label> </div>
<div class="col-sm-7"> </div>
<input name="residentsWater" th:field="*{residentsWater}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/吨</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">工业用水:</label>
<div class="col-sm-7">
<input name="industrialWater" th:field="*{industrialWater}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/吨</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">经营服务用水:</label>
<div class="col-sm-7">
<input name="businessServicesWater" th:field="*{businessServicesWater}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/吨</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">天然气:</label>
<div class="col-sm-7">
<input name="gas" th:field="*{gas}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/m³</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">蒸汽:</label>
<div class="col-sm-7">
<input name="steam" th:field="*{steam}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/m³</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">居民用暖价格:</label>
<div class="col-sm-7">
<input name="residentsHeating" th:field="*{residentsHeating}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/㎡</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">非居民用暖价格:</label>
<div class="col-sm-7">
<input name="nresidentsHeating" th:field="*{nresidentsHeating}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/㎡</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">餐厅:</label>
<div class="col-sm-8">
<!-- <input name="restaurant" th:field="*{restaurant}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="restaurant" th:value="${dict.dictValue}" th:field="*{restaurant}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">公寓:</label>
<div class="col-sm-8">
<!-- <input name="apartment" th:field="*{apartment}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="apartment" th:value="${dict.dictValue}" th:field="*{apartment}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">便利店:</label>
<div class="col-sm-8">
<!-- <input name="convenienceStore" th:field="*{convenienceStore}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="convenienceStore" th:value="${dict.dictValue}" th:field="*{convenienceStore}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">公共空间:</label>
<div class="col-sm-8">
<!-- <input name="publicSpace" th:field="*{publicSpace}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="publicSpace" th:value="${dict.dictValue}" th:field="*{publicSpace}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">公共交通:</label>
<div class="col-sm-8">
<!-- <input name="publicTransit" th:field="*{publicTransit}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="publicTransit" th:value="${dict.dictValue}" th:field="*{publicTransit}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">车位:</label>
<div class="col-sm-8">
<!-- <input name="parkingSpace" th:field="*{parkingSpace}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="parkingSpace" th:value="${dict.dictValue}" th:field="*{parkingSpace}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">充电桩:</label>
<div class="col-sm-8">
<!-- <input name="chargingStation" th:field="*{chargingStation}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="chargingStation" th:value="${dict.dictValue}" th:field="*{chargingStation}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">出租率:</label> <label class="col-sm-3 control-label">准入类-其他:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="rentalRate" th:field="*{rentalRate}" class="form-control" type="text"> <input name="accessOther" th:field="*{accessOther}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">联系人:</label> <label class="col-sm-3 control-label">环评指标:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="contactPerson" th:field="*{contactPerson}" class="form-control" type="text"> <input name="environmentalIndicators" th:field="*{environmentalIndicators}" class="form-control"
</div> type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">联系电话:</label> <div class="form-group">
<div class="col-sm-8"> <label class="col-sm-3 control-label">消防等级:</label>
<input name="phone" th:field="*{phone}" class="form-control" type="text"> <div class="col-sm-8">
</div> <input name="fireProtectionLevel" th:field="*{fireProtectionLevel}" class="form-control" type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">租金单价:</label> <div class="form-group">
<div class="col-sm-8"> <label class="col-sm-3 control-label">产业服务平台:</label>
<input name="rentPrice" th:field="*{rentPrice}" class="form-control" type="text"> <div class="col-sm-8">
</div> <input name="industrialServicePlatform" th:field="*{industrialServicePlatform}" class="form-control"
<label class="col-sm-3 control-label">元/㎡/月</label> type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">物业费单价:</label> <div class="form-group">
<div class="col-sm-8"> <label class="col-sm-3 control-label">电压及变电站:</label>
<input name="propertyPrice" th:field="*{propertyPrice}" class="form-control" type="text"> <div class="col-sm-8">
</div> <input name="voltageAndSubstation" th:field="*{voltageAndSubstation}" class="form-control" type="text">
<label class="col-sm-3 control-label">元/㎡/月</label> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">开发区id:</label> <label class="col-sm-3 control-label">双回路电:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="developmentZoneId" th:field="*{developmentZoneId}" class="form-control" type="text"> <input name="doubleCircuitElectricity" th:field="*{doubleCircuitElectricity}" class="form-control"
</div> type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">开发区名称:</label> <div class="form-group">
<div class="col-sm-8"> <label class="col-sm-3 control-label">供电类型:</label>
<input name="developmentZoneName" th:field="*{developmentZoneName}" class="form-control" type="text"> <div class="col-sm-8">
</div> <input name="powerSupplyType" th:field="*{powerSupplyType}" class="form-control" type="text">
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">已入园企业:</label> <div class="form-group">
<div class="col-sm-8"> <label class="col-sm-3 control-label">电价:</label>
<textarea name="enterprise" class="form-control">[[*{enterprise}]]</textarea> <div class="col-sm-7">
</div> <input name="electricityPrice" th:field="*{electricityPrice}" class="form-control" type="text">
</div> </div>
<!-- <div class="form-group"> --> <label class="col-sm-1 control-label">元/度</label>
<!-- <label class="col-sm-3 control-label">问卷星id:</label>--> </div>
<!-- <div class="col-sm-8">--> <div class="form-group">
<!-- <input name="wenjuanxingid" th:field="*{wenjuanxingid}" class="form-control" type="text">--> <label class="col-sm-3 control-label">居民生活用水:</label>
<!-- </div>--> <div class="col-sm-7">
<!-- </div>--> <input name="residentsWater" th:field="*{residentsWater}" class="form-control" type="text">
<!-- <div class="form-group"> --> </div>
<!-- <label class="col-sm-3 control-label">用户id:</label>--> <label class="col-sm-1 control-label">元/吨</label>
<!-- <div class="col-sm-8">--> </div>
<!-- <input name="userId" th:field="*{userId}" class="form-control" type="text">--> <div class="form-group">
<!-- </div>--> <label class="col-sm-3 control-label">工业用水:</label>
<!-- </div>--> <div class="col-sm-7">
<!-- <div class="form-group"> --> <input name="industrialWater" th:field="*{industrialWater}" class="form-control" type="text">
<!-- <label class="col-sm-3 control-label">提交时间:</label>--> </div>
<!-- <div class="col-sm-8">--> <label class="col-sm-1 control-label">元/吨</label>
<!-- <div class="input-group date">--> </div>
<!-- <input name="submitTime" th:value="${#dates.format(parkInfo.submitTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">--> <div class="form-group">
<!-- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>--> <label class="col-sm-3 control-label">经营服务用水:</label>
<!-- </div>--> <div class="col-sm-7">
<!-- </div>--> <input name="businessServicesWater" th:field="*{businessServicesWater}" class="form-control"
<!-- </div>--> type="text">
<!-- <div class="form-group"> --> </div>
<!-- <label class="col-sm-3 control-label">以入园企业数量:</label>--> <label class="col-sm-1 control-label">元/吨</label>
<!-- <div class="col-sm-8">--> </div>
<!-- <input name="enterpriseNumber" th:field="*{enterpriseNumber}" class="form-control" type="text">--> <div class="form-group">
<!-- </div>--> <label class="col-sm-3 control-label">天然气:</label>
<!-- </div>--> <div class="col-sm-7">
<!-- <div class="form-group"> --> <input name="gas" th:field="*{gas}" class="form-control" type="text">
<!-- <label class="col-sm-3 control-label is-required">是否为系统提前预录入:</label>--> </div>
<!-- <div class="col-sm-8">--> <label class="col-sm-1 control-label">元/m³</label>
<!-- <input name="isSystem" th:field="*{isSystem}" class="form-control" type="text" required>--> </div>
<!-- </div>--> <div class="form-group">
<!-- </div>--> <label class="col-sm-3 control-label">蒸汽:</label>
<div class="form-group"> <div class="col-sm-7">
<label class="col-sm-3 control-label">是否为热点园区:</label> <input name="steam" th:field="*{steam}" class="form-control" type="text">
<div class="col-sm-8"> </div>
<input name="isHotPark" th:field="*{isHotPark}" class="form-control" type="text"> <label class="col-sm-1 control-label">元/m³</label>
</div>
<!-- <div class="form-group">-->
<!-- <label class="col-sm-3 control-label">居民用暖价格:</label>-->
<!-- <div class="col-sm-7">-->
<!-- <input name="residentsHeating" th:field="*{residentsHeating}" class="form-control" type="text">-->
<!-- </div>-->
<!-- <label class="col-sm-1 control-label">元/㎡</label>-->
<!-- </div>-->
<div class="form-group">
<label class="col-sm-3 control-label">供暖价格:</label>
<div class="col-sm-7">
<input name="nresidentsHeating" th:field="*{nresidentsHeating}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/㎡</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">餐厅:</label>
<div class="col-sm-8">
<!-- <input name="restaurant" th:field="*{restaurant}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="restaurant" th:value="${dict.dictValue}"
th:field="*{restaurant}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">公寓:</label>
<div class="col-sm-8">
<!-- <input name="apartment" th:field="*{apartment}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="apartment" th:value="${dict.dictValue}"
th:field="*{apartment}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">便利店:</label>
<div class="col-sm-8">
<!-- <input name="convenienceStore" th:field="*{convenienceStore}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="convenienceStore" th:value="${dict.dictValue}"
th:field="*{convenienceStore}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">公共空间:</label>
<div class="col-sm-8">
<!-- <input name="publicSpace" th:field="*{publicSpace}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="publicSpace" th:value="${dict.dictValue}"
th:field="*{publicSpace}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">公共交通:</label>
<div class="col-sm-8">
<!-- <input name="publicTransit" th:field="*{publicTransit}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="publicTransit" th:value="${dict.dictValue}"
th:field="*{publicTransit}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">车位:</label>
<div class="col-sm-8">
<!-- <input name="parkingSpace" th:field="*{parkingSpace}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="parkingSpace" th:value="${dict.dictValue}"
th:field="*{parkingSpace}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">充电桩:</label>
<div class="col-sm-8">
<!-- <input name="chargingStation" th:field="*{chargingStation}" class="form-control" type="text" required>-->
<div class="radio-box" th:each="dict : ${@dict.getType('sys_has_no')}">
<input type="radio" th:id="${dict.dictCode}" name="chargingStation" th:value="${dict.dictValue}"
th:field="*{chargingStation}" required>
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">出租率:</label>
<div class="col-sm-7">
<input name="rentalRate" th:field="*{rentalRate}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">%</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">联系人:</label>
<div class="col-sm-8">
<input name="contactPerson" th:field="*{contactPerson}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">联系电话:</label>
<div class="col-sm-8">
<input name="phone" th:field="*{phone}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">租金单价:</label>
<div class="col-sm-6">
<input name="rentPrice" th:field="*{rentPrice}" class="form-control" type="text">
</div>
<label class="col-sm-2 control-label">元/㎡/天</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">物业费单价:</label>
<div class="col-sm-6">
<input name="propertyPrice" th:field="*{propertyPrice}" class="form-control" type="text">
</div>
<label class="col-sm-2 control-label">元/㎡/天</label>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">开发区id:</label>
<div class="col-sm-8">
<input name="developmentZoneId" th:field="*{developmentZoneId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">开发区名称:</label>
<div class="col-sm-8">
<input name="developmentZoneName" th:field="*{developmentZoneName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">已入园企业:</label>
<div class="col-sm-8">
<textarea name="enterprise" class="form-control">[[*{enterprise}]]</textarea>
</div>
</div>
<!-- <div class="form-group"> -->
<!-- <label class="col-sm-3 control-label">问卷星id:</label>-->
<!-- <div class="col-sm-8">-->
<!-- <input name="wenjuanxingid" th:field="*{wenjuanxingid}" class="form-control" type="text">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="form-group"> -->
<!-- <label class="col-sm-3 control-label">用户id:</label>-->
<!-- <div class="col-sm-8">-->
<!-- <input name="userId" th:field="*{userId}" class="form-control" type="text">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="form-group"> -->
<!-- <label class="col-sm-3 control-label">提交时间:</label>-->
<!-- <div class="col-sm-8">-->
<!-- <div class="input-group date">-->
<!-- <input name="submitTime" th:value="${#dates.format(parkInfo.submitTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">-->
<!-- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="form-group"> -->
<!-- <label class="col-sm-3 control-label">以入园企业数量:</label>-->
<!-- <div class="col-sm-8">-->
<!-- <input name="enterpriseNumber" th:field="*{enterpriseNumber}" class="form-control" type="text">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="form-group"> -->
<!-- <label class="col-sm-3 control-label is-required">是否为系统提前预录入:</label>-->
<!-- <div class="col-sm-8">-->
<!-- <input name="isSystem" th:field="*{isSystem}" class="form-control" type="text" required>-->
<!-- </div>-->
<!-- </div>-->
<div class="form-group">
<label class="col-sm-3 control-label">是否为热点园区:</label>
<div class="col-sm-8">
<!-- <input name="isHotPark" th:field="*{isHotPark}" class="form-control" type="text">-->
<input type="radio" value="0" th:text="否" th:field="*{isHotPark}">
<input type="radio" value="1" th:text="是" th:field="*{isHotPark}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">封面图片:</label>
<div class="col-sm-8">
<input type="hidden" name="imgUrl" th:field="*{imgUrl}">
<div class="file-loading">
<input class="form-control img-upload" id="imgUrl" name="file" type="file">
</div> </div>
</div> </div>
<div class="form-group"> </div>
<label class="col-sm-3 control-label">封面图片:</label>
<div class="col-sm-8">
<input type="hidden" name="imgUrl" th:field="*{imgUrl}">
<div class="file-loading">
<input class="form-control img-upload" id="imgUrl" name="file" type="file">
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<th:block th:include="include :: bootstrap-fileinput-js"/>
<script th:src="@{/js/jquery.tmpl.js}"></script>
<script th:inline="javascript">
var prefix = ctx + "parkInfo/info"; <h1>在这里加新增字段</h1>
$("#form-info-edit").validate({
focusCleanup: true </form>
}); </div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: datetimepicker-js"/>
<th:block th:include="include :: bootstrap-fileinput-js"/>
<script th:src="@{/js/jquery.tmpl.js}"></script>
<script th:inline="javascript">
var carouselPrefix = ctx + "carousel/info"
function submitHandler() { // 根据当前激活的选项卡获取(方式一)
if ($.validate.form()) { function selectType() {
var data = $("#form-info-edit").serializeArray();
$.operate.save(prefix + "/edit", $('#form-info-edit').serialize()); // $.modal.open("选择", prefix + "/selectType?type="+$("#type").val());
} var options = {
title: '选择',
url: carouselPrefix + "/selectType?type=1",
callBack: doSubmit2
};
$.modal.openOptions(options);
}
function doSubmit2(index, layero) {
var rows = layero.find("iframe")[0].contentWindow.getSelections();
if (rows.length == 0) {
$.modal.alertWarning("请至少选择一条记录");
return;
} }
// $('#userids').html('我是通过方式二来的:' + rows.join())
$('#zoneName').val(rows.name);
$('#zoneId').val(rows.id);
$.modal.close(index);
}
$("input[name='submitTime']").datetimepicker({
format: "yyyy-mm-dd", var prefix = ctx + "parkInfo/info";
minView: "month", $("#form-info-edit").validate({
autoclose: true focusCleanup: true
}); });
$(".img-upload").each(function (i) {
var val = $("input[name='" + this.id + "']").val() function submitHandler() {
$(this).fileinput({ if ($.validate.form()) {
// 'uploadUrl': ctx + 'common/upload', var data = $("#form-info-edit").serializeArray();
'uploadUrl': ctx + 'sysFile/uploadImgHuawei', $.operate.save(prefix + "/edit", $('#form-info-edit').serialize());
initialPreviewAsData: true, }
initialPreview: [val], }
maxFileCount: 1,
autoReplace: true $("input[name='submitTime']").datetimepicker({
}).on('fileuploaded', function (event, data, previewId, index) { format: "yyyy-mm-dd",
$("input[name='" + event.currentTarget.id + "']").val(data.response.url) minView: "month",
}).on('fileremoved', function (event, id, index) { autoclose: true
$("input[name='" + event.currentTarget.id + "']").val('') });
})
$(this).fileinput('_initFileActions'); $(".img-upload").each(function (i) {
}); var val = $("input[name='" + this.id + "']").val()
$(this).fileinput({
$(".file-upload").each(function (i) { // 'uploadUrl': ctx + 'common/upload',
var val = $("input[name='" + this.id + "']").val() 'uploadUrl': ctx + 'sysFile/uploadImgHuawei',
$(this).fileinput({ initialPreviewAsData: true,
// 'uploadUrl': ctx + 'common/upload', initialPreview: [val],
'uploadUrl': ctx + 'sysFile/uploadFileHuawei', maxFileCount: 1,
initialPreviewAsData: true, autoReplace: true
initialPreview: [val], }).on('fileuploaded', function (event, data, previewId, index) {
maxFileCount: 1, $("input[name='" + event.currentTarget.id + "']").val(data.response.url)
autoReplace: true }).on('fileremoved', function (event, id, index) {
}).on('fileuploaded', function (event, data, previewId, index) { $("input[name='" + event.currentTarget.id + "']").val('')
$("input[name='" + event.currentTarget.id + "']").val(data.response.url) })
}).on('fileremoved', function (event, id, index) { $(this).fileinput('_initFileActions');
$("input[name='" + event.currentTarget.id + "']").val('') });
})
$(this).fileinput('_initFileActions'); $(".file-upload").each(function (i) {
}); var val = $("input[name='" + this.id + "']").val()
</script> $(this).fileinput({
// 'uploadUrl': ctx + 'common/upload',
'uploadUrl': ctx + 'sysFile/uploadFileHuawei',
initialPreviewAsData: true,
initialPreview: [val],
maxFileCount: 1,
autoReplace: true
}).on('fileuploaded', function (event, data, previewId, index) {
$("input[name='" + event.currentTarget.id + "']").val(data.response.url)
}).on('fileremoved', function (event, id, index) {
$("input[name='" + event.currentTarget.id + "']").val('')
})
$(this).fileinput('_initFileActions');
});
</script>
</body> </body>
</html> </html>
......
...@@ -16,7 +16,11 @@ ...@@ -16,7 +16,11 @@
</li> </li>
<li> <li>
<label>园区级别:</label> <label>园区级别:</label>
<input type="text" name="levelCode"/> <select name="levelCode" th:with="type=${@dict.getType('park_level')}">
<option value="">所有</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
th:value="${dict.dictValue}"></option>
</select>
</li> </li>
<li> <li>
<label>审核状态:</label> <label>审核状态:</label>
...@@ -104,7 +108,7 @@ ...@@ -104,7 +108,7 @@
// title: '所属片区' // title: '所属片区'
// }, // },
{ {
field: 'level', field: 'levelName',
title: '园区级别' title: '园区级别'
}, },
// { // {
...@@ -377,7 +381,15 @@ ...@@ -377,7 +381,15 @@
// }, // },
{ {
field: 'isHotPark', field: 'isHotPark',
title: '是否为热点园区' title: '是否为热点园区',
formatter: function (value, row, index) {
if (value == 1) {
return "是";
} else if (value == 0) {
return "否"
}
}
}, },
// { // {
// field: 'imgUrl', // field: 'imgUrl',
...@@ -390,17 +402,19 @@ ...@@ -390,17 +402,19 @@
var actions = []; var actions = [];
let id = row.id; let id = row.id;
actions.push('<a class="btn btn-primary btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'详情信息\',\'/parkInfo/info/detail/' + id + '\')"><i class="fa fa-edit"></i>详情信息</a> '); actions.push('<a class="btn btn-primary btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'详情信息\',\'/parkInfo/info/detail/' + id + '\')"><i class="fa fa-edit"></i>详情信息</a> ');
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.operate.edit(\'' + id + '\')"><i class="fa fa-edit"></i>编辑园区详情</a> ');
// actions.push('<a class="btn btn-primary btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'区位交通信息\',\'/parkinfo/traffic?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑区位交通信息</a> '); actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.operate.edit(\'' + id + '\')"><i class="fa fa-edit"></i>编辑园区详情</a> ');
// actions.push('<a class="btn btn-info btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'污水处理能力\',\'/parkinfo/sewage?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑污水处理能力</a> <br>');
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'物流资源信息\',\'/parkinfo/resources?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑物流资源信息</a> '); actions.push('<a class="btn btn-primary btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'区位交通信息\',\'/parkinfo/traffic?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑区位交通信息</a> ');
// actions.push('<a class="btn btn-defaule btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'招商方向信息\',\'/parkinfo/investmentdirection?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑招商方向信息</a> '); actions.push('<a class="btn btn-info btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'污水处理能力\',\'/parkinfo/sewage?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑污水处理能力</a> <br>');
// actions.push('<a class="btn btn-warning btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'政策信息\',\'/parkinfo/policy?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑政策信息</a> '); actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'物流资源信息\',\'/parkinfo/resources?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑物流资源信息</a> ');
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.operate.remove(\'' + id + '\')"><i class="fa fa-remove"></i>删除</a>'); actions.push('<a class="btn btn-defaule btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'招商方向信息\',\'/parkinfo/investmentdirection?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑招商方向信息</a> ');
actions.push('<a class="btn btn-warning btn-xs ' + editFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.modal.openTab(\'政策信息\',\'/parkinfo/policy?parkId=' + id + '\')"><i class="fa fa-edit"></i>编辑政策信息</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" style="margin-top:5px" href="javascript:void(0)" onclick="$.operate.remove(\'' + id + '\')"><i class="fa fa-remove"></i>删除</a>');
let status = row.status; let status = row.status;
if (status == 2) { if (status == 2) {
actions.push('<a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="clickValid(' + row.id + ',3,'+row.mirrorId+')">通过</a> '); actions.push('<a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="clickValid(' + row.id + ',3,' + row.mirrorId + ')">通过</a> ');
actions.push('<a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="clickValid(' + row.id + ',4,'+row.mirrorId+')">拒绝</a> '); actions.push('<a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="clickValid(' + row.id + ',4,' + row.mirrorId + ')">拒绝</a> ');
} }
return actions.join(''); return actions.join('');
...@@ -410,10 +424,10 @@ ...@@ -410,10 +424,10 @@
$.table.init(options); $.table.init(options);
}); });
function clickValid(id, status,mirrorId) { function clickValid(id, status, mirrorId) {
url = "/parkInfo/info/edit"; url = "/parkInfo/info/changeParkStatus";
// 1=-未认证;2-认证中;3-已认证;4-已拒绝 // 1=-未认证;2-认证中;3-已认证;4-已拒绝
$.post(url, {id: id, status: status,mirrorId: mirrorId}, function (result) { $.post(url, {id: id, status: status, mirrorId: mirrorId}, function (result) {
if (result.code == web_status.SUCCESS) { if (result.code == web_status.SUCCESS) {
if (status == 3) { if (status == 3) {
alert("通过"); alert("通过");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment