Commit 4bbe4830 authored by 刘春鲜's avatar 刘春鲜

feat(电子签章): 电子签章

parent 39943843
......@@ -9,21 +9,29 @@
<body>
<div>证书申请中...</div>
<script>
// alert(window.location.href)
window.onload = function () {
const studentId = getQueryString('studentId')
const schoolAreaId = getQueryString('schoolAreaId')
const type = getQueryString('type')
const url = getQueryString('url')
if (studentId && schoolAreaId) {
setTimeout(() => { // 后端说 延迟3s 调借口
sendMessage({ type: 'batchPageUrl', __callback__: '__callback__', data: { studentId, schoolAreaId }})
}, 3000);
}, 5000);
}
if (type) {
sendMessage({ type: type || 'contract' })
}
if (url) { // 合同预览
window.location.href = url
}
window.$geek_excuteJS = (params) => {
const { data } = JSON.parse(params)
if (data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment