Commit 6c9c541a authored by yaobaizheng's avatar yaobaizheng

园区搜索查询 反馈列表跳转链接

parent 3e583789
......@@ -31,7 +31,7 @@ import java.util.List;
*/
@Api(tags = "通用工具包")
@RestController
@RequestMapping("/api/util")
@RequestMapping("/api/util/v1.0")
public class CommonUtilsController extends BaseController
{
......
......@@ -227,7 +227,7 @@
<include refid="selectParkInfoVo"/>
<include refid="where"></include>
<if test="status != null ">and status = #{status}</if>
and status != 9
-- and status != 1
order by submit_time desc
</select>
......
......@@ -101,6 +101,7 @@
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "反馈列表",
onClickCell: onClickCell,
columns: [{
checkbox: true
},
......@@ -141,11 +142,17 @@
},
{
field: 'typeId',
title: '业务id'
title: '业务id',
cellStyle:function(value,row,index){
return {css:{"background-color":"rgba(28,132,198,0.1)"}};
}
},
{
field: 'typeName',
title: '业务名称'
title: '业务名称',
cellStyle:function(value,row,index){
return {css:{"background-color":"rgba(28,132,198,0.1)"}};
}
},
{
field: 'submitContent',
......@@ -193,6 +200,13 @@
};
$.table.init(options);
});
function onClickCell(field, value, row, $element){
if( (field == "typeName" || field == "typeId") && row.typeId ){
$.modal.openTab('详情信息','/parkInfo/info/detail/' + row.typeId );
// alert("单击格name:" + field + " value:" + value+","+JSON.stringify(row) );
}
}
</script>
</body>
</html>
\ No newline at end of file
......@@ -324,7 +324,7 @@
<div class="col-sm-7">
<input name="rentPrice" th:field="*{salePrice}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/天/</label>
<label class="col-sm-1 control-label">元/㎡</label>
</div>
<div class="form-group">
......
......@@ -345,7 +345,7 @@
<div class="col-sm-7">
<input name="rentPrice" th:field="*{salePrice}" class="form-control" type="text">
</div>
<label class="col-sm-1 control-label">元/天/</label>
<label class="col-sm-1 control-label">元/㎡</label>
</div>
<div class="form-group">
......
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