nubomed-ui 2.0.68 → 2.0.69

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
  )
@@ -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,
@@ -4692,7 +4691,7 @@ var map = {
4692
4691
  "./NBTabs/index.js": 5434,
4693
4692
  "./NBTag/index.js": 8681,
4694
4693
  "./NBToggleCate/index.js": 2914,
4695
- "./NBVersionDialog/index.js": 1785
4694
+ "./NBVersionDialog/index.js": 5555
4696
4695
  };
4697
4696
 
4698
4697