nubomed-ui 2.0.67 → 2.0.69

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,13 @@
5
5
  "css_prefix_text": "icon-",
6
6
  "description": "",
7
7
  "glyphs": [
8
+ {
9
+ "icon_id": "41104343",
10
+ "name": "长箭头-copy-copy",
11
+ "font_class": "arrow-right-fill",
12
+ "unicode": "e600",
13
+ "unicode_decimal": 58880
14
+ },
8
15
  {
9
16
  "icon_id": "32540887",
10
17
  "name": "毒麻账册",
Binary file
Binary file
Binary file
package/lang/en-US.js CHANGED
@@ -1 +1 @@
1
- export default{nb:{name:"Item Name",consumableInfo:"Medical Supply Info",spec:"Spec",model:"Model",barcode:"Unique Code",combineCode:"品规码",batch:"Batch No.",expiry:"Expiry",count:"Quantity",totalCount:"Total",stockCount:"Inventory",position:"Location",curPosition:"Current Location",lastPosition:"Last Known Location",manufacturer:"Manufacturer",brand:"Brand",supplier:"Supplier",unit:"Unit",price:"Amount",unitPrice:"Unit Price",currentUser:"当前用户",operation:"Operation",operator:"Operator",operateTime:"Operation Time",operateType:"Operation Type",female:"女",male:"男",sex:"性别",age:"年龄",inpatientNum:"住院号",patientName:"患者姓名",yesterday:"昨天",today:"今天",tomorrow:"明天",oneWeekAgo:"近一周",oneMonthAgo:"近一月",status:"状态",dept:"科室",time:"时间",type:"类型",remark:"备注",temperature:"温度",humidity:"湿度",invSurplus:"Inventory Surplus",invLoss:"Inventory Loss",invAccount:"System Count",invActual:"Auto Count",invIng:"Counting...",upperStrata:"Upper Level",onlineVersion:"Online Version",offlineVersion:"Offline Version",middleground:"Middleware",middlegroundVersion:"Middleware Version",embedded:"Embedded",deviceNumber:"Device Number",plateType:"Board Type",version:"Version Number",handwareAdress:"Hardware Address",cabinetBoard:"Cabinet Board",tempHumBoard:"Temperature and Humidity Display Board",alarmBoard:"Vibration Alarm Board",state:{normal:"正常",abnormal:"异常",temporaryStop:"Temporarily Disabled",disabled:"Disabled"},button:{back:"Back",backToMain:"Main Menu",logout:"Exit",close:"Close",add:"Add",search:"Search",detail:"Details",cancel:"Cancel",confirm:"Confirm",iKnown:"I Understand",known:"Understood",refresh:"Refresh",retest:"Retesting",copy:"Copy",clear:"Clear",ignore:"Ignore",ignoreSign:"Ignore and Delete",look:"Go to View",print:"Print",retry:"Retry",edit:"Edit",save:"Save",submit:"Submit",againSubmit:"Resubmit",continueSubmit:"Continue Submitting",replyDelete:"Backspace",retrospect:"追溯",inventory:"Inventory Count",login:"Login",openLock:"开锁",allOpenLock:"全部开锁"},form:{all:"全部",startTime:"开始时间",endTime:"结束时间"},msg:{deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"Expired",oneMonth:"1 months",threeMonth:"3 months",sixMonth:"6 months"},cabinet:{upCabinet:"上柜",downCabinet:"下柜",leftCabinet:"左柜",rightCabinet:"右柜",cabinetUnconnected:"未连接",cabinetUnlock:"柜未锁",cabinetLock:"柜已锁",cabinetUnclosed:"柜未关",cabinetClosed:"柜已关"},reagentType:{mediumPackage:"Medium Pack",singleMultiple:"Single Dose Multiple Use",singleOnce:"Single Dose One Time Use",opened:"Opened",unopened:"Unopened"},loading:"加载中...",release:"释放更新",pullRefresh:"下拉刷新",isEnd:"已经到底了"}};
1
+ export default{nb:{name:"Item Name",consumableInfo:"Medical Supply Info",spec:"Spec",model:"Model",barcode:"Unique Code",combineCode:"品规码",batch:"Batch No.",expiry:"Expiry",count:"Quantity",totalCount:"Total",stockCount:"Inventory",coefficient:"Coefficient",position:"Location",curPosition:"Current Location",lastPosition:"Last Known Location",manufacturer:"Manufacturer",brand:"Brand",supplier:"Supplier",unit:"Unit",price:"Amount",unitPrice:"Unit Price",currentUser:"当前用户",operation:"Operation",operator:"Operator",operateTime:"Operation Time",operateType:"Operation Type",female:"女",male:"男",sex:"性别",age:"年龄",inpatientNum:"住院号",patientName:"患者姓名",yesterday:"昨天",today:"今天",tomorrow:"明天",oneWeekAgo:"近一周",oneMonthAgo:"近一月",status:"状态",dept:"科室",time:"时间",type:"类型",remark:"备注",temperature:"温度",humidity:"湿度",invSurplus:"Inventory Surplus",invLoss:"Inventory Loss",invAccount:"System Count",invActual:"Auto Count",invIng:"Counting...",upperStrata:"Upper Level",onlineVersion:"Online Version",offlineVersion:"Offline Version",middleground:"Middleware",middlegroundVersion:"Middleware Version",embedded:"Embedded",deviceNumber:"Device Number",plateType:"Board Type",version:"Version Number",handwareAdress:"Hardware Address",cabinetBoard:"Cabinet Board",tempHumBoard:"Temperature and Humidity Display Board",alarmBoard:"Vibration Alarm Board",state:{normal:"正常",abnormal:"异常",temporaryStop:"Temporarily Disabled",disabled:"Disabled"},button:{back:"Back",backToMain:"Main Menu",logout:"Exit",close:"Close",add:"Add",search:"Search",detail:"Details",cancel:"Cancel",confirm:"Confirm",iKnown:"I Understand",known:"Understood",refresh:"Refresh",retest:"Retesting",copy:"Copy",clear:"Clear",ignore:"Ignore",ignoreSign:"Ignore and Delete",look:"Go to View",print:"Print",retry:"Retry",edit:"Edit",save:"Save",submit:"Submit",againSubmit:"Resubmit",continueSubmit:"Continue Submitting",replyDelete:"Backspace",retrospect:"追溯",inventory:"Inventory Count",login:"Login",openLock:"开锁",allOpenLock:"全部开锁"},form:{all:"全部",startTime:"开始时间",endTime:"结束时间"},msg:{copySuccess:"Copy Successful!",deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"Expired",oneMonth:"1 months",threeMonth:"3 months",sixMonth:"6 months"},cabinet:{upCabinet:"上柜",downCabinet:"下柜",leftCabinet:"左柜",rightCabinet:"右柜",cabinetUnconnected:"未连接",cabinetUnlock:"柜未锁",cabinetLock:"柜已锁",cabinetUnclosed:"柜未关",cabinetClosed:"柜已关"},reagentType:{mediumPackage:"Medium Pack",singleMultiple:"Single Dose Multiple Use",singleOnce:"Single Dose One Time Use",opened:"Opened",unopened:"Unopened"},loading:"加载中...",release:"释放更新",pullRefresh:"下拉刷新",isEnd:"已经到底了",traceDetail:"Full Process Traceability Details"}};
package/lang/zh-CN.js CHANGED
@@ -1 +1 @@
1
- export default{nb:{name:"品名",consumableInfo:"耗材信息",spec:"规格",model:"型号",barcode:"唯一码",combineCode:"品规码",batch:"批号",expiry:"效期",count:"数量",totalCount:"总数",stockCount:"库存",position:"位置",curPosition:"当前位置",lastPosition:"上次位置",manufacturer:"生产厂家",brand:"品牌",supplier:"供应商",unit:"单位",price:"金额",unitPrice:"单价",currentUser:"当前用户",operation:"操作",operator:"操作人",operateTime:"操作时间",operateType:"操作类型",female:"女",male:"男",sex:"性别",age:"年龄",inpatientNum:"住院号",patientName:"患者姓名",yesterday:"昨天",today:"今天",tomorrow:"明天",oneWeekAgo:"近一周",oneMonthAgo:"近一月",status:"状态",dept:"科室",time:"时间",type:"类型",remark:"备注",temperature:"温度",humidity:"湿度",invSurplus:"盘盈",invLoss:"盘亏",invAccount:"账盘",invActual:"机盘",invIng:"盘点中...",upperStrata:"上层",onlineVersion:"在线版本",offlineVersion:"离线版本",middleground:"中台",middlegroundVersion:"中台版本",embedded:"嵌入式",deviceNumber:"设备号",plateType:"板类型",version:"版本号",handwareAdress:"硬件地址",cabinetBoard:"柜板",tempHumBoard:"温湿度显示板",alarmBoard:"震动报警器板",state:{normal:"正常",abnormal:"异常",temporaryStop:"临时停用",disabled:"已禁用"},button:{back:"返回",backToMain:"返回主页",logout:"退出",close:"关闭",add:"添加",search:"搜索",detail:"详情",cancel:"取消",confirm:"确定",iKnown:"我知道了",known:"知道了",refresh:"刷新",retest:"重新检测",inventory:"盘点",copy:"复制",clear:"清空",ignore:"忽略",ignoreSign:"忽略并删除",look:"前往查看",print:"打印",retry:"重试",edit:"编辑",save:"保存",submit:"提交",againSubmit:"重新提交",continueSubmit:"继续提交",replyDelete:"回删",retrospect:"追溯",login:"登录",openLock:"开锁",allOpenLock:"全部开锁"},form:{all:"全部",startTime:"开始时间",endTime:"结束时间"},msg:{deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"过期",oneMonth:"1个月",threeMonth:"3个月",sixMonth:"6个月"},cabinet:{upCabinet:"上柜",downCabinet:"下柜",leftCabinet:"左柜",rightCabinet:"右柜",cabinetUnconnected:"未连接",cabinetUnlock:"柜未锁",cabinetLock:"柜已锁",cabinetUnclosed:"柜未关",cabinetClosed:"柜已关"},reagentType:{mediumPackage:"中包装",singleMultiple:"单支多次",singleOnce:"单支一次",opened:"已开瓶",unopened:"未开瓶"},loading:"加载中...",release:"释放更新",pullRefresh:"下拉刷新",isEnd:"已经到底了"}};
1
+ export default{nb:{name:"品名",consumableInfo:"耗材信息",spec:"规格",model:"型号",barcode:"唯一码",combineCode:"品规码",batch:"批号",expiry:"效期",count:"数量",totalCount:"总数",stockCount:"库存",coefficient:"系数",position:"位置",curPosition:"当前位置",lastPosition:"上次位置",manufacturer:"生产厂家",brand:"品牌",supplier:"供应商",unit:"单位",price:"金额",unitPrice:"单价",currentUser:"当前用户",operation:"操作",operator:"操作人",operateTime:"操作时间",operateType:"操作类型",female:"女",male:"男",sex:"性别",age:"年龄",inpatientNum:"住院号",patientName:"患者姓名",yesterday:"昨天",today:"今天",tomorrow:"明天",oneWeekAgo:"近一周",oneMonthAgo:"近一月",status:"状态",dept:"科室",time:"时间",type:"类型",remark:"备注",temperature:"温度",humidity:"湿度",invSurplus:"盘盈",invLoss:"盘亏",invAccount:"账盘",invActual:"机盘",invIng:"盘点中...",upperStrata:"上层",onlineVersion:"在线版本",offlineVersion:"离线版本",middleground:"中台",middlegroundVersion:"中台版本",embedded:"嵌入式",deviceNumber:"设备号",plateType:"板类型",version:"版本号",handwareAdress:"硬件地址",cabinetBoard:"柜板",tempHumBoard:"温湿度显示板",alarmBoard:"震动报警器板",state:{normal:"正常",abnormal:"异常",temporaryStop:"临时停用",disabled:"已禁用"},button:{back:"返回",backToMain:"返回主页",logout:"退出",close:"关闭",add:"添加",search:"搜索",detail:"详情",cancel:"取消",confirm:"确定",iKnown:"我知道了",known:"知道了",refresh:"刷新",retest:"重新检测",inventory:"盘点",copy:"复制",clear:"清空",ignore:"忽略",ignoreSign:"忽略并删除",look:"前往查看",print:"打印",retry:"重试",edit:"编辑",save:"保存",submit:"提交",againSubmit:"重新提交",continueSubmit:"继续提交",replyDelete:"回删",retrospect:"追溯",login:"登录",openLock:"开锁",allOpenLock:"全部开锁"},form:{all:"全部",startTime:"开始时间",endTime:"结束时间"},msg:{copySuccess:"复制成功!",deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"过期",oneMonth:"1个月",threeMonth:"3个月",sixMonth:"6个月"},cabinet:{upCabinet:"上柜",downCabinet:"下柜",leftCabinet:"左柜",rightCabinet:"右柜",cabinetUnconnected:"未连接",cabinetUnlock:"柜未锁",cabinetLock:"柜已锁",cabinetUnclosed:"柜未关",cabinetClosed:"柜已关"},reagentType:{mediumPackage:"中包装",singleMultiple:"单支多次",singleOnce:"单支一次",opened:"已开瓶",unopened:"未开瓶"},loading:"加载中...",release:"释放更新",pullRefresh:"下拉刷新",isEnd:"已经到底了",traceDetail:"全流程追溯详情"}};
@@ -250,7 +250,7 @@ __webpack_require__.d(__webpack_exports__, {
250
250
  /*
251
251
  * @Author: chenghuan.dong
252
252
  * @Date: 2024-11-11 11:59:27
253
- * @LastEditTime: 2024-11-19 16:55:30
253
+ * @LastEditTime: 2024-11-21 15:08:00
254
254
  * @LastEditors: chenghuan.dong
255
255
  * @Description:
256
256
  * @FilePath: \nubomed-ui\locale\lang\zh-CN.js
@@ -269,6 +269,7 @@ __webpack_require__.d(__webpack_exports__, {
269
269
  count: '数量',
270
270
  totalCount: '总数',
271
271
  stockCount: '库存',
272
+ coefficient: '系数',
272
273
  position: '位置',
273
274
  curPosition: '当前位置',
274
275
  lastPosition: '上次位置',
@@ -372,6 +373,7 @@ __webpack_require__.d(__webpack_exports__, {
372
373
  },
373
374
  // 提示相关
374
375
  msg: {
376
+ copySuccess: '复制成功!',
375
377
  deleteFail: '删除失败!',
376
378
  deleteSuccess: '删除成功!',
377
379
  submitFail: '提交失败!',
@@ -413,7 +415,8 @@ __webpack_require__.d(__webpack_exports__, {
413
415
  loading: '加载中...',
414
416
  release: '释放更新',
415
417
  pullRefresh: '下拉刷新',
416
- isEnd: '已经到底了'
418
+ isEnd: '已经到底了',
419
+ traceDetail: '全流程追溯详情'
417
420
  }
418
421
  });
419
422
  ;// ./locale/index.js
@@ -541,7 +544,202 @@ src.install = function (Vue) {
541
544
 
542
545
  /***/ }),
543
546
 
544
- /***/ 4412:
547
+ /***/ 8351:
548
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
549
+
550
+ "use strict";
551
+ // ESM COMPAT FLAG
552
+ __webpack_require__.r(__webpack_exports__);
553
+
554
+ // EXPORTS
555
+ __webpack_require__.d(__webpack_exports__, {
556
+ "default": function() { return /* binding */ NBBarcodeCard; }
557
+ });
558
+
559
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBarcodeCard/src/index.vue?vue&type=template&id=17f18b82&scoped=true
560
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-barcode-card"},[_c('div',{staticClass:"card__name-row"},[_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec-row"},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+"/"+_vm._s(_vm.t('nb.model')))]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"arrow-right-fill"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient')))]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append"),(_vm.$slots.default)?_vm._t("default"):_vm._e()],2),_c('div',{staticClass:"card__barcode-row"},[_c('div',{staticClass:"card__attr card__attr--barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBarcode || '- -'))])]),_c('div',{staticClass:"card__attr card__attr--batch"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBatch || '- -'))])]),_c('div',{staticClass:"card__attr card__attr--expiry"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry')))]),_c('span',[_vm._v(_vm._s(_vm.item.dExpiry || '- -'))])]),_vm._t("barcode-append")],2)])}
561
+ var staticRenderFns = []
562
+
563
+
564
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
565
+ var es_array_push = __webpack_require__(4114);
566
+ // EXTERNAL MODULE: ./packages/mixins/index.js
567
+ var mixins = __webpack_require__(1137);
568
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBarcodeCard/src/index.vue?vue&type=script&lang=js
569
+
570
+ //
571
+ //
572
+ //
573
+ //
574
+ //
575
+ //
576
+ //
577
+ //
578
+ //
579
+ //
580
+ //
581
+ //
582
+ //
583
+ //
584
+ //
585
+ //
586
+ //
587
+ //
588
+ //
589
+ //
590
+ //
591
+ //
592
+ //
593
+ //
594
+ //
595
+ //
596
+ //
597
+ //
598
+ //
599
+ //
600
+ //
601
+ //
602
+ //
603
+ //
604
+ //
605
+ //
606
+ //
607
+ //
608
+ //
609
+ //
610
+ //
611
+ //
612
+ //
613
+ //
614
+ //
615
+ //
616
+ //
617
+ //
618
+ //
619
+ //
620
+ //
621
+ //
622
+ //
623
+ //
624
+ //
625
+ //
626
+ //
627
+ //
628
+ //
629
+ //
630
+ //
631
+ //
632
+ //
633
+ //
634
+ //
635
+ //
636
+ //
637
+ //
638
+
639
+
640
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
641
+ name: 'NBBarcodeCard',
642
+ mixins: [mixins/* default */.A],
643
+ props: {
644
+ // 数据对象
645
+ item: {
646
+ type: Object,
647
+ default: () => {
648
+ return {};
649
+ }
650
+ },
651
+ // 是否显示近效期标识
652
+ showExpiry: {
653
+ type: Boolean,
654
+ default: false
655
+ },
656
+ // 是否显示品牌
657
+ showBrand: {
658
+ type: Boolean,
659
+ default: true
660
+ },
661
+ // 是否显示位置
662
+ showPosition: {
663
+ type: Boolean,
664
+ default: false
665
+ },
666
+ // 是否显示系数
667
+ showCoefficient: {
668
+ type: Boolean,
669
+ default: false
670
+ }
671
+ },
672
+ data() {
673
+ return {};
674
+ },
675
+ computed: {
676
+ // 分类样式
677
+ getCateClassList() {
678
+ let cls = [];
679
+ if (this.item.toggle) {
680
+ cls.push('nb-toggle-cate--toggle');
681
+ }
682
+ if (this.item[this.optionProps.name] === this.value) {
683
+ cls.push('nb-toggle-cate--active');
684
+ }
685
+ // 样式类型
686
+ if (this.item.styleType === 'danger') {
687
+ cls.push('nb-toggle-cate--danger');
688
+ }
689
+ return cls;
690
+ }
691
+ },
692
+ methods: {
693
+ // 展开
694
+ handleToggle(item) {
695
+ if (this.showToggle) {
696
+ item.toggle = !item.toggle;
697
+ }
698
+ },
699
+ // 勾选单选框
700
+ handleChangeRadio() {
701
+ this.$emit('input', this.item[this.optionProps.name]);
702
+ },
703
+ // 勾选单号
704
+ handleChangeCheckbox(value, item) {
705
+ this.$emit('change', value, item);
706
+ }
707
+ }
708
+ });
709
+ ;// ./packages/components/NBBarcodeCard/src/index.vue?vue&type=script&lang=js
710
+ /* harmony default export */ var NBBarcodeCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
711
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
712
+ var componentNormalizer = __webpack_require__(1656);
713
+ ;// ./packages/components/NBBarcodeCard/src/index.vue
714
+
715
+
716
+
717
+
718
+
719
+ /* normalize component */
720
+ ;
721
+ var component = (0,componentNormalizer/* default */.A)(
722
+ NBBarcodeCard_srcvue_type_script_lang_js,
723
+ render,
724
+ staticRenderFns,
725
+ false,
726
+ null,
727
+ "17f18b82",
728
+ null
729
+
730
+ )
731
+
732
+ /* harmony default export */ var src = (component.exports);
733
+ ;// ./packages/components/NBBarcodeCard/index.js
734
+
735
+ src.install = function (Vue) {
736
+ Vue.component(src.name, src);
737
+ };
738
+ /* harmony default export */ var NBBarcodeCard = (src);
739
+
740
+ /***/ }),
741
+
742
+ /***/ 4418:
545
743
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
546
744
 
