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.
140 lines
4.0 KiB
140 lines
4.0 KiB
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title></title>
|
|
<link rel="stylesheet" href="../../../../component/layui/css/layui.css" />
|
|
|
|
<style>
|
|
th {
|
|
color: #303133;
|
|
background-color: #f5f7fa;
|
|
}
|
|
|
|
.layui-card {
|
|
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.layui-form-item {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.layui-table td,
|
|
.layui-table th {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.bp {
|
|
background-color: rgba(23, 179, 163, .1);
|
|
padding: 5px 10px;
|
|
height: 32px;
|
|
line-height: 30px;
|
|
font-size: 12px;
|
|
color: #17b3a3;
|
|
border-radius: 4px;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
border: 1px solid rgba(23, 179, 163, .2);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.xp {
|
|
background-color: rgba(144, 147, 153, .1);
|
|
padding: 5px 10px;
|
|
height: 32px;
|
|
line-height: 30px;
|
|
font-size: 12px;
|
|
color: #909399;
|
|
border-radius: 4px;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
border: 1px solid rgba(144, 147, 153, .2);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.woo-tool-text-delimiter {
|
|
width: 1px;
|
|
height: 12px;
|
|
background: #EEEEEE;
|
|
display: inline-block;
|
|
margin: 0 6px 0 4px;
|
|
}
|
|
|
|
.woo-theme-color {
|
|
color: #16baaa !important;
|
|
}
|
|
|
|
.woo-blue-color {
|
|
color: #1E9FFF !important;
|
|
}
|
|
|
|
.woo-orange-color {
|
|
color: #ffb800 !important;
|
|
}
|
|
|
|
.woo-tool-span {
|
|
margin: 0 3px;
|
|
position: relative;
|
|
top: -1px;
|
|
cursor: pointer;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body class="layui-form">
|
|
|
|
<div class="layui-card">
|
|
<div class="layui-card-body">
|
|
|
|
<table class="layui-table" id="myTable"></table>
|
|
|
|
<script type="text/html" id="table-bar">
|
|
{{# if(d.pass === 1) { }}
|
|
<span class="woo-tool-span woo-tool-text-span" lay-event="view"><a
|
|
class="woo-theme-color">查看详情</a></span>
|
|
<i class="woo-tool-text-delimiter"></i>
|
|
<span class="woo-tool-span woo-tool-text-span" lay-event="view1"><a
|
|
class="woo-orange-color">审核通过</a></span>
|
|
{{# } }}
|
|
</script>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="../../../../component/layui/layui.js"></script>
|
|
|
|
<script>
|
|
layui.use(function () {
|
|
var $ = layui.jquery;
|
|
var table = layui.table;
|
|
var form = layui.form;
|
|
var laytpl = layui.laytpl;
|
|
|
|
table.render({
|
|
elem: '#myTable',
|
|
url: '/QingLong/zbdc/getQueryXzqh',
|
|
cellExpandedMode: "tips",
|
|
height: 'full',
|
|
cols: [[
|
|
{ title: '序号', align: 'center', width: "10%", type: 'numbers' },
|
|
{ title: '行政区划', field: 'area_name', align: 'center', width: "35%" },
|
|
{ title: '下级单位', field: 'count', align: 'center', width: "30%" },
|
|
{ title: '操作', toolbar: '#table-bar', align: 'center', width: "25%" }
|
|
]],
|
|
// skin: 'line',
|
|
defaultToolbar: []
|
|
});
|
|
|
|
table.on('tool(myTable)', function (obj) {
|
|
if (obj.event === 'view') {
|
|
window.location.href = "/QingLong/view/tb/zbdc/examine/examine_city_list.html?area_id=" + obj.data.id;
|
|
}
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html> |