nubomed-ui 2.0.67 → 2.0.68

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:{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:"已经到底了"}};
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:{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:"已经到底了"}};
@@ -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 13:39:59
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: '上次位置',
@@ -541,6 +542,201 @@ src.install = function (Vue) {
541
542
 
542
543
  /***/ }),
543
544
 
545
+ /***/ 8351:
546
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
547
+
548
+ "use strict";
549
+ // ESM COMPAT FLAG
550
+ __webpack_require__.r(__webpack_exports__);
551
+
552
+ // EXPORTS
553
+ __webpack_require__.d(__webpack_exports__, {
554
+ "default": function() { return /* binding */ NBBarcodeCard; }
555
+ });
556
+
557
+ ;// ./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
558
+ 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)])}
559
+ var staticRenderFns = []
560
+
561
+
562
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
563
+ var es_array_push = __webpack_require__(4114);
564
+ // EXTERNAL MODULE: ./packages/mixins/index.js
565
+ var mixins = __webpack_require__(1137);
566
+ ;// ./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
567
+
568
+ //
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
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
639
+ name: 'NBBarcodeCard',
640
+ mixins: [mixins/* default */.A],
641
+ props: {
642
+ // 数据对象
643
+ item: {
644
+ type: Object,
645
+ default: () => {
646
+ return {};
647
+ }
648
+ },
649
+ // 是否显示近效期标识
650
+ showExpiry: {
651
+ type: Boolean,
652
+ default: false
653
+ },
654
+ // 是否显示品牌
655
+ showBrand: {
656
+ type: Boolean,
657
+ default: true
658
+ },
659
+ // 是否显示位置
660
+ showPosition: {
661
+ type: Boolean,
662
+ default: false
663
+ },
664
+ // 是否显示系数
665
+ showCoefficient: {
666
+ type: Boolean,
667
+ default: false
668
+ }
669
+ },
670
+ data() {
671
+ return {};
672
+ },
673
+ computed: {
674
+ // 分类样式
675
+ getCateClassList() {
676
+ let cls = [];
677
+ if (this.item.toggle) {
678
+ cls.push('nb-toggle-cate--toggle');
679
+ }
680
+ if (this.item[this.optionProps.name] === this.value) {
681
+ cls.push('nb-toggle-cate--active');
682
+ }
683
+ // 样式类型
684
+ if (this.item.styleType === 'danger') {
685
+ cls.push('nb-toggle-cate--danger');
686
+ }
687
+ return cls;
688
+ }
689
+ },
690
+ methods: {
691
+ // 展开
692
+ handleToggle(item) {
693
+ if (this.showToggle) {
694
+ item.toggle = !item.toggle;
695
+ }
696
+ },
697
+ // 勾选单选框
698
+ handleChangeRadio() {
699
+ this.$emit('input', this.item[this.optionProps.name]);
700
+ },
701
+ // 勾选单号
702
+ handleChangeCheckbox(value, item) {
703
+ this.$emit('change', value, item);
704
+ }
705
+ }
706
+ });
707
+ ;// ./packages/components/NBBarcodeCard/src/index.vue?vue&type=script&lang=js
708
+ /* harmony default export */ var NBBarcodeCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
709
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
710
+ var componentNormalizer = __webpack_require__(1656);
711
+ ;// ./packages/components/NBBarcodeCard/src/index.vue
712
+
713
+
714
+
715
+
716
+
717
+ /* normalize component */
718
+ ;
719
+ var component = (0,componentNormalizer/* default */.A)(
720
+ NBBarcodeCard_srcvue_type_script_lang_js,
721
+ render,
722
+ staticRenderFns,
723
+ false,
724
+ null,
725
+ "17f18b82",
726
+ null
727
+
728
+ )
729
+
730
+ /* harmony default export */ var src = (component.exports);
731
+ ;// ./packages/components/NBBarcodeCard/index.js
732
+
733
+ src.install = function (Vue) {
734
+ Vue.component(src.name, src);
735
+ };
736
+ /* harmony default export */ var NBBarcodeCard = (src);
737
+
738
+ /***/ }),
739
+
544
740
  /***/ 4412:
545
741
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
546
742
 
@@ -2411,6 +2607,186 @@ src.install = function (Vue) {
2411
2607
 
2412
2608
  /***/ }),
2413
2609
 
