Commit c2848a0b authored by yaobaizheng's avatar yaobaizheng

//立业云后台提交

parent 740cdf32
......@@ -50,12 +50,12 @@ public class ParkInfoController extends BaseController {
public TableDataInfo list(ParkInfo parkInfo) {
Integer status = parkInfo.getStatus();
List<ParkInfo> list;
startPage();
if (status == null) {
list = parkInfoService.selectByStatus("1");
} else {
list = parkInfoService.selectParkInfoList(parkInfo);
}
startPage();
return getDataTable(list);
}
......
......@@ -14,6 +14,15 @@
<label>片区名称:</label>
<input type="text" name="name"/>
</li>
<li>
<label>审核状态:</label>
<select name="status" th:with="type=${@dict.getType('lyy_developmentinfo_status')}">
<option value="">所有</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
th:value="${dict.dictValue}"></option>
</select>
</li>
<!-- <li>-->
<!-- <label>所属集团id:</label>-->
<!-- <input type="text" name="groupId"/>-->
......@@ -243,6 +252,7 @@
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('developmentInfo:info:edit')}]];
var removeFlag = [[${@permission.hasPermi('developmentInfo:info:remove')}]];
var datasExamineStatus = [[${@dict.getType('lyy_developmentinfo_status')}]];
var prefix = ctx + "developmentInfo/info";
$(function () {
......@@ -283,7 +293,10 @@
title: '开发区级别'
}, {
field: 'status',
title: '状态'
title: '状态',
formatter: function (value, row, index) {
return $.table.selectDictLabel(datasExamineStatus, value);
}
},
// {
// field: 'levelOther',
......@@ -584,16 +597,14 @@
function clickValid(id, status) {
url = "/developmentInfo/info/edit";
// 1=-未认证;2-认证中;3-已认证;4-已拒绝9-作废
// 1=-未认证;2-认证中;3-已认证;4-已拒绝9-作废
$.post(url, {id: id, status: status}, function (result) {
if (result.code == web_status.SUCCESS) {
if (status == 3) {
alert("通过");
} else {
alert("拒绝");
}
} else {
alert("保存状态,出现异常");
}
......
......@@ -20,7 +20,7 @@
</li>
<li>
<label>审核状态:</label>
<select name="status" th:with="type=${@dict.getType('lyy_examine_status')}">
<select name="status" th:with="type=${@dict.getType('lyy_parkinfo_status')}">
<option value="">所有</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
th:value="${dict.dictValue}"></option>
......@@ -63,7 +63,7 @@
var editFlag = [[${@permission.hasPermi('parkinfo:info:edit')}]];
var removeFlag = [[${@permission.hasPermi('parkinfo:info:remove')}]];
var datas = [[${@dict.getType('sys_has_no')}]];
var datasExamineStatus = [[${@dict.getType('lyy_examine_status')}]];
var datasExamineStatus = [[${@dict.getType('lyy_parkinfo_status')}]];
var prefix = ctx + "parkInfo/info";
$(function () {
......
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