浏览代码

页面字段展示优化

seimin 3 年之前
父节点
当前提交
3e5ed04026

+ 1 - 2
pages/scanning_B/scanning_B.vue

@@ -25,8 +25,7 @@
25
       <view>申请科室 : {{ infoDATA.sickRoom || "-" }}</view>
25
       <view>申请科室 : {{ infoDATA.sickRoom || "-" }}</view>
26
       <view>检验科室 : {{ infoDATA.checkDept || "-" }}</view>
26
       <view>检验科室 : {{ infoDATA.checkDept || "-" }}</view>
27
       <view>检验项目 : {{ res.data.specimenDesc || "-" }}</view>
27
       <view>检验项目 : {{ res.data.specimenDesc || "-" }}</view>
28
-      <view>患者姓名 : {{ res.data.patientName || "-" }}</view>
29
-      <view>床号 : {{res.data.bedNum || "-"}}</view>
28
+      <view>患者姓名 : {{ res.data.patientName}}<text v-if="res.data.bedNum">({{res.data.bedNum}})</text></view>
30
       <view>住院号 : {{ res.data.residenceNo || "-" }}</view>
29
       <view>住院号 : {{ res.data.residenceNo || "-" }}</view>
31
     </view>
30
     </view>
32
     <view class="Scanning_cont" v-else>
31
     <view class="Scanning_cont" v-else>

+ 3 - 3
pages/scanning_Result/scanning_Result.vue

@@ -30,8 +30,8 @@
30
       <view> 标本编号 : {{ infoDATA.scode || "-" }} </view>
30
       <view> 标本编号 : {{ infoDATA.scode || "-" }} </view>
31
       <view>检验科室 : {{ infoDATA.checkDept ? infoDATA.checkDept.dept : "-" }}</view>
31
       <view>检验科室 : {{ infoDATA.checkDept ? infoDATA.checkDept.dept : "-" }}</view>
32
       <view>检验项目 : {{ infoDATA.specimenDesc || "-" }}</view>
32
       <view>检验项目 : {{ infoDATA.specimenDesc || "-" }}</view>
33
-      <view>患者姓名 : {{ infoDATA.patientName || "-" }}</view>
34
-      <view>床号 : {{infoDATA.bedNum || "-"}}</view>
33
+      <view>患者姓名 : {{ infoDATA.patientName}}<text v-if="infoDATA.bedNum">({{infoDATA.bedNum}})</text></view>
34
+      <view>住院号 : {{infoDATA.residenceNo || "-"}}</view>
35
       <view> 已扫描 : {{ speNum }} </view>
35
       <view> 已扫描 : {{ speNum }} </view>
36
     </view>
36
     </view>
37
 
37
 
@@ -76,7 +76,7 @@
76
       </view>
76
       </view>
77
     </view>
77
     </view>
78
     <view class="Scanning_cont" v-if="res.status == 200 && (type == 'drugsBag' || type == 'jPBag')">
78
     <view class="Scanning_cont" v-if="res.status == 200 && (type == 'drugsBag' || type == 'jPBag')">
79
-      <view> 药包类型 : {{infoDATA.packType ? DRUGSBAG_TYPE[infoDATA.packType] : "暂无"}} </view>
79
+      <view> 药包类型 : {{infoDATA.packType ? DRUGSBAG_TYPE[infoDATA.packType] : "-"}} </view>
80
       <view v-if="type == 'drugsBag'"> 药包编码 : #{{ infoDATA.packid }} </view>
80
       <view v-if="type == 'drugsBag'"> 药包编码 : #{{ infoDATA.packid }} </view>
81
       <view
81
       <view
82
         v-if="type == 'drugsBag' && accountObj && (queryObj.type1 === 'drug-ddd-2' || queryObj.type1 === 'drug-dsd-2')">
82
         v-if="type == 'drugsBag' && accountObj && (queryObj.type1 === 'drug-ddd-2' || queryObj.type1 === 'drug-dsd-2')">

+ 3 - 3
pages/scanning_djInfo/scanning_djInfo.vue

@@ -38,8 +38,8 @@
38
       <view>标本编号 : {{ infoDATA.data.scode || "-" }}</view>
38
       <view>标本编号 : {{ infoDATA.data.scode || "-" }}</view>
39
       <view>检验科室 : {{ infoDATA.data.checkDept ? infoDATA.data.checkDept.dept : "-" }}</view>
39
       <view>检验科室 : {{ infoDATA.data.checkDept ? infoDATA.data.checkDept.dept : "-" }}</view>
40
       <view>检验项目 : {{ infoDATA.data.specimenDesc || "-" }}</view>
40
       <view>检验项目 : {{ infoDATA.data.specimenDesc || "-" }}</view>
41
-      <view>患者姓名 : {{ infoDATA.data.patientName || "-" }}</view>
42
-      <view>床号 : {{infoDATA.data.bedNum || "-"}}</view>
41
+      <view>患者姓名 : {{ infoDATA.data.patientName}}<text v-if="infoDATA.data.bedNum">({{infoDATA.data.bedNum}})</text></view>
42
+      <view>住院号 : {{ infoDATA.data.residenceNo || "-" }}</view>
43
       <view v-if="
43
       <view v-if="
44
           accountObj && infoType !== 'spe-ddd-1' && infoType !== 'spe-dsd-1'&& infoType !== 'plan-spe-ddd-1' && infoType !== 'plan-spe-dsd-1'
44
           accountObj && infoType !== 'spe-ddd-1' && infoType !== 'spe-dsd-1'&& infoType !== 'plan-spe-ddd-1' && infoType !== 'plan-spe-dsd-1'