2610
+ /***/ 2842:
2611
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2612
+
2613
+ "use strict";
2614
+ // ESM COMPAT FLAG
2615
+ __webpack_require__.r(__webpack_exports__);
2616
+
2617
+ // EXPORTS
2618
+ __webpack_require__.d(__webpack_exports__, {
2619
+ "default": function() { return /* binding */ NBNameSpecCard; }
2620
+ });
2621
+
2622
+ ;// ./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
2623
+ 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)])}
2624
+ var staticRenderFns = []
2625
+
2626
+
2627
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2628
+ var es_array_push = __webpack_require__(4114);
2629
+ // EXTERNAL MODULE: ./packages/mixins/index.js
2630
+ var mixins = __webpack_require__(1137);
2631
+ ;// ./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
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
+ //
2686
+
2687
+
2688
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
2689
+ name: 'NBNameSpecCard',
2690
+ mixins: [mixins/* default */.A],
2691
+ props: {
2692
+ // 数据对象
2693
+ item: {
2694
+ type: Object,
2695
+ default: () => {
2696
+ return {};
2697
+ }
2698
+ },
2699
+ // 是否显示近效期标识
2700
+ showExpiry: {
2701
+ type: Boolean,
2702
+ default: false
2703
+ },
2704
+ // 是否显示品牌
2705
+ showBrand: {
2706
+ type: Boolean,
2707
+ default: true
2708
+ },
2709
+ // 是否显示位置
2710
+ showPosition: {
2711
+ type: Boolean,
2712
+ default: false
2713
+ },
2714
+ // 是否显示系数
2715
+ showCoefficient: {
2716
+ type: Boolean,
2717
+ default: false
2718
+ }
2719
+ },
2720
+ data() {
2721
+ return {};
2722
+ },
2723
+ computed: {
2724
+ // 分类样式
2725
+ getCateClassList() {
2726
+ let cls = [];
2727
+ if (this.item.toggle) {
2728
+ cls.push('nb-toggle-cate--toggle');
2729
+ }
2730
+ if (this.item[this.optionProps.name] === this.value) {
2731
+ cls.push('nb-toggle-cate--active');
2732
+ }
2733
+ // 样式类型
2734
+ if (this.item.styleType === 'danger') {
2735
+ cls.push('nb-toggle-cate--danger');
2736
+ }
2737
+ return cls;
2738
+ }
2739
+ },
2740
+ methods: {
2741
+ // 展开
2742
+ handleToggle(item) {
2743
+ if (this.showToggle) {
2744
+ item.toggle = !item.toggle;
2745
+ }
2746
+ },
2747
+ // 勾选单选框
2748
+ handleChangeRadio() {
2749
+ this.$emit('input', this.item[this.optionProps.name]);
2750
+ },
2751
+ // 勾选单号
2752
+ handleChangeCheckbox(value, item) {
2753
+ this.$emit('change', value, item);
2754
+ }
2755
+ }
2756
+ });
2757
+ ;// ./packages/components/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
2758
+ /* harmony default export */ var NBNameSpecCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2759
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2760
+ var componentNormalizer = __webpack_require__(1656);
2761
+ ;// ./packages/components/NBNameSpecCard/src/index.vue
2762
+
2763
+
2764
+
2765
+
2766
+
2767
+ /* normalize component */
2768
+ ;
2769
+ var component = (0,componentNormalizer/* default */.A)(
2770
+ NBNameSpecCard_srcvue_type_script_lang_js,
2771
+ render,
2772
+ staticRenderFns,
2773
+ false,
2774
+ null,
2775
+ "08d2f36e",
2776
+ null
2777
+
2778
+ )
2779
+
2780
+ /* harmony default export */ var src = (component.exports);
2781
+ ;// ./packages/components/NBNameSpecCard/index.js
2782
+
2783
+ src.install = function (Vue) {
2784
+ Vue.component(src.name, src);
2785
+ };
2786
+ /* harmony default export */ var NBNameSpecCard = (src);
2787
+
2788
+ /***/ }),
2789
+
2414
2790
  /***/ 5592:
2415
2791
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2416
2792
 
@@ -4283,6 +4659,7 @@ webpackContext.id = 1603;
4283
4659
 
4284
4660
  var map = {
4285
4661
  "./NBBadge/index.js": 3250,
4662
+ "./NBBarcodeCard/index.js": 8351,
4286
4663
  "./NBBarcodeReviewDialog/index.js": 4412,
4287
4664
  "./NBCabinetInventoryCarousel/index.js": 5118,
4288
4665
  "./NBCheckboxGroup/index.js": 9070,
@@ -4293,6 +4670,7 @@ var map = {
4293
4670
  "./NBHeader/index.js": 1001,
4294
4671
  "./NBIcon/index.js": 3685,
4295
4672
  "./NBMessageDialog/index.js": 5550,
4673
+ "./NBNameSpecCard/index.js": 2842,
4296
4674
  "./NBOutFooterDialog/index.js": 5592,
4297
4675
  "./NBPagination/index.js": 8369,
4298
4676
  "./NBProgress/index.js": 8207,
@@ -7144,7 +7522,7 @@ var locale = __webpack_require__(4820);
7144
7522
  /*
7145
7523
  * @Author: chenghuan.dong
7146
7524
  * @Date: 2024-11-08 17:23:47
7147
- * @LastEditTime: 2024-11-20 13:58:43
7525
+ * @LastEditTime: 2024-11-21 11:46:33
7148
7526
  * @LastEditors: chenghuan.dong
7149
7527
  * @Description: 主index.js导出全部组件
7150
7528
  * @FilePath: \nubomed-ui\packages\index.js
@@ -7169,7 +7547,7 @@ const install = function (Vue, options = {}) {
7169
7547
  if (install.installed) return;
7170
7548
  components.forEach(component => {
7171
7549
  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'];
7550
+ 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
7551
  if (installNames.includes(name)) {
7174
7552
  console.log('%c' + '√ ' + name, 'color: #00A572;');
7175
7553
  } else {