You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
151 lines
6.4 KiB
151 lines
6.4 KiB
11 months ago
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<title>添加--车辆管理</title>
|
||
|
<meta name="renderer" content="webkit" />
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||
|
<meta name="viewport"
|
||
|
content="width=device-width, initial-scale=1, maximum-scale=1" />
|
||
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
||
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||
|
<meta name="format-detection" content="telephone=no" />
|
||
|
<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
|
||
|
<link rel="stylesheet" href="../../css/public.css" media="all" />
|
||
|
<link rel="stylesheet" href="../../iconfont/iconfont.css" media="all" />
|
||
|
<link rel="stylesheet" href="../../css/bulletframe.css" media="all" />
|
||
|
<link rel="stylesheet" href="../../css/right-list.css" media="all" />
|
||
|
<script src="../../js/jquery-2.1.3.min.js" type="text/javascript"></script>
|
||
|
<script src="../../js/jquery.cookie.js" type="text/javascript"></script>
|
||
|
<script type="text/javascript" src="../../layui/layui.js"></script>
|
||
|
<script type="text/javascript" src="../../js/jq_extend.js"></script>
|
||
|
</head>
|
||
|
<body class="childrenBody" style="height: 100%">
|
||
|
<!--<div class="layui-input-inline">
|
||
|
<select id="searchClass" lay-filter="searchClass" lay-search="">
|
||
|
<option value="">---车辆类别---</option>
|
||
|
<option value="0">公务车辆</option>
|
||
|
<option value="1">执勤车辆</option>
|
||
|
<option value="2">社会车辆</option>
|
||
|
</select>
|
||
|
</div>-->
|
||
|
|
||
|
<table id="carEquipList" lay-filter="carEquipList"></table>
|
||
|
|
||
|
<script type="text/javascript"></script>
|
||
|
<script type="text/javascript">
|
||
|
//document.write('<script type="text / javascript" src="../../ layui / layui.js"><\/script>');
|
||
|
document.write(
|
||
|
'<script src="../../js/remsg.js" type="text/javascript"><\/script>'
|
||
|
);
|
||
|
document.write(
|
||
|
'<script src="recard.js" type="text/javascript"><\/script>'
|
||
|
);
|
||
|
</script>
|
||
|
<script>
|
||
|
layui
|
||
|
.config({
|
||
|
base: "../../js/",
|
||
|
})
|
||
|
.use(["table"], function () {
|
||
|
var table = layui.table;
|
||
|
var OrgId = JSON.parse(
|
||
|
window.sessionStorage.getItem("userInfo")
|
||
|
).OrgID;
|
||
|
let OrgList = [];
|
||
|
|
||
|
//初始化
|
||
|
$.ajax({
|
||
|
type: "post",
|
||
|
url: "../../ashx/SysEmpHandler.ashx",
|
||
|
data: { Action: "OrgDeptTree", OrgId: OrgId },
|
||
|
dataType: "json",
|
||
|
success: function (result) {
|
||
|
var data = result.data;
|
||
|
if (data.length > 0) {
|
||
|
for (var i in data) {
|
||
|
if (data[i].TYPE == "org") {
|
||
|
OrgList.push(data[i].ID);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
});
|
||
|
|
||
|
setTimeout(function () {
|
||
|
let ID = $.getUrlVar("ID");
|
||
|
console.log(ID)
|
||
|
//系统列表
|
||
|
let tableIns = table.render({
|
||
|
elem: "#carEquipList",
|
||
|
url: "../../ashx/FireCarEquipHandler.ashx",
|
||
|
where: {
|
||
|
Action: "CarEquipList",
|
||
|
ID: ID,
|
||
|
random: new Date().getTime(),
|
||
|
}, // OrgId: OrgId,
|
||
|
cellMinWidth: 95,
|
||
|
page: true,
|
||
|
height: "full",
|
||
|
limits: [10, 15, 20, 25],
|
||
|
limit: 15,
|
||
|
id: "carEquipListTable",
|
||
|
cols: [
|
||
|
[
|
||
|
{
|
||
|
field: "EQUIP_NAME",
|
||
|
title: "设备名称",
|
||
|
minWidth: 60,
|
||
|
align: "center",
|
||
|
},
|
||
|
{
|
||
|
field: "EQUIP_CODE",
|
||
|
title: "设备编码",
|
||
|
minWidth: 60,
|
||
|
align: "center",
|
||
|
},
|
||
|
{
|
||
|
field: "EQUIP_TYPE",
|
||
|
title: "设备类别",
|
||
|
minWidth: 60,
|
||
|
align: "center",
|
||
|
},
|
||
|
{
|
||
|
field: "EQUIP_NUMBER",
|
||
|
title: "设备数量",
|
||
|
minWidth: 60,
|
||
|
align: "center",
|
||
|
},
|
||
|
{
|
||
|
field: "EQUIP_UNIT",
|
||
|
title: "设备单位",
|
||
|
minWidth: 60,
|
||
|
align: "center",
|
||
|
},
|
||
|
{
|
||
|
field: "CREATE_MAN",
|
||
|
title: "更新人员",
|
||
|
minWidth: 60,
|
||
|
align: "center",
|
||
|
},
|
||
|
{
|
||
|
field: "CREATE_TIME",
|
||
|
title: "更新时间",
|
||
|
minWidth: 60,
|
||
|
align: "center",
|
||
|
},
|
||
|
{
|
||
|
field: "REMAEK",
|
||
|
title: "备注",
|
||
|
minWidth: 60,
|
||
|
align: "center",
|
||
|
},
|
||
|
],
|
||
|
],
|
||
|
});
|
||
|
}, 500);
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|