|
|
|
@ -111,9 +111,14 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<button class="layui-btn layui-bg-orange layui-btn-sm" lay-submit lay-filter="shenhe" id="shenhe"
|
|
|
|
|
style="position: absolute;top: 15px;right: 17px;z-index: 999;"><i class="layui-icon layui-icon-ok">
|
|
|
|
|
style="position: absolute;top: 15px;right: 96px;z-index: 999;"><i class="layui-icon layui-icon-ok">
|
|
|
|
|
</i>一键审核通过</button>
|
|
|
|
|
|
|
|
|
|
<button class="layui-btn layui-btn-primary layui-border-green layui-btn-sm" lay-submit lay-filter="back"
|
|
|
|
|
style="position: absolute;top: 15px;right: 15px;z-index: 999;"><i class="layui-icon layui-icon-return">
|
|
|
|
|
</i>返
|
|
|
|
|
回</button>
|
|
|
|
|
|
|
|
|
|
<table class="layui-table" id="myTable"></table>
|
|
|
|
|
|
|
|
|
|
<script type="text/html" id="table-bar">
|
|
|
|
@ -172,27 +177,12 @@
|
|
|
|
|
},
|
|
|
|
|
cols: [[
|
|
|
|
|
{ title: '序号', align: 'center', width: "10%", type: 'numbers' },
|
|
|
|
|
{ title: '学校名称', field: 'org_name', align: 'center', width: "25%" },
|
|
|
|
|
{ title: '学校类型', field: 'school_type_name', align: 'center', width: "20%" },
|
|
|
|
|
{ title: '状态', field: 'status_name', align: 'center', width: "20%" },
|
|
|
|
|
{ title: '操作', toolbar: '#table-bar', align: 'center', width: "25%" }
|
|
|
|
|
|
|
|
|
|
{ title: '学校名称', field: 'org_name', align: 'center', width: "30%" },
|
|
|
|
|
{ title: '学校类型', field: 'school_type_name', align: 'center', width: "30%" },
|
|
|
|
|
{ title: '操作', toolbar: '#table-bar', align: 'center', width: "30%" }
|
|
|
|
|
]],
|
|
|
|
|
// skin: 'line',
|
|
|
|
|
defaultToolbar: [],
|
|
|
|
|
parseData: function (res) {
|
|
|
|
|
var dataArr = res.data;
|
|
|
|
|
for (var i = 0; i < dataArr.length; i++) {
|
|
|
|
|
if (dataArr[i].check_type_id == 0) {
|
|
|
|
|
dataArr[i].status_name = "待审核";
|
|
|
|
|
} else if (dataArr[i].check_type_id == 1) {
|
|
|
|
|
dataArr[i].status_name = "已审核";
|
|
|
|
|
} else {
|
|
|
|
|
dataArr[i].status_name = "未提交";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
defaultToolbar: []
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -205,7 +195,7 @@
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
form.on('submit(shenhe)', function () {
|
|
|
|
|
layer.confirm('确定一键审核吗?', {
|
|
|
|
|
layer.confirm('确定一键审核通过吗?', {
|
|
|
|
|
icon: 3,
|
|
|
|
|
title: '提示'
|
|
|
|
|
}, function (index) {
|
|
|
|
@ -213,11 +203,14 @@
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "POST",
|
|
|
|
|
dataType: "json",
|
|
|
|
|
url: "/QingLong/zbdc/oneKeyPass",
|
|
|
|
|
url: "/QingLong/zbdc/ShiCheckQuPass",
|
|
|
|
|
data: {
|
|
|
|
|
"area_id": areaId
|
|
|
|
|
},
|
|
|
|
|
async: false,
|
|
|
|
|
success: function (result) {
|
|
|
|
|
if (result.success) {
|
|
|
|
|
layer.msg('一键审核成功!', {
|
|
|
|
|
layer.msg('一键审核通过成功!', {
|
|
|
|
|
icon: 1,
|
|
|
|
|
time: 1500
|
|
|
|
|
});
|
|
|
|
@ -232,8 +225,16 @@
|
|
|
|
|
});
|
|
|
|
|
// 阻止表单的默认提交行为
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
form.on('submit(back)', function () {
|
|
|
|
|
|
|
|
|
|
window.location.href = "./examine_city.html";
|
|
|
|
|
|
|
|
|
|
// 阻止表单的默认提交行为
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
form.on('select(xxlx)', function () {
|
|
|
|
|
tableRender();
|
|
|
|
@ -243,7 +244,7 @@
|
|
|
|
|
|
|
|
|
|
table.on('tool(myTable)', function (obj) {
|
|
|
|
|
if (obj.event === 'view') {
|
|
|
|
|
window.location.href = "/QingLong/view/tb/zbdc/examine/data_all.html?bureau_id=" + obj.data.bureau_id;
|
|
|
|
|
window.location.href = "/QingLong/view/tb/zbdc/examine/data_all.html?bureau_id=" + obj.data.bureau_id + "&flag=2&area_id=" + areaId;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|