unify-external-plugin-platform 0.0.3-37 → 0.0.3-39

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.
@@ -83093,1130 +83093,6 @@ id_card_reader_demo.install = Vue => {
83093
83093
  Vue.component(id_card_reader_demo.name, id_card_reader_demo);
83094
83094
  };
83095
83095
  /* harmony default export */ var id_card_reader_id_card_reader_demo = (id_card_reader_demo);
83096
- ;// 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/scanner/scanner-high-camera-jieyu/src/scanner-high-camera-jieyu.vue?vue&type=template&id=ffa79d1e&scoped=true&
83097
- var scanner_high_camera_jieyuvue_type_template_id_ffa79d1e_scoped_true_render = function render() {
83098
- var _vm = this,
83099
- _c = _vm._self._c;
83100
- return _c('div', {
83101
- staticClass: "scanner-high-camera-container"
83102
- }, [_vm.openMode === 'dialog' ? _c('div', {
83103
- staticClass: "scanner-high-camera-button"
83104
- }, [_vm.tip ? _c('el-tooltip', {
83105
- staticClass: "id-card-reader-demo",
83106
- attrs: {
83107
- "content": _vm.tip,
83108
- "placement": "top"
83109
- }
83110
- }, [_c('el-button', _vm._b({
83111
- on: {
83112
- "click": _vm.openScanDialog
83113
- }
83114
- }, 'el-button', {
83115
- disabled: _vm.disabled,
83116
- icon: _vm.icon,
83117
- loading: _vm.loading,
83118
- plain: _vm.plain,
83119
- round: _vm.round,
83120
- size: _vm.size,
83121
- type: _vm.type,
83122
- class: _vm._className
83123
- }, false), [_vm._t("default", function () {
83124
- return [_vm._v(_vm._s(_vm.label))];
83125
- })], 2)], 1) : _c('el-button', _vm._b({
83126
- on: {
83127
- "click": _vm.openScanDialog
83128
- }
83129
- }, 'el-button', {
83130
- disabled: _vm.disabled,
83131
- icon: _vm.icon,
83132
- loading: _vm.loading,
83133
- plain: _vm.plain,
83134
- round: _vm.round,
83135
- size: _vm.size,
83136
- type: _vm.type,
83137
- class: _vm._className
83138
- }, false), [_vm._t("default", function () {
83139
- return [_vm._v(_vm._s(_vm.label))];
83140
- })], 2), _c('el-dialog', {
83141
- staticClass: "scanner-high-camera-dialog",
83142
- attrs: {
83143
- "title": "影像扫描",
83144
- "visible": _vm.dialogVisible,
83145
- "width": "60%"
83146
- },
83147
- on: {
83148
- "update:visible": function ($event) {
83149
- _vm.dialogVisible = $event;
83150
- }
83151
- }
83152
- }, [_vm.dialogVisible ? _c('scanner-high-camera-component', {
83153
- on: {
83154
- "send-scanner-result": _vm.setScannerResult
83155
- },
83156
- scopedSlots: _vm._u([{
83157
- key: "action",
83158
- fn: function () {
83159
- return [_vm._t("right-action")];
83160
- },
83161
- proxy: true
83162
- }], null, true)
83163
- }) : _vm._e(), _c('span', {
83164
- staticClass: "dialog-footer",
83165
- attrs: {
83166
- "slot": "footer"
83167
- },
83168
- slot: "footer"
83169
- }, [_c('el-button', {
83170
- attrs: {
83171
- "size": "small"
83172
- },
83173
- on: {
83174
- "click": function ($event) {
83175
- _vm.dialogVisible = false;
83176
- }
83177
- }
83178
- }, [_vm._v("取 消")]), _c('el-button', {
83179
- attrs: {
83180
- "size": "small",
83181
- "type": "primary"
83182
- },
83183
- on: {
83184
- "click": _vm.sendScannerResult
83185
- }
83186
- }, [_vm._v("确 定")])], 1)], 1)], 1) : _c('scanner-high-camera-component', {
83187
- on: {
83188
- "send-scanner-result": _vm.setScannerResult
83189
- },
83190
- scopedSlots: _vm._u([{
83191
- key: "action",
83192
- fn: function () {
83193
- return [_vm._t("right-action")];
83194
- },
83195
- proxy: true
83196
- }], null, true)
83197
- })], 1);
83198
- };
83199
- var scanner_high_camera_jieyuvue_type_template_id_ffa79d1e_scoped_true_staticRenderFns = [];
83200
-
83201
- ;// 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/scanner/scanner-high-camera-jieyu/src/component/scanner-high-camera-component.vue?vue&type=template&id=e24dd0c8&scoped=true&
83202
- var scanner_high_camera_componentvue_type_template_id_e24dd0c8_scoped_true_render = function render() {
83203
- var _vm = this,
83204
- _c = _vm._self._c;
83205
- return _c('div', {
83206
- staticClass: "scanner-high-camera-component"
83207
- }, [_c('div', {
83208
- staticClass: "scanner-result-content"
83209
- }, [_c('div', {
83210
- staticClass: "content-main flex-1"
83211
- }, [_vm.loadSuccess ? _c('div', {
83212
- staticClass: "load-success"
83213
- }, [_c('img', {
83214
- attrs: {
83215
- "id": "photo",
83216
- "src": _vm.scannerResultSrc
83217
- }
83218
- })]) : _c('div', {
83219
- staticClass: "load-error"
83220
- }, [_c('i', {
83221
- staticClass: "el-icon-s-cooperation"
83222
- }), _c('p', [_vm._v("请先安装插件")])])]), _c('div', {
83223
- staticClass: "handle-action"
83224
- }, [_c('el-select', {
83225
- staticClass: "select",
83226
- attrs: {
83227
- "size": "small"
83228
- },
83229
- on: {
83230
- "change": _vm.selectChange
83231
- },
83232
- model: {
83233
- value: _vm.camera,
83234
- callback: function ($$v) {
83235
- _vm.camera = $$v;
83236
- },
83237
- expression: "camera"
83238
- }
83239
- }, _vm._l(_vm.cameras, function (item) {
83240
- return _c('el-option', {
83241
- key: item.value,
83242
- attrs: {
83243
- "label": item.name,
83244
- "value": item.value
83245
- }
83246
- });
83247
- }), 1), _vm._l(_vm.buttonList, function (item) {
83248
- return [_c('el-button', {
83249
- key: item.name,
83250
- attrs: {
83251
- "type": "primary",
83252
- "size": "small"
83253
- },
83254
- on: {
83255
- "click": function ($event) {
83256
- return _vm.handleAction(item.name);
83257
- }
83258
- }
83259
- }, [_vm._v(_vm._s(item.label))]), _vm._t("action")];
83260
- })], 2)])]);
83261
- };
83262
- var scanner_high_camera_componentvue_type_template_id_e24dd0c8_scoped_true_staticRenderFns = [];
83263
-
83264
- ;// 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/index.js??vue-loader-options!./packages/scanner/scanner-high-camera-jieyu/src/component/scanner-high-camera-component.vue?vue&type=script&lang=js&
83265
- const BEGIN_DATA = 'data:image/jpeg;base64,';
83266
- /* harmony default export */ var scanner_high_camera_componentvue_type_script_lang_js_ = ({
83267
- name: "scanner-high-camera-component",
83268
- data: () => {
83269
- return {
83270
- totalTimeLength: 0,
83271
- timeLength: '',
83272
- timer: 0,
83273
- str1: '',
83274
- str2: '',
83275
- webSocket: {},
83276
- scannerResultSrc: '',
83277
- loadSuccess: true,
83278
- camera: 0,
83279
- cameras: [{
83280
- name: '文档',
83281
- value: 0
83282
- }, {
83283
- name: '照片',
83284
- value: 1
83285
- }],
83286
- buttonList: [
83287
- // {label: '启动主', name: 'start-main'},
83288
- // {label: '旋转启动主', name: 'rotation'},
83289
- // {label: '启动副', name: 'start-vice'},
83290
- // {label: '停止', name: 'stop'},
83291
- // {label: '自动对焦', name: 'autofocus'},
83292
- // {label: '去黑边', name: 'Black edge'},
83293
- // {label: 'Base64', name: 'base64'},
83294
- // {label: '开始录屏', name: 'start-record'},
83295
- // {label: '停止录屏', name: 'stop-record'},
83296
- {
83297
- label: '拍照',
83298
- name: 'take-pictures'
83299
- }
83300
- // {label: '设置去灰底', name: ''},
83301
- // {label: 'FILTER设置', name: ''},
83302
- // {label: 'PIN设置', name: ''},
83303
- // {label: '自动寻边', name: ''},
83304
- // {label: '身份证自动寻边', name: ''},
83305
- // {label: 'vSetExposure', name: ''},
83306
- // {label: 'vSetBrightness', name: ''},
83307
- // {label: 'vSetContrast', name: ''},
83308
- // {label: '设置分辨率', name: ''},
83309
- ]
83310
- };
83311
- },
83312
-
83313
- mounted() {
83314
- this.webSocket = new WebSocket('ws://127.0.0.1:1818');
83315
- window.onbeforeunload = () => {
83316
- this.webSocket.send("bStopPlay()");
83317
- this.webSocket.send("bStopPlay4()");
83318
- };
83319
- this.webSocket.onerror = event => {
83320
- this.onError(event);
83321
- };
83322
- this.webSocket.onopen = event => {
83323
- this.onOpen(event);
83324
- };
83325
- this.webSocket.onclose = event => {
83326
- this.onClose(event);
83327
- this.webSocket.send("bStopPlay()");
83328
- };
83329
- this.webSocket.onmessage = event => {
83330
- this.onMessage(event);
83331
- };
83332
- setTimeout(() => {
83333
- this.handleAction('start-main');
83334
- }, 800);
83335
- },
83336
- destroyed() {
83337
- this.handleAction('stop');
83338
- this.webSocket.close();
83339
- },
83340
- methods: {
83341
- selectChange(val) {
83342
- let handleName = val === 1 ? 'start-vice' : 'start-main';
83343
- this.handleAction(handleName);
83344
- },
83345
- handleAction(name) {
83346
- switch (name) {
83347
- case 'start-main':
83348
- this.StartPlay_onclick();
83349
- break;
83350
- case 'rotation':
83351
- this.start('bStartPlayRotate(90)');
83352
- break;
83353
- case 'start-vice':
83354
- this.start('bStartPlay2');
83355
- break;
83356
- case 'stop':
83357
- this.start('bStopPlay');
83358
- break;
83359
- case 'autofocus':
83360
- this.start('AutoFocus');
83361
- break;
83362
- case 'Black edge':
83363
- this.start('vSetDelHBFlag(true)');
83364
- break;
83365
- case 'base64':
83366
- this.start('sGetBase64');
83367
- break;
83368
- case 'start-record':
83369
- this.start('bStartRec(d:\\test.avi)');
83370
- break;
83371
- case 'stop-record':
83372
- this.start('bStopRec');
83373
- break;
83374
- case 'take-pictures':
83375
- this.start('bSaveJPG(D:\\,Photo)');
83376
- this.$emit('send-scanner-result', this.scannerResultSrc);
83377
- break;
83378
- }
83379
- },
83380
- timeGo() {
83381
- this.totalTimeLength++;
83382
- let Hour = 0,
83383
- Minue = 0,
83384
- Second = 0;
83385
- Hour = Math.floor(this.totalTimeLength / 3600);
83386
- Minue = Math.floor(this.totalTimeLength / 60 % 60);
83387
- Second = Math.floor(this.totalTimeLength % 60);
83388
- this.timeLength = Hour + "时" + Minue + "分" + Second + "秒";
83389
- },
83390
- onMessage(event) {
83391
- if (event.data.indexOf('BarCodeTransferBegin') >= 0) {
83392
- console.log(event.data.replace('BarCodeTransferBegin', '').replace('BarCodeTransferEnd', ''));
83393
- } else if (event.data.indexOf('BeginbSaveJPG') >= 0) {
83394
- this.str1 = event.data.replace('BeginbSaveJPG', '').replace('EndbSaveJPG', '');
83395
- console.log(this.str1);
83396
- } else if (event.data.indexOf('BeginbStopPlay') >= 0) {
83397
- console.log(event.data);
83398
- console.log(event.data.replace('BeginbStopPlay', '').replace('EndbStopPlay', ''));
83399
- } else if (event.data.indexOf('BeginvSetResolution') >= 0) {
83400
- console.log(event.data.replace('BeginvSetResolution', '').replace('EndvSetResolution', ''));
83401
- } else if (event.data.indexOf('BeginvSetRemoveGBFlag') >= 0) {
83402
- console.log(event.data.replace('BeginvSetRemoveGBFlag', '').replace('EndvSetRemoveGBFlag', ''));
83403
- } else if (event.data.indexOf('BeginbFileExist') >= 0) {
83404
- console.log(event.data.replace('BeginbFileExist', '').replace('EndbFileExist', ''));
83405
- } else if (event.data.indexOf('BeginbStartPlay2') >= 0) {
83406
- console.log(event.data.replace('BeginbStartPlay2', '').replace('EndbStartPlay2', ''));
83407
- } else if (event.data.indexOf('BeginbStartPlay') >= 0) {
83408
- console.log(event.data.replace('BeginbStartPlay', '').replace('EndbStartPlay', ''));
83409
- } else if (event.data.indexOf('BeginbSetMode') >= 0) {
83410
- console.log(event.data.replace('BeginbSetMode', '').replace('EndbSetMode', ''));
83411
- } else {
83412
- this.scannerResultSrc = `${BEGIN_DATA}${event.data}`;
83413
- // this.$emit('send-scanner-result', this.scannerResultSrc);
83414
- }
83415
- },
83416
-
83417
- onError(event) {
83418
- console.log('error', event.data);
83419
- this.loadSuccess = false;
83420
- },
83421
- onClose(event) {
83422
- this.webSocket.send("bStopPlay()");
83423
- this.webSocket.send("bStopPlay4()");
83424
- },
83425
- onOpen(event) {},
83426
- start(el) {
83427
- if (el == 'bStartRec(d:\\test.avi)') {
83428
- this.timer = window.setInterval(this.timeGo, 1000);
83429
- }
83430
- if (el == 'bStopRec') {
83431
- window.clearInterval(this.timer);
83432
- this.totalTimeLength = 0;
83433
- console.log("录屏结束");
83434
- }
83435
- this.webSocket.send(el);
83436
- return false;
83437
- },
83438
- vout_OnClick() {},
83439
- Stop_onclick() {
83440
- this.webSocket.send("bStopPlay()");
83441
- },
83442
- StartPlay_onclick() {
83443
- this.webSocket.send("vSetResolution(8)");
83444
- this.webSocket.send("bStartPlay()");
83445
- // this.loadSuccess = true
83446
- }
83447
- }
83448
- });
83449
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-high-camera-jieyu/src/component/scanner-high-camera-component.vue?vue&type=script&lang=js&
83450
- /* harmony default export */ var component_scanner_high_camera_componentvue_type_script_lang_js_ = (scanner_high_camera_componentvue_type_script_lang_js_);
83451
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-high-camera-jieyu/src/component/scanner-high-camera-component.vue?vue&type=style&index=0&id=e24dd0c8&prod&scoped=true&lang=scss&
83452
- // extracted by mini-css-extract-plugin
83453
-
83454
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-high-camera-jieyu/src/component/scanner-high-camera-component.vue?vue&type=style&index=0&id=e24dd0c8&prod&scoped=true&lang=scss&
83455
-
83456
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-high-camera-jieyu/src/component/scanner-high-camera-component.vue
83457
-
83458
-
83459
-
83460
- ;
83461
-
83462
-
83463
- /* normalize component */
83464
-
83465
- var scanner_high_camera_component_component = normalizeComponent(
83466
- component_scanner_high_camera_componentvue_type_script_lang_js_,
83467
- scanner_high_camera_componentvue_type_template_id_e24dd0c8_scoped_true_render,
83468
- scanner_high_camera_componentvue_type_template_id_e24dd0c8_scoped_true_staticRenderFns,
83469
- false,
83470
- null,
83471
- "e24dd0c8",
83472
- null
83473
-
83474
- )
83475
-
83476
- /* harmony default export */ var scanner_high_camera_component = (scanner_high_camera_component_component.exports);
83477
- ;// 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/index.js??vue-loader-options!./packages/scanner/scanner-high-camera-jieyu/src/scanner-high-camera-jieyu.vue?vue&type=script&lang=js&
83478
-
83479
-
83480
- /* harmony default export */ var scanner_high_camera_jieyuvue_type_script_lang_js_ = ({
83481
- name: "scanner-high-camera-jieyu",
83482
- components: {
83483
- ScannerHighCameraComponent: scanner_high_camera_component
83484
- },
83485
- props: {
83486
- openMode: {
83487
- default: '',
83488
- type: String
83489
- },
83490
- label: {
83491
- default: '',
83492
- type: String
83493
- },
83494
- tip: {
83495
- default: '',
83496
- type: String
83497
- },
83498
- className: {
83499
- default: '',
83500
- type: String
83501
- },
83502
- size: {
83503
- default: '',
83504
- type: String
83505
- },
83506
- type: {
83507
- default: '',
83508
- type: String
83509
- },
83510
- plain: {
83511
- default: false,
83512
- type: Boolean
83513
- },
83514
- round: {
83515
- default: false,
83516
- type: Boolean
83517
- },
83518
- loading: {
83519
- default: false,
83520
- type: Boolean
83521
- },
83522
- icon: {
83523
- default: '',
83524
- type: String
83525
- },
83526
- disabled: {
83527
- default: false,
83528
- type: Boolean
83529
- }
83530
- },
83531
- data: () => {
83532
- return {
83533
- dialogVisible: false,
83534
- scannerResult: ''
83535
- };
83536
- },
83537
- computed: {
83538
- _className() {
83539
- const classBase = ['z-button'];
83540
- if (this.type === 'text') {
83541
- classBase.push('i-font-size');
83542
- }
83543
- if (!this.className) {
83544
- return classBase;
83545
- } else if (typeof this.className === 'string') {
83546
- classBase.push(this.className);
83547
- } else {
83548
- classBase.push(...this.className);
83549
- }
83550
- return classBase;
83551
- }
83552
- },
83553
- methods: {
83554
- openScanDialog() {
83555
- this.dialogVisible = true;
83556
- },
83557
- setScannerResult(src) {
83558
- this.scannerResult = src;
83559
- if (this.openMode !== 'dialog') {
83560
- this.$emit('send-scanner-result', this.scannerResult);
83561
- }
83562
- },
83563
- sendScannerResult() {
83564
- if (this.scannerResult) {
83565
- this.$emit('send-scanner-result', this.scannerResult);
83566
- this.dialogVisible = false;
83567
- }
83568
- }
83569
- }
83570
- });
83571
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-high-camera-jieyu/src/scanner-high-camera-jieyu.vue?vue&type=script&lang=js&
83572
- /* harmony default export */ var src_scanner_high_camera_jieyuvue_type_script_lang_js_ = (scanner_high_camera_jieyuvue_type_script_lang_js_);
83573
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-high-camera-jieyu/src/scanner-high-camera-jieyu.vue?vue&type=style&index=0&id=ffa79d1e&prod&scoped=true&lang=scss&
83574
- // extracted by mini-css-extract-plugin
83575
-
83576
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-high-camera-jieyu/src/scanner-high-camera-jieyu.vue?vue&type=style&index=0&id=ffa79d1e&prod&scoped=true&lang=scss&
83577
-
83578
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-high-camera-jieyu/src/scanner-high-camera-jieyu.vue
83579
-
83580
-
83581
-
83582
- ;
83583
-
83584
-
83585
- /* normalize component */
83586
-
83587
- var scanner_high_camera_jieyu_component = normalizeComponent(
83588
- src_scanner_high_camera_jieyuvue_type_script_lang_js_,
83589
- scanner_high_camera_jieyuvue_type_template_id_ffa79d1e_scoped_true_render,
83590
- scanner_high_camera_jieyuvue_type_template_id_ffa79d1e_scoped_true_staticRenderFns,
83591
- false,
83592
- null,
83593
- "ffa79d1e",
83594
- null
83595
-
83596
- )
83597
-
83598
- /* harmony default export */ var scanner_high_camera_jieyu = (scanner_high_camera_jieyu_component.exports);
83599
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-high-camera-jieyu/index.js
83600
- /**
83601
- * @author: lvcy
83602
- * @date: 2023-01-09
83603
- * @description:index
83604
- */
83605
-
83606
-
83607
- // 组件的install方法用于按需引入
83608
- // @ts-ignore
83609
- scanner_high_camera_jieyu.install = Vue => {
83610
- Vue.component(scanner_high_camera_jieyu.name, scanner_high_camera_jieyu);
83611
- };
83612
- /* harmony default export */ var scanner_scanner_high_camera_jieyu = (scanner_high_camera_jieyu);
83613
- ;// 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/scanner/scanner-eloam/src/scanner-eloam.vue?vue&type=template&id=a80d3a26&scoped=true&
83614
- var scanner_eloamvue_type_template_id_a80d3a26_scoped_true_render = function render() {
83615
- var _vm = this,
83616
- _c = _vm._self._c;
83617
- return _c('div', {
83618
- staticClass: "scanner-high-camera-container"
83619
- }, [_vm.openMode === 'dialog' ? _c('div', {
83620
- staticClass: "scanner-high-camera-button"
83621
- }, [_vm.tip ? _c('el-tooltip', {
83622
- staticClass: "id-card-reader-demo",
83623
- attrs: {
83624
- "content": _vm.tip,
83625
- "placement": "top"
83626
- }
83627
- }, [_c('el-button', _vm._b({
83628
- on: {
83629
- "click": _vm.openScanDialog
83630
- }
83631
- }, 'el-button', {
83632
- disabled: _vm.disabled,
83633
- icon: _vm.icon,
83634
- loading: _vm.loading,
83635
- plain: _vm.plain,
83636
- round: _vm.round,
83637
- size: _vm.size,
83638
- type: _vm.type,
83639
- class: _vm._className
83640
- }, false), [_vm._t("default", function () {
83641
- return [_vm._v(_vm._s(_vm.label))];
83642
- })], 2)], 1) : _c('el-button', _vm._b({
83643
- on: {
83644
- "click": _vm.openScanDialog
83645
- }
83646
- }, 'el-button', {
83647
- disabled: _vm.disabled,
83648
- icon: _vm.icon,
83649
- loading: _vm.loading,
83650
- plain: _vm.plain,
83651
- round: _vm.round,
83652
- size: _vm.size,
83653
- type: _vm.type,
83654
- class: _vm._className
83655
- }, false), [_vm._t("default", function () {
83656
- return [_vm._v(_vm._s(_vm.label))];
83657
- })], 2), _c('el-dialog', {
83658
- staticClass: "scanner-high-camera-dialog",
83659
- attrs: {
83660
- "title": "影像扫描",
83661
- "visible": _vm.dialogVisible,
83662
- "width": "60%"
83663
- },
83664
- on: {
83665
- "update:visible": function ($event) {
83666
- _vm.dialogVisible = $event;
83667
- }
83668
- }
83669
- }, [_vm.dialogVisible ? _c('scanner-eloam-component', {
83670
- on: {
83671
- "send-scanner-result": _vm.setScannerResult
83672
- },
83673
- scopedSlots: _vm._u([{
83674
- key: "action",
83675
- fn: function () {
83676
- return [_vm._t("right-action")];
83677
- },
83678
- proxy: true
83679
- }], null, true)
83680
- }) : _vm._e(), _c('span', {
83681
- staticClass: "dialog-footer",
83682
- attrs: {
83683
- "slot": "footer"
83684
- },
83685
- slot: "footer"
83686
- }, [_c('el-button', {
83687
- attrs: {
83688
- "size": "small"
83689
- },
83690
- on: {
83691
- "click": function ($event) {
83692
- _vm.dialogVisible = false;
83693
- }
83694
- }
83695
- }, [_vm._v("取 消")]), _c('el-button', {
83696
- attrs: {
83697
- "size": "small",
83698
- "type": "primary"
83699
- },
83700
- on: {
83701
- "click": _vm.sendScannerResult
83702
- }
83703
- }, [_vm._v("确 定")])], 1)], 1)], 1) : _c('scanner-eloam-component', {
83704
- on: {
83705
- "send-scanner-result": _vm.setScannerResult
83706
- },
83707
- scopedSlots: _vm._u([{
83708
- key: "action",
83709
- fn: function () {
83710
- return [_vm._t("right-action")];
83711
- },
83712
- proxy: true
83713
- }], null, true)
83714
- })], 1);
83715
- };
83716
- var scanner_eloamvue_type_template_id_a80d3a26_scoped_true_staticRenderFns = [];
83717
-
83718
- ;// 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/scanner/scanner-eloam/src/component/scanner-eloam-component.vue?vue&type=template&id=428304e7&scoped=true&
83719
- var scanner_eloam_componentvue_type_template_id_428304e7_scoped_true_render = function render() {
83720
- var _vm = this,
83721
- _c = _vm._self._c;
83722
- return _c('div', {
83723
- staticClass: "scanner-high-camera-component"
83724
- }, [_c('div', {
83725
- staticClass: "scanner-result-content"
83726
- }, [_c('div', {
83727
- staticClass: "content-main flex-1"
83728
- }, [_vm.loadSuccess ? _c('div', {
83729
- staticClass: "load-success"
83730
- }, [_c('img', {
83731
- staticStyle: {
83732
- "width": "800px",
83733
- "height": "600px"
83734
- },
83735
- attrs: {
83736
- "id": "photo",
83737
- "src": _vm.scannerVideoSrc
83738
- }
83739
- })]) : _c('div', {
83740
- staticClass: "load-error"
83741
- }, [_c('i', {
83742
- staticClass: "el-icon-s-cooperation"
83743
- }), _c('p', [_vm._v("请先安装插件")])])]), _c('div', {
83744
- staticClass: "handle-action"
83745
- }, [_c('el-select', {
83746
- staticClass: "select",
83747
- attrs: {
83748
- "size": "small"
83749
- },
83750
- on: {
83751
- "change": _vm.selectChange
83752
- },
83753
- model: {
83754
- value: _vm.camera,
83755
- callback: function ($$v) {
83756
- _vm.camera = $$v;
83757
- },
83758
- expression: "camera"
83759
- }
83760
- }, _vm._l(_vm.cameras, function (item) {
83761
- return _c('el-option', {
83762
- key: item.value,
83763
- attrs: {
83764
- "label": item.name,
83765
- "value": item.value
83766
- }
83767
- });
83768
- }), 1), _vm._l(_vm.buttonList, function (item) {
83769
- return [_c('el-button', {
83770
- key: item.name,
83771
- attrs: {
83772
- "type": "primary",
83773
- "size": "small"
83774
- },
83775
- on: {
83776
- "click": function ($event) {
83777
- return _vm.handleAction(item.name);
83778
- }
83779
- }
83780
- }, [_vm._v(_vm._s(item.label))]), _vm._t("action")];
83781
- })], 2)])]);
83782
- };
83783
- var scanner_eloam_componentvue_type_template_id_428304e7_scoped_true_staticRenderFns = [];
83784
-
83785
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
83786
- function _typeof(obj) {
83787
- "@babel/helpers - typeof";
83788
-
83789
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
83790
- return typeof obj;
83791
- } : function (obj) {
83792
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
83793
- }, _typeof(obj);
83794
- }
83795
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
83796
-
83797
- function _toPrimitive(input, hint) {
83798
- if (_typeof(input) !== "object" || input === null) return input;
83799
- var prim = input[Symbol.toPrimitive];
83800
- if (prim !== undefined) {
83801
- var res = prim.call(input, hint || "default");
83802
- if (_typeof(res) !== "object") return res;
83803
- throw new TypeError("@@toPrimitive must return a primitive value.");
83804
- }
83805
- return (hint === "string" ? String : Number)(input);
83806
- }
83807
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
83808
-
83809
-
83810
- function _toPropertyKey(arg) {
83811
- var key = _toPrimitive(arg, "string");
83812
- return _typeof(key) === "symbol" ? key : String(key);
83813
- }
83814
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
83815
-
83816
- function _defineProperty(obj, key, value) {
83817
- key = _toPropertyKey(key);
83818
- if (key in obj) {
83819
- Object.defineProperty(obj, key, {
83820
- value: value,
83821
- enumerable: true,
83822
- configurable: true,
83823
- writable: true
83824
- });
83825
- } else {
83826
- obj[key] = value;
83827
- }
83828
- return obj;
83829
- }
83830
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/src/util/custom-axios.ts
83831
- /**
83832
- * @author: lvcy
83833
- * @date: 2023-06-21
83834
- * @description:custom-axios
83835
- */
83836
- class CustomAxios {
83837
- static startConnect(method, url, data = {}) {
83838
- return new Promise((resolve, reject) => {
83839
- let xhr = new XMLHttpRequest();
83840
- method = method.toUpperCase();
83841
- if (method == 'GET') {
83842
- let param = ''; //数据拼接字符串
83843
- Object.keys(data).forEach(key => {
83844
- param += `${key}=${data[key]}&`;
83845
- });
83846
- param = param.substring(0, param.lastIndexOf('&'));
83847
- url = url + '?' + param;
83848
- } else if (method == 'POST') {} else {
83849
- reject('error method: Currently only supported GET or POST method!');
83850
- }
83851
- xhr.open(method, url, true);
83852
- xhr.setRequestHeader('Accept', 'application/json');
83853
- if (method === 'GET') {
83854
- xhr.send();
83855
- } else {
83856
- xhr.send(JSON.stringify(data));
83857
- }
83858
- xhr.onreadystatechange = function () {
83859
- if (this.readyState !== 4) {
83860
- return;
83861
- }
83862
- if (this.status === 200) {
83863
- let obj = this.response;
83864
- if (typeof obj !== 'object') {
83865
- obj = JSON.parse(obj);
83866
- }
83867
- resolve(obj);
83868
- } else {
83869
- reject(xhr);
83870
- }
83871
- };
83872
- });
83873
- }
83874
- static async get(url) {
83875
- let res = await CustomAxios.startConnect('GET', url);
83876
- return res;
83877
- }
83878
- static async post(url, data) {
83879
- let res = await CustomAxios.startConnect('POST', url, data);
83880
- return res;
83881
- }
83882
- }
83883
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/src/util/eloam-plugin.service.ts
83884
-
83885
- /**
83886
- * @author: lvcy
83887
- * @date: 2023-06-21
83888
- * @description:良田高拍仪
83889
- */
83890
-
83891
- var ELoamMethodCode;
83892
- (function (ELoamMethodCode) {
83893
- /** 扫描-主摄像头 */
83894
- ELoamMethodCode["ScannerMainCamera_Base64"] = "ScannerMainCamera_Base64";
83895
- /** 扫描-副摄像头 */
83896
- ELoamMethodCode["ScannerSecondaryCamera_Base64"] = "ScannerSecondaryCamera_Base64";
83897
- /** 读取二代身份证 */
83898
- ELoamMethodCode["ReadIDCard_Base64"] = "ReadIDCard_Base64";
83899
- })(ELoamMethodCode || (ELoamMethodCode = {}));
83900
- const ELoamMethodDesc = {
83901
- [ELoamMethodCode.ScannerMainCamera_Base64]: '扫描',
83902
- [ELoamMethodCode.ScannerSecondaryCamera_Base64]: '拍照',
83903
- [ELoamMethodCode.ReadIDCard_Base64]: '读取二代身份证'
83904
- };
83905
- class ELoamPassService {
83906
- /** 主摄像头地址 */
83907
- static get mainCameraUrl() {
83908
- return this.baseServiceUrl + '/video=stream&camidx=0';
83909
- }
83910
- /** 副摄像头地址 */
83911
- static get secondaryCameraUrl() {
83912
- return this.baseServiceUrl + '/video=stream&camidx=1';
83913
- }
83914
- static async read(method) {
83915
- let param = {},
83916
- url = '';
83917
- switch (method) {
83918
- case ELoamMethodCode.ScannerMainCamera_Base64:
83919
- // rotate: 旋转角度;deskew:纠偏,主摄像头1,副摄像头0 camidx:主摄像头0,副摄像头1;ColorMode:quality
83920
- url = this.baseServiceUrl + '/video=grabimage';
83921
- param = {
83922
- filepath: "base64",
83923
- rotate: "0",
83924
- deskew: "1",
83925
- camidx: "0",
83926
- ColorMode: "0",
83927
- quality: "0"
83928
- };
83929
- break;
83930
- case ELoamMethodCode.ScannerSecondaryCamera_Base64:
83931
- // rotate: 旋转角度,;deskew:纠偏,主摄像头1,副摄像头0 camidx:主摄像头0,副摄像头1;ColorMode:quality
83932
- url = this.baseServiceUrl + '/video=grabimage';
83933
- param = {
83934
- filepath: "base64",
83935
- rotate: "0",
83936
- deskew: "0",
83937
- camidx: "1",
83938
- ColorMode: "0",
83939
- quality: "0"
83940
- };
83941
- break;
83942
- case ELoamMethodCode.ReadIDCard_Base64:
83943
- url = this.baseServiceUrl + '/card=idcard';
83944
- break;
83945
- }
83946
- let res = await CustomAxios.post(url, param);
83947
- return res;
83948
- }
83949
- /** 主摄像头拍照 */
83950
- static async scanByMainCamera() {
83951
- const res = await ELoamPassService.read(ELoamMethodCode.ScannerMainCamera_Base64);
83952
- return res.photoBase64;
83953
- }
83954
- /** 副摄像头拍照 */
83955
- static async scanBySecondaryCamera() {
83956
- const res = await ELoamPassService.read(ELoamMethodCode.ScannerSecondaryCamera_Base64);
83957
- return res.photoBase64;
83958
- }
83959
- /** 读取身份证 */
83960
- static async idCardRead() {
83961
- const res = await ELoamPassService.read(ELoamMethodCode.ReadIDCard_Base64);
83962
- let {
83963
- name,
83964
- sex,
83965
- birthday,
83966
- address,
83967
- cardID,
83968
- nationCode,
83969
- photoBase64,
83970
- issueOrgan,
83971
- validStart,
83972
- validEnd
83973
- } = res.IDCardInfo;
83974
- const IDCardData = {
83975
- info: {
83976
- name,
83977
- sex,
83978
- birthday: birthday.replace('-', '').replace('-', ''),
83979
- address,
83980
- cardId: cardID,
83981
- nation: nationCode,
83982
- police: issueOrgan,
83983
- validStart,
83984
- validEnd
83985
- },
83986
- headImage: photoBase64
83987
- };
83988
- return IDCardData;
83989
- }
83990
- }
83991
- _defineProperty(ELoamPassService, "baseServiceUrl", 'http://127.0.0.1:38088');
83992
- ;// 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/index.js??vue-loader-options!./packages/scanner/scanner-eloam/src/component/scanner-eloam-component.vue?vue&type=script&lang=js&
83993
-
83994
- const scanner_eloam_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/jpg;base64,';
83995
- /* harmony default export */ var scanner_eloam_componentvue_type_script_lang_js_ = ({
83996
- name: "scanner-eloam-component",
83997
- data: () => {
83998
- return {
83999
- totalTimeLength: 0,
84000
- timeLength: '',
84001
- timer: 0,
84002
- str1: '',
84003
- str2: '',
84004
- webSocket: {},
84005
- scannerVideoSrc: '',
84006
- scannerResultSrc: '',
84007
- loadSuccess: true,
84008
- camera: 0,
84009
- cameras: [{
84010
- name: '文档',
84011
- value: 0
84012
- }, {
84013
- name: '照片',
84014
- value: 1
84015
- }],
84016
- buttonList: [{
84017
- label: '拍照',
84018
- name: 'take-pictures'
84019
- }]
84020
- };
84021
- },
84022
- created() {
84023
- this.scannerVideoSrc = ELoamPassService.mainCameraUrl;
84024
- },
84025
- methods: {
84026
- selectChange(val) {
84027
- let handleName = val === 1 ? 'start-vice' : 'start-main';
84028
- this.handleAction(handleName);
84029
- },
84030
- handleAction(name) {
84031
- switch (name) {
84032
- case 'start-main':
84033
- // 主摄像头
84034
- this.scannerVideoSrc = ELoamPassService.mainCameraUrl;
84035
- break;
84036
- case 'start-vice':
84037
- // 副摄像头
84038
- this.scannerVideoSrc = ELoamPassService.secondaryCameraUrl;
84039
- break;
84040
- case 'take-pictures':
84041
- // 拍照
84042
- this.takePictures();
84043
- break;
84044
- }
84045
- },
84046
- async takePictures() {
84047
- if (this.camera === 0) {
84048
- // 主摄像头
84049
- const res = await ELoamPassService.scanByMainCamera();
84050
- this.$emit('send-scanner-result', `${scanner_eloam_componentvue_type_script_lang_js_BEGIN_DATA}${res}`);
84051
- } else {
84052
- // 副摄像头
84053
- const res = await ELoamPassService.scanBySecondaryCamera();
84054
- this.$emit('send-scanner-result', `${scanner_eloam_componentvue_type_script_lang_js_BEGIN_DATA}${res}`);
84055
- }
84056
- }
84057
- }
84058
- });
84059
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/src/component/scanner-eloam-component.vue?vue&type=script&lang=js&
84060
- /* harmony default export */ var component_scanner_eloam_componentvue_type_script_lang_js_ = (scanner_eloam_componentvue_type_script_lang_js_);
84061
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-eloam/src/component/scanner-eloam-component.vue?vue&type=style&index=0&id=428304e7&prod&scoped=true&lang=scss&
84062
- // extracted by mini-css-extract-plugin
84063
-
84064
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/src/component/scanner-eloam-component.vue?vue&type=style&index=0&id=428304e7&prod&scoped=true&lang=scss&
84065
-
84066
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/src/component/scanner-eloam-component.vue
84067
-
84068
-
84069
-
84070
- ;
84071
-
84072
-
84073
- /* normalize component */
84074
-
84075
- var scanner_eloam_component_component = normalizeComponent(
84076
- component_scanner_eloam_componentvue_type_script_lang_js_,
84077
- scanner_eloam_componentvue_type_template_id_428304e7_scoped_true_render,
84078
- scanner_eloam_componentvue_type_template_id_428304e7_scoped_true_staticRenderFns,
84079
- false,
84080
- null,
84081
- "428304e7",
84082
- null
84083
-
84084
- )
84085
-
84086
- /* harmony default export */ var scanner_eloam_component = (scanner_eloam_component_component.exports);
84087
- ;// 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/index.js??vue-loader-options!./packages/scanner/scanner-eloam/src/scanner-eloam.vue?vue&type=script&lang=js&
84088
-
84089
-
84090
- /* harmony default export */ var scanner_eloamvue_type_script_lang_js_ = ({
84091
- name: "scanner-eloam",
84092
- components: {
84093
- ScannerEloamComponent: scanner_eloam_component
84094
- },
84095
- props: {
84096
- openMode: {
84097
- default: '',
84098
- type: String
84099
- },
84100
- label: {
84101
- default: '',
84102
- type: String
84103
- },
84104
- tip: {
84105
- default: '',
84106
- type: String
84107
- },
84108
- className: {
84109
- default: '',
84110
- type: String
84111
- },
84112
- size: {
84113
- default: '',
84114
- type: String
84115
- },
84116
- type: {
84117
- default: '',
84118
- type: String
84119
- },
84120
- plain: {
84121
- default: false,
84122
- type: Boolean
84123
- },
84124
- round: {
84125
- default: false,
84126
- type: Boolean
84127
- },
84128
- loading: {
84129
- default: false,
84130
- type: Boolean
84131
- },
84132
- icon: {
84133
- default: '',
84134
- type: String
84135
- },
84136
- disabled: {
84137
- default: false,
84138
- type: Boolean
84139
- }
84140
- },
84141
- data: () => {
84142
- return {
84143
- dialogVisible: false,
84144
- scannerResult: ''
84145
- };
84146
- },
84147
- computed: {
84148
- _className() {
84149
- const classBase = ['z-button'];
84150
- if (this.type === 'text') {
84151
- classBase.push('i-font-size');
84152
- }
84153
- if (!this.className) {
84154
- return classBase;
84155
- } else if (typeof this.className === 'string') {
84156
- classBase.push(this.className);
84157
- } else {
84158
- classBase.push(...this.className);
84159
- }
84160
- return classBase;
84161
- }
84162
- },
84163
- methods: {
84164
- openScanDialog() {
84165
- this.dialogVisible = true;
84166
- },
84167
- setScannerResult(src) {
84168
- this.scannerResult = src;
84169
- if (this.openMode !== 'dialog') {
84170
- this.$emit('send-scanner-result', this.scannerResult);
84171
- }
84172
- },
84173
- sendScannerResult() {
84174
- if (this.scannerResult) {
84175
- this.$emit('send-scanner-result', this.scannerResult);
84176
- this.dialogVisible = false;
84177
- }
84178
- }
84179
- }
84180
- });
84181
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/src/scanner-eloam.vue?vue&type=script&lang=js&
84182
- /* harmony default export */ var src_scanner_eloamvue_type_script_lang_js_ = (scanner_eloamvue_type_script_lang_js_);
84183
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-eloam/src/scanner-eloam.vue?vue&type=style&index=0&id=a80d3a26&prod&scoped=true&lang=scss&
84184
- // extracted by mini-css-extract-plugin
84185
-
84186
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/src/scanner-eloam.vue?vue&type=style&index=0&id=a80d3a26&prod&scoped=true&lang=scss&
84187
-
84188
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/src/scanner-eloam.vue
84189
-
84190
-
84191
-
84192
- ;
84193
-
84194
-
84195
- /* normalize component */
84196
-
84197
- var src_scanner_eloam_component = normalizeComponent(
84198
- src_scanner_eloamvue_type_script_lang_js_,
84199
- scanner_eloamvue_type_template_id_a80d3a26_scoped_true_render,
84200
- scanner_eloamvue_type_template_id_a80d3a26_scoped_true_staticRenderFns,
84201
- false,
84202
- null,
84203
- "a80d3a26",
84204
- null
84205
-
84206
- )
84207
-
84208
- /* harmony default export */ var scanner_eloam = (src_scanner_eloam_component.exports);
84209
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-eloam/index.js
84210
- /**
84211
- * @author: lvcy
84212
- * @date: 2023-06-21
84213
- * @description:index
84214
- */
84215
-
84216
- scanner_eloam.install = Vue => {
84217
- Vue.component(scanner_eloam.name, scanner_eloam);
84218
- };
84219
- /* harmony default export */ var scanner_scanner_eloam = (scanner_eloam);
84220
83096
  ;// 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/scanner/scanner-camera/src/scanner-camera.vue?vue&type=template&id=00e9072f&scoped=true&
