nubomed-ui 2.0.68 → 2.0.70

Sign up to get free protection for your applications and to get access to all the features.
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-21 13:39:59
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
@@ -383,6 +383,7 @@ __webpack_require__.d(__webpack_exports__, {
383
383
  },
384
384
  // 提示相关
385
385
  msg: {
386
+ copySuccess: '复制成功!',
386
387
  deleteFail: '删除失败!',
387
388
  deleteSuccess: '删除成功!',
388
389
  submitFail: '提交失败!',
@@ -424,7 +425,8 @@ __webpack_require__.d(__webpack_exports__, {
424
425
  loading: '加载中...',
425
426
  release: '释放更新',
426
427
  pullRefresh: '下拉刷新',
427
- isEnd: '已经到底了'
428
+ isEnd: '已经到底了',
429
+ traceDetail: '全流程追溯详情'
428
430
  }
429
431
  });
430
432
  ;// ./locale/index.js
@@ -747,7 +749,7 @@ src.install = function (Vue) {
747
749
 
748
750
  /***/ }),
749
751
 
750
- /***/ 5927:
752
+ /***/ 6855:
751
753
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
752
754
 
753
755
  "use strict";
@@ -759,8 +761,8 @@ __webpack_require__.d(__webpack_exports__, {
759
761
  "default": function() { return /* binding */ NBBarcodeReviewDialog; }
760
762
  });
761
763
 
762
- ;// ./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
763
- 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)])}
764
766
  var staticRenderFns = []
765
767
 
766
768
 
@@ -932,15 +934,10 @@ function copyText(content) {
932
934
  copyText(text);
933
935
  this.$emit('copy', text);
934
936
  },
935
- // 关闭
936
- onClose() {
937
- this.$emit('update', false);
938
- this.$emit('onClose');
939
- },
940
937
  // 弹框关闭
941
938
  onClosed() {
942
939
  this.$emit('update', false);
943
- this.$emit('onClosed');
940
+ this.$emit('closed');
944
941
  }
945
942
  }
946
943
  });
@@ -962,7 +959,7 @@ var component = (0,componentNormalizer/* default */.A)(
962
959
  staticRenderFns,
963
960
  false,
964
961
  null,
965
- "48d09d06",
962
+ "6745e73d",
966
963
  null
967
964
 
968
965
  )
@@ -3994,7 +3991,7 @@ src.install = function (Vue) {
3994
3991
 
3995
3992
  /***/ }),
3996
3993
 
3997
- /***/ 2914:
3994
+ /***/ 951:
3998
3995
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3999
3996
 
4000
3997
  "use strict";
@@ -4006,8 +4003,8 @@ __webpack_require__.d(__webpack_exports__, {
4006
4003
  "default": function() { return /* binding */ NBToggleCate; }
4007
4004
  });
4008
4005
 
