From adec8254f51edb754b3129bc15e6bdd65d3c4826 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 30 Aug 2023 12:59:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=88=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/dist/index_zs.html | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/server/dist/index_zs.html b/server/dist/index_zs.html index 676e34f..42705b2 100644 --- a/server/dist/index_zs.html +++ b/server/dist/index_zs.html @@ -166,7 +166,6 @@ user-scalable: 用户是否能缩放页面 --> } } -
@@ -202,14 +201,21 @@ user-scalable: 用户是否能缩放页面 -->
姓名:{{item.姓名}}
+
资格: + 内审员 + + 授权签字人 + + 质量负责人 + + 最高管理者 +
证书编号:{{item.证书编号}}
所属单位:{{item.所属单位}}
-
职务:{{item.职务}}
-
内审员
-

暂未查询到您的相关证书!

+

{{warningTxtx}}

@@ -226,6 +232,7 @@ user-scalable: 用户是否能缩放页面 --> name: '', deptName: '' }, + warningTxtx:'请输入信息进行查询', imgSrc:'', showImg:false, dataList:[], @@ -248,6 +255,8 @@ user-scalable: 用户是否能缩放页面 --> .then(res => { if(res.data.data.length>0){ that.dataList = res.data.data; + }else{ + that.warningTxtx='暂未查询到您的相关证书!' } }) }else{ @@ -260,10 +269,19 @@ 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}}) .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}}) + .then(res => { + if(res.data.data.length>0){ + that.dataList = res.data.data; + }else{ + that.warningTxtx='暂未查询到您的相关证书!' + } + }) } }) }else{ @@ -293,6 +311,8 @@ user-scalable: 用户是否能缩放页面 --> let data1 = res.data.data; that.imgSrc = 'https://testsearch.ctc.ac.cn'+data1.证书地址; that.showImg = true; + }else{ + that.warningTxtx='暂未查询到您的相关证书!' } }) }