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='暂未查询到您的相关证书!' } }) }