2024-07-17 15:42:30 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
<html>
|
|
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-07-18 17:18:42 +08:00
|
|
|
|
<title>待审核</title>
|
2024-07-17 15:42:30 +08:00
|
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
|
|
|
|
|
<link href="css/bootstrap.min.css?v=3.3.7" rel="stylesheet">
|
|
|
|
|
|
<link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
|
|
|
|
|
<link href="css/bootstrap.min.css?v=3.3.7" rel="stylesheet">
|
2024-07-17 15:42:30 +08:00
|
|
|
|
<!-- jqgrid-->
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<link href="css/plugins/blueimp/css/blueimp-gallery.min.css" rel="stylesheet">
|
|
|
|
|
|
<link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
|
2024-07-17 15:42:30 +08:00
|
|
|
|
<link href="css/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet">
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<link href="css/plugins/iCheck/custom.css" rel="stylesheet">
|
2024-07-17 15:42:30 +08:00
|
|
|
|
<link href="css/animate.css" rel="stylesheet">
|
|
|
|
|
|
<link href="css/style.css?v=4.1.0" rel="stylesheet">
|
2024-07-18 15:10:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-07-17 15:42:30 +08:00
|
|
|
|
<style>
|
|
|
|
|
|
/* Additional style to fix warning dialog position */
|
|
|
|
|
|
|
|
|
|
|
|
#alertmod_table_list_2 {
|
|
|
|
|
|
top: 900px !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lightBoxGallery {
|
|
|
|
|
|
height: 348px;
|
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
padding: 10px;
|
|
|
|
|
|
border: 1px solid #f5f5f5;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lightBoxGallery img {
|
|
|
|
|
|
margin: 5px;
|
|
|
|
|
|
width: 160px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#copy-input {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
z-index: -10;
|
|
|
|
|
|
}
|
2024-07-18 15:10:33 +08:00
|
|
|
|
|
|
|
|
|
|
.case-route-model {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100vh;
|
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
z-index: 22222;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.case-route {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: calc(50vh - 200px);
|
|
|
|
|
|
left: calc(50vw - 300px);
|
|
|
|
|
|
width: 600px;
|
|
|
|
|
|
height: 400px;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.case-route-che {
|
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#caseRouteForm {
|
|
|
|
|
|
padding-bottom: 20px;
|
|
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
|
height: 300px;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.case-router-sub {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: 10px;
|
|
|
|
|
|
right: 100px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.case-router-cel {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: 10px;
|
|
|
|
|
|
right: 30px;
|
|
|
|
|
|
}
|
2024-07-17 15:42:30 +08:00
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
<body class="gray-bg">
|
|
|
|
|
|
<div class="wrapper wrapper-content animated fadeInRight">
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
|
<div class="ibox ">
|
|
|
|
|
|
<div class="ibox-title">
|
|
|
|
|
|
<h5>线索审核</h5>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="ibox-content">
|
|
|
|
|
|
<div class="jqGrid_wrapper">
|
|
|
|
|
|
<table id="table_list_1"></table>
|
|
|
|
|
|
<div id="pager_list_1"></div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="modal inmodal" id="myModal" role="dialog" aria-hidden="true">
|
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
|
<div class="modal-content animated bounceInRight">
|
|
|
|
|
|
<div class="ibox-content">
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
|
<div class="m-b-md">
|
|
|
|
|
|
<h2>线索审核</h2>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-07-18 10:15:26 +08:00
|
|
|
|
<div class="row" id="caseDetail"></div>
|
2024-07-17 15:42:30 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<div class="case-route-model" id="case-route-model" style="display: none">
|
|
|
|
|
|
<div class="case-route">
|
|
|
|
|
|
<div class="ibox float-e-margins">
|
|
|
|
|
|
<div class="ibox-title">
|
|
|
|
|
|
<h5>请选择推送地址</h5>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<form id="caseRouteFormV" role="form">
|
|
|
|
|
|
<div class="row" id="caseRouteForm"></div>
|
|
|
|
|
|
<button class="btn btn-danger case-router-sub" type="button"
|
|
|
|
|
|
onclick="handerSubmitCaseRoute(0)">取消</button>
|
|
|
|
|
|
<button class="btn btn-success case-router-cel" type="button"
|
|
|
|
|
|
onclick="handerSubmitCaseRoute(1)">提交</button>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-07-17 15:42:30 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-07-18 15:10:33 +08:00
|
|
|
|
</div>
|
2024-07-17 15:42:30 +08:00
|
|
|
|
<!-- 全局js -->
|
|
|
|
|
|
<script src="js/jquery.min.js?v=2.1.4"></script>
|
|
|
|
|
|
<script src="js/bootstrap.min.js?v=3.3.7"></script>
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
|
2024-07-17 15:42:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Peity -->
|
|
|
|
|
|
<script src="js/plugins/peity/jquery.peity.min.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- jqGrid -->
|
|
|
|
|
|
<script src="js/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
|
|
|
|
|
|
<script src="js/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script>
|
2024-07-18 10:15:26 +08:00
|
|
|
|
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<script src="js/plugins/toastr/toastr.min.js"></script>
|
2024-07-17 15:42:30 +08:00
|
|
|
|
<!-- 自定义js -->
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<script src="js/plugins/iCheck/icheck.min.js"></script>
|
2024-07-17 15:42:30 +08:00
|
|
|
|
<script src="js/content.js?v=1.0.0"></script>
|
|
|
|
|
|
<script src="js/request.js"></script>
|
|
|
|
|
|
<!-- Page-Level Scripts -->
|
|
|
|
|
|
<script>
|
2024-07-18 15:10:33 +08:00
|
|
|
|
var currentCaseId = null;
|
|
|
|
|
|
var currentTable = null;
|
2024-07-18 10:15:26 +08:00
|
|
|
|
function handlerShenhe(_type, id) {
|
|
|
|
|
|
// myModal
|
|
|
|
|
|
if (_type == 1) {
|
2024-07-18 15:10:33 +08:00
|
|
|
|
LoadDataBase();
|
|
|
|
|
|
$('#case-route-model').fadeIn();
|
2024-07-18 10:15:26 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
swal("请输入不通过原因:", {
|
|
|
|
|
|
content: "input",
|
|
|
|
|
|
}).then((value) => {
|
2024-07-18 15:10:33 +08:00
|
|
|
|
if (value) {
|
|
|
|
|
|
let data = {
|
|
|
|
|
|
"caseid": currentCaseId,
|
|
|
|
|
|
"isagree": false,
|
|
|
|
|
|
"comments": value,
|
|
|
|
|
|
"datebaseids": []
|
|
|
|
|
|
}
|
|
|
|
|
|
// /api/DroneCaseinfo/UpdateDroneCaseInfoExamine
|
|
|
|
|
|
postAjaxRequst('/api/DroneCaseinfo/UpdateDroneCaseInfoExamine', data, function (res) {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
swal({
|
|
|
|
|
|
text: res.message,
|
|
|
|
|
|
icon: "success"
|
|
|
|
|
|
});
|
|
|
|
|
|
} else {
|
|
|
|
|
|
swal({
|
|
|
|
|
|
text: res.message,
|
|
|
|
|
|
icon: "error"
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
$('#case-route-model').fadeOut();
|
|
|
|
|
|
$('#myModal').fadeOut()
|
|
|
|
|
|
$("#table_list_1").jqGrid().trigger("reloadGrid")
|
|
|
|
|
|
currentCaseId = null
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
|
|
|
|
|
swal({
|
|
|
|
|
|
text: `未输入不通过原因,请重新操作`,
|
|
|
|
|
|
icon: "error"
|
|
|
|
|
|
});
|
|
|
|
|
|
return false;
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
2024-07-18 10:15:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
function showModal(id) {
|
2024-07-18 15:10:33 +08:00
|
|
|
|
currentCaseId = id
|
2024-07-18 10:15:26 +08:00
|
|
|
|
getAjaxRequst(
|
|
|
|
|
|
"/api/DroneCaseinfo/GetCaseInfo?id=" + id, {},
|
|
|
|
|
|
function (res) {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
let info = res.result.info
|
|
|
|
|
|
$('#caseDetail').empty()
|
|
|
|
|
|
let images_text = ''
|
|
|
|
|
|
if (res.result.pic_list && res.result.pic_list.length > 0) {
|
|
|
|
|
|
images_text = res.result.pic_list.map(item => `<a href="${imageURL + item}" data-gallery=""><img src="${imageURL + item}"></a>`).join('')
|
|
|
|
|
|
}
|
|
|
|
|
|
let result_text = `
|
|
|
|
|
|
<div class="row detail-dd">
|
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
|
<dl class="dl-horizontal" style="margin-bottom: 0px;">
|
|
|
|
|
|
<dt>案件编号:</dt>
|
|
|
|
|
|
<dd>${info.case_no}</dd>
|
|
|
|
|
|
<dt>案件详情:</dt>
|
|
|
|
|
|
<dd>${info.case_name || '无'}</dd>
|
|
|
|
|
|
<dt>违规类型:</dt>
|
|
|
|
|
|
<dd>${info.typename || '无'}</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-sm-5">
|
|
|
|
|
|
<dl class="dl-horizontal" style="margin-bottom: 0px;">
|
|
|
|
|
|
<dt>县/区:</dt>
|
|
|
|
|
|
<dd>${info.countyname || '无'}</dd>
|
|
|
|
|
|
<dt>社区/村:</dt>
|
|
|
|
|
|
<dd>${info.communityname || '无'}</dd>
|
|
|
|
|
|
<dt>前影像名称:</dt>
|
|
|
|
|
|
<dd>${info.pre_phase_img || '无'}</dd>
|
|
|
|
|
|
<dt>前时相时间:</dt>
|
|
|
|
|
|
<dd>${info.pre_phase_time || '无'}</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-sm-7">
|
|
|
|
|
|
<dl class="dl-horizontal" style="margin-bottom: 0px;">
|
|
|
|
|
|
<dt>乡镇/街道:</dt>
|
|
|
|
|
|
<dd>${info.streetname || '无'}</dd>
|
|
|
|
|
|
<dt>详细地址:</dt>
|
|
|
|
|
|
<dd>${info.address || '无'}</dd>
|
|
|
|
|
|
<dt>后影像名称:</dt>
|
|
|
|
|
|
<dd>${info.later_phase_img || '无'}</dd>
|
|
|
|
|
|
<dt>后时相:</dt>
|
|
|
|
|
|
<dd>${info.later_phase_time || '无'}</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
|
<dl class="dl-horizontal" style="margin-bottom: 0px;">
|
|
|
|
|
|
<dt>备注:</dt>
|
|
|
|
|
|
<dd>${info.remark || '无'}</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-sm-5">
|
|
|
|
|
|
<dl class="dl-horizontal" style="margin-bottom: 0px;">
|
|
|
|
|
|
<dt>判读人:</dt>
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<dd>${info.identification_user || '无'}</dd>
|
2024-07-18 10:15:26 +08:00
|
|
|
|
</dl>
|
|
|
|
|
|
<dl class="dl-horizontal" style="margin-bottom: 0px;">
|
|
|
|
|
|
<dt>判读时间:</dt>
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<dd>${info.identification_time || '无'}</dd>
|
2024-07-18 10:15:26 +08:00
|
|
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-sm-7">
|
|
|
|
|
|
<dl class="dl-horizontal">
|
|
|
|
|
|
<dt>经纬度:</dt>
|
2024-07-18 15:10:33 +08:00
|
|
|
|
<dd id="map" onclick="copyText()" style="cursor: pointer;color: #337ab7;">${info.lng + ',' + info.lat || '无'}</dd>
|
|
|
|
|
|
|
2024-07-18 10:15:26 +08:00
|
|
|
|
</dd>
|
|
|
|
|
|
<textarea id="copy-input"></textarea>
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<dl class="dl-horizontal" style="margin-bottom: 0px;">
|
|
|
|
|
|
<dt>图片:${images_text.length ? '' : '无'}</dt>
|
|
|
|
|
|
<dd>
|
|
|
|
|
|
<div class="row lightBoxGallery">
|
|
|
|
|
|
${images_text}
|
|
|
|
|
|
<div id="blueimp-gallery" class="blueimp-gallery">
|
|
|
|
|
|
<div class="slides"></div>
|
|
|
|
|
|
<h3 class="title"></h3>
|
|
|
|
|
|
<a class="prev">‹</a>
|
|
|
|
|
|
<a class="next">›</a>
|
|
|
|
|
|
<a class="close">×</a>
|
|
|
|
|
|
<a class="play-pause"></a>
|
|
|
|
|
|
<ol class="indicator"></ol>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="modal-footer" style="border-top: 0px;">
|
|
|
|
|
|
<button type="button" class="btn btn-white" data-dismiss="modal">关 闭</button>
|
|
|
|
|
|
<button type="button" onClick="handlerShenhe(1,'${info.case_no}')" class="btn btn-primary">通 过</button>
|
|
|
|
|
|
<button type="button" onClick="handlerShenhe(2,'${info.case_no}')" class="btn btn-danger">不通过</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
$('#caseDetail').append(result_text)
|
|
|
|
|
|
} else {
|
|
|
|
|
|
toastr.error(res.message);
|
2024-07-18 15:10:33 +08:00
|
|
|
|
currentCaseId = null
|
2024-07-18 10:15:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
2024-07-17 15:42:30 +08:00
|
|
|
|
function copyText() {
|
|
|
|
|
|
let text = document.getElementById("map").innerText;
|
|
|
|
|
|
let input = document.getElementById("copy-input");
|
|
|
|
|
|
input.value = text; // 修改文本框的内容
|
|
|
|
|
|
input.select(); // 选中文本
|
|
|
|
|
|
document.execCommand("copy"); // 执行浏览器复制命令
|
2024-07-18 15:10:33 +08:00
|
|
|
|
toastr.success('复制成功')
|
|
|
|
|
|
}
|
|
|
|
|
|
//提交审核-同意
|
|
|
|
|
|
function handerSubmitCaseRoute(type) {
|
|
|
|
|
|
if (!type) {
|
|
|
|
|
|
$('#case-route-model').fadeOut();
|
|
|
|
|
|
return false;
|
|
|
|
|
|
}
|
|
|
|
|
|
let formData = $('#caseRouteFormV').serializeArray();
|
|
|
|
|
|
let data = {
|
|
|
|
|
|
"caseid": currentCaseId,
|
|
|
|
|
|
"isagree": true,
|
|
|
|
|
|
"comments": "",
|
|
|
|
|
|
"datebaseids": formData.map(item => item.value)
|
|
|
|
|
|
}
|
|
|
|
|
|
postAjaxRequst('/api/DroneCaseinfo/UpdateDroneCaseInfoExamine', data, function (res) {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
swal({
|
|
|
|
|
|
text: res.message,
|
|
|
|
|
|
icon: "success"
|
|
|
|
|
|
});
|
|
|
|
|
|
} else {
|
|
|
|
|
|
swal({
|
|
|
|
|
|
text: res.message,
|
|
|
|
|
|
icon: "error"
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
$('#case-route-model').fadeOut();
|
|
|
|
|
|
$('#myModal').fadeOut()
|
|
|
|
|
|
$("#table_list_1").jqGrid().trigger("reloadGrid")
|
|
|
|
|
|
currentCaseId = null
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
function LoadDataBase() {
|
|
|
|
|
|
// /api/Orgs/LoadDataBase
|
|
|
|
|
|
getAjaxRequst('/api/Orgs/LoadDataBase', {}, function (res) {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
$('#caseRouteForm').empty()
|
|
|
|
|
|
res.result.forEach((item) => {
|
|
|
|
|
|
$('#caseRouteForm').append(
|
|
|
|
|
|
`
|
|
|
|
|
|
<div class="checkbox i-checks case-route-che">
|
|
|
|
|
|
<label><input type="checkbox" name='caseroute' value="${item.id}"> <i></i>${item.database_name}</label>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
`
|
|
|
|
|
|
)
|
|
|
|
|
|
})
|
|
|
|
|
|
$('.i-checks').iCheck({
|
|
|
|
|
|
checkboxClass: 'icheckbox_square-green',
|
|
|
|
|
|
radioClass: 'iradio_square-green',
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
2024-07-17 15:42:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
|
|
$.jgrid.defaults.styleUI = 'Bootstrap';
|
2024-07-17 17:09:01 +08:00
|
|
|
|
$("#table_list_1").jqGrid('clearGridData');
|
|
|
|
|
|
$("#table_list_1").jqGrid({
|
2024-07-18 15:10:33 +08:00
|
|
|
|
url: baseURL + '/api/DroneCaseinfo/LoadCaseInfoLists?is_Reviewer=1&is_examine=0',
|
2024-07-17 17:09:01 +08:00
|
|
|
|
loadBeforeSend: function (jqXHR) {
|
2024-07-18 10:15:26 +08:00
|
|
|
|
jqXHR.setRequestHeader("X-Token", localStorage.getItem('token'));
|
2024-07-17 17:09:01 +08:00
|
|
|
|
},
|
|
|
|
|
|
jsonReader: {
|
2024-07-18 10:15:26 +08:00
|
|
|
|
root: "root",
|
|
|
|
|
|
page: "page",
|
|
|
|
|
|
total: "total",
|
|
|
|
|
|
records: "totalCount"
|
2024-07-17 17:09:01 +08:00
|
|
|
|
},
|
|
|
|
|
|
datatype: "json",
|
|
|
|
|
|
height: "100%",
|
|
|
|
|
|
autowidth: true,
|
|
|
|
|
|
shrinkToFit: true,
|
|
|
|
|
|
rowNum: 14,
|
2024-07-18 10:15:29 +08:00
|
|
|
|
// rowList: [10, 20, 30],
|
2024-07-18 15:10:33 +08:00
|
|
|
|
colNames: ['案件编号', '案件名称', '案件类型', '县', '镇', '村', '备注', '判读人', '判读时间', '状态', '操作'],
|
2024-07-17 17:09:01 +08:00
|
|
|
|
colModel: [
|
|
|
|
|
|
{
|
|
|
|
|
|
name: 'case_no',
|
|
|
|
|
|
index: 'case_no',
|
|
|
|
|
|
align: 'center',
|
2024-07-18 15:44:27 +08:00
|
|
|
|
width: 100,
|
2024-07-17 17:09:01 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
name: 'case_name',
|
|
|
|
|
|
index: 'case_name',
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
name: 'typename',
|
|
|
|
|
|
index: 'typename',
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
width: 100
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2024-07-17 17:16:56 +08:00
|
|
|
|
name: 'countyname',
|
|
|
|
|
|
index: 'countyname',
|
|
|
|
|
|
align: 'center',
|
2024-07-18 15:44:27 +08:00
|
|
|
|
width: 50,
|
2024-07-17 17:16:56 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
name: 'streetname',
|
|
|
|
|
|
index: 'streetname',
|
|
|
|
|
|
align: 'center',
|
2024-07-18 15:44:27 +08:00
|
|
|
|
width: 50,
|
2024-07-17 17:16:56 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
name: 'communityname',
|
|
|
|
|
|
index: 'communityname',
|
2024-07-17 17:09:01 +08:00
|
|
|
|
align: 'center',
|
2024-07-18 15:44:27 +08:00
|
|
|
|
width: 50,
|
2024-07-17 17:09:01 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
name: 'remark',
|
|
|
|
|
|
index: 'remark',
|
|
|
|
|
|
width: 80,
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
name: 'identification_user',
|
|
|
|
|
|
index: 'identification_user',
|
|
|
|
|
|
width: 80,
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
name: 'identification_time',
|
|
|
|
|
|
index: 'identification_time',
|
|
|
|
|
|
width: 80,
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
sorttype: "date"
|
|
|
|
|
|
},
|
2024-07-18 15:10:33 +08:00
|
|
|
|
{
|
|
|
|
|
|
name: '操作',
|
|
|
|
|
|
align: "center",
|
2024-07-18 15:44:27 +08:00
|
|
|
|
width: 50,
|
2024-07-18 15:10:33 +08:00
|
|
|
|
formatter: function (value, grid, rows) {
|
|
|
|
|
|
if (rows.is_examine == 0) {
|
|
|
|
|
|
return `<p><span class="badge badge-warning">待审核</span></p>`;
|
|
|
|
|
|
} else {
|
|
|
|
|
|
return `<p><span class="badge badge-primary">已审核</span></p>`;
|
|
|
|
|
|
}
|
2024-07-17 15:42:30 +08:00
|
|
|
|
|
2024-07-18 15:10:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
2024-07-17 17:09:01 +08:00
|
|
|
|
{
|
|
|
|
|
|
name: '操作',
|
|
|
|
|
|
align: "center",
|
2024-07-18 15:44:27 +08:00
|
|
|
|
width: 50,
|
2024-07-17 17:09:01 +08:00
|
|
|
|
formatter: function (value, grid, rows) {
|
|
|
|
|
|
var id = rows.id;
|
2024-07-18 10:15:26 +08:00
|
|
|
|
return `<button type="button" onClick="showModal('${id}')" class="btn btn-primary" data-toggle="modal" data-target="#myModal">
|
2024-07-17 17:09:01 +08:00
|
|
|
|
审核
|
|
|
|
|
|
</button>`;
|
2024-07-17 15:42:30 +08:00
|
|
|
|
}
|
2024-07-17 17:09:01 +08:00
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
pager: "#pager_list_1",
|
|
|
|
|
|
viewrecords: true,
|
|
|
|
|
|
caption: "",
|
|
|
|
|
|
hidegrid: false
|
2024-07-17 15:42:30 +08:00
|
|
|
|
});
|
|
|
|
|
|
// Add responsive to jqGrid
|
|
|
|
|
|
$(window).bind('resize', function () {
|
|
|
|
|
|
var width = $('.jqGrid_wrapper').width();
|
|
|
|
|
|
$('#table_list_1').setGridWidth(width);
|
|
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<!-- blueimp gallery -->
|
|
|
|
|
|
<script src="js/plugins/blueimp/jquery.blueimp-gallery.min.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|