diff --git a/server/dist/index_zs.html b/server/dist/index_zs.html
index 5b5f47d..c2af7f7 100644
--- a/server/dist/index_zs.html
+++ b/server/dist/index_zs.html
@@ -253,9 +253,12 @@ user-scalable: 用户是否能缩放页面 -->
that.imgSrc = '';
if(that.type==0){
if(that.form.number!==''){
- axios.get('https://testsearch.ctc.ac.cn/api/edu/certificate/',{params:{证书编号:that.form.number}})
+ axios.get('https://testsearch.ctc.ac.cn/api/edu/certificate/',{params:{证书编号:that.form.number,page:0}})
.then(res => {
+ debugger;
+ console.log(res.data.data)
if(res.data.data.length>0){
+
that.dataList = res.data.data;
}else{
that.warningTxtx='暂未查询到您的相关证书!'
@@ -271,12 +274,12 @@ user-scalable: 用户是否能缩放页面 -->
}else{
if(that.form.name!==''){
if(that.form.deptName!==''){
- axios.get('https://testsearch.ctc.ac.cn/api/edu/certificate/',{params:{姓名:that.form.name,单位名称:that.form.deptName}})
+ axios.get('https://testsearch.ctc.ac.cn/api/edu/certificate/',{params:{姓名:that.form.name,单位名称:that.form.deptName,page:0}})
.then(res => {
if(res.data.data.length>0){
that.dataList = res.data.data;
}else{
- axios.get('https://testsearch.ctc.ac.cn/api/edu/certificate/',{params:{姓名:that.form.name,所属单位:that.form.deptName}})
+ axios.get('https://testsearch.ctc.ac.cn/api/edu/certificate/',{params:{姓名:that.form.name,所属单位:that.form.deptName,page:0}})
.then(res => {
if(res.data.data.length>0){
that.dataList = res.data.data;
@@ -304,14 +307,15 @@ user-scalable: 用户是否能缩放页面 -->
},
showImage(data){
let that = this;
+ let timer = new Date().getTime();
if(data.证书地址!==null){
- that.imgSrc = 'https://testsearch.ctc.ac.cn'+data.证书地址;
+ that.imgSrc = 'https://testsearch.ctc.ac.cn'+data.证书地址+'?'+timer;
that.showImg = true;
}else{
axios.get(`https://testsearch.ctc.ac.cn/api/edu/certificate/${data.id}/`).then(res=>{
if(res.data){
let data1 = res.data.data;
- that.imgSrc = 'https://testsearch.ctc.ac.cn'+data1.证书地址;
+ that.imgSrc = 'https://testsearch.ctc.ac.cn'+data1.证书地址+'?'+timer;
that.showImg = true;
}else{
that.warningTxtx='暂未查询到您的相关证书!'