unify-external-plugin-platform 0.0.2-85 → 0.0.2-87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84422,11 +84422,11 @@ class JieYueService {
|
|
84422
84422
|
this.handleMessage(event);
|
84423
84423
|
};
|
84424
84424
|
ws.onclose = () => this.handleClose();
|
84425
|
-
ws.onerror =
|
84425
|
+
ws.onerror = e => this.handleError(e);
|
84426
84426
|
this.ws = ws;
|
84427
84427
|
return onConnect;
|
84428
84428
|
}
|
84429
|
-
static handleError() {
|
84429
|
+
static handleError(e) {
|
84430
84430
|
for (const type in this.requestStore) {
|
84431
84431
|
this.requestStore.forEach(({
|
84432
84432
|
reject
|
@@ -84434,7 +84434,9 @@ class JieYueService {
|
|
84434
84434
|
reject('handleError');
|
84435
84435
|
});
|
84436
84436
|
}
|
84437
|
-
|
84437
|
+
if (e.target.url && !e.target.url.includes(this.interactiveTerminalUrl)) {
|
84438
|
+
throw Error('统一插件平台捷宇设备功能加载失败');
|
84439
|
+
}
|
84438
84440
|
}
|
84439
84441
|
static handleClose() {
|
84440
84442
|
for (const type in this.requestStore) {
|
@@ -84583,7 +84585,9 @@ class JieYueService {
|
|
84583
84585
|
});
|
84584
84586
|
});
|
84585
84587
|
} else {
|
84586
|
-
|
84588
|
+
if (methodCode !== JieYuMethodCode.InitParams) {
|
84589
|
+
throw Error('统一插件平台设备未准备完成');
|
84590
|
+
}
|
84587
84591
|
}
|
84588
84592
|
}
|
84589
84593
|
// 开启主摄像头/副摄像头
|
@@ -84819,7 +84823,7 @@ class FounderPluginSocketService {
|
|
84819
84823
|
return onConnect;
|
84820
84824
|
}
|
84821
84825
|
static handleError() {
|
84822
|
-
throw Error('
|
84826
|
+
throw Error('统一插件平台方正高影仪设备功能加载失败');
|
84823
84827
|
}
|
84824
84828
|
static handleClose() {
|
84825
84829
|
if (this.ws) this.ws.close();
|
@@ -84843,7 +84847,7 @@ class FounderPluginSocketService {
|
|
84843
84847
|
}));
|
84844
84848
|
this.ws.send(JSON.stringify(method));
|
84845
84849
|
} else {
|
84846
|
-
throw Error('
|
84850
|
+
throw Error('统一插件平台设备未准备完成');
|
84847
84851
|
}
|
84848
84852
|
}
|
84849
84853
|
static async turnOnTheCamera() {
|
@@ -84901,7 +84905,7 @@ class UdsPluginSocketService {
|
|
84901
84905
|
reject('handleError');
|
84902
84906
|
});
|
84903
84907
|
}
|
84904
|
-
throw Error('
|
84908
|
+
throw Error('统一插件平台紫图速拍仪设备功能加载失败');
|
84905
84909
|
}
|
84906
84910
|
static handleClose() {
|
84907
84911
|
for (const type in this.requestStore) {
|
@@ -84980,7 +84984,7 @@ class UdsPluginSocketService {
|
|
84980
84984
|
});
|
84981
84985
|
});
|
84982
84986
|
} else {
|
84983
|
-
throw Error('
|
84987
|
+
throw Error('统一插件平台设备未准备完成');
|
84984
84988
|
}
|
84985
84989
|
}
|
84986
84990
|
static async turnOnTheCamera() {
|
@@ -85049,7 +85053,7 @@ class WeiRongPluginService {
|
|
85049
85053
|
reject('handleError');
|
85050
85054
|
});
|
85051
85055
|
}
|
85052
|
-
throw Error('
|
85056
|
+
throw Error('统一插件平台设备功能加载失败');
|
85053
85057
|
}
|
85054
85058
|
static handleClose() {
|
85055
85059
|
for (const type in this.requestStore) {
|
@@ -85148,7 +85152,7 @@ class WeiRongPluginService {
|
|
85148
85152
|
});
|
85149
85153
|
});
|
85150
85154
|
} else {
|
85151
|
-
throw Error('
|
85155
|
+
throw Error('统一插件平台设备未准备完成');
|
85152
85156
|
}
|
85153
85157
|
}
|
85154
85158
|
/** 读取身份证和永居证*/
|
@@ -85848,8 +85852,8 @@ id_card_reader_eloam.install = Vue => {
|
|
85848
85852
|
Vue.component(id_card_reader_eloam.name, id_card_reader_eloam);
|
85849
85853
|
};
|
85850
85854
|
/* harmony default export */ var id_card_reader_id_card_reader_eloam = (id_card_reader_eloam);
|
85851
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/id-card-reader/id-card-reader-button/src/id-card-reader-button.vue?vue&type=template&id=
|
85852
|
-
var
|
85855
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/id-card-reader/id-card-reader-button/src/id-card-reader-button.vue?vue&type=template&id=0c601d00&scoped=true&
|
85856
|
+
var id_card_reader_buttonvue_type_template_id_0c601d00_scoped_true_render = function render() {
|
85853
85857
|
var _vm = this,
|
85854
85858
|
_c = _vm._self._c;
|
85855
85859
|
return _vm.tip ? _c('el-tooltip', {
|
@@ -85926,7 +85930,7 @@ var id_card_reader_buttonvue_type_template_id_95ce2be6_scoped_true_render = func
|
|
85926
85930
|
}
|
85927
85931
|
})], 2);
|
85928
85932
|
};
|
85929
|
-
var
|
85933
|
+
var id_card_reader_buttonvue_type_template_id_0c601d00_scoped_true_staticRenderFns = [];
|
85930
85934
|
|
85931
85935
|
;// CONCATENATED MODULE: ./packages/service/external-plugins/default-plugin-socket.service.ts
|
85932
85936
|
|
@@ -85987,7 +85991,7 @@ class IdCardReadService {
|
|
85987
85991
|
reject('handleError');
|
85988
85992
|
});
|
85989
85993
|
}
|
85990
|
-
throw Error('
|
85994
|
+
throw Error('统一插件平台读取身份证功能加载失败');
|
85991
85995
|
}
|
85992
85996
|
static handleClose() {
|
85993
85997
|
for (const type in this.requestStore) {
|
@@ -86027,7 +86031,7 @@ class IdCardReadService {
|
|
86027
86031
|
});
|
86028
86032
|
});
|
86029
86033
|
} else {
|
86030
|
-
throw Error('
|
86034
|
+
throw Error('统一插件平台读取身份证未准备完成');
|
86031
86035
|
}
|
86032
86036
|
}
|
86033
86037
|
static async idCardCommonRead() {
|
@@ -86043,7 +86047,7 @@ class IdCardReadService {
|
|
86043
86047
|
if (idcardInfo) {
|
86044
86048
|
return idcardInfo;
|
86045
86049
|
} else {
|
86046
|
-
throw Error('
|
86050
|
+
throw Error('统一插件平台未匹配可用的读卡器');
|
86047
86051
|
}
|
86048
86052
|
}
|
86049
86053
|
}
|
@@ -86079,7 +86083,7 @@ class CameraReadService {
|
|
86079
86083
|
reject('handleError');
|
86080
86084
|
});
|
86081
86085
|
}
|
86082
|
-
throw Error('
|
86086
|
+
throw Error('统一插件平台读取拍照功能加载失败');
|
86083
86087
|
}
|
86084
86088
|
static handleClose() {
|
86085
86089
|
for (const type in this.requestStore) {
|
@@ -86116,7 +86120,7 @@ class CameraReadService {
|
|
86116
86120
|
});
|
86117
86121
|
});
|
86118
86122
|
} else {
|
86119
|
-
throw Error('
|
86123
|
+
throw Error('统一插件平台读取拍照未准备完成');
|
86120
86124
|
}
|
86121
86125
|
}
|
86122
86126
|
}
|
@@ -86154,7 +86158,7 @@ class SignReadService {
|
|
86154
86158
|
reject('handleError');
|
86155
86159
|
});
|
86156
86160
|
}
|
86157
|
-
throw Error('
|
86161
|
+
throw Error('统一插件平台签字板加载失败');
|
86158
86162
|
}
|
86159
86163
|
static handleClose() {
|
86160
86164
|
for (const type in this.requestStore) {
|
@@ -86190,7 +86194,7 @@ class SignReadService {
|
|
86190
86194
|
});
|
86191
86195
|
});
|
86192
86196
|
} else {
|
86193
|
-
throw Error('
|
86197
|
+
throw Error('统一插件平台签字板未准备完成');
|
86194
86198
|
}
|
86195
86199
|
}
|
86196
86200
|
}
|
@@ -86274,7 +86278,7 @@ class EWindowPassService {
|
|
86274
86278
|
reject('handleError');
|
86275
86279
|
});
|
86276
86280
|
}
|
86277
|
-
throw Error('E窗通设备功能加载失败');
|
86281
|
+
throw Error('统一插件平台E窗通设备功能加载失败');
|
86278
86282
|
}
|
86279
86283
|
static handleClose() {
|
86280
86284
|
for (const type in this.requestStore) {
|
@@ -86362,7 +86366,7 @@ class EWindowPassService {
|
|
86362
86366
|
});
|
86363
86367
|
});
|
86364
86368
|
} else {
|
86365
|
-
throw Error(methodDesc + '未准备完成');
|
86369
|
+
throw Error('统一插件平台' + methodDesc + '未准备完成');
|
86366
86370
|
}
|
86367
86371
|
}
|
86368
86372
|
/**
|
@@ -86582,6 +86586,7 @@ class HuzReadService {
|
|
86582
86586
|
reject('handleError');
|
86583
86587
|
});
|
86584
86588
|
}
|
86589
|
+
throw Error('统一插件平台华大读卡器功能加载失败');
|
86585
86590
|
}
|
86586
86591
|
/**
|
86587
86592
|
* 关闭请求
|
@@ -86662,7 +86667,7 @@ class HuzReadService {
|
|
86662
86667
|
});
|
86663
86668
|
});
|
86664
86669
|
} else {
|
86665
|
-
throw Error('
|
86670
|
+
throw Error('统一插件平台设备未准备完成');
|
86666
86671
|
}
|
86667
86672
|
}
|
86668
86673
|
/**
|
@@ -87439,7 +87444,7 @@ class HuaShiService {
|
|
87439
87444
|
reject('handleError');
|
87440
87445
|
});
|
87441
87446
|
}
|
87442
|
-
throw Error('
|
87447
|
+
throw Error('统一插件平台读取身份证功能加载失败');
|
87443
87448
|
}
|
87444
87449
|
static handleClose() {
|
87445
87450
|
for (const type in this.requestStore) {
|
@@ -87479,7 +87484,7 @@ class HuaShiService {
|
|
87479
87484
|
});
|
87480
87485
|
});
|
87481
87486
|
} else {
|
87482
|
-
throw Error('
|
87487
|
+
throw Error('统一插件平台读取身份证未准备完成');
|
87483
87488
|
}
|
87484
87489
|
}
|
87485
87490
|
static async idCardRead() {
|
@@ -87902,8 +87907,11 @@ var wei_rong_face_auth_dialog_component = normalizeComponent(
|
|
87902
87907
|
mounted() {
|
87903
87908
|
let that = this;
|
87904
87909
|
window.onerror = function (message) {
|
87905
|
-
|
87906
|
-
|
87910
|
+
if (message.indexOf('统一插件平台') > -1) {
|
87911
|
+
let title = message.split(': ')[1] || '提示';
|
87912
|
+
title = title.replace('统一插件平台', '');
|
87913
|
+
that.$emit('hardwareError', that.plugType, title);
|
87914
|
+
}
|
87907
87915
|
};
|
87908
87916
|
},
|
87909
87917
|
methods: {
|
@@ -87911,17 +87919,22 @@ var wei_rong_face_auth_dialog_component = normalizeComponent(
|
|
87911
87919
|
switch (this.readerMode) {
|
87912
87920
|
case 'idCard':
|
87913
87921
|
this.plugType = '读卡器';
|
87914
|
-
|
87922
|
+
this.idCardRReaderEvent();
|
87923
|
+
break;
|
87915
87924
|
case 'veriface':
|
87916
|
-
this.plugType = '
|
87917
|
-
|
87925
|
+
this.plugType = '拍照设备';
|
87926
|
+
this.faceReaderEvent();
|
87927
|
+
break;
|
87918
87928
|
case 'sign':
|
87919
87929
|
this.plugType = '签字板';
|
87920
|
-
|
87930
|
+
this.signEvent();
|
87931
|
+
break;
|
87921
87932
|
case 'socialSecurityCard':
|
87922
87933
|
this.plugType = '社保卡';
|
87923
|
-
|
87934
|
+
this.socialSecurityCardReaderEvent();
|
87935
|
+
break;
|
87924
87936
|
}
|
87937
|
+
this.$emit('sendPluginType', this.plugType);
|
87925
87938
|
},
|
87926
87939
|
/**
|
87927
87940
|
* 读取二代身份证
|
@@ -88207,11 +88220,11 @@ var wei_rong_face_auth_dialog_component = normalizeComponent(
|
|
88207
88220
|
;
|
88208
88221
|
var id_card_reader_button_component = normalizeComponent(
|
88209
88222
|
src_id_card_reader_buttonvue_type_script_lang_js_,
|
88210
|
-
|
88211
|
-
|
88223
|
+
id_card_reader_buttonvue_type_template_id_0c601d00_scoped_true_render,
|
88224
|
+
id_card_reader_buttonvue_type_template_id_0c601d00_scoped_true_staticRenderFns,
|
88212
88225
|
false,
|
88213
88226
|
null,
|
88214
|
-
"
|
88227
|
+
"0c601d00",
|
88215
88228
|
null
|
88216
88229
|
|
88217
88230
|
)
|
@@ -84432,11 +84432,11 @@ class JieYueService {
|
|
84432
84432
|
this.handleMessage(event);
|
84433
84433
|
};
|
84434
84434
|
ws.onclose = () => this.handleClose();
|
84435
|
-
ws.onerror =
|
84435
|
+
ws.onerror = e => this.handleError(e);
|
84436
84436
|
this.ws = ws;
|
84437
84437
|
return onConnect;
|
84438
84438
|
}
|
84439
|
-
static handleError() {
|
84439
|
+
static handleError(e) {
|
84440
84440
|
for (const type in this.requestStore) {
|
84441
84441
|
this.requestStore.forEach(({
|
84442
84442
|
reject
|
@@ -84444,7 +84444,9 @@ class JieYueService {
|
|
84444
84444
|
reject('handleError');
|
84445
84445
|
});
|
84446
84446
|
}
|
84447
|
-
|
84447
|
+
if (e.target.url && !e.target.url.includes(this.interactiveTerminalUrl)) {
|
84448
|
+
throw Error('统一插件平台捷宇设备功能加载失败');
|
84449
|
+
}
|
84448
84450
|
}
|
84449
84451
|
static handleClose() {
|
84450
84452
|
for (const type in this.requestStore) {
|
@@ -84593,7 +84595,9 @@ class JieYueService {
|
|
84593
84595
|
});
|
84594
84596
|
});
|
84595
84597
|
} else {
|
84596
|
-
|
84598
|
+
if (methodCode !== JieYuMethodCode.InitParams) {
|
84599
|
+
throw Error('统一插件平台设备未准备完成');
|
84600
|
+
}
|
84597
84601
|
}
|
84598
84602
|
}
|
84599
84603
|
// 开启主摄像头/副摄像头
|
@@ -84829,7 +84833,7 @@ class FounderPluginSocketService {
|
|
84829
84833
|
return onConnect;
|
84830
84834
|
}
|
84831
84835
|
static handleError() {
|
84832
|
-
throw Error('
|
84836
|
+
throw Error('统一插件平台方正高影仪设备功能加载失败');
|
84833
84837
|
}
|
84834
84838
|
static handleClose() {
|
84835
84839
|
if (this.ws) this.ws.close();
|
@@ -84853,7 +84857,7 @@ class FounderPluginSocketService {
|
|
84853
84857
|
}));
|
84854
84858
|
this.ws.send(JSON.stringify(method));
|
84855
84859
|
} else {
|
84856
|
-
throw Error('
|
84860
|
+
throw Error('统一插件平台设备未准备完成');
|
84857
84861
|
}
|
84858
84862
|
}
|
84859
84863
|
static async turnOnTheCamera() {
|
@@ -84911,7 +84915,7 @@ class UdsPluginSocketService {
|
|
84911
84915
|
reject('handleError');
|
84912
84916
|
});
|
84913
84917
|
}
|
84914
|
-
throw Error('
|
84918
|
+
throw Error('统一插件平台紫图速拍仪设备功能加载失败');
|
84915
84919
|
}
|
84916
84920
|
static handleClose() {
|
84917
84921
|
for (const type in this.requestStore) {
|
@@ -84990,7 +84994,7 @@ class UdsPluginSocketService {
|
|
84990
84994
|
});
|
84991
84995
|
});
|
84992
84996
|
} else {
|
84993
|
-
throw Error('
|
84997
|
+
throw Error('统一插件平台设备未准备完成');
|
84994
84998
|
}
|
84995
84999
|
}
|
84996
85000
|
static async turnOnTheCamera() {
|
@@ -85059,7 +85063,7 @@ class WeiRongPluginService {
|
|
85059
85063
|
reject('handleError');
|
85060
85064
|
});
|
85061
85065
|
}
|
85062
|
-
throw Error('
|
85066
|
+
throw Error('统一插件平台设备功能加载失败');
|
85063
85067
|
}
|
85064
85068
|
static handleClose() {
|
85065
85069
|
for (const type in this.requestStore) {
|
@@ -85158,7 +85162,7 @@ class WeiRongPluginService {
|
|
85158
85162
|
});
|
85159
85163
|
});
|
85160
85164
|
} else {
|
85161
|
-
throw Error('
|
85165
|
+
throw Error('统一插件平台设备未准备完成');
|
85162
85166
|
}
|
85163
85167
|
}
|
85164
85168
|
/** 读取身份证和永居证*/
|
@@ -85858,8 +85862,8 @@ id_card_reader_eloam.install = Vue => {
|
|
85858
85862
|
Vue.component(id_card_reader_eloam.name, id_card_reader_eloam);
|
85859
85863
|
};
|
85860
85864
|
/* harmony default export */ var id_card_reader_id_card_reader_eloam = (id_card_reader_eloam);
|
85861
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/id-card-reader/id-card-reader-button/src/id-card-reader-button.vue?vue&type=template&id=
|
85862
|
-
var
|
85865
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/id-card-reader/id-card-reader-button/src/id-card-reader-button.vue?vue&type=template&id=0c601d00&scoped=true&
|
85866
|
+
var id_card_reader_buttonvue_type_template_id_0c601d00_scoped_true_render = function render() {
|
85863
85867
|
var _vm = this,
|
85864
85868
|
_c = _vm._self._c;
|
85865
85869
|
return _vm.tip ? _c('el-tooltip', {
|
@@ -85936,7 +85940,7 @@ var id_card_reader_buttonvue_type_template_id_95ce2be6_scoped_true_render = func
|
|
85936
85940
|
}
|
85937
85941
|
})], 2);
|
85938
85942
|
};
|
85939
|
-
var
|
85943
|
+
var id_card_reader_buttonvue_type_template_id_0c601d00_scoped_true_staticRenderFns = [];
|
85940
85944
|
|
85941
85945
|
;// CONCATENATED MODULE: ./packages/service/external-plugins/default-plugin-socket.service.ts
|
85942
85946
|
|
@@ -85997,7 +86001,7 @@ class IdCardReadService {
|
|
85997
86001
|
reject('handleError');
|
85998
86002
|
});
|
85999
86003
|
}
|
86000
|
-
throw Error('
|
86004
|
+
throw Error('统一插件平台读取身份证功能加载失败');
|
86001
86005
|
}
|
86002
86006
|
static handleClose() {
|
86003
86007
|
for (const type in this.requestStore) {
|
@@ -86037,7 +86041,7 @@ class IdCardReadService {
|
|
86037
86041
|
});
|
86038
86042
|
});
|
86039
86043
|
} else {
|
86040
|
-
throw Error('
|
86044
|
+
throw Error('统一插件平台读取身份证未准备完成');
|
86041
86045
|
}
|
86042
86046
|
}
|
86043
86047
|
static async idCardCommonRead() {
|
@@ -86053,7 +86057,7 @@ class IdCardReadService {
|
|
86053
86057
|
if (idcardInfo) {
|
86054
86058
|
return idcardInfo;
|
86055
86059
|
} else {
|
86056
|
-
throw Error('
|
86060
|
+
throw Error('统一插件平台未匹配可用的读卡器');
|
86057
86061
|
}
|
86058
86062
|
}
|
86059
86063
|
}
|
@@ -86089,7 +86093,7 @@ class CameraReadService {
|
|
86089
86093
|
reject('handleError');
|
86090
86094
|
});
|
86091
86095
|
}
|
86092
|
-
throw Error('
|
86096
|
+
throw Error('统一插件平台读取拍照功能加载失败');
|
86093
86097
|
}
|
86094
86098
|
static handleClose() {
|
86095
86099
|
for (const type in this.requestStore) {
|
@@ -86126,7 +86130,7 @@ class CameraReadService {
|
|
86126
86130
|
});
|
86127
86131
|
});
|
86128
86132
|
} else {
|
86129
|
-
throw Error('
|
86133
|
+
throw Error('统一插件平台读取拍照未准备完成');
|
86130
86134
|
}
|
86131
86135
|
}
|
86132
86136
|
}
|
@@ -86164,7 +86168,7 @@ class SignReadService {
|
|
86164
86168
|
reject('handleError');
|
86165
86169
|
});
|
86166
86170
|
}
|
86167
|
-
throw Error('
|
86171
|
+
throw Error('统一插件平台签字板加载失败');
|
86168
86172
|
}
|
86169
86173
|
static handleClose() {
|
86170
86174
|
for (const type in this.requestStore) {
|
@@ -86200,7 +86204,7 @@ class SignReadService {
|
|
86200
86204
|
});
|
86201
86205
|
});
|
86202
86206
|
} else {
|
86203
|
-
throw Error('
|
86207
|
+
throw Error('统一插件平台签字板未准备完成');
|
86204
86208
|
}
|
86205
86209
|
}
|
86206
86210
|
}
|
@@ -86284,7 +86288,7 @@ class EWindowPassService {
|
|
86284
86288
|
reject('handleError');
|
86285
86289
|
});
|
86286
86290
|
}
|
86287
|
-
throw Error('E窗通设备功能加载失败');
|
86291
|
+
throw Error('统一插件平台E窗通设备功能加载失败');
|
86288
86292
|
}
|
86289
86293
|
static handleClose() {
|
86290
86294
|
for (const type in this.requestStore) {
|
@@ -86372,7 +86376,7 @@ class EWindowPassService {
|
|
86372
86376
|
});
|
86373
86377
|
});
|
86374
86378
|
} else {
|
86375
|
-
throw Error(methodDesc + '未准备完成');
|
86379
|
+
throw Error('统一插件平台' + methodDesc + '未准备完成');
|
86376
86380
|
}
|
86377
86381
|
}
|
86378
86382
|
/**
|
@@ -86592,6 +86596,7 @@ class HuzReadService {
|
|
86592
86596
|
reject('handleError');
|
86593
86597
|
});
|
86594
86598
|
}
|
86599
|
+
throw Error('统一插件平台华大读卡器功能加载失败');
|
86595
86600
|
}
|
86596
86601
|
/**
|
86597
86602
|
* 关闭请求
|
@@ -86672,7 +86677,7 @@ class HuzReadService {
|
|
86672
86677
|
});
|
86673
86678
|
});
|
86674
86679
|
} else {
|
86675
|
-
throw Error('
|
86680
|
+
throw Error('统一插件平台设备未准备完成');
|
86676
86681
|
}
|
86677
86682
|
}
|
86678
86683
|
/**
|
@@ -87449,7 +87454,7 @@ class HuaShiService {
|
|
87449
87454
|
reject('handleError');
|
87450
87455
|
});
|
87451
87456
|
}
|
87452
|
-
throw Error('
|
87457
|
+
throw Error('统一插件平台读取身份证功能加载失败');
|
87453
87458
|
}
|
87454
87459
|
static handleClose() {
|
87455
87460
|
for (const type in this.requestStore) {
|
@@ -87489,7 +87494,7 @@ class HuaShiService {
|
|
87489
87494
|
});
|
87490
87495
|
});
|
87491
87496
|
} else {
|
87492
|
-
throw Error('
|
87497
|
+
throw Error('统一插件平台读取身份证未准备完成');
|
87493
87498
|
}
|
87494
87499
|
}
|
87495
87500
|
static async idCardRead() {
|
@@ -87912,8 +87917,11 @@ var wei_rong_face_auth_dialog_component = normalizeComponent(
|
|
87912
87917
|
mounted() {
|
87913
87918
|
let that = this;
|
87914
87919
|
window.onerror = function (message) {
|
87915
|
-
|
87916
|
-
|
87920
|
+
if (message.indexOf('统一插件平台') > -1) {
|
87921
|
+
let title = message.split(': ')[1] || '提示';
|
87922
|
+
title = title.replace('统一插件平台', '');
|
87923
|
+
that.$emit('hardwareError', that.plugType, title);
|
87924
|
+
}
|
87917
87925
|
};
|
87918
87926
|
},
|
87919
87927
|
methods: {
|
@@ -87921,17 +87929,22 @@ var wei_rong_face_auth_dialog_component = normalizeComponent(
|
|
87921
87929
|
switch (this.readerMode) {
|
87922
87930
|
case 'idCard':
|
87923
87931
|
this.plugType = '读卡器';
|
87924
|
-
|
87932
|
+
this.idCardRReaderEvent();
|
87933
|
+
break;
|
87925
87934
|
case 'veriface':
|
87926
|
-
this.plugType = '
|
87927
|
-
|
87935
|
+
this.plugType = '拍照设备';
|
87936
|
+
this.faceReaderEvent();
|
87937
|
+
break;
|
87928
87938
|
case 'sign':
|
87929
87939
|
this.plugType = '签字板';
|
87930
|
-
|
87940
|
+
this.signEvent();
|
87941
|
+
break;
|
87931
87942
|
case 'socialSecurityCard':
|
87932
87943
|
this.plugType = '社保卡';
|
87933
|
-
|
87944
|
+
this.socialSecurityCardReaderEvent();
|
87945
|
+
break;
|
87934
87946
|
}
|
87947
|
+
this.$emit('sendPluginType', this.plugType);
|
87935
87948
|
},
|
87936
87949
|
/**
|
87937
87950
|
* 读取二代身份证
|
@@ -88217,11 +88230,11 @@ var wei_rong_face_auth_dialog_component = normalizeComponent(
|
|
88217
88230
|
;
|
88218
88231
|
var id_card_reader_button_component = normalizeComponent(
|
88219
88232
|
src_id_card_reader_buttonvue_type_script_lang_js_,
|
88220
|
-
|
88221
|
-
|
88233
|
+
id_card_reader_buttonvue_type_template_id_0c601d00_scoped_true_render,
|
88234
|
+
id_card_reader_buttonvue_type_template_id_0c601d00_scoped_true_staticRenderFns,
|
88222
88235
|
false,
|
88223
88236
|
null,
|
88224
|
-
"
|
88237
|
+
"0c601d00",
|
88225
88238
|
null
|
88226
88239
|
|
88227
88240
|
)
|