84221
83097
  var scanner_cameravue_type_template_id_00e9072f_scoped_true_render = function render() {
84222
83098
  var _vm = this,
@@ -84328,8 +83204,8 @@ var scanner_cameravue_type_template_id_00e9072f_scoped_true_render = function re
84328
83204
  };
84329
83205
  var scanner_cameravue_type_template_id_00e9072f_scoped_true_staticRenderFns = [];
84330
83206
 
84331
- ;// 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/scanner/scanner-camera/src/component/scanner-camera-component.vue?vue&type=template&id=7676b84c&scoped=true&
84332
- var scanner_camera_componentvue_type_template_id_7676b84c_scoped_true_render = function render() {
83207
+ ;// 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/scanner/scanner-camera/src/component/scanner-camera-component.vue?vue&type=template&id=7ab9db0a&scoped=true&
83208
+ var scanner_camera_componentvue_type_template_id_7ab9db0a_scoped_true_render = function render() {
84333
83209
  var _vm = this,
84334
83210
  _c = _vm._self._c;
84335
83211
  return _c('div', {
@@ -84338,12 +83214,14 @@ var scanner_camera_componentvue_type_template_id_7676b84c_scoped_true_render = f
84338
83214
  staticClass: "scanner-result-content"
84339
83215
  }, [_c('div', {
84340
83216
  staticClass: "content-main flex-1"
84341
- }, [_vm.loadSuccess ? _c('div', {
83217
+ }, [_vm.loadSuccess && _vm.scannerVideoSrc ? _c('div', {
84342
83218
  staticClass: "load-success"
84343
83219
  }, [_c('img', {
84344
83220
  staticStyle: {
84345
- "width": "800px",
84346
- "height": "600px"
83221
+ "max-width": "800px",
83222
+ "max-height": "600px",
83223
+ "width": "100%",
83224
+ "height": "100%"
84347
83225
  },
84348
83226
  attrs: {
84349
83227
  "id": "photo",
@@ -84353,7 +83231,7 @@ var scanner_camera_componentvue_type_template_id_7676b84c_scoped_true_render = f
84353
83231
  staticClass: "load-error"
84354
83232
  }, [_c('i', {
84355
83233
  staticClass: "el-icon-s-cooperation"
84356
- }), _c('p', [_vm._v("请先安装插件")])])]), _c('div', {
83234
+ }), _c('p', [_vm._v("请先安装插件,并确保设备已连接")])])]), _vm.loadSuccess && _vm.scannerVideoSrc ? _c('div', {
84357
83235
  staticClass: "handle-action"
84358
83236
  }, [_c('el-select', {
84359
83237
  staticClass: "select",
@@ -84391,17 +83269,62 @@ var scanner_camera_componentvue_type_template_id_7676b84c_scoped_true_render = f
84391
83269
  }
84392
83270
  }
84393
83271
  }, [_vm._v(_vm._s(item.label))]) : _vm._e()];
84394
- }), _vm._t("action")]], 2)])]);
83272
+ }), _vm._t("action")]], 2) : _vm._e()])]);
84395
83273
  };