45
         ">
45
         ">
@@ -74,7 +74,7 @@
74
         (res.status == 200 && type == 'drugsBag') ||
74
         (res.status == 200 && type == 'drugsBag') ||
75
         (res.status == 200 && type == 'jPBag')
75
         (res.status == 200 && type == 'jPBag')
76
       ">
76
       ">
77
-      <view> 药包类型 : {{infoDATA.data.packType ? DRUGSBAG_TYPE[infoDATA.data.packType] : "暂无"}} </view>
77
+      <view> 药包类型 : {{infoDATA.data.packType ? DRUGSBAG_TYPE[infoDATA.data.packType] : "-"}} </view>
78
       <view v-if="type == 'drugsBag'">药包编码 : #{{ infoDATA.data.packid }}</view>
78
       <view v-if="type == 'drugsBag'">药包编码 : #{{ infoDATA.data.packid }}</view>
79
       <view v-if="type == 'jPBag'">静配编码 : #{{ infoDATA.data.packid }}</view>
79
       <view v-if="type == 'jPBag'">静配编码 : #{{ infoDATA.data.packid }}</view>
80
       <view>所属科室 : {{ infoDATA.data.target.dept }}</view>
80
       <view>所属科室 : {{ infoDATA.data.target.dept }}</view>

+ 8 - 8
pages/scanning_drug/scanning_drug.vue

@@ -6,11 +6,11 @@
6
         <view class="page_item_top">
6
         <view class="page_item_top">
7
           <view class="page_item_top-inner">
7
           <view class="page_item_top-inner">
8
             <view class="page_item_top_L">
8
             <view class="page_item_top_L">
9
-              <text class="L_text">请领单:{{ drugsBagDto.packid||'暂无' }}</text>
9
+              <text class="L_text">请领单:{{ drugsBagDto.packid||'-' }}</text>
10
             </view>
10
             </view>
11
             <view class="page_item_top_R">
11
             <view class="page_item_top_R">
12
               <text class="L_iocn">{{
12
               <text class="L_iocn">{{
13
-                drugsBagDto.drugsState ? drugsBagDto.drugsState.name : "暂无"
13
+                drugsBagDto.drugsState ? drugsBagDto.drugsState.name : "-"
14
               }}</text>
14
               }}</text>
15
             </view>
15
             </view>
16
           </view>
16
           </view>
@@ -21,7 +21,7 @@
21
               <text>药包类型</text>
21
               <text>药包类型</text>
22
               <text class="text_big">
22
               <text class="text_big">
23
                 <text>
23
                 <text>
24
-                  {{drugsBagDto.packType ? DRUGSBAG_TYPE[drugsBagDto.packType] : "暂无"}}
24
+                  {{drugsBagDto.packType ? DRUGSBAG_TYPE[drugsBagDto.packType] : "-"}}
25
                 </text>
25
                 </text>
26
               </text>
26
               </text>
27
             </view>
27
             </view>
@@ -30,7 +30,7 @@
30
             <view class="page_item_cont_title_C">
30
             <view class="page_item_cont_title_C">
31
               <text>记账时间</text>
31
               <text>记账时间</text>
32
               <text class="text_big">
32
               <text class="text_big">
33
-                <text>{{ drugsBagDto.creatTime||'暂无' }}</text>
33
+                <text>{{ drugsBagDto.creatTime||'-' }}</text>
34
               </text>
34
               </text>
35
             </view>
35
             </view>
36
           </view>
36
           </view>
@@ -39,7 +39,7 @@
39
               <text>请领科室</text>
39
               <text>请领科室</text>
40
               <text class="text_big">
40
               <text class="text_big">
41
                 <text>{{
41
                 <text>{{
42
-                  drugsBagDto.target ? drugsBagDto.target.dept : "暂无"
42
+                  drugsBagDto.target ? drugsBagDto.target.dept : "-"
43
                 }}</text>
43
                 }}</text>
44
               </text>
44
               </text>
45
             </view>
45
             </view>
@@ -48,7 +48,7 @@
48
             <view class="page_item_cont_title_C">
48
             <view class="page_item_cont_title_C">
49
               <text>单号</text>
49
               <text>单号</text>
50
               <text class="text_big">
50
               <text class="text_big">
51
-                <text>{{ workOrder.gdcode||'暂无' }}</text>
51
+                <text>{{ workOrder.gdcode||'-' }}</text>
52
               </text>
52
               </text>
53
             </view>
53
             </view>
54
           </view>
54
           </view>
@@ -57,7 +57,7 @@
57
               <text>状态</text>
57
               <text>状态</text>
58
               <text class="text_big">
58
               <text class="text_big">
59
                 <text>{{
59
                 <text>{{
60
-                  workOrder.gdState ? workOrder.gdState.name : "暂无"
60
+                  workOrder.gdState ? workOrder.gdState.name : "-"
61
                 }}</text>
61
                 }}</text>
62
               </text>
62
               </text>
63
             </view>
63
             </view>
@@ -66,7 +66,7 @@
66
             <view class="page_item_cont_title_C">
66
             <view class="page_item_cont_title_C">
67
               <text>服务人员</text>
67
               <text>服务人员</text>
68
               <text class="text_big">
68
               <text class="text_big">
69
-                <text>{{ workOrder.worker ? workOrder.worker.name : "暂无" }}</text>
69
+                <text>{{ workOrder.worker ? workOrder.worker.name : "-" }}</text>
70
               </text>
70
               </text>
71
             </view>
71
             </view>
72
           </view>
72
           </view>