浏览代码

是否需要医护陪同

seimin 3 年之前
父节点
当前提交
ba7e5e674b
共有 2 个文件被更改,包括 28 次插入6 次删除
  1. 12 2
      pages/receipt_infopage/receipt_infopage.vue
  2. 16 4
      pages/receiptpage/receiptpage.vue

+ 12 - 2
pages/receipt_infopage/receipt_infopage.vue

@@ -142,14 +142,24 @@
142 142
             infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.careLevel
143 143
           ">
144 144
           <text class="text1">{{infoDATA.patient.careLevel.desc}}</text>
145
-          <text class="text2 green">{{infoDATA.patient.careLevel.name}}</text>
145
+          <text class="text2"
146
+            :class="[(infoDATA.patient.careLevel.value==0||infoDATA.patient.careLevel.value==1)?'red':'green']">{{infoDATA.patient.careLevel.name}}</text>
146 147
         </view>
147 148
         <view class="page_item_foot_text" v-if="
148 149
             (infoDATA.taskType.associationType.value == 'inspect' ||
149 150
             infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.illnessState
150 151
           ">
151 152
           <text class="text1">{{infoDATA.patient.illnessState.desc}}</text>
152
-          <text class="text2 red">{{infoDATA.patient.illnessState.name}}</text>
153
+          <text class="text2"
154
+            :class="{red:infoDATA.patient.illnessState.value==2||infoDATA.patient.illnessState.value==3}">{{infoDATA.patient.illnessState.name}}</text>
155
+        </view>
156
+        <view class="page_item_foot_text"
157
+          v-if="
158
+            (infoDATA.taskType.associationType.value == 'inspect' ||
159
+            infoDATA.taskType.associationType.value == 'patientTransport')&&(infoDATA.isAccompany===1||infoDATA.isAccompany===0)">
160
+          <text class="text1">陪同情况</text>
161
+          <text class="text2"
162
+            :class="{red:infoDATA.isAccompany===1}">{{ infoDATA.isAccompany===1?'需要医护陪同':'无需医护陪同'}}</text>
153 163
         </view>
154 164
       </view>
155 165
       <!-- 药包 -->

+ 16 - 4
pages/receiptpage/receiptpage.vue

@@ -101,11 +101,17 @@
101 101
                 </view>
102 102
                 <view v-if="item.patient.careLevel">
103 103
                   护理等级 :
104
-                  <text>{{ item.patient.careLevel.name}}</text>
104
+                  <text
105
+                    :class="[(item.patient.careLevel.value==0||item.patient.careLevel.value==1)?'red':'green']">{{ item.patient.careLevel.name}}</text>
105 106
                 </view>
106 107
                 <view v-if="item.patient.illnessState">
107 108
                   病情级别 :
108
-                  <text class="red">{{ item.patient.illnessState.name}}</text>
109
+                  <text
110
+                    :class="{red:item.patient.illnessState.value==2||item.patient.illnessState.value==3}">{{ item.patient.illnessState.name}}</text>
111
+                </view>
112
+                <view v-if="item.isAccompany===1||item.isAccompany===0">
113
+                  陪同情况 :
114
+                  <text :class="{red:item.isAccompany===1}">{{ item.isAccompany===1?'需要医护陪同':'无需医护陪同'}}</text>
109 115
                 </view>
110 116
               </view>
111 117
               <view class="page_item_conts" v-if="item.taskType.associationType.value == 'patientTransport'">
@@ -120,11 +126,17 @@
120 126
                 </view>
121 127
                 <view v-if="item.patient.careLevel">
122 128
                   护理等级 :
123
-                  <text>{{ item.patient.careLevel.name}}</text>
129
+                  <text
130
+                    :class="[(item.patient.careLevel.value==0||item.patient.careLevel.value==1)?'red':'green']">{{ item.patient.careLevel.name}}</text>
124 131
                 </view>
125 132
                 <view v-if="item.patient.illnessState">
126 133
                   病情级别 :
127
-                  <text class="red">{{ item.patient.illnessState.name}}</text>
134
+                  <text
135
+                    :class="{red:item.patient.illnessState.value==2||item.patient.illnessState.value==3}">{{ item.patient.illnessState.name}}</text>
136
+                </view>
137
+                <view v-if="item.isAccompany===1||item.isAccompany===0">
138
+                  陪同情况 :
139
+                  <text :class="{red:item.isAccompany===1}">{{ item.isAccompany===1?'需要医护陪同':'无需医护陪同'}}</text>
128 140
                 </view>
129 141
               </view>
130 142
               <view class="line"></view>