4009
- ;// ./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/NBToggleCate/src/index.vue?vue&type=template&id=41b59d20&scoped=true
4010
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-toggle-cate",class:_vm.getCateClassList,on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"nb-toggle-cate__left"},[(_vm.showToggle)?_c('nb-icon',{staticClass:"cate__toggle",attrs:{"icon":_vm.item.toggle ? 'caret-down' : 'caret-right'}}):_vm._e(),(_vm.type === 1)?_c('el-radio',{staticClass:"cate__radio",attrs:{"value":_vm.value,"label":_vm.item[_vm.optionProps.name]},on:{"update:value":function($event){_vm.value=$event},"change":_vm.handleChangeRadio}}):_vm._e(),(_vm.type === 2)?_c('el-checkbox',{staticClass:"cate__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('nb-icon',{staticClass:"cate__icon",attrs:{"icon":_vm.item[_vm.optionProps.icon]}}),_c('strong',{staticClass:"cate__name",on:{"click":function($event){$event.stopPropagation();_vm.item.toggle = !_vm.item.toggle}}},[_vm._v(_vm._s(_vm.item[_vm.optionProps.text] || '- -'))]),(_vm.optionProps.date && _vm.item[_vm.optionProps.date])?_c('span',{staticClass:"cate__date"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.date]))]):_vm._e(),(_vm.optionProps.tips && _vm.item[_vm.optionProps.tips])?_c('span',{staticClass:"cate__tips"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.tips]))]):_vm._e(),_vm._t("left",null,{"item":_vm.item})],2),_vm._t("default")],2)}
4006
+ ;// ./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/NBToggleCate/src/index.vue?vue&type=template&id=3a50b726&scoped=true
4007
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-toggle-cate",class:_vm.getCateClassList,on:{"click":function($event){$event.stopPropagation();_vm.item.toggle = !_vm.item.toggle}}},[_c('div',{staticClass:"nb-toggle-cate__left"},[(_vm.showToggle)?_c('nb-icon',{staticClass:"cate__toggle",attrs:{"icon":_vm.item.toggle ? 'caret-down' : 'caret-right'}}):_vm._e(),(_vm.type === 1)?_c('el-radio',{staticClass:"cate__radio",attrs:{"value":_vm.value,"label":_vm.item[_vm.optionProps.name]},on:{"update:value":function($event){_vm.value=$event},"change":_vm.handleChangeRadio}}):_vm._e(),(_vm.type === 2)?_c('el-checkbox',{staticClass:"cate__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('nb-icon',{staticClass:"cate__icon",attrs:{"icon":_vm.item[_vm.optionProps.icon]}}),_c('strong',{staticClass:"cate__name",on:{"click":function($event){$event.stopPropagation();_vm.item.toggle = !_vm.item.toggle}}},[_vm._v(_vm._s(_vm.item[_vm.optionProps.text] || '- -'))]),(_vm.optionProps.date && _vm.item[_vm.optionProps.date])?_c('span',{staticClass:"cate__date"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.date]))]):_vm._e(),(_vm.optionProps.tips && _vm.item[_vm.optionProps.tips])?_c('span',{staticClass:"cate__tips"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.tips]))]):_vm._e(),_vm._t("left",null,{"item":_vm.item})],2),_vm._t("default")],2)}
4011
4008
  var staticRenderFns = []
4012
4009
 
4013
4010
 
@@ -4123,9 +4120,9 @@ var es_array_push = __webpack_require__(4114);
4123
4120
  methods: {
4124
4121
  // 展开
4125
4122
  handleToggle(item) {
4126
- if (this.showToggle) {
4127
- item.toggle = !item.toggle;
4128
- }
4123
+ // if (this.showToggle) {
4124
+ // item.toggle = !item.toggle
4125
+ // }
4129
4126
  },
4130
4127
  // 勾选单选框
4131
4128
  handleChangeRadio() {
@@ -4155,7 +4152,7 @@ var component = (0,componentNormalizer/* default */.A)(
4155
4152
  staticRenderFns,
4156
4153
  false,
4157
4154
  null,
4158
- "41b59d20",
4155
+ "3a50b726",
4159
4156
  null
4160
4157
 
4161
4158
  )
@@ -4170,7 +4167,7 @@ src.install = function (Vue) {
4170
4167
 
4171
4168
  /***/ }),
4172
4169
 
4173
- /***/ 1785:
4170
+ /***/ 5555:
4174
4171
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4175
4172
 
4176
4173
  "use strict";
@@ -4182,12 +4179,12 @@ __webpack_require__.d(__webpack_exports__, {
4182
4179
  "default": function() { return /* binding */ NBVersionDialog; }
4183
4180
  });
4184
4181
 
4185
- ;// ./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
4186
- 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)])}
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)])}
4187
4184
  var staticRenderFns = []
4188
4185
 
4189
4186
 
4190
- ;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=00c048a1&scoped=true
4187
+ ;// ./packages/components/NBVersionDialog/src/index.vue?vue&type=template&id=ac8a762a&scoped=true
4191
4188
 
4192
4189
  // EXTERNAL MODULE: ./packages/mixins/index.js
4193
4190
  var mixins = __webpack_require__(7389);
