|
|
@ -36,6 +36,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
<button class="pear-btn pear-btn-warming pear-btn-sm" lay-event="view" title="查看户口本照片"><i class="icon pear-icon pear-icon-picture"></i>
|
|
|
|
<button class="pear-btn pear-btn-warming pear-btn-sm" lay-event="view" title="查看户口本照片"><i class="icon pear-icon pear-icon-picture"></i>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button class="pear-btn pear-btn-danger pear-btn-sm" lay-event="remove" title="删除"><i class="layui-icon layui-icon-delete"></i>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
@ -66,7 +68,7 @@
|
|
|
|
, { field: 'mother_name', title: '母亲姓名', align: 'center', width: "8%" }
|
|
|
|
, { field: 'mother_name', title: '母亲姓名', align: 'center', width: "8%" }
|
|
|
|
, { field: 'tel', title: '联系电话', align: 'center', width: "10%" }
|
|
|
|
, { field: 'tel', title: '联系电话', align: 'center', width: "10%" }
|
|
|
|
, { field: 'create_time', title: '报名日期', align: 'center', width: "10%" }
|
|
|
|
, { field: 'create_time', title: '报名日期', align: 'center', width: "10%" }
|
|
|
|
, { field: '', title: '查看户口本照片', toolbar: '#tableOperate', align: 'center', width: "10%" }
|
|
|
|
, { field: '', title: '操作', toolbar: '#tableOperate', align: 'center', width: "10%" }
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
@ -123,6 +125,31 @@
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
} else if (data.event === 'remove') {
|
|
|
|
|
|
|
|
layer.confirm('确定要删除吗?', {
|
|
|
|
|
|
|
|
icon: 3,
|
|
|
|
|
|
|
|
title: '提示'
|
|
|
|
|
|
|
|
}, function (index) {
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
|
|
|
url: "/FengHuang/yp/delRecord?id=" + data.data.id,
|
|
|
|
|
|
|
|
type: 'GET',
|
|
|
|
|
|
|
|
success: function (result) {
|
|
|
|
|
|
|
|
if (result.success) {
|
|
|
|
|
|
|
|
layer.msg("删除成功!", {
|
|
|
|
|
|
|
|
icon: 1,
|
|
|
|
|
|
|
|
time: 1000
|
|
|
|
|
|
|
|
}, function () {
|
|
|
|
|
|
|
|
table.reload('task-table');
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
layer.msg(result.msg, {
|
|
|
|
|
|
|
|
icon: 2,
|
|
|
|
|
|
|
|
time: 1000
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|