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

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

parent 39943843
...@@ -9,21 +9,29 @@ ...@@ -9,21 +9,29 @@
<body> <body>
<div>证书申请中...</div> <div>证书申请中...</div>
<script> <script>
// alert(window.location.href)
window.onload = function () { window.onload = function () {
const studentId = getQueryString('studentId') const studentId = getQueryString('studentId')
const schoolAreaId = getQueryString('schoolAreaId') const schoolAreaId = getQueryString('schoolAreaId')
const type = getQueryString('type') const type = getQueryString('type')
const url = getQueryString('url')
if (studentId && schoolAreaId) { if (studentId && schoolAreaId) {
setTimeout(() => { // 后端说 延迟3s 调借口 setTimeout(() => { // 后端说 延迟3s 调借口
sendMessage({ type: 'batchPageUrl', __callback__: '__callback__', data: { studentId, schoolAreaId }}) sendMessage({ type: 'batchPageUrl', __callback__: '__callback__', data: { studentId, schoolAreaId }})
}, 3000); }, 5000);
} }
if (type) { if (type) {
sendMessage({ type: type || 'contract' }) sendMessage({ type: type || 'contract' })
} }
if (url) { // 合同预览
window.location.href = url
}
window.$geek_excuteJS = (params) => { window.$geek_excuteJS = (params) => {
const { data } = JSON.parse(params) const { data } = JSON.parse(params)
if (data) { 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