@@ -4262,6 +4259,11 @@ var mixins = __webpack_require__(7389);
4262
4259
  default: () => {
4263
4260
  return {};
4264
4261
  }
4262
+ },
4263
+ // 是否显示离线版本号
4264
+ showOfflineVersion: {
4265
+ type: Boolean,
4266
+ default: false
4265
4267
  }
4266
4268
  },
4267
4269
  data() {
@@ -4278,14 +4280,11 @@ var mixins = __webpack_require__(7389);
4278
4280
  // 板类型
4279
4281
  boardType(val) {
4280
4282
  return {
4281
- hCabinet: t('nb.cabinetBoard'),
4282
- temperatureHumidityDisplay: t('nb.tempHumBoard'),
4283
- tremor: t('nb.alarmBoard')
4283
+ hCabinet: this.t('nb.cabinetBoard'),
4284
+ temperatureHumidityDisplay: this.t('nb.tempHumBoard'),
4285
+ tremor: this.t('nb.alarmBoard')
4284
4286
  }[val] || val;
4285
4287
  },
4286
- handleClose() {
4287
- this.$emit('update', false);
4288
- },
4289
4288
  // 关闭弹框
4290
4289
  closedDialog() {
4291
4290
  this.$emit('update', false);
@@ -4311,7 +4310,7 @@ var component = (0,componentNormalizer/* default */.A)(
4311
4310
  staticRenderFns,
4312
4311
  false,
4313
4312
  null,
4314
- "00c048a1",
4313
+ "ac8a762a",
4315
4314
  null
4316
4315
 
4317
4316
  )
@@ -4670,7 +4669,7 @@ webpackContext.id = 1603;
4670
4669
  var map = {
4671
4670
  "./NBBadge/index.js": 3134,
4672
4671
  "./NBBarcodeCard/index.js": 1285,
4673
- "./NBBarcodeReviewDialog/index.js": 5927,
4672
+ "./NBBarcodeReviewDialog/index.js": 6855,
4674
4673
  "./NBCabinetInventoryCarousel/index.js": 5433,
4675
4674
  "./NBCheckboxGroup/index.js": 2129,
4676
4675
  "./NBDialog/index.js": 2324,
@@ -4691,8 +4690,8 @@ var map = {
4691
4690
  "./NBSummaryBar/index.js": 6168,
4692
4691
  "./NBTabs/index.js": 5434,
4693
4692
  "./NBTag/index.js": 8681,
4694
- "./NBToggleCate/index.js": 2914,
4695
- "./NBVersionDialog/index.js": 1785
4693
+ "./NBToggleCate/index.js": 951,
4694
+ "./NBVersionDialog/index.js": 5555
4696
4695
  };
4697
4696
 
4698
4697
 
@@ -7532,7 +7531,7 @@ var locale = __webpack_require__(7294);
7532
7531
  /*
7533
7532
  * @Author: chenghuan.dong
7534
7533
  * @Date: 2024-11-08 17:23:47
7535
- * @LastEditTime: 2024-11-21 11:46:33
7534
+ * @LastEditTime: 2024-11-21 16:51:44
7536
7535
  * @LastEditors: chenghuan.dong
7537
7536
  * @Description: 主index.js导出全部组件
7538
7537
  * @FilePath: \nubomed-ui\packages\index.js
@@ -7558,11 +7557,12 @@ const install = function (Vue, options = {}) {
7558
7557
  components.forEach(component => {
7559
7558
  const name = 'nb-' + camelToKebab(component.name.slice(2));
7560
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'];
7561
- if (installNames.includes(name)) {
7562
- console.log('%c' + '√ ' + name, 'color: #00A572;');
7563
- } else {
7564
- console.log('? ' + name);
7565
- }
7560
+ // if (installNames.includes(name)) {
7561
+ // console.log('%c' + '√ ' + name, 'color: #00A572;')
7562
+ // } else {
7563
+ // console.log('? ' + name)
7564
+ // }
7565
+
7566
7566
  if (installNames.includes(name)) {
7567
7567
  Vue.component('nb-' + camelToKebab(component.name.slice(2)), component);
7568
7568
  }