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.
Potentially problematic release.
This version of nubomed-ui might be problematic. Click here for more details.
- package/css/element-ui/index.css +1 -1
- package/css/nb-ui/index.css +1 -1
- package/fonts/demo_index.html +26 -3
- package/fonts/iconfont.css +212 -206
- package/fonts/iconfont.js +1 -1
- package/fonts/iconfont.json +7 -0
- package/fonts/iconfont.ttf +0 -0
- package/fonts/iconfont.woff +0 -0
- package/fonts/iconfont.woff2 +0 -0
- package/lang/en-US.js +1 -1
- package/lang/zh-CN.js +1 -1
- package/nubomed-ui.common.js +404 -27
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +404 -27
- package/nubomed-ui.umd.js.map +1 -1
- package/nubomed-ui.umd.min.js +1 -1
- package/nubomed-ui.umd.min.js.map +1 -1
- package/package.json +2 -2
package/nubomed-ui.umd.js
CHANGED
@@ -260,7 +260,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
260
260
|
/*
|
261
261
|
* @Author: chenghuan.dong
|
262
262
|
* @Date: 2024-11-11 11:59:27
|
263
|
-
* @LastEditTime: 2024-11-
|
263
|
+
* @LastEditTime: 2024-11-21 15:08:00
|
264
264
|
* @LastEditors: chenghuan.dong
|
265
265
|
* @Description:
|
266
266
|
* @FilePath: \nubomed-ui\locale\lang\zh-CN.js
|
@@ -279,6 +279,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
279
279
|
count: '数量',
|
280
280
|
totalCount: '总数',
|
281
281
|
stockCount: '库存',
|
282
|
+
coefficient: '系数',
|
282
283
|
position: '位置',
|
283
284
|
curPosition: '当前位置',
|
284
285
|
lastPosition: '上次位置',
|
@@ -382,6 +383,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
382
383
|
},
|
383
384
|
// 提示相关
|
384
385
|
msg: {
|
386
|
+
copySuccess: '复制成功!',
|
385
387
|
deleteFail: '删除失败!',
|
386
388
|
deleteSuccess: '删除成功!',
|
387
389
|
submitFail: '提交失败!',
|
@@ -423,7 +425,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
423
425
|
loading: '加载中...',
|
424
426
|
release: '释放更新',
|
425
427
|
pullRefresh: '下拉刷新',
|
426
|
-
isEnd: '已经到底了'
|
428
|
+
isEnd: '已经到底了',
|
429
|
+
traceDetail: '全流程追溯详情'
|
427
430
|
}
|
428
431
|
});
|
429
432
|
;// ./locale/index.js
|
@@ -551,7 +554,202 @@ src.install = function (Vue) {
|
|
551
554
|
|
552
555
|
/***/ }),
|
553
556
|
|
554
|
-
/***/
|
557
|
+
/***/ 1285:
|
558
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
559
|
+
|
560
|
+
"use strict";
|
561
|
+
// ESM COMPAT FLAG
|
562
|
+
__webpack_require__.r(__webpack_exports__);
|
563
|
+
|
564
|
+
// EXPORTS
|
565
|
+
__webpack_require__.d(__webpack_exports__, {
|
566
|
+
"default": function() { return /* binding */ NBBarcodeCard; }
|
567
|
+
});
|
568
|
+
|
569
|
+
;// ./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
|
570
|
+
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)])}
|
571
|
+
var staticRenderFns = []
|
572
|
+
|
573
|
+
|
574
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
575
|
+
var es_array_push = __webpack_require__(4114);
|
576
|
+
// EXTERNAL MODULE: ./packages/mixins/index.js
|
577
|
+
var mixins = __webpack_require__(7389);
|
578
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80.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
|
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
|
+
//
|
641
|
+
//
|
642
|
+
//
|
643
|
+
//
|
644
|
+
//
|
645
|
+
//
|
646
|
+
//
|
647
|
+
//
|
648
|
+
|
649
|
+
|
650
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
651
|
+
name: 'NBBarcodeCard',
|
652
|
+
mixins: [mixins/* default */.A],
|
653
|
+
props: {
|
654
|
+
// 数据对象
|
655
|
+
item: {
|
656
|
+
type: Object,
|
657
|
+
default: () => {
|
658
|
+
return {};
|
659
|
+
}
|
660
|
+
},
|
661
|
+
// 是否显示近效期标识
|
662
|
+
showExpiry: {
|
663
|
+
type: Boolean,
|
664
|
+
default: false
|
665
|
+
},
|
666
|
+
// 是否显示品牌
|
667
|
+
showBrand: {
|
668
|
+
type: Boolean,
|
669
|
+
default: true
|
670
|
+
},
|
671
|
+
// 是否显示位置
|
672
|
+
showPosition: {
|
673
|
+
type: Boolean,
|
674
|
+
default: false
|
675
|
+
},
|
676
|
+
// 是否显示系数
|
677
|
+
showCoefficient: {
|
678
|
+
type: Boolean,
|
679
|
+
default: false
|
680
|
+
}
|
681
|
+
},
|
682
|
+
data() {
|
683
|
+
return {};
|
684
|
+
},
|
685
|
+
computed: {
|
686
|
+
// 分类样式
|
687
|
+
getCateClassList() {
|
688
|
+
let cls = [];
|
689
|
+
if (this.item.toggle) {
|
690
|
+
cls.push('nb-toggle-cate--toggle');
|
691
|
+
}
|
692
|
+
if (this.item[this.optionProps.name] === this.value) {
|
693
|
+
cls.push('nb-toggle-cate--active');
|
694
|
+
}
|
695
|
+
// 样式类型
|
696
|
+
if (this.item.styleType === 'danger') {
|
697
|
+
cls.push('nb-toggle-cate--danger');
|
698
|
+
}
|
699
|
+
return cls;
|
700
|
+
}
|
701
|
+
},
|
702
|
+
methods: {
|
703
|
+
// 展开
|
704
|
+
handleToggle(item) {
|
705
|
+
if (this.showToggle) {
|
706
|
+
item.toggle = !item.toggle;
|
707
|
+
}
|
708
|
+
},
|
709
|
+
// 勾选单选框
|
710
|
+
handleChangeRadio() {
|
711
|
+
this.$emit('input', this.item[this.optionProps.name]);
|
712
|
+
},
|
713
|
+
// 勾选单号
|
714
|
+
handleChangeCheckbox(value, item) {
|
715
|
+
this.$emit('change', value, item);
|
716
|
+
}
|
717
|
+
}
|
718
|
+
});
|
719
|
+
;// ./packages/components/NBBarcodeCard/src/index.vue?vue&type=script&lang=js
|
720
|
+
/* harmony default export */ var NBBarcodeCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
721
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
722
|
+
var componentNormalizer = __webpack_require__(1656);
|
723
|
+
;// ./packages/components/NBBarcodeCard/src/index.vue
|
724
|
+
|
725
|
+
|
726
|
+
|
727
|
+
|
728
|
+
|
729
|
+
/* normalize component */
|
730
|
+
;
|
731
|
+
var component = (0,componentNormalizer/* default */.A)(
|
732
|
+
NBBarcodeCard_srcvue_type_script_lang_js,
|
733
|
+
render,
|
734
|
+
staticRenderFns,
|
735
|
+
false,
|
736
|
+
null,
|
737
|
+
"17f18b82",
|
738
|
+
null
|
739
|
+
|
740
|
+
)
|
741
|
+
|
742
|
+
/* harmony default export */ var src = (component.exports);
|
743
|
+
;// ./packages/components/NBBarcodeCard/index.js
|
744
|
+
|
745
|
+
src.install = function (Vue) {
|
746
|
+
Vue.component(src.name, src);
|
747
|
+
};
|
748
|
+
/* harmony default export */ var NBBarcodeCard = (src);
|
749
|
+
|
750
|
+
/***/ }),
|
751
|
+
|
752
|
+
/***/ 6855:
|
555
753
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
556
754
|
|
557
755
|
"use strict";
|
@@ -563,8 +761,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
563
761
|
"default": function() { return /* binding */ NBBarcodeReviewDialog; }
|
564
762
|
});
|
565
763
|
|
566
|
-
;// ./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=
|
567
|
-
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)])}
|
764
|
+
;// ./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
|
765
|
+
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)])}
|
568
766
|
var staticRenderFns = []
|
569
767
|
|
570
768
|
|
@@ -736,15 +934,10 @@ function copyText(content) {
|
|
736
934
|
copyText(text);
|
737
935
|
this.$emit('copy', text);
|
738
936
|
},
|
739
|
-
// 关闭
|
740
|
-
onClose() {
|
741
|
-
this.$emit('update', false);
|
742
|
-
this.$emit('onClose');
|
743
|
-
},
|
744
937
|
// 弹框关闭
|
745
938
|
onClosed() {
|
746
939
|
this.$emit('update', false);
|
747
|
-
this.$emit('
|
940
|
+
this.$emit('closed');
|
748
941
|
}
|
749
942
|
}
|
750
943
|
});
|
@@ -766,7 +959,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
766
959
|
staticRenderFns,
|
767
960
|
false,
|
768
961
|
null,
|
769
|
-
"
|
962
|
+
"6745e73d",
|
770
963
|
null
|
771
964
|
|
772
965
|
)
|
@@ -2421,6 +2614,186 @@ src.install = function (Vue) {
|
|
2421
2614
|
|
2422
2615
|
/***/ }),
|
2423
2616
|
|
2617
|
+
/***/ 8183:
|
2618
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
2619
|
+
|
2620
|
+
"use strict";
|
2621
|
+
// ESM COMPAT FLAG
|
2622
|
+
__webpack_require__.r(__webpack_exports__);
|
2623
|
+
|
2624
|
+
// EXPORTS
|
2625
|
+
__webpack_require__.d(__webpack_exports__, {
|
2626
|
+
"default": function() { return /* binding */ NBNameSpecCard; }
|
2627
|
+
});
|
2628
|
+
|
2629
|
+
;// ./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
|
2630
|
+
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)])}
|
2631
|
+
var staticRenderFns = []
|
2632
|
+
|
2633
|
+
|
2634
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
2635
|
+
var es_array_push = __webpack_require__(4114);
|
2636
|
+
// EXTERNAL MODULE: ./packages/mixins/index.js
|
2637
|
+
var mixins = __webpack_require__(7389);
|
2638
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80.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
|
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
|
+
//
|
2689
|
+
//
|
2690
|
+
//
|
2691
|
+
//
|
2692
|
+
//
|
2693
|
+
|
2694
|
+
|
2695
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
2696
|
+
name: 'NBNameSpecCard',
|
2697
|
+
mixins: [mixins/* default */.A],
|
2698
|
+
props: {
|
2699
|
+
// 数据对象
|
2700
|
+
item: {
|
2701
|
+
type: Object,
|
2702
|
+
default: () => {
|
2703
|
+
return {};
|
2704
|
+
}
|
2705
|
+
},
|
2706
|
+
// 是否显示近效期标识
|
2707
|
+
showExpiry: {
|
2708
|
+
type: Boolean,
|
2709
|
+
default: false
|
2710
|
+
},
|
2711
|
+
// 是否显示品牌
|
2712
|
+
showBrand: {
|
2713
|
+
type: Boolean,
|
2714
|
+
default: true
|
2715
|
+
},
|
2716
|
+
// 是否显示位置
|
2717
|
+
showPosition: {
|
2718
|
+
type: Boolean,
|
2719
|
+
default: false
|
2720
|
+
},
|
2721
|
+
// 是否显示系数
|
2722
|
+
showCoefficient: {
|
2723
|
+
type: Boolean,
|
2724
|
+
default: false
|
2725
|
+
}
|
2726
|
+
},
|
2727
|
+
data() {
|
2728
|
+
return {};
|
2729
|
+
},
|
2730
|
+
computed: {
|
2731
|
+
// 分类样式
|
2732
|
+
getCateClassList() {
|
2733
|
+
let cls = [];
|
2734
|
+
if (this.item.toggle) {
|
2735
|
+
cls.push('nb-toggle-cate--toggle');
|
2736
|
+
}
|
2737
|
+
if (this.item[this.optionProps.name] === this.value) {
|
2738
|
+
cls.push('nb-toggle-cate--active');
|
2739
|
+
}
|
2740
|
+
// 样式类型
|
2741
|
+
if (this.item.styleType === 'danger') {
|
2742
|
+
cls.push('nb-toggle-cate--danger');
|
2743
|
+
}
|
2744
|
+
return cls;
|
2745
|
+
}
|
2746
|
+
},
|
2747
|
+
methods: {
|
2748
|
+
// 展开
|
2749
|
+
handleToggle(item) {
|
2750
|
+
if (this.showToggle) {
|
2751
|
+
item.toggle = !item.toggle;
|
2752
|
+
}
|
2753
|
+
},
|
2754
|
+
// 勾选单选框
|
2755
|
+
handleChangeRadio() {
|
2756
|
+
this.$emit('input', this.item[this.optionProps.name]);
|
2757
|
+
},
|
2758
|
+
// 勾选单号
|
2759
|
+
handleChangeCheckbox(value, item) {
|
2760
|
+
this.$emit('change', value, item);
|
2761
|
+
}
|
2762
|
+
}
|
2763
|
+
});
|
2764
|
+
;// ./packages/components/NBNameSpecCard/src/index.vue?vue&type=script&lang=js
|
2765
|
+
/* harmony default export */ var NBNameSpecCard_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
2766
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
2767
|
+
var componentNormalizer = __webpack_require__(1656);
|
2768
|
+
;// ./packages/components/NBNameSpecCard/src/index.vue
|
2769
|
+
|
2770
|
+
|
2771
|
+
|
2772
|
+
|
2773
|
+
|
2774
|
+
/* normalize component */
|
2775
|
+
;
|
2776
|
+
var component = (0,componentNormalizer/* default */.A)(
|
2777
|
+
NBNameSpecCard_srcvue_type_script_lang_js,
|
2778
|
+
render,
|
2779
|
+
staticRenderFns,
|
2780
|
+
false,
|
2781
|
+
null,
|
2782
|
+
"08d2f36e",
|
2783
|
+
null
|
2784
|
+
|
2785
|
+
)
|
2786
|
+
|
2787
|
+
/* harmony default export */ var src = (component.exports);
|
2788
|
+
;// ./packages/components/NBNameSpecCard/index.js
|
2789
|
+
|
2790
|
+
src.install = function (Vue) {
|
2791
|
+
Vue.component(src.name, src);
|
2792
|
+
};
|
2793
|
+
/* harmony default export */ var NBNameSpecCard = (src);
|
2794
|
+
|
2795
|
+
/***/ }),
|
2796
|
+
|
2424
2797
|
/***/ 9213:
|
2425
2798
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
2426
2799
|
|
@@ -3794,7 +4167,7 @@ src.install = function (Vue) {
|
|
3794
4167
|
|
3795
4168
|
/***/ }),
|
3796
4169
|
|
3797
|
-
/***/
|
4170
|
+
/***/ 5555:
|
3798
4171
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3799
4172
|
|
3800
4173
|
"use strict";
|
@@ -3806,12 +4179,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
3806
4179
|
"default": function() { return /* binding */ NBVersionDialog; }
|
3807
4180
|
});
|
3808
4181
|
|
3809
|
-
;// ./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=
|
3810
|
-
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.
|
4182
|
+
;// ./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
|
4183
|
+
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)])}
|
3811
4184
|
var staticRenderFns = []
|
3812
4185
|
|
3813
4186
|
|
3814
|
-
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=
|
4187
|
+
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=ac8a762a&scoped=true
|
3815
4188
|
|
3816
4189
|
// EXTERNAL MODULE: ./packages/mixins/index.js
|
3817
4190
|
var mixins = __webpack_require__(7389);
|
@@ -3886,6 +4259,11 @@ var mixins = __webpack_require__(7389);
|
|
3886
4259
|
default: () => {
|
3887
4260
|
return {};
|
3888
4261
|
}
|
4262
|
+
},
|
4263
|
+
// 是否显示离线版本号
|
4264
|
+
showOfflineVersion: {
|
4265
|
+
type: Boolean,
|
4266
|
+
default: false
|
3889
4267
|
}
|
3890
4268
|
},
|
3891
4269
|
data() {
|
@@ -3902,14 +4280,11 @@ var mixins = __webpack_require__(7389);
|
|
3902
4280
|
// 板类型
|
3903
4281
|
boardType(val) {
|
3904
4282
|
return {
|
3905
|
-
hCabinet: t('nb.cabinetBoard'),
|
3906
|
-
temperatureHumidityDisplay: t('nb.tempHumBoard'),
|
3907
|
-
tremor: t('nb.alarmBoard')
|
4283
|
+
hCabinet: this.t('nb.cabinetBoard'),
|
4284
|
+
temperatureHumidityDisplay: this.t('nb.tempHumBoard'),
|
4285
|
+
tremor: this.t('nb.alarmBoard')
|
3908
4286
|
}[val] || val;
|
3909
4287
|
},
|
3910
|
-
handleClose() {
|
3911
|
-
this.$emit('update', false);
|
3912
|
-
},
|
3913
4288
|
// 关闭弹框
|
3914
4289
|
closedDialog() {
|
3915
4290
|
this.$emit('update', false);
|
@@ -3935,7 +4310,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
3935
4310
|
staticRenderFns,
|
3936
4311
|
false,
|
3937
4312
|
null,
|
3938
|
-
"
|
4313
|
+
"ac8a762a",
|
3939
4314
|
null
|
3940
4315
|
|
3941
4316
|
)
|
@@ -4293,7 +4668,8 @@ webpackContext.id = 1603;
|
|
4293
4668
|
|
4294
4669
|
var map = {
|
4295
4670
|
"./NBBadge/index.js": 3134,
|
4296
|
-
"./
|
4671
|
+
"./NBBarcodeCard/index.js": 1285,
|
4672
|
+
"./NBBarcodeReviewDialog/index.js": 6855,
|
4297
4673
|
"./NBCabinetInventoryCarousel/index.js": 5433,
|
4298
4674
|
"./NBCheckboxGroup/index.js": 2129,
|
4299
4675
|
"./NBDialog/index.js": 2324,
|
@@ -4303,6 +4679,7 @@ var map = {
|
|
4303
4679
|
"./NBHeader/index.js": 6523,
|
4304
4680
|
"./NBIcon/index.js": 8311,
|
4305
4681
|
"./NBMessageDialog/index.js": 5355,
|
4682
|
+
"./NBNameSpecCard/index.js": 8183,
|
4306
4683
|
"./NBOutFooterDialog/index.js": 9213,
|
4307
4684
|
"./NBPagination/index.js": 2407,
|
4308
4685
|
"./NBProgress/index.js": 928,
|
@@ -4314,7 +4691,7 @@ var map = {
|
|
4314
4691
|
"./NBTabs/index.js": 5434,
|
4315
4692
|
"./NBTag/index.js": 8681,
|
4316
4693
|
"./NBToggleCate/index.js": 2914,
|
4317
|
-
"./NBVersionDialog/index.js":
|
4694
|
+
"./NBVersionDialog/index.js": 5555
|
4318
4695
|
};
|
4319
4696
|
|
4320
4697
|
|
@@ -7154,7 +7531,7 @@ var locale = __webpack_require__(7294);
|
|
7154
7531
|
/*
|
7155
7532
|
* @Author: chenghuan.dong
|
7156
7533
|
* @Date: 2024-11-08 17:23:47
|
7157
|
-
* @LastEditTime: 2024-11-
|
7534
|
+
* @LastEditTime: 2024-11-21 11:46:33
|
7158
7535
|
* @LastEditors: chenghuan.dong
|
7159
7536
|
* @Description: 主index.js导出全部组件
|
7160
7537
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -7179,7 +7556,7 @@ const install = function (Vue, options = {}) {
|
|
7179
7556
|
if (install.installed) return;
|
7180
7557
|
components.forEach(component => {
|
7181
7558
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
7182
|
-
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'];
|
7559
|
+
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'];
|
7183
7560
|
if (installNames.includes(name)) {
|
7184
7561
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
7185
7562
|
} else {
|