nubomed-ui 2.0.178 → 2.0.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/nb-ui/index.css +1 -1
- package/fonts/iconfont.js +1 -1
- package/lang/en-US.js +59 -1
- package/lang/zh-CN.js +60 -1
- package/nubomed-ui.common.js +106 -49
- package/nubomed-ui.umd.js +106 -49
- package/nubomed-ui.umd.min.js +2 -2
- package/package.json +1 -1
package/lang/en-US.js
CHANGED
@@ -1 +1,59 @@
|
|
1
|
-
export default{nb:{name:"Item Name",consumableInfo:"Medical Supply Info",spec_model:"Spec/Model",spec:"Spec",model:"Model",barcode:"Unique Code",combineCode:"品规码",batch:"Batch No.",expiry:"Expiry",count:"Quantity",totalCount:"Total",stockCount:"Inventory",coefficient:"Coefficient",position:"Location",curPosition:"Current Location",lastPosition:"Last Known Location",manufacturer:"Manufacturer",brand:"Brand",supplier:"Supplier",unit:"Unit",price:"Amount",unitPrice:"Unit Price",currentUser:"Current User",operation:"Operation",operator:"Operator",operateTime:"Operation Time",operateType:"Operation Type",female:"Female",male:"Male",sex:"Gender",age:"Age",inpatientNum:"Admission No.",patientName:"Patient Name",chiefSurgeonDoctor:"Operating Surgeon",opName:"Case",opNum:"Operation No.",opRoom:"Operating Room",yesterday:"Yesterday",today:"Today",tomorrow:"Tomorrow",oneWeekAgo:"Last Week",oneMonthAgo:"Last Month",status:"Status",dept:"Department",time:"Time",type:"Types",remark:"备注",temperature:"Temperature",humidity:"Humidity",invSurplus:"Inventory Surplus",invLoss:"Inventory Loss",invAccount:"System Count",invActual:"Auto Count",invIng:"Counting...",upperStrata:"Upper Level",onlineVersion:"Online Version",offlineVersion:"Offline Version",middleground:"Middleware",middlegroundVersion:"Middleware Version",embedded:"Embedded",deviceNumber:"Device Number",plateType:"Board Type",version:"Version Number",handwareAdress:"Hardware Address",cabinetBoard:"Cabinet Board",tempHumBoard:"Temperature and Humidity Display Board",alarmBoard:"Vibration Alarm Board",state:{normal:"Normal",abnormal:"Abnormal",temporaryStop:"Temporarily Disabled",disabled:"Disabled",unopenedBottle:"Unopened",openedBottle:"Opened"},button:{back:"Back",backToMain:"Main Menu",logout:"Exit",close:"Close",add:"Add",search:"Search",detail:"Details",cancel:"Cancel",confirm:"Confirm",iKnown:"I Understand",known:"Understood",refresh:"Refresh",retest:"Retesting",copy:"Copy",clear:"Clear",ignore:"Ignore",ignoreSign:"Ignore and Delete",look:"Go to View",print:"Print",retry:"Retry",edit:"Edit",save:"Save",submit:"Submit",againSubmit:"Resubmit",continueSubmit:"Continue Submitting",replyDelete:"Backspace",retrospect:"Traceability",inventory:"Inventory Count",login:"Login",openLock:"Unlock",allOpenLock:"Unlock All",openCabinet:"Open",openAllCabinet:"Open All Cabinets",hide:"Collapse"},form:{all:"All",pleaseSelect:"Please select",startDate:"Start Date",endDate:"End Date",startTime:"Start Time",endTime:"End Time"},msg:{copySuccess:"Copy Successful!",deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"Expired",oneMonth:"EXP 1M",threeMonth:"EXP 3M",sixMonth:"EXP 6M"},cabinet:{upCabinet:"Top Section of Cabinet",downCabinet:"Bottom Section of Cabinet",leftCabinet:"Left Cabinet",rightCabinet:"Right Cabinet",cabinetUnconnected:"{0} Not Connected",cabinetUnlock:"{0} Not Locked",cabinetLock:"{0} Locked",cabinetUnclosed:"{0} Not Closed",cabinetClosed:"{0} Closed"},reagentType:{mediumPackage:"Medium Pack",singleMultiple:"Single Dose Multiple Use",singleOnce:"Single Dose One Time Use",opened:"Opened",unopened:"Unopened"},uv:{startTitle:"请离开终端",startTips:"<strong>{0}</strong>秒后开始消毒",cancelTask:"取消任务",ingPopupTitle:"正在紫外线消毒",ingPopupTips:"已消毒<i>{0}</i>分钟,剩余<strong>{1}</strong>小时<strong>{2}</strong>分钟",endTask:"结束消毒",endPopupTitle:"已消毒完毕",endPopupTips1:"等待",endPopupTips2:"秒后自动退出消毒模式",logout:"立即退出",pleaseLeaveCabinet:"正在紫外线消毒,请远离柜门"},loading:"Loading...",release:"Release Update",pullRefresh:"Pull to Refresh",isEnd:"Reached the End",noMoreData:"No More Available",traceDetail:"Full Process Traceability Details",notConfiguredOffline:"Offline service not configured!"}};
|
1
|
+
export default{nb:{name:"Item Name",consumableInfo:"Medical Supply Info",spec_model:"Spec/Model",spec:"Spec",model:"Model",barcode:"Unique Code",combineCode:"品规码",batch:"Batch No.",expiry:"Expiry",count:"Quantity",totalCount:"Total",stockCount:"Inventory",coefficient:"Coefficient",position:"Location",curPosition:"Current Location",lastPosition:"Last Known Location",manufacturer:"Manufacturer",brand:"Brand",supplier:"Supplier",unit:"Unit",price:"Amount",unitPrice:"Unit Price",currentUser:"Current User",operation:"Operation",operator:"Operator",operateTime:"Operation Time",operateType:"Operation Type",female:"Female",male:"Male",sex:"Gender",age:"Age",inpatientNum:"Admission No.",patientName:"Patient Name",chiefSurgeonDoctor:"Operating Surgeon",opName:"Case",opNum:"Operation No.",opRoom:"Operating Room",yesterday:"Yesterday",today:"Today",tomorrow:"Tomorrow",oneWeekAgo:"Last Week",oneMonthAgo:"Last Month",status:"Status",dept:"Department",time:"Time",type:"Types",remark:"备注",temperature:"Temperature",humidity:"Humidity",invSurplus:"Inventory Surplus",invLoss:"Inventory Loss",invAccount:"System Count",invActual:"Auto Count",invIng:"Counting...",upperStrata:"Upper Level",onlineVersion:"Online Version",offlineVersion:"Offline Version",middleground:"Middleware",middlegroundVersion:"Middleware Version",embedded:"Embedded",deviceNumber:"Device Number",plateType:"Board Type",version:"Version Number",handwareAdress:"Hardware Address",cabinetBoard:"Cabinet Board",tempHumBoard:"Temperature and Humidity Display Board",alarmBoard:"Vibration Alarm Board",state:{normal:"Normal",abnormal:"Abnormal",temporaryStop:"Temporarily Disabled",disabled:"Disabled",unopenedBottle:"Unopened",openedBottle:"Opened"},button:{back:"Back",backToMain:"Main Menu",logout:"Exit",close:"Close",add:"Add",search:"Search",detail:"Details",cancel:"Cancel",confirm:"Confirm",iKnown:"I Understand",known:"Understood",refresh:"Refresh",retest:"Retesting",copy:"Copy",clear:"Clear",ignore:"Ignore",ignoreSign:"Ignore and Delete",look:"Go to View",print:"Print",retry:"Retry",edit:"Edit",save:"Save",submit:"Submit",againSubmit:"Resubmit",continueSubmit:"Continue Submitting",replyDelete:"Backspace",retrospect:"Traceability",inventory:"Inventory Count",login:"Login",openLock:"Unlock",allOpenLock:"Unlock All",openCabinet:"Open",openAllCabinet:"Open All Cabinets",hide:"Collapse"},form:{all:"All",pleaseSelect:"Please select",startDate:"Start Date",endDate:"End Date",startTime:"Start Time",endTime:"End Time"},msg:{copySuccess:"Copy Successful!",deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"Expired",oneMonth:"EXP 1M",threeMonth:"EXP 3M",sixMonth:"EXP 6M"},cabinet:{upCabinet:"Top Section of Cabinet",downCabinet:"Bottom Section of Cabinet",leftCabinet:"Left Cabinet",rightCabinet:"Right Cabinet",cabinetUnconnected:"{0} Not Connected",cabinetUnlock:"{0} Not Locked",cabinetLock:"{0} Locked",cabinetUnclosed:"{0} Not Closed",cabinetClosed:"{0} Closed"},reagentType:{mediumPackage:"Medium Pack",singleMultiple:"Single Dose Multiple Use",singleOnce:"Single Dose One Time Use",opened:"Opened",unopened:"Unopened"},uv:{startTitle:"请离开终端",startTips:"<strong>{0}</strong>秒后开始消毒",cancelTask:"取消任务",ingPopupTitle:"正在紫外线消毒",ingPopupTips:"已消毒<i>{0}</i>分钟,剩余<strong>{1}</strong>小时<strong>{2}</strong>分钟",endTask:"结束消毒",endPopupTitle:"已消毒完毕",endPopupTips1:"等待",endPopupTips2:"秒后自动退出消毒模式",logout:"立即退出",pleaseLeaveCabinet:"正在紫外线消毒,请远离柜门"},loading:"Loading...",release:"Release Update",pullRefresh:"Pull to Refresh",isEnd:"Reached the End",noMoreData:"No More Available",traceDetail:"Full Process Traceability Details",notConfiguredOffline:"Offline service not configured!"}};tSuccess: '提交成功!',
|
2
|
+
saveFail: '保存失败!',
|
3
|
+
saveSuccess: '保存成功!',
|
4
|
+
noDataAndRefresh: '暂无数据,请刷新试试~',
|
5
|
+
noSearchRecord: '暂无搜索记录~',
|
6
|
+
noData: '暂无数据'
|
7
|
+
},
|
8
|
+
|
9
|
+
// 近效期
|
10
|
+
expriy: {
|
11
|
+
overdue: 'Expired',
|
12
|
+
oneMonth: 'EXP 1M',
|
13
|
+
threeMonth: 'EXP 3M',
|
14
|
+
sixMonth: 'EXP 6M'
|
15
|
+
},
|
16
|
+
// 柜子
|
17
|
+
cabinet: {
|
18
|
+
upCabinet: 'Top Section of Cabinet',
|
19
|
+
downCabinet: 'Bottom Section of Cabinet',
|
20
|
+
leftCabinet: 'Left Cabinet',
|
21
|
+
rightCabinet: 'Right Cabinet',
|
22
|
+
cabinetUnconnected: '{0} Not Connected',
|
23
|
+
cabinetUnlock: '{0} Not Locked',
|
24
|
+
cabinetLock: '{0} Locked',
|
25
|
+
cabinetUnclosed: '{0} Not Closed',
|
26
|
+
cabinetClosed: '{0} Closed'
|
27
|
+
},
|
28
|
+
// 试剂类型
|
29
|
+
reagentType: {
|
30
|
+
mediumPackage: 'Medium Pack',
|
31
|
+
singleMultiple: 'Single Dose Multiple Use',
|
32
|
+
singleOnce: 'Single Dose One Time Use',
|
33
|
+
opened: 'Opened',
|
34
|
+
unopened: 'Unopened'
|
35
|
+
},
|
36
|
+
// 紫外线消毒
|
37
|
+
uv: {
|
38
|
+
startTitle: '请离开终端',
|
39
|
+
startTips: '<strong>{0}</strong>秒后开始消毒',
|
40
|
+
cancelTask: '取消任务',
|
41
|
+
ingPopupTitle: '正在紫外线消毒',
|
42
|
+
ingPopupTips: '已消毒<i>{0}</i>分钟,剩余<strong>{1}</strong>小时<strong>{2}</strong>分钟',
|
43
|
+
endTask: '结束消毒',
|
44
|
+
endPopupTitle: '已消毒完毕',
|
45
|
+
endPopupTips1: '等待',
|
46
|
+
endPopupTips2: '秒后自动退出消毒模式',
|
47
|
+
logout: '立即退出',
|
48
|
+
pleaseLeaveCabinet: '正在紫外线消毒,请远离柜门'
|
49
|
+
},
|
50
|
+
// 其他
|
51
|
+
loading: 'Loading...',
|
52
|
+
release: 'Release Update',
|
53
|
+
pullRefresh: 'Pull to Refresh',
|
54
|
+
isEnd: 'Reached the End',
|
55
|
+
noMoreData: 'No More Available',
|
56
|
+
traceDetail: `Full Process Traceability Details`,
|
57
|
+
notConfiguredOffline: 'Offline service not configured!'
|
58
|
+
}
|
59
|
+
}
|
package/lang/zh-CN.js
CHANGED
@@ -1 +1,60 @@
|
|
1
|
-
export default{nb:{name:"品名",consumableInfo:"耗材信息",spec_model:"规格/型号",spec:"规格",model:"型号",barcode:"唯一码",combineCode:"品规码",batch:"批号",expiry:"效期",count:"数量",totalCount:"总数",stockCount:"库存",coefficient:"系数",position:"位置",curPosition:"当前位置",lastPosition:"上次位置",manufacturer:"生产厂家",brand:"品牌",supplier:"供应商",unit:"单位",price:"金额",unitPrice:"单价",currentUser:"当前用户",operation:"操作",operator:"操作人",operateTime:"操作时间",operateType:"操作类型",female:"女",male:"男",sex:"性别",age:"年龄",inpatientNum:"住院号",patientName:"患者姓名",chiefSurgeonDoctor:"主刀医生",opName:"手术名称",opNum:"手术单号",opRoom:"手术间",yesterday:"昨天",today:"今天",tomorrow:"明天",oneWeekAgo:"近一周",oneMonthAgo:"近一月",status:"状态",dept:"科室",time:"时间",type:"类型",remark:"备注",temperature:"温度",humidity:"湿度",invSurplus:"盘盈",invLoss:"盘亏",invAccount:"账盘",invActual:"机盘",invIng:"盘点中...",upperStrata:"上层",onlineVersion:"在线版本",offlineVersion:"离线版本",middleground:"中台",middlegroundVersion:"中台版本",embedded:"嵌入式",deviceNumber:"设备号",plateType:"板类型",version:"版本号",handwareAdress:"硬件地址",cabinetBoard:"柜板",tempHumBoard:"温湿度显示板",alarmBoard:"震动报警器板",state:{normal:"正常",abnormal:"异常",temporaryStop:"临时停用",disabled:"已禁用",unopenedBottle:"未开瓶",openedBottle:"已开瓶"},button:{back:"返回",backToMain:"返回主页",logout:"退出",close:"关闭",add:"添加",search:"搜索",detail:"详情",cancel:"取消",confirm:"确定",iKnown:"我知道了",known:"知道了",refresh:"刷新",retest:"重新检测",inventory:"盘点",copy:"复制",clear:"清空",ignore:"忽略",ignoreSign:"忽略并删除",look:"前往查看",print:"打印",retry:"重试",edit:"编辑",save:"保存",submit:"提交",againSubmit:"重新提交",continueSubmit:"继续提交",replyDelete:"回删",retrospect:"追溯",login:"登录",openLock:"开锁",allOpenLock:"全部开锁",openCabinet:"开柜",openAllCabinet:"全部<br>开柜",hide:"收起"},form:{all:"全部",pleaseSelect:"请选择",startDate:"开始日期",endDate:"结束日期",startTime:"开始时间",endTime:"结束时间"},msg:{copySuccess:"复制成功!",deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"过期",oneMonth:"1个月",threeMonth:"3个月",sixMonth:"6个月"},cabinet:{upCabinet:"上柜",downCabinet:"下柜",leftCabinet:"左柜",rightCabinet:"右柜",cabinetUnconnected:"{0}未连接",cabinetUnlock:"{0}未锁",cabinetLock:"{0}已锁",cabinetUnclosed:"{0}未关",cabinetClosed:"{0}已关"},reagentType:{mediumPackage:"中包装",singleMultiple:"单支多次",singleOnce:"单支一次",opened:"已开瓶",unopened:"未开瓶"},uv:{startTitle:"请离开终端",startTips:"<strong>{0}</strong>秒后开始消毒",cancelTask:"取消任务",ingPopupTitle:"正在紫外线消毒",ingPopupTips:"已消毒<i>{0}</i>分钟,剩余<strong>{1}</strong>小时<strong>{2}</strong>分钟",endTask:"结束消毒",endPopupTitle:"已消毒完毕",endPopupTips1:"等待",endPopupTips2:"秒后自动退出消毒模式",logout:"立即退出",pleaseLeaveCabinet:"正在紫外线消毒,请远离柜门"},loading:"加载中...",release:"释放更新",pullRefresh:"下拉刷新",isEnd:"已经到底了",noMoreData:"没有更多了",traceDetail:"全流程追溯详情",notConfiguredOffline:"未配置离线服务,请联系工程师处理!"}};
|
1
|
+
export default{nb:{name:"品名",consumableInfo:"耗材信息",spec_model:"规格/型号",spec:"规格",model:"型号",barcode:"唯一码",combineCode:"品规码",batch:"批号",expiry:"效期",count:"数量",totalCount:"总数",stockCount:"库存",coefficient:"系数",position:"位置",curPosition:"当前位置",lastPosition:"上次位置",manufacturer:"生产厂家",brand:"品牌",supplier:"供应商",unit:"单位",price:"金额",unitPrice:"单价",currentUser:"当前用户",operation:"操作",operator:"操作人",operateTime:"操作时间",operateType:"操作类型",female:"女",male:"男",sex:"性别",age:"年龄",inpatientNum:"住院号",patientName:"患者姓名",chiefSurgeonDoctor:"主刀医生",opName:"手术名称",opNum:"手术单号",opRoom:"手术间",yesterday:"昨天",today:"今天",tomorrow:"明天",oneWeekAgo:"近一周",oneMonthAgo:"近一月",status:"状态",dept:"科室",time:"时间",type:"类型",remark:"备注",temperature:"温度",humidity:"湿度",invSurplus:"盘盈",invLoss:"盘亏",invAccount:"账盘",invActual:"机盘",invIng:"盘点中...",upperStrata:"上层",onlineVersion:"在线版本",offlineVersion:"离线版本",middleground:"中台",middlegroundVersion:"中台版本",embedded:"嵌入式",deviceNumber:"设备号",plateType:"板类型",version:"版本号",handwareAdress:"硬件地址",cabinetBoard:"柜板",tempHumBoard:"温湿度显示板",alarmBoard:"震动报警器板",state:{normal:"正常",abnormal:"异常",temporaryStop:"临时停用",disabled:"已禁用",unopenedBottle:"未开瓶",openedBottle:"已开瓶"},button:{back:"返回",backToMain:"返回主页",logout:"退出",close:"关闭",add:"添加",search:"搜索",detail:"详情",cancel:"取消",confirm:"确定",iKnown:"我知道了",known:"知道了",refresh:"刷新",retest:"重新检测",inventory:"盘点",copy:"复制",clear:"清空",ignore:"忽略",ignoreSign:"忽略并删除",look:"前往查看",print:"打印",retry:"重试",edit:"编辑",save:"保存",submit:"提交",againSubmit:"重新提交",continueSubmit:"继续提交",replyDelete:"回删",retrospect:"追溯",login:"登录",openLock:"开锁",allOpenLock:"全部开锁",openCabinet:"开柜",openAllCabinet:"全部<br>开柜",hide:"收起"},form:{all:"全部",pleaseSelect:"请选择",startDate:"开始日期",endDate:"结束日期",startTime:"开始时间",endTime:"结束时间"},msg:{copySuccess:"复制成功!",deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"过期",oneMonth:"1个月",threeMonth:"3个月",sixMonth:"6个月"},cabinet:{upCabinet:"上柜",downCabinet:"下柜",leftCabinet:"左柜",rightCabinet:"右柜",cabinetUnconnected:"{0}未连接",cabinetUnlock:"{0}未锁",cabinetLock:"{0}已锁",cabinetUnclosed:"{0}未关",cabinetClosed:"{0}已关"},reagentType:{mediumPackage:"中包装",singleMultiple:"单支多次",singleOnce:"单支一次",opened:"已开瓶",unopened:"未开瓶"},uv:{startTitle:"请离开终端",startTips:"<strong>{0}</strong>秒后开始消毒",cancelTask:"取消任务",ingPopupTitle:"正在紫外线消毒",ingPopupTips:"已消毒<i>{0}</i>分钟,剩余<strong>{1}</strong>小时<strong>{2}</strong>分钟",endTask:"结束消毒",endPopupTitle:"已消毒完毕",endPopupTips1:"等待",endPopupTips2:"秒后自动退出消毒模式",logout:"立即退出",pleaseLeaveCabinet:"正在紫外线消毒,请远离柜门"},loading:"加载中...",release:"释放更新",pullRefresh:"下拉刷新",isEnd:"已经到底了",noMoreData:"没有更多了",traceDetail:"全流程追溯详情",notConfiguredOffline:"未配置离线服务,请联系工程师处理!"}};submitFail: '提交失败!',
|
2
|
+
submitSuccess: '提交成功!',
|
3
|
+
saveFail: '保存失败!',
|
4
|
+
saveSuccess: '保存成功!',
|
5
|
+
noDataAndRefresh: '暂无数据,请刷新试试~',
|
6
|
+
noSearchRecord: '暂无搜索记录~',
|
7
|
+
noData: '暂无数据'
|
8
|
+
},
|
9
|
+
|
10
|
+
// 近效期
|
11
|
+
expriy: {
|
12
|
+
overdue: '过期',
|
13
|
+
oneMonth: '1个月',
|
14
|
+
threeMonth: '3个月',
|
15
|
+
sixMonth: '6个月'
|
16
|
+
},
|
17
|
+
// 柜子
|
18
|
+
cabinet: {
|
19
|
+
upCabinet: '上柜',
|
20
|
+
downCabinet: '下柜',
|
21
|
+
leftCabinet: '左柜',
|
22
|
+
rightCabinet: '右柜',
|
23
|
+
cabinetUnconnected: '{0}未连接',
|
24
|
+
cabinetUnlock: '{0}未锁',
|
25
|
+
cabinetLock: '{0}已锁',
|
26
|
+
cabinetUnclosed: '{0}未关',
|
27
|
+
cabinetClosed: '{0}已关'
|
28
|
+
},
|
29
|
+
// 试剂类型
|
30
|
+
reagentType: {
|
31
|
+
mediumPackage: '中包装',
|
32
|
+
singleMultiple: '单支多次',
|
33
|
+
singleOnce: '单支一次',
|
34
|
+
opened: '已开瓶',
|
35
|
+
unopened: '未开瓶'
|
36
|
+
},
|
37
|
+
// 紫外线消毒
|
38
|
+
uv: {
|
39
|
+
startTitle: '请离开终端',
|
40
|
+
startTips: '<strong>{0}</strong>秒后开始消毒',
|
41
|
+
cancelTask: '取消任务',
|
42
|
+
ingPopupTitle: '正在紫外线消毒',
|
43
|
+
ingPopupTips: '已消毒<i>{0}</i>分钟,剩余<strong>{1}</strong>小时<strong>{2}</strong>分钟',
|
44
|
+
endTask: '结束消毒',
|
45
|
+
endPopupTitle: '已消毒完毕',
|
46
|
+
endPopupTips1: '等待',
|
47
|
+
endPopupTips2: '秒后自动退出消毒模式',
|
48
|
+
logout: '立即退出',
|
49
|
+
pleaseLeaveCabinet: '正在紫外线消毒,请远离柜门'
|
50
|
+
},
|
51
|
+
// 其他
|
52
|
+
loading: '加载中...',
|
53
|
+
release: '释放更新',
|
54
|
+
pullRefresh: '下拉刷新',
|
55
|
+
isEnd: '已经到底了',
|
56
|
+
noMoreData: '没有更多了',
|
57
|
+
traceDetail: '全流程追溯详情',
|
58
|
+
notConfiguredOffline: '未配置离线服务,请联系工程师处理!'
|
59
|
+
}
|
60
|
+
}
|
package/nubomed-ui.common.js
CHANGED
@@ -4567,7 +4567,7 @@ src.install = function (Vue) {
|
|
4567
4567
|
|
4568
4568
|
/***/ }),
|
4569
4569
|
|
4570
|
-
/***/
|
4570
|
+
/***/ 2428:
|
4571
4571
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
4572
4572
|
|
4573
4573
|
"use strict";
|
@@ -4579,8 +4579,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
4579
4579
|
"default": function() { return /* binding */ NBInputFilter; }
|
4580
4580
|
});
|
4581
4581
|
|
4582
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBInputFilter/src/index.vue?vue&type=template&id=
|
4583
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"nb-input-filter",class:[_vm.isFocus ? 'is-focus' : '', _vm.size]},[_c('el-input',{ref:"input",attrs:{"size":_vm.size,"clearable":_vm.clearable,"disabled":_vm.disabled,"placeholder":_vm.placeholder},on:{"input":_vm.onInput,"focus":_vm.onInputFocus,"blur":_vm.onInputBlur,"clear":_vm.onInputClear},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}}),_c('el-popover',{attrs:{"placement":"bottom-start","trigger":"manual","popper-class":("nb-select-filter-popover nb-select-filter-popover--" + _vm.size)},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[(_vm.isRemote)?_c('ul',{staticClass:"nb-select-filter-options"},[(_vm.options.length === 0)?_c('li',{staticClass:"null"},[_vm._v(_vm._s(_vm.
|
4582
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBInputFilter/src/index.vue?vue&type=template&id=3067983c&scoped=true
|
4583
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"nb-input-filter",class:[_vm.isFocus ? 'is-focus' : '', _vm.size]},[_c('el-input',{ref:"input",attrs:{"size":_vm.size,"clearable":_vm.clearable,"disabled":_vm.disabled,"placeholder":_vm.placeholder},on:{"input":_vm.onInput,"focus":_vm.onInputFocus,"blur":_vm.onInputBlur,"clear":_vm.onInputClear},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}}),_c('el-popover',{attrs:{"placement":"bottom-start","trigger":"manual","popper-class":("nb-select-filter-popover nb-select-filter-popover--" + _vm.size)},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[(_vm.isRemote)?_c('ul',{staticClass:"nb-select-filter-options"},[(_vm.options.length === 0)?_c('li',{staticClass:"null"},[_vm._v(_vm._s(_vm.emptyText))]):_vm._e(),_vm._l((_vm.options),function(item,index){return _c('li',{key:index,class:_vm.optionClass(item),on:{"click":function($event){$event.stopPropagation();return _vm.onChecked(item)}}},[_vm._v(" "+_vm._s(item[_vm.optionProps.label])+" ")])})],2):_c('ul',{staticClass:"nb-select-filter-options"},[(_vm.showOptions.length === 0)?_c('li',{staticClass:"null"},[_vm._v(_vm._s(_vm.emptyText))]):_vm._e(),_vm._l((_vm.showOptions),function(item,index){return _c('li',{key:index,class:_vm.optionClass(item),on:{"click":function($event){$event.stopPropagation();return _vm.onChecked(item)}}},[_vm._v(" "+_vm._s(item[_vm.optionProps.label])+" ")])})],2)])],1)}
|
4584
4584
|
var staticRenderFns = []
|
4585
4585
|
|
4586
4586
|
|
@@ -4588,8 +4588,6 @@ var staticRenderFns = []
|
|
4588
4588
|
var esnext_iterator_constructor = __webpack_require__(8992);
|
4589
4589
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js
|
4590
4590
|
var esnext_iterator_filter = __webpack_require__(4520);
|
4591
|
-
// EXTERNAL MODULE: ./packages/mixins/index.js
|
4592
|
-
var mixins = __webpack_require__(5289);
|
4593
4591
|
// EXTERNAL MODULE: ./packages/utils/util.js
|
4594
4592
|
var util = __webpack_require__(7766);
|
4595
4593
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBInputFilter/src/index.vue?vue&type=script&lang=js
|
@@ -4643,10 +4641,8 @@ var util = __webpack_require__(7766);
|
|
4643
4641
|
//
|
4644
4642
|
|
4645
4643
|
|
4646
|
-
|
4647
4644
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
4648
4645
|
name: 'NBInputFilter',
|
4649
|
-
mixins: [mixins/* default */.A],
|
4650
4646
|
model: {
|
4651
4647
|
prop: 'modelValue',
|
4652
4648
|
event: 'input'
|
@@ -4676,6 +4672,11 @@ var util = __webpack_require__(7766);
|
|
4676
4672
|
return {};
|
4677
4673
|
}
|
4678
4674
|
},
|
4675
|
+
// 无数据时显示的文字
|
4676
|
+
emptyText: {
|
4677
|
+
type: String,
|
4678
|
+
default: ''
|
4679
|
+
},
|
4679
4680
|
// 大小:不指定:400*72px | mini: 184*48px | small:240*56px | medium:280*64px | large: 480*80px
|
4680
4681
|
size: {
|
4681
4682
|
type: String,
|
@@ -4818,7 +4819,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
4818
4819
|
staticRenderFns,
|
4819
4820
|
false,
|
4820
4821
|
null,
|
4821
|
-
"
|
4822
|
+
"3067983c",
|
4822
4823
|
null
|
4823
4824
|
|
4824
4825
|
)
|
@@ -18979,7 +18980,7 @@ src.install = function (Vue) {
|
|
18979
18980
|
|
18980
18981
|
/***/ }),
|
18981
18982
|
|
18982
|
-
/***/
|
18983
|
+
/***/ 174:
|
18983
18984
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
18984
18985
|
|
18985
18986
|
"use strict";
|
@@ -18991,15 +18992,19 @@ __webpack_require__.d(__webpack_exports__, {
|
|
18991
18992
|
"default": function() { return /* binding */ NBNoticeMarquee; }
|
18992
18993
|
});
|
18993
18994
|
|
18994
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNoticeMarquee/src/index.vue?vue&type=template&id=
|
18995
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-notice-marquee"},[_c('nb-icon',{attrs:{"icon":"voice-filled"}}),_c('div',{staticClass:"nb-notice-marquee__wrapper"},[
|
18995
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNoticeMarquee/src/index.vue?vue&type=template&id=80ce6306&scoped=true
|
18996
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-notice-marquee"},[_c('nb-icon',{attrs:{"icon":"voice-filled"}}),_c('div',{ref:"container",staticClass:"nb-notice-marquee__wrapper"},[_c('div',{ref:"content",staticClass:"nb-notice-marquee__text",style:(_vm.contentStyle),on:{"mouseenter":_vm.pauseScroll,"mouseleave":_vm.resumeScroll}},[_vm._l((_vm.list),function(item,index){return [_c('span',{key:index,staticClass:"nb-notice-marquee__item",on:{"click":function($event){$event.stopPropagation();return _vm.clickItem(item)}}},[_vm._v(" "+_vm._s(item.msg)+" ")])]}),(_vm.shouldScroll)?[_vm._l((_vm.list),function(item,index){return [_c('span',{key:index + '_copy',staticClass:"nb-notice-marquee__item",on:{"click":function($event){$event.stopPropagation();return _vm.clickItem(item)}}},[_vm._v(" "+_vm._s(item.msg)+" ")])]})]:_vm._e()],2)])],1)}
|
18996
18997
|
var staticRenderFns = []
|
18997
18998
|
|
18998
18999
|
|
18999
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js
|
19000
|
-
var esnext_iterator_map = __webpack_require__(1454);
|
19001
19000
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNoticeMarquee/src/index.vue?vue&type=script&lang=js
|
19002
|
-
|
19001
|
+
//
|
19002
|
+
//
|
19003
|
+
//
|
19004
|
+
//
|
19005
|
+
//
|
19006
|
+
//
|
19007
|
+
//
|
19003
19008
|
//
|
19004
19009
|
//
|
19005
19010
|
//
|
@@ -19029,71 +19034,123 @@ var esnext_iterator_map = __webpack_require__(1454);
|
|
19029
19034
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
19030
19035
|
name: 'NBNoticeMarquee',
|
19031
19036
|
props: {
|
19032
|
-
//
|
19033
|
-
text: {
|
19034
|
-
type: String,
|
19035
|
-
default: ''
|
19036
|
-
},
|
19037
|
-
// 消息列表
|
19038
|
-
// path 消息中心路径
|
19039
|
-
// msg 消息内容
|
19037
|
+
// 消息列表: path 消息中心路径,msg 消息内容
|
19040
19038
|
list: {
|
19041
19039
|
type: Array,
|
19042
19040
|
default: () => {
|
19043
19041
|
return [];
|
19044
19042
|
}
|
19045
19043
|
},
|
19044
|
+
// 鼠标移入是否需要暂停
|
19045
|
+
needPause: {
|
19046
|
+
type: Boolean,
|
19047
|
+
default: false
|
19048
|
+
},
|
19046
19049
|
// 每一帧滚动距离
|
19047
|
-
|
19050
|
+
scrollSpeed: {
|
19048
19051
|
type: Number,
|
19049
|
-
default:
|
19052
|
+
default: 50,
|
19053
|
+
// 像素/秒
|
19054
|
+
validator: value => value > 0
|
19050
19055
|
}
|
19051
19056
|
},
|
19052
19057
|
data() {
|
19053
19058
|
return {
|
19054
|
-
|
19059
|
+
shouldScroll: false,
|
19060
|
+
contentWidth: 0,
|
19061
|
+
containerWidth: 0,
|
19062
|
+
animationDuration: 0,
|
19063
|
+
isPaused: false
|
19055
19064
|
};
|
19056
19065
|
},
|
19057
19066
|
computed: {
|
19058
19067
|
len() {
|
19059
19068
|
return this.list.length;
|
19060
19069
|
},
|
19061
|
-
|
19062
|
-
|
19063
|
-
|
19064
|
-
|
19070
|
+
contentStyle() {
|
19071
|
+
if (!this.shouldScroll) return {};
|
19072
|
+
return {
|
19073
|
+
animation: `scroll ${this.animationDuration}s linear infinite`,
|
19074
|
+
animationPlayState: this.isPaused ? 'paused' : 'running'
|
19075
|
+
};
|
19065
19076
|
}
|
19066
19077
|
},
|
19067
19078
|
watch: {
|
19068
19079
|
len() {
|
19069
19080
|
// 计算动画时间
|
19070
|
-
this.
|
19081
|
+
this.checkScroll();
|
19071
19082
|
}
|
19072
19083
|
},
|
19073
19084
|
mounted() {
|
19074
19085
|
// 计算动画时间
|
19075
|
-
this.
|
19086
|
+
this.checkScroll();
|
19087
|
+
window.addEventListener('resize', this.handleResize);
|
19088
|
+
},
|
19089
|
+
beforeDestroy() {
|
19090
|
+
this.cancelAnimationFrame();
|
19091
|
+
window.removeEventListener('resize', this.handleResize);
|
19076
19092
|
},
|
19077
19093
|
methods: {
|
19094
|
+
clickItem(item) {
|
19095
|
+
this.$emit('click-menu', item.path, item);
|
19096
|
+
},
|
19078
19097
|
// 计算动画时间
|
19079
|
-
|
19098
|
+
checkScroll() {
|
19080
19099
|
this.$nextTick(() => {
|
19081
|
-
|
19082
|
-
|
19083
|
-
|
19084
|
-
|
19085
|
-
|
19086
|
-
|
19087
|
-
|
19088
|
-
|
19089
|
-
this.animationDuration = 0;
|
19090
|
-
}
|
19100
|
+
this.containerWidth = this.$refs.container.offsetWidth; // 容器宽度
|
19101
|
+
this.contentWidth = this.$refs.content.scrollWidth / (this.shouldScroll ? 2 : 1); // 滚动内容宽度
|
19102
|
+
|
19103
|
+
// 当前文字溢出则开启滚动
|
19104
|
+
this.shouldScroll = this.contentWidth > this.containerWidth;
|
19105
|
+
if (this.shouldScroll) {
|
19106
|
+
this.animationDuration = this.contentWidth / this.scrollSpeed;
|
19107
|
+
this.addAnimationStyle();
|
19091
19108
|
}
|
19092
19109
|
});
|
19093
19110
|
},
|
19094
|
-
|
19095
|
-
|
19096
|
-
|
19111
|
+
addAnimationStyle() {
|
19112
|
+
// 移除旧的样式
|
19113
|
+
const oldStyle = document.getElementById('news-scroller-style');
|
19114
|
+
if (oldStyle) oldStyle.remove();
|
19115
|
+
|
19116
|
+
// 添加新的样式
|
19117
|
+
const style = document.createElement('style');
|
19118
|
+
style.id = 'news-scroller-style';
|
19119
|
+
style.innerHTML = `
|
19120
|
+
@keyframes scroll {
|
19121
|
+
0% { transform: translateX(0); }
|
19122
|
+
100% { transform: translateX(-${this.contentWidth}px); }
|
19123
|
+
}
|
19124
|
+
`;
|
19125
|
+
document.head.appendChild(style);
|
19126
|
+
},
|
19127
|
+
// 暂停滚动
|
19128
|
+
pauseScroll() {
|
19129
|
+
if (this.shouldScroll && this.needPause) {
|
19130
|
+
this.isPaused = true;
|
19131
|
+
}
|
19132
|
+
},
|
19133
|
+
// 恢复滚动
|
19134
|
+
resumeScroll() {
|
19135
|
+
if (this.shouldScroll && this.needPause) {
|
19136
|
+
this.isPaused = false;
|
19137
|
+
}
|
19138
|
+
},
|
19139
|
+
// 处理窗口大小变化
|
19140
|
+
handleResize() {
|
19141
|
+
// 1. 先取消之前未执行的动画帧
|
19142
|
+
this.cancelAnimationFrame();
|
19143
|
+
// 2. 请求新的动画帧
|
19144
|
+
this.requestId = requestAnimationFrame(() => {
|
19145
|
+
// 3. 在浏览器准备好绘制下一帧时执行检测
|
19146
|
+
this.checkScroll();
|
19147
|
+
});
|
19148
|
+
},
|
19149
|
+
// 取消动画帧
|
19150
|
+
cancelAnimationFrame() {
|
19151
|
+
if (this.requestId) {
|
19152
|
+
cancelAnimationFrame(this.requestId);
|
19153
|
+
}
|
19097
19154
|
}
|
19098
19155
|
}
|
19099
19156
|
});
|
@@ -19115,7 +19172,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
19115
19172
|
staticRenderFns,
|
19116
19173
|
false,
|
19117
19174
|
null,
|
19118
|
-
"
|
19175
|
+
"80ce6306",
|
19119
19176
|
null
|
19120
19177
|
|
19121
19178
|
)
|
@@ -23685,7 +23742,7 @@ var map = {
|
|
23685
23742
|
"./NBGroupListItem/index.js": 4934,
|
23686
23743
|
"./NBHeader/index.js": 5526,
|
23687
23744
|
"./NBIcon/index.js": 384,
|
23688
|
-
"./NBInputFilter/index.js":
|
23745
|
+
"./NBInputFilter/index.js": 2428,
|
23689
23746
|
"./NBInputGroup/index.js": 8968,
|
23690
23747
|
"./NBInputNumber/index.js": 4788,
|
23691
23748
|
"./NBInputTime/index.js": 3329,
|
@@ -23698,7 +23755,7 @@ var map = {
|
|
23698
23755
|
"./NBMessageDialog/index.js": 8372,
|
23699
23756
|
"./NBNameSpecCard/index.js": 3585,
|
23700
23757
|
"./NBNameToggleCard/index.js": 8428,
|
23701
|
-
"./NBNoticeMarquee/index.js":
|
23758
|
+
"./NBNoticeMarquee/index.js": 174,
|
23702
23759
|
"./NBOutFooterDialog/index.js": 5704,
|
23703
23760
|
"./NBPagination/index.js": 2372,
|
23704
23761
|
"./NBPatientCard/index.js": 9082,
|
@@ -26689,7 +26746,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
|
|
26689
26746
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
|
26690
26747
|
var esnext_iterator_for_each = __webpack_require__(3949);
|
26691
26748
|
;// ./package.json
|
26692
|
-
var package_namespaceObject = {"rE":"2.0.
|
26749
|
+
var package_namespaceObject = {"rE":"2.0.180"};
|
26693
26750
|
;// ./packages/utils/convert.js
|
26694
26751
|
/**
|
26695
26752
|
* 将大驼峰(camelCase)字符串转换为小写且带有空格分隔的形式(kebab-case)
|