From 231276ae9f47211503c5b0349bddd80bb07c90a9 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 13 Jan 2022 14:57:06 +0800
Subject: [PATCH] 准考证打印,清册打印请求携带token修改
---
public/papersApply.html | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/public/papersApply.html b/public/papersApply.html
index a1b23e6..3b8af5c 100644
--- a/public/papersApply.html
+++ b/public/papersApply.html
@@ -12,13 +12,13 @@
justify-content: center;
flex-direction: column;
}
-
+
.excelPrint {
width: 100%;
text-align: center;
margin-top: 50px;
}
-
+
.print {
/* position: absolute;
left: 47%;
@@ -31,7 +31,7 @@
background-color: #1D5CE4;
letter-spacing: 4px;
}
-
+
.user-info-table {
margin-top: 30px;
width: 90%;
@@ -39,28 +39,28 @@
border: 1px solid #000;
background-color: #fff;
}
-
+
.user-info-tr {
height: 50px;
font-size: 14px;
}
-
+
.avatar {
width: 140px;
height: 190px;
}
-
+
.title {
margin-top: 20px;
font-size: 28px;
font-weight: 500;
}
-
+
.avatar {
width: 140px;
height: 190px;
}
-
+
.my-picture {
width: 150px;
/* height: 200px; */
@@ -86,7 +86,7 @@
</div>
</div>
<script>
- var getData = function (name) {
+ var getData = function(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]);
@@ -95,8 +95,9 @@
var id = JSON.parse(getData("data")).examId;
var name = JSON.parse(getData("data")).name;
// console.log(JSON.parse(getData("data")), 111);
+ var token = JSON.parse(getData("data")).token;
- axios.get('http://223.82.109.183:2080/api/apply/getApplyDetailList?examId=' + id).then(function (res) {
+ axios.get('http://223.82.109.183:2080/api/apply/getApplyDetailList?examId=' + id + "&Blade-Auth=" + token).then(function(res) {
// axios.get('http://localhost:81/apply/getApplyDetailList?examId=' + id).then(function(res) {
var data = res.data;
var list = data.applyList;
--
Gitblit v1.9.3