瀏覽代碼

微信检查列表默认为检查状态为待陪检

seimin 3 年之前
父節點
當前提交
8f7c14153d
共有 2 個文件被更改,包括 14 次插入8 次删除
  1. 3 3
      components/fjj-condition/fjj-condition.vue
  2. 11 5
      pages/inspectList/inspectList.vue

+ 3 - 3
components/fjj-condition/fjj-condition.vue

@@ -264,7 +264,7 @@
264
         maxNumber: "",
264
         maxNumber: "",
265
         keyWord: "",
265
         keyWord: "",
266
         bedNumSort: false,
266
         bedNumSort: false,
267
-        inspectStateIndex: 0,
267
+        inspectStateIndex: 1,
268
         inspectStateNameList: [], //检查状态名称列表
268
         inspectStateNameList: [], //检查状态名称列表
269
         inspectStateValueList: [], //检查状态value列表
269
         inspectStateValueList: [], //检查状态value列表
270
       };
270
       };
@@ -351,7 +351,7 @@
351
         this.maxNumber = "";
351
         this.maxNumber = "";
352
         this.keyWord = "";
352
         this.keyWord = "";
353
         this.bedNumSort = false;
353
         this.bedNumSort = false;
354
-        this.inspectStateIndex = 0;
354
+        this.inspectStateIndex = 1;
355
         this.single = [new Date().Format("yyyy/MM/dd")];
355
         this.single = [new Date().Format("yyyy/MM/dd")];
356
         for (let key in this.result) {
356
         for (let key in this.result) {
357
           if (typeof this.result[key] == "object") {
357
           if (typeof this.result[key] == "object") {
@@ -365,7 +365,7 @@
365
               this.result[key] = false;
365
               this.result[key] = false;
366
             } else if (key == "inspectState") {
366
             } else if (key == "inspectState") {
367
               this.result[key] = 0;
367
               this.result[key] = 0;
368
-              this.inspectStateIndex = 0;
368
+              this.inspectStateIndex = 1;
369
             } else {
369
             } else {
370
               this.result[key] = "";
370
               this.result[key] = "";
371
             }
371
             }

+ 11 - 5
pages/inspectList/inspectList.vue

@@ -77,6 +77,16 @@
77
                   <text class="p_info"
77
                   <text class="p_info"
78
                     :class="{red:item.priority==='1'||item.priority===1}">{{(item.priority==='1'||item.priority===1)?'是':'否'}}</text>
78
                     :class="{red:item.priority==='1'||item.priority===1}">{{(item.priority==='1'||item.priority===1)?'是':'否'}}</text>
79
                 </view>
79
                 </view>
80
+                <view>
81
+                  <text class="p_title">护理等级:</text>
82
+                  <text class="p_info"
83
+                    :class="{red:item.careLevel&&(item.careLevel.value==0||item.careLevel.value==1)}">{{item.careLevel?item.careLevel.name:'-'}}</text>
84
+                </view>
85
+                <view>
86
+                  <text class="p_title">病情级别:</text>
87
+                  <text class="p_info"
88
+                    :class="{red:item.illnessState&&(item.illnessState.value==2||item.illnessState.value==3)}">{{item.illnessState?item.illnessState.name:'-'}}</text>
89
+                </view>
80
               </view>
90
               </view>
81
             </view>
91
             </view>
82
           </view>
92
           </view>
@@ -146,7 +156,7 @@
146
           yyTime: new Date().Format("yyyy/MM/dd"),
156
           yyTime: new Date().Format("yyyy/MM/dd"),
147
           keyWord: "",
157
           keyWord: "",
148
           bedNumSort: false,
158
           bedNumSort: false,
149
-          inspectState: 0,
159
+          inspectState: 1,
150
         },
160
         },
151
         // 检查信息状态列表
161
         // 检查信息状态列表
152
         inspectStateList: [],
162
         inspectStateList: [],
@@ -672,8 +682,6 @@
672
             }
682
             }
673
 
683
 
674
             .page_item_cont {
684
             .page_item_cont {
675
-              min-height: 100rpx;
676
-              max-height: 344rpx;
677
               padding: 16rpx;
685
               padding: 16rpx;
678
               text-align: left;
686
               text-align: left;
679
               position: relative;
687
               position: relative;
@@ -681,8 +689,6 @@
681
               .page_item_conts {
689
               .page_item_conts {
682
                 color: rgb(102, 102, 102);
690
                 color: rgb(102, 102, 102);
683
                 font-size: 28rpx;
691
                 font-size: 28rpx;
684
-                min-height: 100rpx;
685
-                max-height: 344rpx;
686
 
692
 
687
                 view {
693
                 view {
688
                   margin-bottom: 10rpx;
694
                   margin-bottom: 10rpx;