| | |
| | | console.log("ok!"); |
| | | } |
| | | } catch (e) { |
| | | that.haveSEL = false; |
| | | // that.haveSEL = false; |
| | | that.haveSEL = true; |
| | | // console.log(e, 123); |
| | | return; |
| | | } |
| | | let result = CertCtl.readCert(); |
| | |
| | | this.intTime = setInterval(function () { |
| | | if (!that.haveCardid) { |
| | | //定时读卡 |
| | | console.log(that.haveCardid); |
| | | let result = CertCtl.readCert(); |
| | | // console.log(result); |
| | | if (result == "") { |
| | | console.log("未启动读卡插件!"); |
| | | that.closeSFZ(); |
| | |
| | | } else { |
| | | // console.log(resultObj.errorMsg); |
| | | //无卡片提醒 |
| | | that.closeSFZ(); |
| | | // that.closeSFZ(); |
| | | } |
| | | } else if (resultObj.resultFlag == "-2") { |
| | | console.log(resultObj.errorMsg); |