diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue index 4c2c03f..ef907ec 100644 --- a/pages/NursingNew/component/index.vue +++ b/pages/NursingNew/component/index.vue @@ -271,13 +271,13 @@ - + 长者标签 - + @@ -287,11 +287,13 @@ 体重标签 - + {{v.tagName}} - + @@ -300,16 +302,23 @@ 情绪标签 - + {{v.tagName}} - + + + + + + {{ tagtarget==-1?'':detail }} + - + @@ -1014,9 +1023,109 @@ }) } } + function getStatusDesc(type) { + switch (type) { + case '稳定': + return '标准情绪'; + + case '标准': + return '标准体重;女100-120,男:120-150'; + + case '焦虑': + return '无法控制情绪(哭泣/大笑)'; + + case '超重': + return '女超过120,男超过150'; + + case '抑郁': + return '有自杀倾向'; + + case '强直': + return '四肢承伸直且僵硬无法弯曲状(标识要区分为左右和手脚)'; + + case '暴力': + return '有攻击他人倾向'; + + case '偏瘫': + return '四肢无知觉且无法支配但是并无僵硬,可弯曲(标识要区分为左右和手脚)'; + + case '恐惧': + return '被害妄想'; + + case '佝偻': + return '四肢承弯曲且僵硬无法伸直状(标识要区分为左右和手脚)'; + + case '烦躁': + return '对服务和对话都不耐烦'; + + case '易怒': + return '骂人'; + + case '臆想': + return '骗人/说谎,胡言乱语'; + + default: + return ''; + } + } + function getleft(index) { + switch (index) { + case 0: + return 2.2; + + case 1: + return 6; + + case 2: + return 9.8; + + case 3: + return 13.4; + + + } + } + const tagtarget = ref(-1); + const detail = ref("") + const leftnumber = ref(2.2) + const clicktag = (item, index) => { + tagtarget.value = index; + detail.value = getStatusDesc(item.tagName) + leftnumber.value = getleft(index) + }