From e4100ecc3a88273dcdbc2c1452d4e9f00736f3db Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Sat, 28 Aug 2021 10:17:44 +0800
Subject: [PATCH] 派遣单位管理修改,考试成绩查询样式微调

---
 public/papers.html |   26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/public/papers.html b/public/papers.html
index f4829ce..7e08c18 100644
--- a/public/papers.html
+++ b/public/papers.html
@@ -12,10 +12,27 @@
             justify-content: center;
             flex-direction: column;
         }
+        /* .print-header {
+            width: 100%;
+            text-align: center;
+        } */
+        
+        .print {
+            position: absolute;
+            left: 47%;
+            top: 58%;
+            width: 7%;
+            height: 30px;
+            border: 0px;
+            border-radius: 6px;
+            color: #fff;
+            background-color: #1D5CE4;
+            letter-spacing: 4px;
+        }
         
         .user-info-table {
             margin-top: 30px;
-            width: 60%;
+            width: 90%;
             height: 60%;
             border: 1px solid #000;
             background-color: #fff;
@@ -51,8 +68,8 @@
 
 <body>
     <div>
-        <div>
-            <button onclick="preview(1)">打印</button>
+        <div class="print-header">
+            <button onclick="preview(1)" class="print">打印</button>
         </div>
         <!--startprint-->
         <div id="table">
@@ -121,7 +138,8 @@
             var examType = JSON.parse(getData("data")).examType;
             // console.log(JSON.parse(getData("data")), 111);
 
-            axios.get('http://localhost:81/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType).then(function(res) {
+            axios.get('http://223.82.109.183:2080/api/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType).then(function(res) {
+                // axios.get('http://localhost:81/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType).then(function(res) {
                 var data = res.data.data;
                 var str = `<span class="title">${data.examName}</span>
                     <span class="title">准考证信息</span>

--
Gitblit v1.9.3