547
745
  "use strict";
@@ -553,8 +751,8 @@ __webpack_require__.d(__webpack_exports__, {
553
751
  "default": function() { return /* binding */ NBBarcodeReviewDialog; }
554
752
  });
555
753
 
556
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBarcodeReviewDialog/src/index.vue?vue&type=template&id=48d09d06&scoped=true
557
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"custom-class":"nb-barcode-review-dialog","title":_vm.title,"show-cancel-button":false,"show-confirm-button":false,"center":false},on:{"closed":_vm.onClosed},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"br-top"},[_c('div',{staticClass:"br__name"},[_c('nb-reagent-type',{attrs:{"value":_vm.info.reagentType}}),(_vm.info.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.info.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.info.sDrugName || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sDrugName)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)],1),_c('div',{staticClass:"br__barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBarcode || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sBarcode)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSpecs || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sModel || '- -'))])]),_c('div',{staticClass:"br__row flex-row"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBatch || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.dExpiry || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.price'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.fPrice || '- -'))])])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBrand || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.manufacturer'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sManufacturerName || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.supplier'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSupplierName || '- -'))])])]),_c('ul',{staticClass:"br-bottom"},_vm._l((_vm.info.details),function(item,index){return _c('li',{key:index,staticClass:"br__item"},[_c('div',{staticClass:"br__item__date",domProps:{"innerHTML":_vm._s(_vm.formartInputTime(item.dInputTime))}}),_c('div',{staticClass:"br__item__dot"}),_c('div',{staticClass:"br__item__card"},[_c('p',{staticClass:"br__item__card__type"},[_vm._v(_vm._s(item.sBillTypeName || '- -'))]),_c('div',{staticClass:"br__item__card__bottom"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.operator'))+":")]),_c('span',[_vm._v(_vm._s(item.sInputUserName || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(item.sTerDesc || '- -'))])])])])])}),0)])}
754
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBarcodeReviewDialog/src/index.vue?vue&type=template&id=6745e73d&scoped=true
755
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"custom-class":"nb-barcode-review-dialog","title":_vm.title || _vm.t('nb.traceDetail'),"show-cancel-button":false,"show-confirm-button":false,"center":false},on:{"closed":_vm.onClosed},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"br-top"},[_c('div',{staticClass:"br__name"},[_c('nb-reagent-type',{attrs:{"value":_vm.info.reagentType}}),(_vm.info.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.info.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.info.sDrugName || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sDrugName)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)],1),_c('div',{staticClass:"br__barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBarcode || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sBarcode)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSpecs || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sModel || '- -'))])]),_c('div',{staticClass:"br__row flex-row"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBatch || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.dExpiry || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.price'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.fPrice || '- -'))])])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBrand || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.manufacturer'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sManufacturerName || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.supplier'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSupplierName || '- -'))])])]),_c('ul',{staticClass:"br-bottom"},_vm._l((_vm.info.details),function(item,index){return _c('li',{key:index,staticClass:"br__item"},[_c('div',{staticClass:"br__item__date",domProps:{"innerHTML":_vm._s(_vm.formartInputTime(item.dInputTime))}}),_c('div',{staticClass:"br__item__dot"}),_c('div',{staticClass:"br__item__card"},[_c('p',{staticClass:"br__item__card__type"},[_vm._v(_vm._s(item.sBillTypeName || '- -'))]),_c('div',{staticClass:"br__item__card__bottom"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.operator'))+":")]),_c('span',[_vm._v(_vm._s(item.sInputUserName || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(item.sTerDesc || '- -'))])])])])])}),0)])}
558
756
  var staticRenderFns = []
559
757
 
560
758
 
@@ -726,15 +924,10 @@ function copyText(content) {
726
924
  copyText(text);
727
925
  this.$emit('copy', text);
728
926
  },
729
- // 关闭
730
- onClose() {
731
- this.$emit('update', false);
732
- this.$emit('onClose');
733
- },
734
927
  // 弹框关闭
735
928
  onClosed() {
736
929
  this.$emit('update', false);
737
- this.$emit('onClosed');
930
+ this.$emit('closed');
738
931
  }
739
932
  }
740
933
  });
