|
@@ -35,7 +35,14 @@ $(function () {
|
|
|
* 医保电子凭证读卡
|
|
|
*/
|
|
|
$("#siReadCard").on("click", function (t) {
|
|
|
- siReadCard();
|
|
|
+ siReadCard("qrcode_01101");
|
|
|
+ });
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 医保刷脸
|
|
|
+ */
|
|
|
+ $("#siReadCardFace").on("click", function (t) {
|
|
|
+ siReadCard("face_01101");
|
|
|
});
|
|
|
|
|
|
/**
|
|
@@ -1407,11 +1414,12 @@ function initCertificateTypeSelect() {
|
|
|
|
|
|
/**
|
|
|
* 医保电子凭证读卡
|
|
|
+ * @param params
|
|
|
*/
|
|
|
-function siReadCard() {
|
|
|
+function siReadCard(params) {
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
- url: 'http://localhost:8321/readcard/entry?param=qrcode_01101',
|
|
|
+ url: 'http://localhost:8321/readcard/entry?param='+params,
|
|
|
contentType: "application/json;charset=UTF-8",
|
|
|
dataType: "json",
|
|
|
headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
|