123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- <template>
- <div class="plate-box">
- <h2 class="title">
- <span class="line"></span>
- <p>{{ title }}</p>
- <span class="line"></span>
- </h2>
- <div class="plate">
- <ul>
- <li v-if="isShow('入室方式')">
- <label>入室方式 :</label>
- <span class="content">{{ way }}</span>
- </li>
- <li v-if="isShow('病人情况')">
- <label>病人情况 :</label>
- <span class="content">{{ condition }}</span>
- </li>
- <li v-if="isShow('病人意识')">
- <label>病人意识 :</label>
- <span class="content">{{ consciousness }}</span>
- </li>
- <li v-if="isShow('体位')">
- <label>体位 :</label>
- <span class="content">{{ posture }}</span>
- </li>
- <!-- </ul>
-
- <ul>-->
- <li v-if="isShow('病人食欲')">
- <label>病人食欲 :</label>
- <span class="content">{{ appetite }}</span>
- </li>
- <li v-if="isShow('病情')">
- <label>病情</label>
- <span class="content">{{ sickCondition }}</span>
- </li>
-
- <li v-if="isShow('其他病情')">
- <label>其他病情</label>
- <span class="content">{{ this.record.sick_condition_other }}</span>
- </li>
-
- <li v-if="isShow('跌倒风险评估评分')">
- <label>跌倒风险评估评分:</label>
- <span class="content">{{ this.record.score }}分</span>
- </li>
- <li v-if="isShow('风险程度')">
- <label>风险程度:</label>
- <span class="content">{{ dangerLevel }}</span>
- </li>
-
- <li v-if="isShow('跌倒风险预防措施')">
- <label>跌倒风险预防措施:</label>
- <span class="content">{{ precautions }}</span>
- </li>
-
- <li v-if="isShow('其他跌倒风险预防措施')">
- <label>其他跌倒风险预防措施:</label>
- <span class="content">{{ this.record.precaution_other }}</span>
- </li>
-
-
-
- <li v-if="isShow('摄入量')">
- <label>摄入量:</label>
- <span class="content">{{ intakes }}</span>
- </li>
-
- <!-- </ul>
-
- <ul >-->
- <li v-if="isShow('营养状况')">
- <label>营养状况:</label>
- <span class="content">{{ nutritions }}</span>
- </li>
- <li v-if="isShow('心理评估')">
- <label>心理评估</label>
- <span class="content">{{ psychologicalAssessment }}</span>
- </li>
- <li
- v-if="
- isShow('心理评估异常原因') &&
- this.record.psychological_assessment == 2
- "
- >
- <label>心理评估异常原因:</label>
- <span class="content">{{
- this.record.psychological_assessment_other
- }}</span>
- </li>
- <li v-if="isShow('其他心理评估')">
- <label>其他心理评估:</label>
- <span class="content">{{ this.record.psychological_other }}</span>
- </li>
- </ul>
- </div>
- </div>
- </template>
-
- <script>
- export default {
- name: "AcceptsAssessment",
- data() {
- return {
- title: "接诊评估 ",
-
- ways: {
- "1": "步行",
- "2": "扶行",
- "3": "轮椅",
- "4": "平车"
- },
- conditions: {
- "1": "住院",
- "2": "门诊",
- "3": "手术期"
- },
- consciousnesses: {
- "1": "清醒",
- "2": "嗜睡",
- "3": "昏迷",
- "4": "模糊"
- },
- appetites: {
- "1": "正常",
- "2": "减退",
- "3": "恶心",
- "4": "呕吐",
- "5": "腹泻"
- },
- postures: {
- "1": "自动体位",
- "2": "平卧位",
- "3": "半卧位",
- "4": "端坐位",
- "5": "躁动不安"
- },
- sick_condition: {
- "1": "一般",
- "2": "重",
- "3": "危"
- },
- danger_level: {
- "1": "无",
- "2": "低风险",
- "3": "中度风险",
- "4": "高风险"
- },
- intake: {
- "1": "正常",
- "2": "减少"
- },
- nutrition: {
- "1": "正常",
- "2": "营养不良"
- },
- psychological_assessment: {
- "1": "正常",
- "2": "异常"
- },
- precautionss: {
- "1": "镇定剂",
- "2": "约束带",
- "3": "床栏",
- "4": "加强宣教"
- }
- };
- },
- props: {
- record: {
- type: Object
- }
- },
- computed: {
- way: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.ways[this.record.way] == undefined
- ? ""
- : this.ways[this.record.way] + "";
- }
- },
- condition: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.conditions[this.record.condition] == undefined
- ? ""
- : this.conditions[this.record.condition] + "";
- }
- },
- consciousness: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.consciousnesses[this.record.consciousness] == undefined
- ? ""
- : this.consciousnesses[this.record.consciousness] + "";
- }
- },
- appetite: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.appetites[this.record.appetite] == undefined
- ? ""
- : this.appetites[this.record.appetite] + "";
- }
- },
- posture: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.postures[this.record.posture] == undefined
- ? ""
- : this.postures[this.record.posture] + "";
- }
- },
- sickCondition: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.sick_condition[this.record.sick_condition] == undefined
- ? ""
- : this.sick_condition[this.record.sick_condition] + "";
- }
- },
- dangerLevel: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.danger_level[this.record.danger_level] == undefined
- ? ""
- : this.danger_level[this.record.danger_level] + "";
- }
- },
- precautions: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.precautionss[this.record.precaution] == undefined
- ? ""
- : this.precautionss[this.record.precaution] + "";
- }
- },
- intakes: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.intake[this.record.intake] == undefined
- ? ""
- : this.intake[this.record.intake] + "";
- }
- },
- nutritions: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.nutrition[this.record.nutrition] == undefined
- ? ""
- : this.nutrition[this.record.nutrition] + "";
- }
- },
- psychologicalAssessment: function() {
- if (this.record == null || this.record.id == "") {
- return "";
- } else {
- return this.psychological_assessment[
- this.record.psychological_assessment
- ] == undefined
- ? ""
- : this.psychological_assessment[
- this.record.psychological_assessment
- ] + "";
- }
- }
- },
- methods: {
- isShow(name) {
- var filedList = this.$store.getters.user.fileds;
-
- for (let i = 0; i < filedList.length; i++) {
- if (
- filedList[i].module == 2 &&
- filedList[i].filed_name_cn == name &&
- filedList[i].is_show == 1
- ) {
- return true;
- }
- }
- return false;
- }
- }
- };
- </script>
-
- <style rel="stylesheet/scss" lang="scss" scoped></style>
|