更新页面

This commit is contained in:
wans 2021-07-13 11:33:30 +08:00
parent 7c76ecc915
commit abe7dc3f66

View File

@ -18,12 +18,9 @@
<div class="layui-row">
<div class="layui-col-md12 layui-col-sm12">
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">受理状态</label>
<label class="layui-form-label">案件所属区域</label>
<div class="layui-input-block">
<select id="acceptStatus" name="acceptStatus" lay-verify="required">
<option value="1">同意受理</option>
<option value="0">拒绝受理</option>
</select>
<input id="communityName" name="communityName" autocomplete="off" placeholder="请输入内容" class="layui-input" readonly="readonly">
</div>
</div>
</div>
@ -41,19 +38,9 @@
<div class="layui-row">
<div class="layui-col-md12 layui-col-sm12">
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">所属社区</label>
<label class="layui-form-label"><span style="color: red;">*</span>责任网格长</label>
<div class="layui-input-block">
<input id="communityName" name="communityName" autocomplete="off" placeholder="请输入内容" class="layui-input" readonly="readonly">
</div>
</div>
</div>
</div>
<div class="layui-row">
<div class="layui-col-md12 layui-col-sm12">
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">负责网格长</label>
<div class="layui-input-block">
<input id="communityBossName" name="communityBossName" autocomplete="off" placeholder="请选择负责网格长"
<input id="communityBossName" name="communityBossName" autocomplete="off" placeholder="点选责任网格长"
style="cursor:pointer" class="layui-input" readonly="readonly" lay-verify="required">
</div>
</div>
@ -62,7 +49,23 @@
<div class="layui-row">
<div class="layui-col-md12 layui-col-sm12">
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">受理意见</label>
<label class="layui-form-label"><span style="color: red;">*</span>是否受理案件</label>
<div class="layui-input-block">
<select id="acceptStatus" name="acceptStatus" lay-verify="required">
<option value="1">同意受理</option>
<option value="0">拒绝受理</option>
</select>
</div>
</div>
</div>
</div>
<div class="layui-row">
<div class="layui-col-md12 layui-col-sm12">
<div class="layui-form-item layui-form-text">
<label class="layui-form-label"><span style="color: red;">*</span>受理意见</label>
<div class="layui-input-block">
<textarea id="acceptOpinion" name="acceptOpinion" autocomplete="off" maxlength="255"
placeholder="请输入受理意见" class="layui-textarea" lay-verify="required"></textarea>
@ -102,6 +105,7 @@
function initData(){
var loadLayerIndex;
top.restAjax.get(top.restAjax.path('api/reportcase/getreportcase/{reportCaseId}', [reportCaseId]), {}, null, function(code, data) {
console.log(data);
var dataFormData = {};
for(var i in data) {
dataFormData[i] = data[i];
@ -110,6 +114,7 @@
communityId = dataFormData['communityId'];
communityName = dataFormData['communityName'];
form.val('dataForm', dataFormData);
$('#communityName').val(data.areaName + '-' + data.communityName);
form.render(null, 'dataForm');
}, function(code, data) {
top.dialog.msg(data.msg);