nubomed-ui 2.0.60 → 2.0.62
Sign up to get free protection for your applications and to get access to all the features.
- package/css/nb-ui/index.css +1 -1
- package/lang/en-US.js +1 -1
- package/lang/zh-CN.js +1 -1
- package/nubomed-ui.common.js +140 -24
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +140 -24
- 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
@@ -323,7 +323,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
323
323
|
/*
|
324
324
|
* @Author: chenghuan.dong
|
325
325
|
* @Date: 2024-11-11 11:59:27
|
326
|
-
* @LastEditTime: 2024-11-19
|
326
|
+
* @LastEditTime: 2024-11-19 16:55:30
|
327
327
|
* @LastEditors: chenghuan.dong
|
328
328
|
* @Description:
|
329
329
|
* @FilePath: \nubomed-ui\locale\lang\zh-CN.js
|
@@ -445,7 +445,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
445
445
|
},
|
446
446
|
// 提示相关
|
447
447
|
msg: {
|
448
|
-
copySucceeded: '复制成功',
|
449
448
|
deleteFail: '删除失败!',
|
450
449
|
deleteSuccess: '删除成功!',
|
451
450
|
submitFail: '提交失败!',
|
@@ -475,6 +474,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
475
474
|
cabinetUnclosed: '柜未关',
|
476
475
|
cabinetClosed: '柜已关'
|
477
476
|
},
|
477
|
+
// 试剂类型
|
478
|
+
reagentType: {
|
479
|
+
mediumPackage: '中包装',
|
480
|
+
singleMultiple: '单支多次',
|
481
|
+
singleOnce: '单支一次',
|
482
|
+
opened: '已开瓶',
|
483
|
+
unopened: '未开瓶'
|
484
|
+
},
|
478
485
|
// 其他
|
479
486
|
loading: '加载中...',
|
480
487
|
release: '释放更新',
|
@@ -607,7 +614,7 @@ src.install = function (Vue) {
|
|
607
614
|
|
608
615
|
/***/ }),
|
609
616
|
|
610
|
-
/***/
|
617
|
+
/***/ 5927:
|
611
618
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
612
619
|
|
613
620
|
"use strict";
|
@@ -619,8 +626,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
619
626
|
"default": function() { return /* binding */ NBBarcodeReviewDialog; }
|
620
627
|
});
|
621
628
|
|
622
|
-
;// ./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=
|
623
|
-
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"},[(_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)])}
|
629
|
+
;// ./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
|
630
|
+
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)])}
|
624
631
|
var staticRenderFns = []
|
625
632
|
|
626
633
|
|
@@ -738,6 +745,7 @@ function copyText(content) {
|
|
738
745
|
//
|
739
746
|
//
|
740
747
|
//
|
748
|
+
//
|
741
749
|
|
742
750
|
|
743
751
|
|
@@ -821,7 +829,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
821
829
|
staticRenderFns,
|
822
830
|
false,
|
823
831
|
null,
|
824
|
-
"
|
832
|
+
"48d09d06",
|
825
833
|
null
|
826
834
|
|
827
835
|
)
|
@@ -1195,7 +1203,7 @@ src.install = function (Vue) {
|
|
1195
1203
|
|
1196
1204
|
/***/ }),
|
1197
1205
|
|
1198
|
-
/***/
|
1206
|
+
/***/ 2324:
|
1199
1207
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1200
1208
|
|
1201
1209
|
"use strict";
|
@@ -1207,8 +1215,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1207
1215
|
"default": function() { return /* binding */ NBDialog; }
|
1208
1216
|
});
|
1209
1217
|
|
1210
|
-
;// ./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/NBDialog/src/index.vue?vue&type=template&id=
|
1211
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":_vm.showClose,"close-on-click-modal":false,"close-on-press-escape":false,"center":_vm.center,"dialog-center":_vm.dialogCenter,"type":_vm.size,"title":_vm.$slots['title-right'] ? '' : _vm.title,"custom-class":_vm.dialogCustomClass,"before-close":_vm.handleClose,"append-to-body":"","destroy-on-close":""},on:{"closed":_vm.closedDialog}},[_c('template',{slot:"title"},[_vm._t("title"),(_vm.$slots['title-right'])?_c('div',{staticClass:"nb-dialog__header--has-form"},[_c('span',{staticClass:"el-dialog__title"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:"el-dialog__right"},[_vm._t("title-right")],2)]):_vm._e()],2),_vm._t("default"),_c('template',{slot:"footer"},[(_vm.$slots.footer)?_vm._t("footer"):[(_vm.showCancelButton)?_c('el-button',{on:{"click":_vm.handleCancel}},[_vm._v(_vm._s(_vm.cancelButtonText || _vm.t('nb.cancel'))),(_vm.cancelButtonTime > -1)?[_vm._v("("+_vm._s(_vm.cancelAutoTime)+"S)")]:_vm._e()],2):_vm._e(),(_vm.showConfirmButton)?_c('el-button',{attrs:{"type":"primary","plain":_vm.confirmButtonPlain},on:{"click":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.confirmButtonText || _vm.t('nb.confirm'))),(_vm.confirmButtonTime > -1)?[_vm._v("("+_vm._s(_vm.confirmAutoTime)+"S)")]:_vm._e()],2):_vm._e()]],2)],2)}
|
1218
|
+
;// ./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/NBDialog/src/index.vue?vue&type=template&id=144f3ca4&scoped=true
|
1219
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{staticClass:"nb-dialog__wrapper",attrs:{"visible":_vm.visible,"show-close":_vm.showClose,"close-on-click-modal":false,"close-on-press-escape":false,"center":_vm.center,"dialog-center":_vm.dialogCenter,"type":_vm.size,"title":_vm.$slots['title-right'] ? '' : _vm.title,"custom-class":_vm.dialogCustomClass,"before-close":_vm.handleClose,"append-to-body":"","destroy-on-close":""},on:{"closed":_vm.closedDialog}},[_c('template',{slot:"title"},[_vm._t("title"),(_vm.$slots['title-right'])?_c('div',{staticClass:"nb-dialog__header--has-form"},[_c('span',{staticClass:"el-dialog__title"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:"el-dialog__right"},[_vm._t("title-right")],2)]):_vm._e()],2),_vm._t("default"),_c('template',{slot:"footer"},[(_vm.$slots.footer)?_vm._t("footer"):[(_vm.showCancelButton)?_c('el-button',{on:{"click":_vm.handleCancel}},[_vm._v(_vm._s(_vm.cancelButtonText || _vm.t('nb.button.cancel'))),(_vm.cancelButtonTime > -1)?[_vm._v("("+_vm._s(_vm.cancelAutoTime)+"S)")]:_vm._e()],2):_vm._e(),(_vm.showConfirmButton)?_c('el-button',{attrs:{"type":"primary","plain":_vm.confirmButtonPlain},on:{"click":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.confirmButtonText || _vm.t('nb.button.confirm'))),(_vm.confirmButtonTime > -1)?[_vm._v("("+_vm._s(_vm.confirmAutoTime)+"S)")]:_vm._e()],2):_vm._e()]],2)],2)}
|
1212
1220
|
var staticRenderFns = []
|
1213
1221
|
|
1214
1222
|
|
@@ -1450,7 +1458,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1450
1458
|
staticRenderFns,
|
1451
1459
|
false,
|
1452
1460
|
null,
|
1453
|
-
"
|
1461
|
+
"144f3ca4",
|
1454
1462
|
null
|
1455
1463
|
|
1456
1464
|
)
|
@@ -3016,6 +3024,106 @@ src.install = function (Vue) {
|
|
3016
3024
|
|
3017
3025
|
/***/ }),
|
3018
3026
|
|
3027
|
+
/***/ 5347:
|
3028
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3029
|
+
|
3030
|
+
"use strict";
|
3031
|
+
// ESM COMPAT FLAG
|
3032
|
+
__webpack_require__.r(__webpack_exports__);
|
3033
|
+
|
3034
|
+
// EXPORTS
|
3035
|
+
__webpack_require__.d(__webpack_exports__, {
|
3036
|
+
"default": function() { return /* binding */ NBReagentType; }
|
3037
|
+
});
|
3038
|
+
|
3039
|
+
;// ./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/NBReagentType/src/index.vue?vue&type=template&id=5532b638&scoped=true
|
3040
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tag.type)?_c('nb-tag',{attrs:{"type":_vm.tag.type}},[_vm._v(_vm._s(_vm.tag.text))]):_vm._e()}
|
3041
|
+
var staticRenderFns = []
|
3042
|
+
|
3043
|
+
|
3044
|
+
// EXTERNAL MODULE: ./packages/mixins/index.js
|
3045
|
+
var mixins = __webpack_require__(7389);
|
3046
|
+
;// ./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/NBReagentType/src/index.vue?vue&type=script&lang=js
|
3047
|
+
//
|
3048
|
+
//
|
3049
|
+
//
|
3050
|
+
//
|
3051
|
+
//
|
3052
|
+
//
|
3053
|
+
//
|
3054
|
+
//
|
3055
|
+
//
|
3056
|
+
//
|
3057
|
+
//
|
3058
|
+
//
|
3059
|
+
|
3060
|
+
|
3061
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
3062
|
+
name: 'NBReagentType',
|
3063
|
+
mixins: [mixins/* default */.A],
|
3064
|
+
props: {
|
3065
|
+
// 试剂类型0中包装 1单支一次 2单支多次
|
3066
|
+
value: {
|
3067
|
+
type: Number,
|
3068
|
+
default: null
|
3069
|
+
}
|
3070
|
+
},
|
3071
|
+
computed: {
|
3072
|
+
tag() {
|
3073
|
+
let obj = {
|
3074
|
+
type: '',
|
3075
|
+
value: this.value,
|
3076
|
+
text: null
|
3077
|
+
};
|
3078
|
+
if (this.value === 0) {
|
3079
|
+
obj.type = 'primary';
|
3080
|
+
obj.text = this.t('nb.reagentType.mediumPackage');
|
3081
|
+
}
|
3082
|
+
if (this.value === 1) {
|
3083
|
+
obj.type = 'success';
|
3084
|
+
obj.text = this.t('nb.reagentType.singleOnce');
|
3085
|
+
}
|
3086
|
+
if (this.value === 2) {
|
3087
|
+
obj.type = 'warning';
|
3088
|
+
obj.text = this.t('nb.reagentType.singleMultiple');
|
3089
|
+
}
|
3090
|
+
return obj;
|
3091
|
+
}
|
3092
|
+
}
|
3093
|
+
});
|
3094
|
+
;// ./packages/components/NBReagentType/src/index.vue?vue&type=script&lang=js
|
3095
|
+
/* harmony default export */ var NBReagentType_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
3096
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
3097
|
+
var componentNormalizer = __webpack_require__(1656);
|
3098
|
+
;// ./packages/components/NBReagentType/src/index.vue
|
3099
|
+
|
3100
|
+
|
3101
|
+
|
3102
|
+
|
3103
|
+
|
3104
|
+
/* normalize component */
|
3105
|
+
;
|
3106
|
+
var component = (0,componentNormalizer/* default */.A)(
|
3107
|
+
NBReagentType_srcvue_type_script_lang_js,
|
3108
|
+
render,
|
3109
|
+
staticRenderFns,
|
3110
|
+
false,
|
3111
|
+
null,
|
3112
|
+
"5532b638",
|
3113
|
+
null
|
3114
|
+
|
3115
|
+
)
|
3116
|
+
|
3117
|
+
/* harmony default export */ var src = (component.exports);
|
3118
|
+
;// ./packages/components/NBReagentType/index.js
|
3119
|
+
|
3120
|
+
src.install = function (Vue) {
|
3121
|
+
Vue.component(src.name, src);
|
3122
|
+
};
|
3123
|
+
/* harmony default export */ var NBReagentType = (src);
|
3124
|
+
|
3125
|
+
/***/ }),
|
3126
|
+
|
3019
3127
|
/***/ 1842:
|
3020
3128
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3021
3129
|
|
@@ -3573,7 +3681,7 @@ src.install = function (Vue) {
|
|
3573
3681
|
|
3574
3682
|
/***/ }),
|
3575
3683
|
|
3576
|
-
/***/
|
3684
|
+
/***/ 1785:
|
3577
3685
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3578
3686
|
|
3579
3687
|
"use strict";
|
@@ -3585,12 +3693,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
3585
3693
|
"default": function() { return /* binding */ NBVersionDialog; }
|
3586
3694
|
});
|
3587
3695
|
|
3588
|
-
;// ./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=
|
3589
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('
|
3696
|
+
;// ./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
|
3697
|
+
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)])}
|
3590
3698
|
var staticRenderFns = []
|
3591
3699
|
|
3592
3700
|
|
3593
|
-
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=
|
3701
|
+
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=00c048a1&scoped=true
|
3594
3702
|
|
3595
3703
|
// EXTERNAL MODULE: ./packages/mixins/index.js
|
3596
3704
|
var mixins = __webpack_require__(7389);
|
@@ -3639,10 +3747,6 @@ var mixins = __webpack_require__(7389);
|
|
3639
3747
|
//
|
3640
3748
|
//
|
3641
3749
|
//
|
3642
|
-
//
|
3643
|
-
//
|
3644
|
-
//
|
3645
|
-
//
|
3646
3750
|
|
3647
3751
|
|
3648
3752
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
@@ -3671,6 +3775,16 @@ var mixins = __webpack_require__(7389);
|
|
3671
3775
|
}
|
3672
3776
|
}
|
3673
3777
|
},
|
3778
|
+
data() {
|
3779
|
+
return {
|
3780
|
+
dialogVisible: false
|
3781
|
+
};
|
3782
|
+
},
|
3783
|
+
watch: {
|
3784
|
+
visible(val) {
|
3785
|
+
this.dialogVisible = val;
|
3786
|
+
}
|
3787
|
+
},
|
3674
3788
|
methods: {
|
3675
3789
|
// 板类型
|
3676
3790
|
boardType(val) {
|
@@ -3685,6 +3799,7 @@ var mixins = __webpack_require__(7389);
|
|
3685
3799
|
},
|
3686
3800
|
// 关闭弹框
|
3687
3801
|
closedDialog() {
|
3802
|
+
this.$emit('update', false);
|
3688
3803
|
this.$emit('closed');
|
3689
3804
|
}
|
3690
3805
|
}
|
@@ -3707,7 +3822,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
3707
3822
|
staticRenderFns,
|
3708
3823
|
false,
|
3709
3824
|
null,
|
3710
|
-
"
|
3825
|
+
"00c048a1",
|
3711
3826
|
null
|
3712
3827
|
|
3713
3828
|
)
|
@@ -4081,10 +4196,10 @@ webpackContext.id = 1603;
|
|
4081
4196
|
|
4082
4197
|
var map = {
|
4083
4198
|
"./NBBadge/index.js": 3134,
|
4084
|
-
"./NBBarcodeReviewDialog/index.js":
|
4199
|
+
"./NBBarcodeReviewDialog/index.js": 5927,
|
4085
4200
|
"./NBCabinetInventoryCarousel/index.js": 5433,
|
4086
4201
|
"./NBCheckboxGroup/index.js": 2129,
|
4087
|
-
"./NBDialog/index.js":
|
4202
|
+
"./NBDialog/index.js": 2324,
|
4088
4203
|
"./NBEmpty/index.js": 5006,
|
4089
4204
|
"./NBExpiryIcon/index.js": 3001,
|
4090
4205
|
"./NBFullscreenDialog/index.js": 1516,
|
@@ -4095,12 +4210,13 @@ var map = {
|
|
4095
4210
|
"./NBPagination/index.js": 2407,
|
4096
4211
|
"./NBProgress/index.js": 928,
|
4097
4212
|
"./NBRadioGroup/index.js": 2139,
|
4213
|
+
"./NBReagentType/index.js": 5347,
|
4098
4214
|
"./NBSidebarNav/index.js": 7405,
|
4099
4215
|
"./NBSidebarNavGroup/index.js": 1842,
|
4100
4216
|
"./NBSummaryBar/index.js": 6168,
|
4101
4217
|
"./NBTabs/index.js": 5434,
|
4102
4218
|
"./NBTag/index.js": 8681,
|
4103
|
-
"./NBVersionDialog/index.js":
|
4219
|
+
"./NBVersionDialog/index.js": 1785
|
4104
4220
|
};
|
4105
4221
|
|
4106
4222
|
|
@@ -6995,7 +7111,7 @@ var iconfont = __webpack_require__(5848);
|
|
6995
7111
|
/*
|
6996
7112
|
* @Author: chenghuan.dong
|
6997
7113
|
* @Date: 2024-11-08 17:23:47
|
6998
|
-
* @LastEditTime: 2024-11-19
|
7114
|
+
* @LastEditTime: 2024-11-19 17:05:52
|
6999
7115
|
* @LastEditors: chenghuan.dong
|
7000
7116
|
* @Description: 主index.js导出全部组件
|
7001
7117
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -7023,7 +7139,7 @@ const install = function (Vue, options = {}) {
|
|
7023
7139
|
if (install.installed) return;
|
7024
7140
|
components.forEach(component => {
|
7025
7141
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
7026
|
-
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-cabinet-inventory-carousel', 'nb-version-dialog', 'nb-barcode-review-dialog'];
|
7142
|
+
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'];
|
7027
7143
|
if (installNames.includes(name)) {
|
7028
7144
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
7029
7145
|
} else {
|