@@ -756,7 +949,7 @@ var component = (0,componentNormalizer/* default */.A)(
756
949
  staticRenderFns,
757
950
  false,
758
951
  null,
759
- "48d09d06",
952
+ "6745e73d",
760
953
  null
761
954
 
762
955
  )
@@ -2411,6 +2604,186 @@ src.install = function (Vue) {
2411
2604
 
2412
2605
  /***/ }),
2413
2606
 
2607
+ /***/ 2842:
2608
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2609
+
2610
+ "use strict";
2611
+ // ESM COMPAT FLAG
2612
+ __webpack_require__.r(__webpack_exports__);
2613
+
2614
+ // EXPORTS
2615
+ __webpack_require__.d(__webpack_exports__, {
2616
+ "default": function() { return /* binding */ NBNameSpecCard; }
2617
+ });
2618
+
2619
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBNameSpecCard/src/index.vue?vue&type=template&id=08d2f36e&scoped=true
2620
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-name-spec-card"},[_c('div',{staticClass:"card__name-row"},[_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 1)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec-row"},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+"/"+_vm._s(_vm.t('nb.model')))]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand')))]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"arrow-right-fill"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position')))]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient')))]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append"),(_vm.$slots.default)?_vm._t("default"):_vm._e()],2)])}
2621
+ var staticRenderFns = []
2622
+
2623
+
2624
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2625
+ var es_array_push = __webpack_require__(4114);
2626
+ // EXTERNAL MODULE: ./packages/mixins/index.js
2627
+ var mixins = __webpack_require__(1137);
2628
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2629
+
2630
+ //
2631
+ //
2632
+ //
2633
+ //
2634
+ //
2635
+ //
2636
+ //
2637
+ //
2638
+ //
2639
+ //
2640
+ //
2641
+ //
2642
+ //
2643
+ //
2644
+ //
2645
+ //
2646
+ //
2647
+ //
2648
+ //
2649
+ //
2650
+ //
2651
+ //
2652
+ //
2653
+ //
2654
+ //
2655
+ //
2656
+ //
2657
+ //
2658
+ //
2659
+ //
2660
+ //
2661
+ //
2662
+ //
2663
+ //
2664
+ //
2665
+ //
2666
+ //
2667
+ //
2668
+ //
2669
+ //
2670
+ //
2671
+ //
2672
+ //
2673
+ //
2674
+ //
2675
+ //
2676
+ //
2677
+ //
2678
+ //
2679
+ //
2680
+ //
2681
+ //
2682
+ //
2683
+
2684
+
2685
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
2686
+ name: 'NBNameSpecCard',
2687
+ mixins: [mixins/* default */.A],
2688
+ props: {
2689
+ // 数据对象
2690
+ item: {
2691
+ type: Object,
2692
+ default: () => {
2693
+ return {};
2694
+ }
2695
+ },
2696
+ // 是否显示近效期标识
2697
+ showExpiry: {
2698
+ type: Boolean,
2699
+ default: false
2700
+ },
2701
+ // 是否显示品牌
2702
+ showBrand: {
2703
+ type: Boolean,
2704
+ default: true
2705
+ },
2706
+ // 是否显示位置
2707
+ showPosition: {
2708
+ type: Boolean,
2709
+ default: false
2710
+ },
2711
+ // 是否显示系数
2712
+ showCoefficient: {
2713
+ type: Boolean,
2714
+ default: false
2715
+ }
2716
+ },
2717
+ data() {
2718
+ return {};
2719
+ },
2720
+ computed: {
2721
+ // 分类样式
2722
+ getCateClassList() {
2723
+ let cls = [];
2724
+ if (this.item.toggle) {
2725
+ cls.push('nb-toggle-cate--toggle');
2726
+ }
2727
+ if (this.item[this.optionProps.name] === this.value) {
2728
+ cls.push('nb-toggle-cate--active');
2729
+ }
2730
+ // 样式类型
2731
+ if (this.item.styleType === 'danger') {
2732
+ cls.push('nb-toggle-cate--danger');
2733
+ }
2734
+ return cls;
2735
+ }
2736
+ },
2737
+ methods: {
2738
+ // 展开
2739
+ handleToggle(item) {
2740
+ if (this.showToggle) {
2741
+ item.toggle = !item.toggle;
2742
+ }
2743
+ },
2744
+ // 勾选单选框
2745
+ handleChangeRadio() {
2746
+ this.$emit('input', this.item[this.optionProps.name]);
2747
+ },
2748
+ // 勾选单号
2749
+ handleChangeCheckbox(value, item) {
2750
+ this.$emit('change', value, item);
2751
+ }
2752
+ }
2753
+ });
2754
+ ;// ./packages/components/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2755
+ /* harmony default export */ var NBNameSpecCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2756
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2757
+ var componentNormalizer = __webpack_require__(1656);
2758
+ ;// ./packages/components/NBNameSpecCard/src/index.vue
2759
+
2760
+
2761
+
2762
+
2763
+
2764
+ /* normalize component */
2765
+ ;
2766
+ var component = (0,componentNormalizer/* default */.A)(
2767
+ NBNameSpecCard_srcvue_type_script_lang_js,
2768
+ render,
2769
+ staticRenderFns,
2770
+ false,
2771
+ null,
2772
+ "08d2f36e",
2773
+ null
2774
+
2775
+ )
2776
+
2777
+ /* harmony default export */ var src = (component.exports);
2778
+ ;// ./packages/components/NBNameSpecCard/index.js
2779
+
2780
+ src.install = function (Vue) {
2781
+ Vue.component(src.name, src);
2782
+ };
2783
+ /* harmony default export */ var NBNameSpecCard = (src);
2784
+
2785
+ /***/ }),
2786
+
2414
2787
  /***/ 5592:
