| public/papers.html | ●●●●● patch | view | raw | blame | history | |
| public/papersApply.html | ●●●●● patch | view | raw | blame | history | |
| public/papersTrain.html | ●●●●● patch | view | raw | blame | history | |
| src/views/applyexam/papers.vue | ●●●●● patch | view | raw | blame | history | |
| src/views/trainApply/index.vue | ●●●●● patch | view | raw | blame | history |
public/papers.html
@@ -139,8 +139,9 @@ var id = JSON.parse(getData("data")).id; var examType = JSON.parse(getData("data")).examType; // console.log(JSON.parse(getData("data")), 111); var token = JSON.parse(getData("data")).token; axios.get('http://223.82.109.183:2080/api/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType).then(function(res) { axios.get('http://223.82.109.183:2080/api/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType + "&Blade-Auth=" + token).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> 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; public/papersTrain.html
@@ -133,14 +133,15 @@ var getData = function(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); console.log(r, 2222); if (r != null) return unescape(r[2]); return null; }; var id = JSON.parse(getData("data")).id; var examType = JSON.parse(getData("data")).examType; // console.log(JSON.parse(getData("data")), 111); var token = JSON.parse(getData("data")).token; axios.get('http://223.82.109.183:2080/api/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType).then(function(res) { axios.get('http://223.82.109.183:2080/api/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType + "&Blade-Auth=" + token).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> src/views/applyexam/papers.vue
@@ -13,7 +13,6 @@ }, created(){ var data = this.$route.query; if(data.examType==1){ this.url += "?data=" + JSON.stringify(data); } src/views/trainApply/index.vue
@@ -718,6 +718,8 @@ handlePrint(row) { var obj = row; obj["name"] = "准考证信息"; obj["token"] = getToken(); // var data = Qs.stringify(obj); this.$router.push({ path: `/applyexam/papers`, query: obj, @@ -878,6 +880,7 @@ var obj = {}; obj["name"] = "报名清册信息"; obj["examId"] = this.$route.query.id; obj["token"] = getToken(); this.$router.push({ path: `/applydetailed/papers`, query: obj,