石超 2024-07-19 10:00:33 +08:00
commit 3fe6fb355b
4 changed files with 44 additions and 53 deletions

View File

@ -3468,10 +3468,11 @@ video {
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
outline: 0 none;
width:1200px;
height:860px;
width:90vw;
height:90vh;
margin:auto;
padding: 40px;
overflow: auto;
}
.info-item{
display: flex;

View File

@ -27,7 +27,7 @@
}
.lightBoxGallery {
height: 348px;
height: 199px;
overflow: auto;
padding: 10px;
border: 1px solid #f5f5f5;
@ -415,7 +415,11 @@
shrinkToFit: true,
rowNum: 14,
// rowList: [10, 20, 30],
colNames: ['案件编号', '案件名称', '案件类型', '县', '镇', '村', '备注', '判读人', '判读时间', '状态', '操作'],
colNames: ['案件编号', '案件名称', '案件类型', '县', '镇', '判读人', '判读时间', '状态', '操作'],
ondblClickRow: function (rowid, iRow, iCol, e) {
$('#myModal').modal('show')
showModal(rowid)
},
colModel: [
{
name: 'case_no',
@ -446,18 +450,6 @@
align: 'center',
width: 50,
},
{
name: 'communityname',
index: 'communityname',
align: 'center',
width: 50,
},
{
name: 'remark',
index: 'remark',
width: 80,
align: 'center',
},
{
name: 'identification_user',
index: 'identification_user',

View File

@ -23,7 +23,7 @@
}
.lightBoxGallery {
height: 348px;
height: 199px;
overflow: auto;
padding: 10px;
border: 1px solid #f5f5f5;
@ -236,7 +236,11 @@
shrinkToFit: true,
rowNum: 10,
// rowList: [10, 20, 30],
colNames: ['案件编号', '案件名称', '案件类型', '县','镇','村', '备注', '判读人','判读时间', '是否通过','是否审核','操作'],
ondblClickRow: function (rowid, iRow, iCol, e) {
$('#myModal').modal('show')
showModal(rowid)
},
colNames: ['案件编号', '案件名称', '案件类型', '县','镇', '判读人','判读时间', '是否通过','是否审核','操作'],
colModel: [
{
name: 'case_no',
@ -267,18 +271,6 @@
align: 'center',
width: 50,
},
{
name: 'communityname',
index: 'communityname',
align: 'center',
width: 50,
},
{
name: 'remark',
index: 'remark',
width: 80,
align: 'center',
},
{
name: 'identification_user',
index: 'identification_user',

View File

@ -3,21 +3,19 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<title>用户管理</title>
<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">
<link rel="shortcut icon" href="favicon.ico">
<link href="css/bootstrap.min.css?v=3.3.7" rel="stylesheet">
<!-- jqgrid-->
<link href="css/plugins/blueimp/css/blueimp-gallery.min.css" rel="stylesheet">
<link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
<link href="css/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet">
<link href="css/plugins/iCheck/custom.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/style.css?v=4.1.0" rel="stylesheet">
<link href="css/plugins/blueimp/css/blueimp-gallery.min.css" rel="stylesheet">
<script src="js/request.js"></script>
<link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
<script src="js/plugins/sweetalert/sweetalert.min.js"></script>
<style>
/* Additional style to fix warning dialog position */
@ -80,7 +78,7 @@
</div>
</div>
<div class="form-group">
<div class="col-sm-10" id="show-user-list"></div>
<div class="col-sm-12" id="show-user-list"></div>
</div>
<div class="modal-footer" style="border-top: 0px;position: absolute;bottom: 10px; right:10px;">
<button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
@ -93,7 +91,7 @@
</div>
<div class="modal inmodal" id="insertUserModal" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content animated bounceInRight">
<div class="modal-content animated bounceInRight" style="height: 400px;">
<div class="ibox-content">
<div class="row">
<div class="col-sm-12">
@ -137,7 +135,7 @@
<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.7"></script>
<link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
<!-- Peity -->
@ -146,12 +144,12 @@
<!-- jqGrid -->
<script src="js/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
<script src="js/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="js/plugins/toastr/toastr.min.js"></script>
<!-- 自定义js -->
<script src="js/content.js?v=1.0.0"></script>
<!-- iCheck -->
<script src="js/plugins/iCheck/icheck.min.js"></script>
<script src="js/content.js?v=1.0.0"></script>
<script src="js/request.js"></script>
<!-- Page-Level Scripts -->
<script>
let selectUserId = '';
@ -224,16 +222,23 @@
}
}
function delUser(id){
postAjaxRequst(
"/api/Users/Delete", [id],
function (res) {
if (res.code == 200) {
swal('删除成功');
$("#table_list_1").jqGrid("clearGridData").jqGrid("setGridParam", { url: baseURL + '/api/Users/Loads' })
.trigger("reloadGrid");
}
swal({
title: "确定要删除该用户吗?",
buttons: ['取消','确定'],
}).then(res => {
if(res){
postAjaxRequst(
"/api/Users/Delete", [id],
function (res) {
if (res.code == 200) {
swal('删除成功');
$("#table_list_1").jqGrid("clearGridData").jqGrid("setGridParam", { url: baseURL + '/api/Users/Loads' })
.trigger("reloadGrid");
}
}
)
}
)
})
}
$(document).ready(function () {
$.jgrid.defaults.styleUI = 'Bootstrap';
@ -306,6 +311,7 @@
</script>
<!-- blueimp gallery -->
<script src="js/plugins/blueimp/jquery.blueimp-gallery.min.js"></script>
</body>
</html>