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.common.js
CHANGED
@@ -313,7 +313,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
313
313
|
/*
|
314
314
|
* @Author: chenghuan.dong
|
315
315
|
* @Date: 2024-11-11 11:59:27
|
316
|
-
* @LastEditTime: 2024-11-19
|
316
|
+
* @LastEditTime: 2024-11-19 16:55:30
|
317
317
|
* @LastEditors: chenghuan.dong
|
318
318
|
* @Description:
|
319
319
|
* @FilePath: \nubomed-ui\locale\lang\zh-CN.js
|
@@ -435,7 +435,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
435
435
|
},
|
436
436
|
// 提示相关
|
437
437
|
msg: {
|
438
|
-
copySucceeded: '复制成功',
|
439
438
|
deleteFail: '删除失败!',
|
440
439
|
deleteSuccess: '删除成功!',
|
441
440
|
submitFail: '提交失败!',
|
@@ -465,6 +464,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
465
464
|
cabinetUnclosed: '柜未关',
|
466
465
|
cabinetClosed: '柜已关'
|
467
466
|
},
|
467
|
+
// 试剂类型
|
468
|
+
reagentType: {
|
469
|
+
mediumPackage: '中包装',
|
470
|
+
singleMultiple: '单支多次',
|
471
|
+
singleOnce: '单支一次',
|
472
|
+
opened: '已开瓶',
|
473
|
+
unopened: '未开瓶'
|
474
|
+
},
|
468
475
|
// 其他
|
469
476
|
loading: '加载中...',
|
470
477
|
release: '释放更新',
|
@@ -597,7 +604,7 @@ src.install = function (Vue) {
|
|
597
604
|
|
598
605
|
/***/ }),
|
599
606
|
|
600
|
-
/***/
|
607
|
+
/***/ 4412:
|
601
608
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
602
609
|
|
603
610
|
"use strict";
|
@@ -609,8 +616,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
609
616
|
"default": function() { return /* binding */ NBBarcodeReviewDialog; }
|
610
617
|
});
|
611
618
|
|
612
|
-
;// ./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=
|
613
|
-
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)])}
|
619
|
+
;// ./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
|
620
|
+
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)])}
|
614
621
|
var staticRenderFns = []
|
615
622
|
|
616
623
|
|
@@ -728,6 +735,7 @@ function copyText(content) {
|
|
728
735
|
//
|
729
736
|
//
|
730
737
|
//
|
738
|
+
//
|
731
739
|
|
732
740
|
|
733
741
|
|
@@ -811,7 +819,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
811
819
|
staticRenderFns,
|
812
820
|
false,
|
813
821
|
null,
|
814
|
-
"
|
822
|
+
"48d09d06",
|
815
823
|
null
|
816
824
|
|
817
825
|
)
|
@@ -1185,7 +1193,7 @@ src.install = function (Vue) {
|
|
1185
1193
|
|
1186
1194
|
/***/ }),
|
1187
1195
|
|
1188
|
-
/***/
|
1196
|
+
/***/ 8914:
|
1189
1197
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1190
1198
|
|
1191
1199
|
"use strict";
|
@@ -1197,8 +1205,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1197
1205
|
"default": function() { return /* binding */ NBDialog; }
|
1198
1206
|
});
|
1199
1207
|
|
1200
|
-
;// ./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=
|
1201
|
-
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)}
|
1208
|
+
;// ./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
|
1209
|
+
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)}
|
1202
1210
|
var staticRenderFns = []
|
1203
1211
|
|
1204
1212
|
|
@@ -1440,7 +1448,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1440
1448
|
staticRenderFns,
|
1441
1449
|
false,
|
1442
1450
|
null,
|
1443
|
-
"
|
1451
|
+
"144f3ca4",
|
1444
1452
|
null
|
1445
1453
|
|
1446
1454
|
)
|
@@ -3006,6 +3014,106 @@ src.install = function (Vue) {
|
|
3006
3014
|
|
3007
3015
|
/***/ }),
|
3008
3016
|
|
3017
|
+
/***/ 1040:
|
3018
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3019
|
+
|
3020
|
+
"use strict";
|
3021
|
+
// ESM COMPAT FLAG
|
3022
|
+
__webpack_require__.r(__webpack_exports__);
|
3023
|
+
|
3024
|
+
// EXPORTS
|
3025
|
+
__webpack_require__.d(__webpack_exports__, {
|
3026
|
+
"default": function() { return /* binding */ NBReagentType; }
|
3027
|
+
});
|
3028
|
+
|
3029
|
+
;// ./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
|
3030
|
+
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()}
|
3031
|
+
var staticRenderFns = []
|
3032
|
+
|
3033
|
+
|
3034
|
+
// EXTERNAL MODULE: ./packages/mixins/index.js
|
3035
|
+
var mixins = __webpack_require__(1137);
|
3036
|
+
;// ./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/NBReagentType/src/index.vue?vue&type=script&lang=js
|
3037
|
+
//
|
3038
|
+
//
|
3039
|
+
//
|
3040
|
+
//
|
3041
|
+
//
|
3042
|
+
//
|
3043
|
+
//
|
3044
|
+
//
|
3045
|
+
//
|
3046
|
+
//
|
3047
|
+
//
|
3048
|
+
//
|
3049
|
+
|
3050
|
+
|
3051
|
+
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
3052
|
+
name: 'NBReagentType',
|
3053
|
+
mixins: [mixins/* default */.A],
|
3054
|
+
props: {
|
3055
|
+
// 试剂类型0中包装 1单支一次 2单支多次
|
3056
|
+
value: {
|
3057
|
+
type: Number,
|
3058
|
+
default: null
|
3059
|
+
}
|
3060
|
+
},
|
3061
|
+
computed: {
|
3062
|
+
tag() {
|
3063
|
+
let obj = {
|
3064
|
+
type: '',
|
3065
|
+
value: this.value,
|
3066
|
+
text: null
|
3067
|
+
};
|
3068
|
+
if (this.value === 0) {
|
3069
|
+
obj.type = 'primary';
|
3070
|
+
obj.text = this.t('nb.reagentType.mediumPackage');
|
3071
|
+
}
|
3072
|
+
if (this.value === 1) {
|
3073
|
+
obj.type = 'success';
|
3074
|
+
obj.text = this.t('nb.reagentType.singleOnce');
|
3075
|
+
}
|
3076
|
+
if (this.value === 2) {
|
3077
|
+
obj.type = 'warning';
|
3078
|
+
obj.text = this.t('nb.reagentType.singleMultiple');
|
3079
|
+
}
|
3080
|
+
return obj;
|
3081
|
+
}
|
3082
|
+
}
|
3083
|
+
});
|
3084
|
+
;// ./packages/components/NBReagentType/src/index.vue?vue&type=script&lang=js
|
3085
|
+
/* harmony default export */ var NBReagentType_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
3086
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
3087
|
+
var componentNormalizer = __webpack_require__(1656);
|
3088
|
+
;// ./packages/components/NBReagentType/src/index.vue
|
3089
|
+
|
3090
|
+
|
3091
|
+
|
3092
|
+
|
3093
|
+
|
3094
|
+
/* normalize component */
|
3095
|
+
;
|
3096
|
+
var component = (0,componentNormalizer/* default */.A)(
|
3097
|
+
NBReagentType_srcvue_type_script_lang_js,
|
3098
|
+
render,
|
3099
|
+
staticRenderFns,
|
3100
|
+
false,
|
3101
|
+
null,
|
3102
|
+
"5532b638",
|
3103
|
+
null
|
3104
|
+
|
3105
|
+
)
|
3106
|
+
|
3107
|
+
/* harmony default export */ var src = (component.exports);
|
3108
|
+
;// ./packages/components/NBReagentType/index.js
|
3109
|
+
|
3110
|
+
src.install = function (Vue) {
|
3111
|
+
Vue.component(src.name, src);
|
3112
|
+
};
|
3113
|
+
/* harmony default export */ var NBReagentType = (src);
|
3114
|
+
|
3115
|
+
/***/ }),
|
3116
|
+
|
3009
3117
|
/***/ 4950:
|
3010
3118
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3011
3119
|
|
@@ -3563,7 +3671,7 @@ src.install = function (Vue) {
|
|
3563
3671
|
|
3564
3672
|
/***/ }),
|
3565
3673
|
|
3566
|
-
/***/
|
3674
|
+
/***/ 247:
|
3567
3675
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3568
3676
|
|
3569
3677
|
"use strict";
|
@@ -3575,12 +3683,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
3575
3683
|
"default": function() { return /* binding */ NBVersionDialog; }
|
3576
3684
|
});
|
3577
3685
|
|
3578
|
-
;// ./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=
|
3579
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('
|
3686
|
+
;// ./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
|
3687
|
+
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)])}
|
3580
3688
|
var staticRenderFns = []
|
3581
3689
|
|
3582
3690
|
|
3583
|
-
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=
|
3691
|
+
;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=00c048a1&scoped=true
|
3584
3692
|
|
3585
3693
|
// EXTERNAL MODULE: ./packages/mixins/index.js
|
3586
3694
|
var mixins = __webpack_require__(1137);
|
@@ -3629,10 +3737,6 @@ var mixins = __webpack_require__(1137);
|
|
3629
3737
|
//
|
3630
3738
|
//
|
3631
3739
|
//
|
3632
|
-
//
|
3633
|
-
//
|
3634
|
-
//
|
3635
|
-
//
|
3636
3740
|
|
3637
3741
|
|
3638
3742
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
@@ -3661,6 +3765,16 @@ var mixins = __webpack_require__(1137);
|
|
3661
3765
|
}
|
3662
3766
|
}
|
3663
3767
|
},
|
3768
|
+
data() {
|
3769
|
+
return {
|
3770
|
+
dialogVisible: false
|
3771
|
+
};
|
3772
|
+
},
|
3773
|
+
watch: {
|
3774
|
+
visible(val) {
|
3775
|
+
this.dialogVisible = val;
|
3776
|
+
}
|
3777
|
+
},
|
3664
3778
|
methods: {
|
3665
3779
|
// 板类型
|
3666
3780
|
boardType(val) {
|
@@ -3675,6 +3789,7 @@ var mixins = __webpack_require__(1137);
|
|
3675
3789
|
},
|
3676
3790
|
// 关闭弹框
|
3677
3791
|
closedDialog() {
|
3792
|
+
this.$emit('update', false);
|
3678
3793
|
this.$emit('closed');
|
3679
3794
|
}
|
3680
3795
|
}
|
@@ -3697,7 +3812,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
3697
3812
|
staticRenderFns,
|
3698
3813
|
false,
|
3699
3814
|
null,
|
3700
|
-
"
|
3815
|
+
"00c048a1",
|
3701
3816
|
null
|
3702
3817
|
|
3703
3818
|
)
|
@@ -4071,10 +4186,10 @@ webpackContext.id = 1603;
|
|
4071
4186
|
|
4072
4187
|
var map = {
|
4073
4188
|
"./NBBadge/index.js": 3250,
|
4074
|
-
"./NBBarcodeReviewDialog/index.js":
|
4189
|
+
"./NBBarcodeReviewDialog/index.js": 4412,
|
4075
4190
|
"./NBCabinetInventoryCarousel/index.js": 5118,
|
4076
4191
|
"./NBCheckboxGroup/index.js": 9070,
|
4077
|
-
"./NBDialog/index.js":
|
4192
|
+
"./NBDialog/index.js": 8914,
|
4078
4193
|
"./NBEmpty/index.js": 8776,
|
4079
4194
|
"./NBExpiryIcon/index.js": 9075,
|
4080
4195
|
"./NBFullscreenDialog/index.js": 4531,
|
@@ -4085,12 +4200,13 @@ var map = {
|
|
4085
4200
|
"./NBPagination/index.js": 8369,
|
4086
4201
|
"./NBProgress/index.js": 8207,
|
4087
4202
|
"./NBRadioGroup/index.js": 4998,
|
4203
|
+
"./NBReagentType/index.js": 1040,
|
4088
4204
|
"./NBSidebarNav/index.js": 9725,
|
4089
4205
|
"./NBSidebarNavGroup/index.js": 4950,
|
4090
4206
|
"./NBSummaryBar/index.js": 4918,
|
4091
4207
|
"./NBTabs/index.js": 1694,
|
4092
4208
|
"./NBTag/index.js": 6290,
|
4093
|
-
"./NBVersionDialog/index.js":
|
4209
|
+
"./NBVersionDialog/index.js": 247
|
4094
4210
|
};
|
4095
4211
|
|
4096
4212
|
|
@@ -6985,7 +7101,7 @@ var iconfont = __webpack_require__(7456);
|
|
6985
7101
|
/*
|
6986
7102
|
* @Author: chenghuan.dong
|
6987
7103
|
* @Date: 2024-11-08 17:23:47
|
6988
|
-
* @LastEditTime: 2024-11-19
|
7104
|
+
* @LastEditTime: 2024-11-19 17:05:52
|
6989
7105
|
* @LastEditors: chenghuan.dong
|
6990
7106
|
* @Description: 主index.js导出全部组件
|
6991
7107
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -7013,7 +7129,7 @@ const install = function (Vue, options = {}) {
|
|
7013
7129
|
if (install.installed) return;
|
7014
7130
|
components.forEach(component => {
|
7015
7131
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
7016
|
-
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'];
|
7132
|
+
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'];
|
7017
7133
|
if (installNames.includes(name)) {
|
7018
7134
|
console.log('%c' + '√ ' + name, 'color: #00A572;');
|
7019
7135
|
} else {
|