84396
- var scanner_camera_componentvue_type_template_id_7676b84c_scoped_true_staticRenderFns = [];
83274
+ var scanner_camera_componentvue_type_template_id_7ab9db0a_scoped_true_staticRenderFns = [];
83275
+
83276
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
83277
+ function _typeof(obj) {
83278
+ "@babel/helpers - typeof";
83279
+
83280
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
83281
+ return typeof obj;
83282
+ } : function (obj) {
83283
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
83284
+ }, _typeof(obj);
83285
+ }
83286
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
83287
+
83288
+ function _toPrimitive(input, hint) {
83289
+ if (_typeof(input) !== "object" || input === null) return input;
83290
+ var prim = input[Symbol.toPrimitive];
83291
+ if (prim !== undefined) {
83292
+ var res = prim.call(input, hint || "default");
83293
+ if (_typeof(res) !== "object") return res;
83294
+ throw new TypeError("@@toPrimitive must return a primitive value.");
83295
+ }
83296
+ return (hint === "string" ? String : Number)(input);
83297
+ }
83298
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
83299
+
83300
+
83301
+ function _toPropertyKey(arg) {
83302
+ var key = _toPrimitive(arg, "string");
83303
+ return _typeof(key) === "symbol" ? key : String(key);
83304
+ }
83305
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
84397
83306
 