2415
2788
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2416
2789
 
@@ -3784,7 +4157,7 @@ src.install = function (Vue) {
3784
4157
 
3785
4158
  /***/ }),
3786
4159
 
3787
- /***/ 247:
4160
+ /***/ 5305:
3788
4161
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3789
4162
 
3790
4163
  "use strict";
@@ -3796,12 +4169,12 @@ __webpack_require__.d(__webpack_exports__, {
3796
4169
  "default": function() { return /* binding */ NBVersionDialog; }
3797
4170
  });
3798
4171
 
3799
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=00c048a1&scoped=true
3800
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"size":"medium","custom-class":"nb-version-dailog","title":_vm.t('nb.version'),"show-cancel-button":false,"show-confirm-button":false,"center":false,"body-padding":""},on:{"closed":_vm.closedDialog},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"version__logo"},[_c('img',{attrs:{"src":__webpack_require__(3806)}})]),_c('div',{staticClass:"version-middle"},[_c('p',{staticClass:"version__label"},[_vm._v(_vm._s(_vm.t('nb.upperStrata')))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.onlineVersion'))+":V"+_vm._s(_vm.info.onlineVersion || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.offlineVersion'))+":V"+_vm._s(_vm.info.offlineVersion || '- -'))]),_c('p',{staticClass:"version__label version__label--top"},[_vm._v(_vm._s(_vm.t('nb.middleground')))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.middlegroundVersion'))+":V"+_vm._s(_vm.info.middlegroundVersion || '- -'))])]),_c('div',{staticClass:"version-right"},[_c('p',{staticClass:"version__label"},[_vm._v(_vm._s(_vm.t('nb.embedded')))]),_vm._l((_vm.info.firmwareVersion || []),function(item,index){return _c('div',{key:index},[_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.deviceNumber'))+":V"+_vm._s(item.device || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.plateType'))+":V"+_vm._s(_vm.boardType(item.boardType) || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.version'))+":V"+_vm._s(item.version || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.handwareAdress'))+":V"+_vm._s(item.mcuAddress || '- -'))])])})],2)])}
4172
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=ac8a762a&scoped=true
4173
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"size":"medium","custom-class":"nb-version-dailog","title":_vm.t('nb.version'),"show-cancel-button":false,"show-confirm-button":false,"center":false,"body-padding":""},on:{"closed":_vm.closedDialog},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"version__logo"},[_c('img',{attrs:{"src":__webpack_require__(3806)}})]),_c('div',{staticClass:"version-middle"},[_c('p',{staticClass:"version__label"},[_vm._v(_vm._s(_vm.t('nb.upperStrata')))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.onlineVersion'))+":V"+_vm._s(_vm.info.onlineVersion || '- -'))]),(_vm.showOfflineVersion)?_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.offlineVersion'))+":V"+_vm._s(_vm.info.offlineVersion || '- -'))]):_vm._e(),_c('p',{staticClass:"version__label version__label--top"},[_vm._v(_vm._s(_vm.t('nb.middleground')))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.middlegroundVersion'))+":V"+_vm._s(_vm.info.middlewareVersion || '- -'))])]),_c('div',{staticClass:"version-right"},[_c('p',{staticClass:"version__label"},[_vm._v(_vm._s(_vm.t('nb.embedded')))]),_vm._l((_vm.info.firmwareVersion || []),function(item,index){return _c('div',{key:index},[_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.deviceNumber'))+":"+_vm._s(item.device || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.plateType'))+":"+_vm._s(_vm.boardType(item.boardType) || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.version'))+":V"+_vm._s(item.version || '- -'))]),_c('div',{staticClass:"version__value"},[_vm._v(_vm._s(_vm.t('nb.handwareAdress'))+":"+_vm._s(item.mcuAddress || '- -'))])])})],2)])}
3801
4174
  var staticRenderFns = []
