Files
dsProject/dsBase/WebRoot/view/ywgl/qrxx/sign_view.html

45 lines
1.1 KiB
HTML
Raw Normal View History

2025-08-14 15:45:08 +08:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<img alt="" id="signature">
<script src="../../../admin/js/jquery-3.6.0.min.js"></script>
<script>
$(function () {
var id = GetQueryString("id");
$.ajax({
type: 'GET',
async: false,
url: '/dsBase/base/getDakaById?id='+id,
success: function (res) {
$('#signature').attr('src', res.signature);
}
});
function GetQueryString(name, istop) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (typeof (istop) != "undefined") r = top.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]);
return null;
}
});
</script>
<script>
</script>
</body>
</html>