83307
+ function _defineProperty(obj, key, value) {
83308
+ key = _toPropertyKey(key);
83309
+ if (key in obj) {
83310
+ Object.defineProperty(obj, key, {
83311
+ value: value,
83312
+ enumerable: true,
83313
+ configurable: true,
83314
+ writable: true
83315
+ });
83316
+ } else {
83317
+ obj[key] = value;
83318
+ }
83319
+ return obj;
83320
+ }
84398
83321
  ;// CONCATENATED MODULE: ./packages/utils/custom-axios.ts
84399
83322
  /**
84400
83323
  * @author: lvcy
84401
83324
  * @date: 2023-06-21
84402
83325
  * @description:custom-axios
84403
83326
  */
84404
- class custom_axios_CustomAxios {
83327
+ class CustomAxios {
84405
83328
  static startConnect(method, url, data = {}, header = {}) {
84406
83329
  return new Promise((resolve, reject) => {
84407
83330
  let xhr = new XMLHttpRequest();
@@ -84448,11 +83371,11 @@ class custom_axios_CustomAxios {
84448
83371
  });
84449
83372
  }
84450
83373
  static async get(url, data = {}, header = {}) {
84451
- let res = await custom_axios_CustomAxios.startConnect('GET', url, data, header);
83374
+ let res = await CustomAxios.startConnect('GET', url, data, header);
84452
83375
  return res;
84453
83376
  }
84454
83377
  static async post(url, data, header = {}) {
84455
- let res = await custom_axios_CustomAxios.startConnect('POST', url, data, header);
83378
+ let res = await CustomAxios.startConnect('POST', url, data, header);
84456
83379
  return res;
84457
83380
  }
84458
83381
  }
@@ -84464,7 +83387,7 @@ class custom_axios_CustomAxios {
84464
83387
  * @description:良田高拍仪
84465
83388
  */
84466
83389
 
84467
- var eloam_plugin_service_ELoamMethodCode;
83390
+ var ELoamMethodCode;
84468
83391
  (function (ELoamMethodCode) {
84469
83392
  ELoamMethodCode["ScannerCameraLinuxInit"] = "ScannerCameraLinuxInit";
84470
83393
  /** 打开摄像头linux*/
@@ -84485,13 +83408,13 @@ var eloam_plugin_service_ELoamMethodCode;
84485
83408
  ELoamMethodCode["ReadIDCard_Base64"] = "ReadIDCard_Base64";
84486
83409
  /** 关闭摄像头*/
84487
83410
  ELoamMethodCode["StopCamera"] = "stopCamera";
84488
- })(eloam_plugin_service_ELoamMethodCode || (eloam_plugin_service_ELoamMethodCode = {}));
84489
- const eloam_plugin_service_ELoamMethodDesc = {
84490
- [eloam_plugin_service_ELoamMethodCode.ScannerMainCamera_Base64]: '扫描',
84491
- [eloam_plugin_service_ELoamMethodCode.ScannerSecondaryCamera_Base64]: '拍照',
84492
- [eloam_plugin_service_ELoamMethodCode.ReadIDCard_Base64]: '读取二代身份证'
83411
+ })(ELoamMethodCode || (ELoamMethodCode = {}));
83412
+ const ELoamMethodDesc = {
83413
+ [ELoamMethodCode.ScannerMainCamera_Base64]: '扫描',
83414
+ [ELoamMethodCode.ScannerSecondaryCamera_Base64]: '拍照',
83415
+ [ELoamMethodCode.ReadIDCard_Base64]: '读取二代身份证'
84493
83416
  };
84494
- class eloam_plugin_service_ELoamPassService {
83417
+ class ELoamPassService {
84495
83418
  /** 主摄像头地址 */
84496
83419
  static get mainCameraUrl() {
84497
83420
  if (this._isLinux) {
@@ -84513,20 +83436,20 @@ class eloam_plugin_service_ELoamPassService {
84513
83436
  url = '',
84514
83437
  requestType = '';
84515
83438
  switch (method) {
84516
- case eloam_plugin_service_ELoamMethodCode.ScannerCameraLinuxInit:
83439
+ case ELoamMethodCode.ScannerCameraLinuxInit:
84517
83440
  url = `${this.baseLinuxServiceUrl}/GetAllDisplayInfo`;
84518
83441
  requestType = 'get';
84519
83442
  break;
84520
- case eloam_plugin_service_ELoamMethodCode.ScannerCameraLinuxStartPreview:
83443
+ case ELoamMethodCode.ScannerCameraLinuxStartPreview:
84521
83444
  url = `${this.baseLinuxServiceUrl}/StartPreview?dev_idx=${data}&res_id=0`;
84522
83445
  requestType = 'get';
84523
83446
  break;
84524
- case eloam_plugin_service_ELoamMethodCode.ScannerCameraLinuxGetFrame:
83447
+ case ELoamMethodCode.ScannerCameraLinuxGetFrame:
84525
83448
  url = `${this.baseLinuxServiceUrl}/getFrame`;
84526
83449
  requestType = 'get';
84527
83450
  break;
84528
- case eloam_plugin_service_ELoamMethodCode.ScannerCameraRotate:
84529
- if (eloam_plugin_service_ELoamPassService._isLinux) {
83451
+ case ELoamMethodCode.ScannerCameraRotate:
83452
+ if (ELoamPassService._isLinux) {
84530
83453
  let count = data / 90;
84531
83454
  url = this.baseLinuxServiceUrl + `/Rotate?count=${count}`;
84532
83455
  requestType = 'get';
@@ -84539,9 +83462,9 @@ class eloam_plugin_service_ELoamPassService {
84539
83462
  requestType = 'post';
84540
83463
  }
84541
83464
  break;
84542
- case eloam_plugin_service_ELoamMethodCode.ScannerCameraDeskew_Base64:
83465
+ case ELoamMethodCode.ScannerCameraDeskew_Base64:
84543
83466
  // 纠偏
84544
- if (eloam_plugin_service_ELoamPassService._isLinux) {
83467
+ if (ELoamPassService._isLinux) {
84545
83468
  url = `${this.baseLinuxServiceUrl}/EnableDeskImage?enable=${data}`;
84546
83469
  requestType = 'get';
84547
83470
  } else {
@@ -84554,7 +83477,7 @@ class eloam_plugin_service_ELoamPassService {
84554
83477
  requestType = 'post';
84555
83478
  }
84556
83479
  break;
84557
- case eloam_plugin_service_ELoamMethodCode.ScannerCameraMerge_Base64:
83480
+ case ELoamMethodCode.ScannerCameraMerge_Base64:
84558
83481
  // 合并
84559
83482
  if (this._isLinux) {
84560
83483
  // 国产
@@ -84573,7 +83496,7 @@ class eloam_plugin_service_ELoamPassService {
84573
83496
  requestType = 'post';
84574
83497
  }
84575
83498
  break;
84576
- case eloam_plugin_service_ELoamMethodCode.ScannerMainCamera_Base64:
83499
+ case ELoamMethodCode.ScannerMainCamera_Base64:
84577
83500
  if (this._isLinux) {
84578
83501
  url = this.baseLinuxServiceUrl + '/getPic?filepath=/tmp';
84579
83502
  requestType = 'get';
@@ -84592,7 +83515,7 @@ class eloam_plugin_service_ELoamPassService {
84592
83515
  requestType = 'post';
84593
83516
  }
84594
83517
  break;
84595
- case eloam_plugin_service_ELoamMethodCode.ScannerSecondaryCamera_Base64:
83518
+ case ELoamMethodCode.ScannerSecondaryCamera_Base64:
84596
83519
  if (this._isLinux) {
84597
83520
  url = this.baseLinuxServiceUrl + '/getPic?filepath=/tmp';
84598
83521
  requestType = 'get';
@@ -84611,7 +83534,7 @@ class eloam_plugin_service_ELoamPassService {
84611
83534
  requestType = 'post';
84612
83535
  }
84613
83536
  break;
84614
- case eloam_plugin_service_ELoamMethodCode.StopCamera:
83537
+ case ELoamMethodCode.StopCamera:
84615
83538
  if (this._isLinux) {
84616
83539
  url = this.baseLinuxServiceUrl + '/StopPreview?dev_idx=0';
84617
83540
  requestType = 'get';
@@ -84623,26 +83546,26 @@ class eloam_plugin_service_ELoamPassService {
84623
83546
  requestType = 'post';
84624
83547
  }
84625
83548
  break;
84626
- case eloam_plugin_service_ELoamMethodCode.ReadIDCard_Base64:
83549
+ case ELoamMethodCode.ReadIDCard_Base64:
84627
83550
  url = this.baseServiceUrl + '/card=idcard';
84628
83551
  requestType = 'post';
84629
83552
  break;
84630
83553
  }
84631
- let res = await custom_axios_CustomAxios[requestType](url, param);
83554
+ let res = await CustomAxios[requestType](url, param);
84632
83555
  return res;
84633
83556
  }
84634
83557
  static async initLinuxCamera() {
84635
- await eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ScannerCameraLinuxInit);
83558
+ await ELoamPassService.read(ELoamMethodCode.ScannerCameraLinuxInit);
84636
83559
  }
84637
83560
  static async startPreview(data) {
84638
- return await eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ScannerCameraLinuxStartPreview, data);
83561
+ return await ELoamPassService.read(ELoamMethodCode.ScannerCameraLinuxStartPreview, data);
84639
83562
  }
84640
83563
  static async getEloamFrame() {
84641
- return await eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ScannerCameraLinuxGetFrame);
83564
+ return await ELoamPassService.read(ELoamMethodCode.ScannerCameraLinuxGetFrame);
84642
83565
  }
84643
83566
  /** 主摄像头拍照 */
84644
83567
  static async scanByMainCamera(deskew) {
84645
- const res = await eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ScannerMainCamera_Base64, deskew);
83568
+ const res = await ELoamPassService.read(ELoamMethodCode.ScannerMainCamera_Base64, deskew);
84646
83569
  if (this._isLinux) {
84647
83570
  return res; // 国产
84648
83571
  } else {
@@ -84651,7 +83574,7 @@ class eloam_plugin_service_ELoamPassService {
84651
83574
  }
84652
83575
  /** 副摄像头拍照 */
84653
83576
  static async scanBySecondaryCamera() {
84654
- const res = await eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ScannerSecondaryCamera_Base64);
83577
+ const res = await ELoamPassService.read(ELoamMethodCode.ScannerSecondaryCamera_Base64);
84655
83578
  if (this._isLinux) {
84656
83579
  return res.data.img; // 国产
84657
83580
  } else {
@@ -84659,7 +83582,7 @@ class eloam_plugin_service_ELoamPassService {
84659
83582
  }
84660
83583
  }
84661
83584
  static async mergeImage(list, type) {
84662
- const res = await eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ScannerCameraMerge_Base64, {
83585
+ const res = await ELoamPassService.read(ELoamMethodCode.ScannerCameraMerge_Base64, {
84663
83586
  list,
84664
83587
  type
84665
83588
  });
@@ -84690,11 +83613,11 @@ class eloam_plugin_service_ELoamPassService {
84690
83613
  }
84691
83614
  static async turnOnTheCamera() {}
84692
83615
  static async stopCamera() {
84693
- const res = await eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.StopCamera);
83616
+ const res = await ELoamPassService.read(ELoamMethodCode.StopCamera);
84694
83617
  }
84695
83618
  /** 读取身份证 */
84696
83619
  static async idCardRead() {
84697
- const res = await eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ReadIDCard_Base64);
83620
+ const res = await ELoamPassService.read(ELoamMethodCode.ReadIDCard_Base64);
84698
83621
  var readData = res.IDCardInfo;
84699
83622
  // Agency 发证机关,外国人永居证时,该值为中文名
84700
83623
  var name = (readData.name || '').trim();
@@ -84746,9 +83669,9 @@ class eloam_plugin_service_ELoamPassService {
84746
83669
  return IDCardData;
84747
83670
  }
84748
83671
  }
84749
- _defineProperty(eloam_plugin_service_ELoamPassService, "baseServiceUrl", 'http://127.0.0.1:38088');
84750
- _defineProperty(eloam_plugin_service_ELoamPassService, "baseLinuxServiceUrl", 'http://127.0.0.1:6543');
84751
- _defineProperty(eloam_plugin_service_ELoamPassService, "_isLinux", String(navigator.platform).indexOf("Linux") > -1);
83672
+ _defineProperty(ELoamPassService, "baseServiceUrl", 'http://127.0.0.1:38088');
83673
+ _defineProperty(ELoamPassService, "baseLinuxServiceUrl", 'http://127.0.0.1:6543');
83674
+ _defineProperty(ELoamPassService, "_isLinux", String(navigator.platform).indexOf("Linux") > -1);
84752
83675
  ;// CONCATENATED MODULE: ./packages/model/common-message.ts
84753
83676
 
84754
83677
  /**
@@ -85878,7 +84801,8 @@ _defineProperty(WeiRongPluginService, "timer", null);
85878
84801
 
85879
84802
 
85880
84803
 
85881
- const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/jpg;base64,';
84804
+
84805
+ const BEGIN_DATA = 'data:image/jpg;base64,';
85882
84806
  /* harmony default export */ var scanner_camera_componentvue_type_script_lang_js_ = ({
85883
84807
  name: "scanner-camera-component",
85884
84808
  props: {
@@ -85931,7 +84855,23 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
85931
84855
  };
85932
84856
  },
85933
84857
  watch: {
84858
+ 'scannerVideoSrc': {
84859
+ immediate: true,
84860
+ handler(newVal, oldVal) {
84861
+ if (newVal && newVal.startsWith("http")) {
84862
+ CustomAxios.get(newVal).then(res => {
84863
+ if (this.machineType === 5 && res.code !== '0') {
84864
+ this.loadSuccess = false;
84865
+ }
84866
+ }).catch(err => {
84867
+ this.loadSuccess = false;
84868
+ });
84869
+ }
84870
+ }
84871
+ },
85934
84872
  'machineType': function () {
84873
+ this.loadSuccess = true;
84874
+ this.scannerVideoSrc = '';
85935
84875
  let handleName = this.camera === 1 ? 'start-vice' : 'start-main';
85936
84876
  this.handleAction(handleName);
85937
84877
  }
@@ -85940,7 +84880,7 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
85940
84880
  this.handleAction('start-main');
85941
84881
  window.addEventListener(SCANNER_CAMERA_REFRESH_PHOTO_EVENT, message => {
85942
84882
  if (message.type === SCANNER_CAMERA_REFRESH_PHOTO_EVENT) {
85943
- this.scannerVideoSrc = `${scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA}${message.scannerResultUrl}`;
84883
+ this.scannerVideoSrc = `${BEGIN_DATA}${message.scannerResultUrl}`;
85944
84884
  }
85945
84885
  });
85946
84886
  window.addEventListener('beforeunload', this.beforeunload);
@@ -85959,7 +84899,7 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
85959
84899
  break;
85960
84900
  case 5:
85961
84901
  // 良田
85962
- await eloam_plugin_service_ELoamPassService.stopCamera();
84902
+ await ELoamPassService.stopCamera();
85963
84903
  break;
85964
84904
  }
85965
84905
  },
@@ -85979,7 +84919,7 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
85979
84919
  case 0:
85980
84920
  // 捷宇
85981
84921
  let res = await JieYueService.scanByCamera();
85982
- this.$emit('send-scanner-result', `${scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA}${res}`);
84922
+ this.$emit('send-scanner-result', `${BEGIN_DATA}${res}`);
85983
84923
  break;
85984
84924
  case 3:
85985
84925
  {
@@ -85990,17 +84930,17 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
85990
84930
  case 4:
85991
84931
  {
85992
84932
  let res = await UdsPluginSocketService.scanByCamera();
85993
- this.$emit('send-scanner-result', `${scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA}${res}`);
84933
+ this.$emit('send-scanner-result', `${BEGIN_DATA}${res}`);
85994
84934
  break;
85995
84935
  }
85996
84936
  case 5:
85997
84937
  {
85998
84938
  // 良田
85999
84939
  let type = this.camera === 0 ? 'main' : 'vice';
86000
- const res = await eloam_plugin_service_ELoamPassService.scanByCamera(type, this.deskewStatus);
84940
+ const res = await ELoamPassService.scanByCamera(type, this.deskewStatus);
86001
84941
  if (res) {
86002
84942
  let path = res;
86003
- this.$emit('send-scanner-result', `${scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA}${path}`);
84943
+ this.$emit('send-scanner-result', `${BEGIN_DATA}${path}`);
86004
84944
  } else {
86005
84945
  this.$message.error('拍照出错,请检查设备是否连接成功');
86006
84946
  }
@@ -86010,7 +84950,7 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
86010
84950
  {
86011
84951
  // 国产客户端一体机
86012
84952
  let res = await WeiRongPluginService.scanByCamera();
86013
- this.$emit('send-scanner-result', `${scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA}${res}`);
84953
+ this.$emit('send-scanner-result', `${BEGIN_DATA}${res}`);
86014
84954
  break;
86015
84955
  }
86016
84956
  }
@@ -86035,10 +84975,10 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
86035
84975
  case 5:
86036
84976
  // 良田高拍仪
86037
84977
  if (!(String(navigator.platform).indexOf("Linux") > -1)) {
86038
- this.scannerVideoSrc = eloam_plugin_service_ELoamPassService.mainCameraUrl;
84978
+ this.scannerVideoSrc = ELoamPassService.mainCameraUrl;
86039
84979
  } else {
86040
- await eloam_plugin_service_ELoamPassService.initLinuxCamera();
86041
- let res = await eloam_plugin_service_ELoamPassService.startPreview('0');
84980
+ await ELoamPassService.initLinuxCamera();
84981
+ let res = await ELoamPassService.startPreview('0');
86042
84982
  if (res.returnCode == "0" || res.returnCode == "2") {
86043
84983
  this.eloamLinuxFrameTimer = setInterval(this.getEloamFrame, 300);
86044
84984
  }
@@ -86051,13 +84991,13 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
86051
84991
  }
86052
84992
  },
86053
84993
  async getEloamFrame() {
86054
- let res = await eloam_plugin_service_ELoamPassService.getEloamFrame();
84994
+ let res = await ELoamPassService.getEloamFrame();
86055
84995
  if (res.returnCode == "1") {
86056
84996
  clearInterval(this.eloamLinuxFrameTimer);
86057
84997
  return;
86058
84998
  }
86059
84999
  if (res.data.img == "") return;
86060
- this.scannerVideoSrc = `${scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA}${res.data.img}`;
85000
+ this.scannerVideoSrc = `${BEGIN_DATA}${res.data.img}`;
86061
85001
  },
86062
85002
  /**
86063
85003
  * 副摄像头
@@ -86079,10 +85019,10 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
86079
85019
  case 5:
86080
85020
  // 良田
86081
85021
  if (!(String(navigator.platform).indexOf("Linux") > -1)) {
86082
- this.scannerVideoSrc = eloam_plugin_service_ELoamPassService.mainCameraUrl;
85022
+ this.scannerVideoSrc = ELoamPassService.mainCameraUrl;
86083
85023
  } else {
86084
- await eloam_plugin_service_ELoamPassService.initLinuxCamera();
86085
- await eloam_plugin_service_ELoamPassService.startPreview('1');
85024
+ await ELoamPassService.initLinuxCamera();
85025
+ await ELoamPassService.startPreview('1');
86086
85026
  this.eloamLinuxFrameTimer = setInterval(this.getEloamFrame, 300);
86087
85027
  }
86088
85028
  break;
@@ -86094,16 +85034,16 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
86094
85034
  },
86095
85035
  async takePictureMerge(type) {
86096
85036
  if (type === '1' && this.deskewStatus === '0') return this.$message.warning('请先开启纠偏');
86097
- const res = await eloam_plugin_service_ELoamPassService.scanByCamera('main', this.deskewStatus, true);
85037
+ const res = await ELoamPassService.scanByCamera('main', this.deskewStatus, true);
86098
85038
  if (res) {
86099
85039
  let path = res;
86100
85040
  this.mergeImageList.push(path);
86101
85041
  if (this.mergeImageList.length === 1) this.$message.success('第一张拍摄成功,请拍第二张');
86102
85042
  if (this.mergeImageList.length === 2) {
86103
- let result = await eloam_plugin_service_ELoamPassService.mergeImage(this.mergeImageList, type);
85043
+ let result = await ELoamPassService.mergeImage(this.mergeImageList, type);
86104
85044
  this.mergeImageList = [];
86105
85045
  this.$message.success('合并成功');
86106
- this.$emit('send-scanner-result', `${scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA}${result}`);
85046
+ this.$emit('send-scanner-result', `${BEGIN_DATA}${result}`);
86107
85047
  }
86108
85048
  } else {
86109
85049
  this.$message.error('合并拍照出错,请检查设备是否连接成功');
@@ -86151,14 +85091,14 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
86151
85091
  } else {
86152
85092
  this.rotateDeg = 90;
86153
85093
  }
86154
- eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ScannerCameraRotate, this.rotateDeg); // 选装
85094
+ ELoamPassService.read(ELoamMethodCode.ScannerCameraRotate, this.rotateDeg); // 选装
86155
85095
  break;
86156
85096
  case 'open-deskew':
86157
85097
  this.deskewStatus = this.deskewStatus === '1' ? '0' : '1';
86158
- eloam_plugin_service_ELoamPassService.read(eloam_plugin_service_ELoamMethodCode.ScannerCameraDeskew_Base64, this.deskewStatus); // 开启纠偏裁边
85098
+ ELoamPassService.read(ELoamMethodCode.ScannerCameraDeskew_Base64, this.deskewStatus); // 开启纠偏裁边
86159
85099
  break;
86160
85100
  case 'close':
86161
- await eloam_plugin_service_ELoamPassService.stopCamera();
85101
+ await ELoamPassService.stopCamera();
86162
85102
  break;
86163
85103
  }
86164
85104
  }
@@ -86166,10 +85106,10 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
86166
85106
  });
86167
85107
  ;// CONCATENATED MODULE: ./packages/scanner/scanner-camera/src/component/scanner-camera-component.vue?vue&type=script&lang=js&
86168
85108
  /* harmony default export */ var component_scanner_camera_componentvue_type_script_lang_js_ = (scanner_camera_componentvue_type_script_lang_js_);
86169
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-camera/src/component/scanner-camera-component.vue?vue&type=style&index=0&id=7676b84c&prod&scoped=true&lang=scss&
85109
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-camera/src/component/scanner-camera-component.vue?vue&type=style&index=0&id=7ab9db0a&prod&scoped=true&lang=scss&
86170
85110
  // extracted by mini-css-extract-plugin
86171
85111
 
86172
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-camera/src/component/scanner-camera-component.vue?vue&type=style&index=0&id=7676b84c&prod&scoped=true&lang=scss&
85112
+ ;// CONCATENATED MODULE: ./packages/scanner/scanner-camera/src/component/scanner-camera-component.vue?vue&type=style&index=0&id=7ab9db0a&prod&scoped=true&lang=scss&
86173
85113
 
86174
85114
  ;// CONCATENATED MODULE: ./packages/scanner/scanner-camera/src/component/scanner-camera-component.vue
86175
85115
 
@@ -86182,11 +85122,11 @@ const scanner_camera_componentvue_type_script_lang_js_BEGIN_DATA = 'data:image/j
86182
85122
 
86183
85123
  var scanner_camera_component_component = normalizeComponent(
86184
85124
  component_scanner_camera_componentvue_type_script_lang_js_,
86185
- scanner_camera_componentvue_type_template_id_7676b84c_scoped_true_render,
86186
- scanner_camera_componentvue_type_template_id_7676b84c_scoped_true_staticRenderFns,
85125
+ scanner_camera_componentvue_type_template_id_7ab9db0a_scoped_true_render,
85126
+ scanner_camera_componentvue_type_template_id_7ab9db0a_scoped_true_staticRenderFns,
86187
85127
  false,
86188
85128
  null,
86189
- "7676b84c",
85129
+ "7ab9db0a",
86190
85130
  null
86191
85131
 
86192
85132
  )
@@ -86333,156 +85273,8 @@ scanner_camera.install = Vue => {
86333
85273
  Vue.component(scanner_camera.name, scanner_camera);
86334
85274
  };
86335
85275
  /* harmony default export */ var scanner_scanner_camera = (scanner_camera);
86336
- ;// 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-eloam/src/id-card-reader-eloam.vue?vue&type=template&id=5b7ce781&scoped=true&
86337
- var id_card_reader_eloamvue_type_template_id_5b7ce781_scoped_true_render = function render() {
86338
- var _vm = this,
86339
- _c = _vm._self._c;
86340
- return _vm.tip ? _c('el-tooltip', {
86341
- staticClass: "id-card-reader-eloam",
86342
- attrs: {
86343
- "content": _vm.tip,
86344
- "placement": "top"
86345
- }
86346
- }, [_c('el-button', _vm._b({
86347
- on: {
86348
- "click": _vm.handleClick
86349
- }
86350
- }, 'el-button', {
86351
- disabled: _vm.disabled,
86352
- icon: _vm.icon,
86353
- loading: _vm.loading,
86354
- plain: _vm.plain,
86355
- round: _vm.round,
86356
- size: _vm.size,
86357
- type: _vm.type,
86358
- class: _vm._className
86359
- }, false), [_vm._t("default", function () {
86360
- return [_vm._v(_vm._s(_vm.label))];
86361
- })], 2)], 1) : _c('el-button', _vm._b({
86362
- on: {
86363
- "click": _vm.handleClick
86364
- }
86365
- }, 'el-button', {
86366
- disabled: _vm.disabled,
86367
- icon: _vm.icon,
86368
- loading: _vm.loading,
86369
- plain: _vm.plain,
86370
- round: _vm.round,
86371
- size: _vm.size,
86372
- type: _vm.type,
86373
- class: _vm._className
86374
- }, false), [_vm._t("default", function () {
86375
- return [_vm._v(_vm._s(_vm.label))];
86376
- })], 2);
86377
- };
86378
- var id_card_reader_eloamvue_type_template_id_5b7ce781_scoped_true_staticRenderFns = [];
86379
-
86380
- ;// 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/index.js??vue-loader-options!./packages/id-card-reader/id-card-reader-eloam/src/id-card-reader-eloam.vue?vue&type=script&lang=js&
86381
-
86382
-
86383
- /* harmony default export */ var id_card_reader_eloamvue_type_script_lang_js_ = ({
86384
- name: 'id-card-reader-eloam',
86385
- props: {
86386
- label: {
86387
- default: '',
86388
- type: String
86389
- },
86390
- tip: {
86391
- default: '',
86392
- type: String
86393
- },
86394
- className: {
86395
- default: '',
86396
- type: String
86397
- },
86398
- size: {
86399
- default: 'mini',
86400
- type: String
86401
- },
86402
- type: {
86403
- default: 'primary',
86404
- type: String
86405
- },
86406
- plain: {
86407
- default: false,
86408
- type: Boolean
86409
- },
86410
- /** Determine whether it's a round button */
86411
- round: {
86412
- default: false,
86413
- type: Boolean
86414
- },
86415
- /** Determine whether it's loading */
86416
- loading: {
86417
- default: false,
86418
- type: Boolean
86419
- },
86420
- /** Button icon, accepts an icon name of Element icon component */
86421
- icon: {
86422
- default: 'el-icon-postcard',
86423
- type: String
86424
- },
86425
- disabled: {
86426
- default: false,
86427
- type: Boolean
86428
- }
86429
- },
86430
- computed: {
86431
- _className() {
86432
- const classBase = ['z-button'];
86433
- if (this.type === 'text') {
86434
- classBase.push('i-font-size');
86435
- }
86436
- if (!this.className) {
86437
- return classBase;
86438
- } else if (typeof this.className === 'string') {
86439
- classBase.push(this.className);
86440
- } else {
86441
- classBase.push(...this.className);
86442
- }
86443
- return classBase;
86444
- }
86445
- },
86446
- methods: {
86447
- async handleClick() {
86448
- let res = await ELoamPassService.idCardRead();
86449
- this.$emit('click', res);
86450
- }
86451
- }
86452
- });
86453
- ;// CONCATENATED MODULE: ./packages/id-card-reader/id-card-reader-eloam/src/id-card-reader-eloam.vue?vue&type=script&lang=js&
86454
- /* harmony default export */ var src_id_card_reader_eloamvue_type_script_lang_js_ = (id_card_reader_eloamvue_type_script_lang_js_);
86455
- ;// CONCATENATED MODULE: ./packages/id-card-reader/id-card-reader-eloam/src/id-card-reader-eloam.vue
86456
-
86457
-
86458
-
86459
-
86460
-
86461
- /* normalize component */
86462
- ;
86463
- var id_card_reader_eloam_component = normalizeComponent(
86464
- src_id_card_reader_eloamvue_type_script_lang_js_,
86465
- id_card_reader_eloamvue_type_template_id_5b7ce781_scoped_true_render,
86466
- id_card_reader_eloamvue_type_template_id_5b7ce781_scoped_true_staticRenderFns,
86467
- false,
86468
- null,
86469
- "5b7ce781",
86470
- null
86471
-
86472
- )
86473
-
86474
- /* harmony default export */ var id_card_reader_eloam = (id_card_reader_eloam_component.exports);
86475
- ;// CONCATENATED MODULE: ./packages/id-card-reader/id-card-reader-eloam/index.js
86476
-
86477
-
86478
- // 组件的install方法用于按需引入
86479
- // @ts-ignore
86480
- id_card_reader_eloam.install = Vue => {
86481
- Vue.component(id_card_reader_eloam.name, id_card_reader_eloam);
86482
- };
86483
- /* harmony default export */ var id_card_reader_id_card_reader_eloam = (id_card_reader_eloam);
86484
- ;// 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=cd700468&scoped=true&
86485
- var id_card_reader_buttonvue_type_template_id_cd700468_scoped_true_render = function render() {
85276
+ ;// 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=43b57092&scoped=true&
85277
+ var id_card_reader_buttonvue_type_template_id_43b57092_scoped_true_render = function render() {
86486
85278
  var _vm = this,
86487
85279
  _c = _vm._self._c;
86488
85280
  return _vm.tip ? _c('el-tooltip', {
@@ -86559,7 +85351,7 @@ var id_card_reader_buttonvue_type_template_id_cd700468_scoped_true_render = func
86559
85351
  }
86560
85352
  })], 2);
86561
85353
  };
86562
- var id_card_reader_buttonvue_type_template_id_cd700468_scoped_true_staticRenderFns = [];
85354
+ var id_card_reader_buttonvue_type_template_id_43b57092_scoped_true_staticRenderFns = [];
86563
85355
 
86564
85356
  ;// CONCATENATED MODULE: ./packages/service/external-plugins/default-plugin-socket.service.ts
86565
85357
 
@@ -87880,8 +86672,8 @@ var face_auth_dialog_component = normalizeComponent(
87880
86672
  )
87881
86673
 
87882
86674
  /* harmony default export */ var face_auth_dialog = (face_auth_dialog_component.exports);
87883
- ;// 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/dialog/eloam-take-photo-dialog.vue?vue&type=template&id=6e18b4de&scoped=true&
87884
- var eloam_take_photo_dialogvue_type_template_id_6e18b4de_scoped_true_render = function render() {
86675
+ ;// 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/dialog/eloam-take-photo-dialog.vue?vue&type=template&id=0b1e6b36&scoped=true&
86676
+ var eloam_take_photo_dialogvue_type_template_id_0b1e6b36_scoped_true_render = function render() {
87885
86677
  var _vm = this,
87886
86678
  _c = _vm._self._c;
87887
86679
  return _vm.visibility ? _c('el-dialog', {
@@ -87947,7 +86739,7 @@ var eloam_take_photo_dialogvue_type_template_id_6e18b4de_scoped_true_render = fu
87947
86739
  }, 'el-button', button, false), [_vm._v(_vm._s(button.label) + " ")]) : _vm._e()];
87948
86740
  })], 2)]) : _vm._e();
87949
86741
  };
87950
- var eloam_take_photo_dialogvue_type_template_id_6e18b4de_scoped_true_staticRenderFns = [];
86742
+ var eloam_take_photo_dialogvue_type_template_id_0b1e6b36_scoped_true_staticRenderFns = [];
87951
86743
 
87952
86744
  ;// 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/index.js??vue-loader-options!./packages/id-card-reader/id-card-reader-button/src/dialog/eloam-take-photo-dialog.vue?vue&type=script&lang=js&
87953
86745
 
@@ -88026,11 +86818,11 @@ var eloam_take_photo_dialogvue_type_template_id_6e18b4de_scoped_true_staticRende
88026
86818
  ;
88027
86819
  var eloam_take_photo_dialog_component = normalizeComponent(
88028
86820
  dialog_eloam_take_photo_dialogvue_type_script_lang_js_,
88029
- eloam_take_photo_dialogvue_type_template_id_6e18b4de_scoped_true_render,
88030
- eloam_take_photo_dialogvue_type_template_id_6e18b4de_scoped_true_staticRenderFns,
86821
+ eloam_take_photo_dialogvue_type_template_id_0b1e6b36_scoped_true_render,
86822
+ eloam_take_photo_dialogvue_type_template_id_0b1e6b36_scoped_true_staticRenderFns,
88031
86823
  false,
88032
86824
  null,
88033
- "6e18b4de",
86825
+ "0b1e6b36",
88034
86826
  null
88035
86827
 
88036
86828
  )
@@ -88954,9 +87746,9 @@ class ExitAndEntryPluginService {
88954
87746
  }
88955
87747
  let res;
88956
87748
  if (requestType === 'get') {
88957
- res = await custom_axios_CustomAxios[requestType](url, param, headers);
87749
+ res = await CustomAxios[requestType](url, param, headers);
88958
87750
  } else {
88959
- res = await custom_axios_CustomAxios[requestType](url, param, headers);
87751
+ res = await CustomAxios[requestType](url, param, headers);
88960
87752
  }
88961
87753
  return res;
88962
87754
  }
@@ -89360,7 +88152,7 @@ class PuTianPluginService {
89360
88152
  url = this.idCardWebSocketUrl + '/readCard';
89361
88153
  break;
89362
88154
  }
89363
- let res = await custom_axios_CustomAxios.get(url);
88155
+ let res = await CustomAxios.get(url);
89364
88156
  return res;
89365
88157
  }
89366
88158
  static async idCardRead() {
@@ -89490,7 +88282,7 @@ class JingLunPluginService {
89490
88282
  url = this.idCardWebSocketUrl + '/api/readCard';
89491
88283
  break;
89492
88284
  }
89493
- let res = await custom_axios_CustomAxios.post(url, {});
88285
+ let res = await CustomAxios.post(url, {});
89494
88286
  return res;
89495
88287
  }
89496
88288
  static async idCardRead() {
@@ -89645,7 +88437,7 @@ class HanWangPluginService {
89645
88437
  url = this.windowsWebServiceUrl + '/HWPenSign/HWGetSign';
89646
88438
  break;
89647
88439
  }
89648
- let res = await custom_axios_CustomAxios.get(url, data);
88440
+ let res = await CustomAxios.get(url, data);
89649
88441
  return res;
89650
88442
  }
89651
88443
  static async readInLinux(methodCode) {
@@ -90258,11 +89050,11 @@ _defineProperty(HanWangPluginService, "_isLinux", String(navigator.platform).ind
90258
89050
  ;
90259
89051
  var id_card_reader_button_component = normalizeComponent(
90260
89052
  src_id_card_reader_buttonvue_type_script_lang_js_,
90261
- id_card_reader_buttonvue_type_template_id_cd700468_scoped_true_render,
90262
- id_card_reader_buttonvue_type_template_id_cd700468_scoped_true_staticRenderFns,
89053
+ id_card_reader_buttonvue_type_template_id_43b57092_scoped_true_render,
89054
+ id_card_reader_buttonvue_type_template_id_43b57092_scoped_true_staticRenderFns,
90263
89055
  false,
90264
89056
  null,
90265
- "cd700468",
89057
+ "43b57092",
90266
89058
  null
90267
89059
 
90268
89060
  )
@@ -91134,9 +89926,6 @@ scanner_nko.install = Vue => {
91134
89926
 
91135
89927
 
91136
89928
 
91137
-
91138
-
91139
-
91140
89929
  // import {
91141
89930
  // Button,
91142
89931
  // Tooltip,
@@ -91152,7 +89941,7 @@ scanner_nko.install = Vue => {
91152
89941
  // Dialog
91153
89942
  // ]
91154
89943
  // 组件列表
91155
- const components = [packages_zs_empty, id_card_reader_id_card_reader_demo, id_card_reader_id_card_reader_eloam, id_card_reader_id_card_reader_button, scanner_scanner_high_camera_jieyu, scanner_scanner_eloam, scanner_scanner_camera, scanner_scanner_nko];
89944
+ const components = [packages_zs_empty, id_card_reader_id_card_reader_demo, id_card_reader_id_card_reader_button, scanner_scanner_camera, scanner_scanner_nko];
91156
89945
 
91157
89946
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
91158
89947
  const install = Vue => {