3802
4175
 
3803
4176
 
3804
- ;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=00c048a1&scoped=true
4177
+ ;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=ac8a762a&scoped=true
3805
4178
 
3806
4179
  // EXTERNAL MODULE: ./packages/mixins/index.js
3807
4180
  var mixins = __webpack_require__(1137);
@@ -3876,6 +4249,11 @@ var mixins = __webpack_require__(1137);
3876
4249
  default: () => {
3877
4250
  return {};
3878
4251
  }
4252
+ },
4253
+ // 是否显示离线版本号
4254
+ showOfflineVersion: {
4255
+ type: Boolean,
4256
+ default: false
3879
4257
  }
3880
4258
  },
3881
4259
  data() {
@@ -3892,14 +4270,11 @@ var mixins = __webpack_require__(1137);
3892
4270
  // 板类型
3893
4271
  boardType(val) {
3894
4272
  return {
3895
- hCabinet: t('nb.cabinetBoard'),
3896
- temperatureHumidityDisplay: t('nb.tempHumBoard'),
3897
- tremor: t('nb.alarmBoard')
4273
+ hCabinet: this.t('nb.cabinetBoard'),
4274
+ temperatureHumidityDisplay: this.t('nb.tempHumBoard'),
4275
+ tremor: this.t('nb.alarmBoard')
3898
4276
  }[val] || val;
3899
4277
  },
3900
- handleClose() {
3901
- this.$emit('update', false);
3902
- },
3903
4278
  // 关闭弹框
3904
4279
  closedDialog() {
3905
4280
  this.$emit('update', false);
@@ -3925,7 +4300,7 @@ var component = (0,componentNormalizer/* default */.A)(
3925
4300
  staticRenderFns,
3926
4301
  false,
3927
4302
  null,
3928
- "00c048a1",
4303
+ "ac8a762a",
3929
4304
  null
3930
4305
 
3931
4306
  )
@@ -4283,7 +4658,8 @@ webpackContext.id = 1603;
4283
4658
 
4284
4659
  var map = {
4285
4660
  "./NBBadge/index.js": 3250,
4286
- "./NBBarcodeReviewDialog/index.js": 4412,
4661
+ "./NBBarcodeCard/index.js": 8351,
4662
+ "./NBBarcodeReviewDialog/index.js": 4418,
4287
4663
  "./NBCabinetInventoryCarousel/index.js": 5118,
4288
4664
  "./NBCheckboxGroup/index.js": 9070,
4289
4665
  "./NBDialog/index.js": 8914,
@@ -4293,6 +4669,7 @@ var map = {
4293
4669
  "./NBHeader/index.js": 1001,
4294
4670
  "./NBIcon/index.js": 3685,
4295
4671
  "./NBMessageDialog/index.js": 5550,
4672
+ "./NBNameSpecCard/index.js": 2842,
4296
4673
  "./NBOutFooterDialog/index.js": 5592,
4297
4674
  "./NBPagination/index.js": 8369,
4298
4675
  "./NBProgress/index.js": 8207,
@@ -4304,7 +4681,7 @@ var map = {
4304
4681
  "./NBTabs/index.js": 1694,
4305
4682
  "./NBTag/index.js": 6290,
4306
4683
  "./NBToggleCate/index.js": 7571,
4307
- "./NBVersionDialog/index.js": 247
4684
+ "./NBVersionDialog/index.js": 5305
4308
4685
  };
4309
4686
 
4310
4687
 
@@ -7144,7 +7521,7 @@ var locale = __webpack_require__(4820);
7144
7521
  /*
7145
7522
  * @Author: chenghuan.dong
7146
7523
  * @Date: 2024-11-08 17:23:47
7147
- * @LastEditTime: 2024-11-20 13:58:43
7524
+ * @LastEditTime: 2024-11-21 11:46:33
7148
7525
  * @LastEditors: chenghuan.dong
7149
7526
  * @Description: 主index.js导出全部组件
7150
7527
  * @FilePath: \nubomed-ui\packages\index.js
@@ -7169,7 +7546,7 @@ const install = function (Vue, options = {}) {
7169
7546
  if (install.installed) return;
7170
7547
  components.forEach(component => {
7171
7548
  const name = 'nb-' + camelToKebab(component.name.slice(2));
7172
- const installNames = ['nb-icon', 'nb-tag', 'nb-badge', 'nb-empty', 'nb-radio-group', 'nb-checkbox-group', 'nb-header', 'nb-summary-bar', 'nb-header', 'nb-tabs', 'nb-pagination', 'nb-progress', 'nb-dialog', 'nb-fullscreen-dialog', 'nb-out-footer-dialog', 'nb-message-dialog', 'nb-sidebar-nav-group', 'nb-sidebar-nav', 'nb-expiry-icon', 'nb-reagent-type', 'nb-cabinet-inventory-carousel', 'nb-version-dialog', 'nb-barcode-review-dialog', 'nb-toggle-cate'];
7549
+ const installNames = ['nb-icon', 'nb-tag', 'nb-badge', 'nb-empty', 'nb-radio-group', 'nb-checkbox-group', 'nb-header', 'nb-summary-bar', 'nb-header', 'nb-tabs', 'nb-pagination', 'nb-progress', 'nb-dialog', 'nb-fullscreen-dialog', 'nb-out-footer-dialog', 'nb-message-dialog', 'nb-sidebar-nav-group', 'nb-sidebar-nav', 'nb-expiry-icon', 'nb-reagent-type', 'nb-cabinet-inventory-carousel', 'nb-version-dialog', 'nb-barcode-review-dialog', 'nb-toggle-cate', 'nb-name-spec-card', 'nb-barcode-card'];
7173
7550
  if (installNames.includes(name)) {
7174
7551
  console.log('%c' + '√ ' + name, 'color: #00A572;');
7175
7552
  } else {