3 Commits d5ea3f7410 ... be6989fb34

Author SHA1 Message Date
  seimin be6989fb34 优化 3 weeks ago
  seimin 8ea271f38b 演示平台 3 weeks ago
  seimin 3ce066759e 陪检优化 4 weeks ago

+ 1 - 1
App.vue

@@ -123,7 +123,7 @@
123
     height: 100%;
123
     height: 100%;
124
     box-sizing: border-box;
124
     box-sizing: border-box;
125
     /* padding-top: 96rpx; */
125
     /* padding-top: 96rpx; */
126
-    font-family: "Helvetica Neue";
126
+    font-family: "system-ui";
127
     -webkit-font-smoothing: antialiased;
127
     -webkit-font-smoothing: antialiased;
128
     -moz-osx-font-smoothing: grayscale;
128
     -moz-osx-font-smoothing: grayscale;
129
   }
129
   }

+ 25 - 3
components/showModel/showModel.vue

@@ -17,6 +17,11 @@
17
       <view class="showModel__article" :class="{ p0: textareaFlag, p1: radioInspectionDistanceItem.length, p2: childrenDeptList.length || busyContentList.length }">
17
       <view class="showModel__article" :class="{ p0: textareaFlag, p1: radioInspectionDistanceItem.length, p2: childrenDeptList.length || busyContentList.length }">
18
         <view v-if="content" class="showModel__content" @click="tel()" v-html="content"></view>
18
         <view v-if="content" class="showModel__content" @click="tel()" v-html="content"></view>
19
         <view v-if="info" class="showModel__info">{{ info }}</view>
19
         <view v-if="info" class="showModel__info">{{ info }}</view>
20
+        <view class="showModel__checkbox" v-if="checkBoxText">
21
+          <checkbox-group @change="changeIsCheck">
22
+            <checkbox value="isCheck" :checked="isCheck" color="#49b856" id="isCheck" /><label for="isCheck">{{checkBoxText}}</label>
23
+          </checkbox-group>
24
+        </view>
20
         <view class="specialCloseFlag" v-if="textareaFlag">
25
         <view class="specialCloseFlag" v-if="textareaFlag">
21
           <textarea
26
           <textarea
22
             style="width: 100%"
27
             style="width: 100%"
@@ -100,10 +105,14 @@ export default {
100
       time: 3, //5秒后自动关闭
105
       time: 3, //5秒后自动关闭
101
       timer: null, //5秒后自动关闭,定时器
106
       timer: null, //5秒后自动关闭,定时器
102
       timerFlag: false, //是否显示取消自动关闭按钮
107
       timerFlag: false, //是否显示取消自动关闭按钮
108
+      isCheck: false, //是否选择
103
     };
109
     };
104
   },
110
   },
105
   watch: {
111
   watch: {
106
     disjunctor(newValue) {
112
     disjunctor(newValue) {
113
+      if(newValue){
114
+        this.isCheck = false;
115
+      }
107
       if (newValue && this.operate.know == "返回") {
116
       if (newValue && this.operate.know == "返回") {
108
         this.time = 3;
117
         this.time = 3;
109
         // this.timerFlag = true;
118
         // this.timerFlag = true;
@@ -143,6 +152,11 @@ export default {
143
       type: String,
152
       type: String,
144
       default: "",
153
       default: "",
145
     },
154
     },
155
+    // 复选框
156
+    checkBoxText: {
157
+      type: String,
158
+      default: "",
159
+    },
146
     // 拨打电话
160
     // 拨打电话
147
     phone: {
161
     phone: {
148
       type: String,
162
       type: String,
@@ -192,6 +206,9 @@ export default {
192
     },
206
     },
193
   },
207
   },
194
   methods: {
208
   methods: {
209
+    changeIsCheck(e){
210
+      this.isCheck = e.detail.value.length > 0
211
+    },
195
     clickHandler(item){
212
     clickHandler(item){
196
       this.$emit('ok', item)
213
       this.$emit('ok', item)
197
     },
214
     },
@@ -205,11 +222,11 @@ export default {
205
     },
222
     },
206
     // 确定
223
     // 确定
207
     ok() {
224
     ok() {
208
-      this.$emit("ok");
225
+      this.$emit("ok", { isCheck: this.isCheck });
209
     },
226
     },
210
     // 否
227
     // 否
211
     no() {
228
     no() {
212
-      this.$emit("no");
229
+      this.$emit("no", { isCheck: this.isCheck });
213
     },
230
     },
214
     // 取消
231
     // 取消
215
     cancel() {
232
     cancel() {
@@ -285,7 +302,7 @@ export default {
285
       color: #000;
302
       color: #000;
286
       margin: 0 auto 25rpx;
303
       margin: 0 auto 25rpx;
287
       width: 488rpx;
304
       width: 488rpx;
288
-      padding: 60rpx 16rpx;
305
+      padding: 32rpx 16rpx;
289
       background-color: rgb(249, 250, 251);
306
       background-color: rgb(249, 250, 251);
290
       border: 2rpx solid rgb(229, 233, 237);
307
       border: 2rpx solid rgb(229, 233, 237);
291
       border-radius: 12rpx;
308
       border-radius: 12rpx;
@@ -333,6 +350,11 @@ export default {
333
         font-size: 32rpx;
350
         font-size: 32rpx;
334
         color: rgb(102, 102, 102);
351
         color: rgb(102, 102, 102);
335
       }
352
       }
353
+      .showModel__checkbox{
354
+        font-size: 32rpx;
355
+        color: rgb(102, 102, 102);
356
+        margin-top: 32rpx;
357
+      }
336
       .specialCloseFlag {
358
       .specialCloseFlag {
337
         width: 90%;
359
         width: 90%;
338
         height: 100%;
360
         height: 100%;

+ 4 - 0
pages/inspectList/inspectList.vue

@@ -96,6 +96,10 @@
96
                   <text class="p_title">注意事项:</text>
96
                   <text class="p_title">注意事项:</text>
97
                   <text class="p_info">{{ item.patientDTO ? item.patientDTO.remark : '' }}</text>
97
                   <text class="p_info">{{ item.patientDTO ? item.patientDTO.remark : '' }}</text>
98
                 </view>
98
                 </view>
99
+                <view class="page_item_conts_item">
100
+                  <text class="p_title">医生备注:</text>
101
+                  <text class="p_info">{{ item.remark }}</text>
102
+                </view>
99
               </view>
103
               </view>
100
             </view>
104
             </view>
101
           </view>
105
           </view>

+ 52 - 6
pages/patientInformationInfo/patientInformationInfo.vue

@@ -11,7 +11,7 @@
11
 					<text class="info_h">待检查数</text>
11
 					<text class="info_h">待检查数</text>
12
 					<text class="info_b">{{ infoDATA.watingCount }}</text>
12
 					<text class="info_b">{{ infoDATA.watingCount }}</text>
13
 				</view>
13
 				</view>
14
-				<view class="bedNum" v-if="infoDATA.careLevel">
14
+				<view :class="infoDATA.illnessState?'bedNum':'waitingCount'" v-if="infoDATA.careLevel">
15
 					<text class="info_h">护理等级</text>
15
 					<text class="info_h">护理等级</text>
16
 					<text class="info_b">{{ infoDATA.careLevel.name }}</text>
16
 					<text class="info_b">{{ infoDATA.careLevel.name }}</text>
17
 				</view>
17
 				</view>
@@ -44,6 +44,9 @@
44
             <view class="page_item_info_title btn row">
44
             <view class="page_item_info_title btn row">
45
               <view><text :class="{red: !item.yyTime}">预约时间:</text><text>{{ item.yyTime | filterSecondDate }}</text><text v-if="item.reservationNumber">({{ item.reservationNumber }})</text><text class="newicon newicon-weibiaoti2010104" @click="changeYyTime(item)" v-if="item.inspectState.value == 1 || item.inspectState.value == 30"></text></view>
45
               <view><text :class="{red: !item.yyTime}">预约时间:</text><text>{{ item.yyTime | filterSecondDate }}</text><text v-if="item.reservationNumber">({{ item.reservationNumber }})</text><text class="newicon newicon-weibiaoti2010104" @click="changeYyTime(item)" v-if="item.inspectState.value == 1 || item.inspectState.value == 30"></text></view>
46
             </view>
46
             </view>
47
+            <view class="page_item_info_title row">
48
+              <text>医生备注:{{ item.remark }}</text>
49
+            </view>
47
             <view class="page_item_info_title row">
50
             <view class="page_item_info_title row">
48
               <view>是否紧急:<text :class="{red:item.priority===1||item.priority==='1'}">{{ (item.priority===1||item.priority==='1')?'是':'否' }}</text></view>
51
               <view>是否紧急:<text :class="{red:item.priority===1||item.priority==='1'}">{{ (item.priority===1||item.priority==='1')?'是':'否' }}</text></view>
49
               <view>状态:<text v-if="item.inspectState">{{ item.inspectState.name }}</text></view>
52
               <view>状态:<text v-if="item.inspectState">{{ item.inspectState.name }}</text></view>
@@ -65,7 +68,7 @@
65
       </view>
68
       </view>
66
     </view>
69
     </view>
67
     <!-- 弹窗 -->
70
     <!-- 弹窗 -->
68
-    <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
71
+    <showModel :checkBoxText="models.checkBoxText" :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
69
       @ok="ok" @cancel="cancel" @know="know" :operate="models.operate"></showModel>
72
       @ok="ok" @cancel="cancel" @know="know" :operate="models.operate"></showModel>
70
     <!-- 弹窗 -->
73
     <!-- 弹窗 -->
71
     <inspectRemoveModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor" :content="models1.content" @know="know1" :operate="models1.operate" @ok="ok1" @cancel="cancel1" :yy="currentInspect.yyTime"></inspectRemoveModel>
74
     <inspectRemoveModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor" :content="models1.content" @know="know1" :operate="models1.operate" @ok="ok1" @cancel="cancel1" :yy="currentInspect.yyTime"></inspectRemoveModel>
@@ -143,6 +146,7 @@
143
             title: "提示",
146
             title: "提示",
144
             content: `您选择<span class="red">${this.infoDATA.patientName || ""}</span>患者<span class="red">${list.length}</span>项检查,是否确认建单?`,
147
             content: `您选择<span class="red">${this.infoDATA.patientName || ""}</span>患者<span class="red">${list.length}</span>项检查,是否确认建单?`,
145
             icon: "warn",
148
             icon: "warn",
149
+            checkBoxText: '建单并签到',
146
             operate: {
150
             operate: {
147
               ok: "确定",
151
               ok: "确定",
148
               cancel: "取消",
152
               cancel: "取消",
@@ -176,6 +180,7 @@
176
           title: "提示",
180
           title: "提示",
177
           content: `您即将创建<span class="red">${data.patientName || ""}</span>患者前往<span class="red">${ data.execDept ? data.execDept.dept : "" }</span>进行<span class="red">${data.inspectName || ""}</span>检查,您确认吗?`,
181
           content: `您即将创建<span class="red">${data.patientName || ""}</span>患者前往<span class="red">${ data.execDept ? data.execDept.dept : "" }</span>进行<span class="red">${data.inspectName || ""}</span>检查,您确认吗?`,
178
           icon: "warn",
182
           icon: "warn",
183
+          checkBoxText: '建单并签到',
179
           operate: {
184
           operate: {
180
             ok: "确定",
185
             ok: "确定",
181
             cancel: "取消",
186
             cancel: "取消",
@@ -188,7 +193,46 @@
188
         this.getInfo(this.infoDATA.patientCode);
193
         this.getInfo(this.infoDATA.patientCode);
189
       },
194
       },
190
       //建单确定
195
       //建单确定
191
-      ok() {
196
+      ok(e) {
197
+        console.log(e)
198
+        if(e.isCheck){
199
+          uni.showLoading({
200
+            title: "加载中",
201
+            mask: true,
202
+          });
203
+          post("/nurse/inspect/inspectCreateCheck", { patientCode: this.options.patientCode }).then((result) => {
204
+            uni.hideLoading();
205
+            if (result.status == 200) {
206
+              // 建单并签到
207
+              if (!this.SMFlag) {
208
+                return;
209
+              }
210
+              this.SMFlag = false;
211
+              SM().then((content) => {
212
+                this.SMFlag = true;
213
+                
214
+                this.buildOrderOrSign(content)
215
+              }).catch(err => {
216
+                this.SMFlag = true;
217
+              });
218
+            } else {
219
+              this.models.disjunctor = false;
220
+              this.models = {
221
+                disjunctor: true,
222
+                content: result.msg,
223
+                icon: "error",
224
+                operate: {
225
+                  know: "返回",
226
+                },
227
+              };
228
+            }
229
+          });
230
+        }else{
231
+          this.buildOrderOrSign()
232
+        }
233
+      },
234
+      // 建单/建单并签到
235
+      buildOrderOrSign(content){
192
         this.models.disjunctor = false;
236
         this.models.disjunctor = false;
193
         let postData = {
237
         let postData = {
194
           deptId: this.infoDATA.department.id
238
           deptId: this.infoDATA.department.id
@@ -206,6 +250,7 @@
206
             if (obj.length) {
250
             if (obj.length) {
207
               taskId = obj[0].id;
251
               taskId = obj[0].id;
208
               let postData = {
252
               let postData = {
253
+                code: content,
209
                 workOrder: {
254
                 workOrder: {
210
                   sourceId: 4,
255
                   sourceId: 4,
211
                   taskType: {
256
                   taskType: {
@@ -238,10 +283,10 @@
238
                   };
283
                   };
239
                 }
284
                 }
240
               })
285
               })
241
-
242
-              post("/api/startOrder", postData).then((res) => {
286
+        
287
+              post(content ? "/nurse/inspect/inspectCreateSign" : "/api/startOrder", postData).then((res) => {
243
                 uni.hideLoading();
288
                 uni.hideLoading();
244
-                let msg = res.msg;
289
+                let msg = res.msg + (content ? ` 扫描内容:${content}` : '');
245
                 let icon = "error";
290
                 let icon = "error";
246
                 if (res.status == 200) {
291
                 if (res.status == 200) {
247
                   msg = "建单成功";
292
                   msg = "建单成功";
@@ -430,6 +475,7 @@
430
 			},
475
 			},
431
 		},
476
 		},
432
 		onLoad(options) {
477
 		onLoad(options) {
478
+      console.log('options', options);
433
 			this.options = options;
479
 			this.options = options;
434
 			this.getInfo(this.options.patientCode);
480
 			this.getInfo(this.options.patientCode);
435
 			// #ifdef APP-PLUS
481
 			// #ifdef APP-PLUS

+ 82 - 6
pages/patientInformationList/patientInformationList.vue

@@ -2,11 +2,14 @@
2
   <view class="patientInformationList">
2
   <view class="patientInformationList">
3
     <view class="page_tab">
3
     <view class="page_tab">
4
       <view class="page_tab_bar active">
4
       <view class="page_tab_bar active">
5
-        <view class="tab_dept">
5
+        <view class="tab_dept" @click="changeDept">
6
           {{ currenDept.dept}}
6
           {{ currenDept.dept}}
7
-          <text class="newicon newicon-weibiaoti2010104" @click="changeDept"></text>
7
+          <text class="newicon newicon-weibiaoti2010104"></text>
8
         </view>
8
         </view>
9
       </view>
9
       </view>
10
+      <view class="search-box">
11
+        <mSearch class="search" :mode="2" button="inside" placeholder="请输入关键字" @input="changeInp" v-model="keyword"></mSearch>
12
+      </view>
10
     </view>
13
     </view>
11
     <view v-if="zxzData.length == 0" class="zwsj">
14
     <view v-if="zxzData.length == 0" class="zwsj">
12
       <image class="zwsj-img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
15
       <image class="zwsj-img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
@@ -58,6 +61,25 @@
58
                     <text class="p_info">{{ item.remark }}</text>
61
                     <text class="p_info">{{ item.remark }}</text>
59
                   </view>
62
                   </view>
60
                 </view>
63
                 </view>
64
+                
65
+                <view class="page_item_conts_item" v-if="item.inspects && item.inspects[0]">
66
+                  <view class="column">
67
+                    <text class="p_title">检查项目:</text>
68
+                    <text class="p_info">{{ item.inspects[0].inspectName }}</text>
69
+                  </view>
70
+                </view>
71
+                
72
+                <view class="page_item_conts_item" v-if="item.inspects && item.inspects[0]">
73
+                  <view class="column">
74
+                    <text class="p_title">检查科室:</text>
75
+                    <text class="p_info">
76
+                      <text>{{item.inspects[0].execDept ? item.inspects[0].execDept.dept : '' }}</text>
77
+                    </text>
78
+                  </view>
79
+                  <view class="column" style="flex-shrink: 0;margin-left: 40rpx;">
80
+                    <text class="p_info">{{ item.sortYytime | yyTimeFilter }}</text>
81
+                  </view>
82
+                </view>
61
               </view>
83
               </view>
62
             </view>
84
             </view>
63
             <view class="page_item_btns">
85
             <view class="page_item_btns">
@@ -87,7 +109,10 @@
87
   </view>
109
   </view>
88
 </template>
110
 </template>
89
 <script>
111
 <script>
112
+  import mSearch from "@/components/mehaotian-search-revision/mehaotian-search-revision.vue";
90
   import bigScreen from "../../components/bigScreen/bigScreen.vue";
113
   import bigScreen from "../../components/bigScreen/bigScreen.vue";
114
+  import dayjs from 'dayjs';
115
+  import debounce from 'lodash-es/debounce';
91
   import {
116
   import {
92
     get,
117
     get,
93
     post,
118
     post,
@@ -98,6 +123,7 @@
98
   export default {
123
   export default {
99
     data() {
124
     data() {
100
       return {
125
       return {
126
+        keyword: '',
101
         selectRadio: [], //单选框选中的数据,第一项是qrcode,第二项是名称
127
         selectRadio: [], //单选框选中的数据,第一项是qrcode,第二项是名称
102
         // 单选框弹窗model
128
         // 单选框弹窗model
103
         models4: {
129
         models4: {
@@ -141,8 +167,49 @@
141
     },
167
     },
142
     components: {
168
     components: {
143
       bigScreen,
169
       bigScreen,
170
+      mSearch,
171
+    },
172
+    filters: {
173
+      // 自定义管道 yyTime
174
+      yyTimeFilter: function(data) {
175
+        if (data) {
176
+          let nDate = null;
177
+          if (typeof data == 'string') {
178
+            let arr = data.split(/[-:\s]/);
179
+            nDate = new Date(
180
+              arr[0] - 0,
181
+              arr[1] - 1,
182
+              arr[2] - 0,
183
+              arr[3] - 0,
184
+              arr[4] - 0,
185
+              0
186
+            );
187
+          } else if (typeof data == 'number') {
188
+            nDate = new Date(data);
189
+          }
190
+          const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
191
+          const date = nDate.getDate().toString().padStart(2, 0);
192
+          const hour = nDate.getHours().toString().padStart(2, 0);
193
+          const minute = nDate.getMinutes().toString().padStart(2, 0);
194
+          return `${month}-${date} ${hour}:${minute}`;
195
+        } else {
196
+          return "";
197
+        }
198
+      }
144
     },
199
     },
145
     methods: {
200
     methods: {
201
+      handleSearch: debounce(function() {
202
+        this.refresherrefresh();
203
+      }, 500),
204
+      //防抖搜索
205
+      changeInp(event) {
206
+        this.inputChange(event);
207
+      },
208
+      //监听输入
209
+      inputChange(event) {
210
+        this.keyword = event.detail ? event.detail.value : event;
211
+        this.handleSearch();
212
+      },
146
       // 获取是否需要选择陪检方式
213
       // 获取是否需要选择陪检方式
147
       getInspectAndPatientTransformSend() {
214
       getInspectAndPatientTransformSend() {
148
         const postData = {
215
         const postData = {
@@ -431,6 +498,8 @@
431
           idx,
498
           idx,
432
           sum: 99999,
499
           sum: 99999,
433
           patient: {
500
           patient: {
501
+            sortYytime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
502
+            keyWord: this.keyword || undefined,
434
             department: {
503
             department: {
435
               id: this.currenDept.id,
504
               id: this.currenDept.id,
436
             },
505
             },
@@ -596,14 +665,21 @@
596
 
665
 
597
     .page_tab {
666
     .page_tab {
598
       width: 100%;
667
       width: 100%;
599
-      height: 96rpx;
600
-      display: flex;
668
+      height: 176rpx;
601
       position: fixed;
669
       position: fixed;
602
       left: 0;
670
       left: 0;
603
       top: 0;
671
       top: 0;
604
       z-index: 999;
672
       z-index: 999;
673
+      
674
+      .search-box {
675
+        background-color: rgb(242, 242, 242);
676
+        .search{
677
+          padding: 10rpx 24rpx;
678
+        }
679
+      }
605
 
680
 
606
       .page_tab_bar {
681
       .page_tab_bar {
682
+        height: 96rpx;
607
         flex: 1;
683
         flex: 1;
608
         font-size: 30rpx;
684
         font-size: 30rpx;
609
         background: #fff;
685
         background: #fff;
@@ -666,8 +742,8 @@
666
     }
742
     }
667
 
743
 
668
     .page_items {
744
     .page_items {
669
-      height: calc(100vh - 164rpx);
670
-      padding-top: 90rpx;
745
+      height: calc(100vh - 164rpx - 80rpx);
746
+      padding-top: 170rpx;
671
 
747
 
672
       .page_items_scroll {
748
       .page_items_scroll {
673
         height: 100%;
749
         height: 100%;

+ 10 - 1
pages/receipt_infopage/receipt_infopage.vue

@@ -345,6 +345,10 @@
345
 							  <text class="text1">是否送达</text>
345
 							  <text class="text1">是否送达</text>
346
 							  <text class="text2">{{ item.inspectState && item.inspectState.value=='3' ? '是':'否'}}</text>
346
 							  <text class="text2">{{ item.inspectState && item.inspectState.value=='3' ? '是':'否'}}</text>
347
 							</view>
347
 							</view>
348
+              <view class="page_item_foot_text">
349
+                <text class="text1">医生备注</text>
350
+                <text class="text2">{{ item.remark}}</text>
351
+              </view>
348
               <!-- <view class="page_item_foot_text"
352
               <!-- <view class="page_item_foot_text"
349
                 v-show="item.inspectState.value==1||item.inspectState.value==2||item.inspectState.value==4">
353
                 v-show="item.inspectState.value==1||item.inspectState.value==2||item.inspectState.value==4">
350
                 <view class="btn" @click.stop="remove(item)">移除</view>
354
                 <view class="btn" @click.stop="remove(item)">移除</view>
@@ -2376,6 +2380,9 @@
2376
           .page_item_foot_text {
2380
           .page_item_foot_text {
2377
             font-size: 32rpx;
2381
             font-size: 32rpx;
2378
             margin-bottom: 20rpx;
2382
             margin-bottom: 20rpx;
2383
+            display: flex;
2384
+            justify-content: space-between;
2385
+            align-items: center;
2379
 
2386
 
2380
             &:last-of-type {
2387
             &:last-of-type {
2381
               margin-bottom: 0;
2388
               margin-bottom: 0;
@@ -2386,8 +2393,10 @@
2386
             }
2393
             }
2387
 
2394
 
2388
             .text2 {
2395
             .text2 {
2389
-              float: right;
2396
+              max-width: 60%;
2390
               font-weight: 700;
2397
               font-weight: 700;
2398
+              text-align: justify;
2399
+              line-height: normal;
2391
             }
2400
             }
2392
 
2401
 
2393
             .btn {
2402
             .btn {

+ 28 - 23
pages/receiptpage/receiptpage.vue

@@ -112,8 +112,7 @@
112
               <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'inspect'">
112
               <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'inspect'">
113
                 <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
113
                 <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
114
                 <view>
114
                 <view>
115
-                  预约时间 : {{ item.yyTime | yyTimeFilter
116
-                  }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
115
+                  预约时间 : {{ item.yyTime | yyTimeFilter}}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
117
                 </view>
116
                 </view>
118
                 <view style="font-weight: bold;">
117
                 <view style="font-weight: bold;">
119
                   患者信息 : {{ item.patient ? item.patient.patientName : "" }}({{ item.patient ? item.patient.bedNum : "" }})-{{ item.patient ? item.patient.residenceNo : "" }}
118
                   患者信息 : {{ item.patient ? item.patient.patientName : "" }}({{ item.patient ? item.patient.bedNum : "" }})-{{ item.patient ? item.patient.residenceNo : "" }}
@@ -145,8 +144,7 @@
145
               <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'patientTransport'">
144
               <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'patientTransport'">
146
                 <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
145
                 <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
147
                 <view>
146
                 <view>
148
-                  预约时间 : {{ item.yyjdTime | yyTimeFilter
149
-                  }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
147
+                  预约时间 : {{ item.yyjdTime | yyTimeFilter }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
150
                 </view>
148
                 </view>
151
                 <view style="font-weight: bold;">
149
                 <view style="font-weight: bold;">
152
                   患者信息 : {{ item.patient ? item.patient.patientName : "" }}({{ item.patient ? item.patient.bedNum : "" }})-{{ item.patient ? item.patient.residenceNo : "" }}
150
                   患者信息 : {{ item.patient ? item.patient.patientName : "" }}({{ item.patient ? item.patient.bedNum : "" }})-{{ item.patient ? item.patient.residenceNo : "" }}
@@ -214,22 +212,29 @@
214
                   <text> <text class="End">终</text> 点科室 </text>
212
                   <text> <text class="End">终</text> 点科室 </text>
215
                   <text class="text_big" v-for="(dept, i) of item.endDepts" :key="i">{{ dept.dept }}</text>
213
                   <text class="text_big" v-for="(dept, i) of item.endDepts" :key="i">{{ dept.dept }}</text>
216
                 </view>
214
                 </view>
217
-                <view class="page_item_cont_title" v-if="item.middleDept&&item.middleDept.length==1 && item.taskType.associationType.value == 'inspect'">
218
-                  <text> <text class="End">检</text> 查科室 </text>
219
-                  <text class="text_big" v-for="(dept, i) of item.middleDept" :key="i">{{ dept.dept }}</text>
215
+                <view class="page_item_cont_title page_item_cont_title_display" v-if="item.middleDept&&item.middleDept.length==1 && item.taskType.associationType.value == 'inspect'">
216
+                  <view>
217
+                    <text> <text class="End">检</text> 查科室 </text>
218
+                    <text class="text_big">{{ item.middleDept[0].dept }}</text>
219
+                  </view>
220
+                  <view style="text-align: right;">
221
+                    {{ item.middleDept[0].yyTime | yyTimeFilter}}
222
+                  </view>
220
                 </view>
223
                 </view>
221
 								<view class="page_item_cont_title" v-if="item.middleDept&&item.middleDept.length>1 && item.taskType.associationType.value == 'inspect'">
224
 								<view class="page_item_cont_title" v-if="item.middleDept&&item.middleDept.length>1 && item.taskType.associationType.value == 'inspect'">
222
-								  <view v-for="(dept, i) of item.middleDept" :key="i">
223
-										<text> <text class="End">检</text> 查科室 </text>
224
-										<text class="text_big" :class="dept.signIn ? 'green': ''">{{ dept.dept }}</text>
225
+								  <view class="page_item_cont_title_display" v-for="(dept, i) of item.middleDept" :key="i">
226
+										<view>
227
+										  <text> <text class="End">检</text> 查科室 </text>
228
+										  <text class="text_big" :class="dept.signIn ? 'green': ''">{{ dept.dept }}</text>
229
+										</view>
230
+                    <view style="text-align: right;">
231
+                      {{ dept.yyTime | yyTimeFilter}}
232
+                    </view>
225
 									</view>
233
 									</view>
226
 								</view>
234
 								</view>
227
               </view>
235
               </view>
228
             </view>
236
             </view>
229
-            <view v-if="
230
-                item.taskType.associationType.value == 'inspect' ||
231
-                item.taskType.associationType.value == 'patientTransport'
232
-              ">
237
+            <!-- <view v-if="item.taskType.associationType.value == 'inspect' || item.taskType.associationType.value == 'patientTransport'"> -->
233
               <!-- 待抢单 -->
238
               <!-- 待抢单 -->
234
               <!-- <text class="red" v-if="item.gdState.value == 2">请扫描患者腕带,或者请扫描科室码</text> -->
239
               <!-- <text class="red" v-if="item.gdState.value == 2">请扫描患者腕带,或者请扫描科室码</text> -->
235
               <!-- 待到达 -->
240
               <!-- 待到达 -->
@@ -238,22 +243,22 @@
238
               <!-- <text class="red" v-if="item.gdState.value == 8">请扫描检查科室码,并扫描患者腕带</text> -->
243
               <!-- <text class="red" v-if="item.gdState.value == 8">请扫描检查科室码,并扫描患者腕带</text> -->
239
               <!-- 待送达 -->
244
               <!-- 待送达 -->
240
               <!-- <text class="red" v-if="item.gdState.value == 5">请扫描终点科室码,并扫描患者腕带</text> -->
245
               <!-- <text class="red" v-if="item.gdState.value == 5">请扫描终点科室码,并扫描患者腕带</text> -->
241
-            </view>
242
-            <view v-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'clothingGet'">
246
+            <!-- </view> -->
247
+            <!-- <view v-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'clothingGet'"> -->
243
               <!-- 待送达 -->
248
               <!-- 待送达 -->
244
               <!-- <text class="red" v-if="item.gdState.value == 5">请扫描终点科室二维码</text> -->
249
               <!-- <text class="red" v-if="item.gdState.value == 5">请扫描终点科室二维码</text> -->
245
-            </view>
246
-            <view v-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'clothingSend'">
250
+            <!-- </view> -->
251
+            <!-- <view v-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'clothingSend'"> -->
247
               <!-- 待到达 -->
252
               <!-- 待到达 -->
248
               <!-- <text class="red" v-if="item.gdState.value == 4">请扫描起点科室二维码</text> -->
253
               <!-- <text class="red" v-if="item.gdState.value == 4">请扫描起点科室二维码</text> -->
249
               <!-- 待送达 -->
254
               <!-- 待送达 -->
250
               <!-- <text class="red" v-if="item.gdState.value == 5">请扫描终点科室二维码</text> -->
255
               <!-- <text class="red" v-if="item.gdState.value == 5">请扫描终点科室二维码</text> -->
251
-            </view>
252
-            <view v-else-if="item.taskType.associationType.value == 'other'">
256
+            <!-- </view> -->
257
+            <!-- <view v-else-if="item.taskType.associationType.value == 'other'"> -->
253
               <!-- 待到达 -->
258
               <!-- 待到达 -->
254
               <!-- <text class="red" v-if="item.gdState.value == 4 && item.taskType.carryingCourses[0].checkoutMethod.value == 1">可通过扫描科室码或者拍照进行签到</text> -->
259
               <!-- <text class="red" v-if="item.gdState.value == 4 && item.taskType.carryingCourses[0].checkoutMethod.value == 1">可通过扫描科室码或者拍照进行签到</text> -->
255
               <!-- <text class="red" v-if="item.gdState.value == 4 && item.taskType.carryingCourses[0].checkoutMethod.value == 2">扫描交接人员二维码进行交接</text> -->
260
               <!-- <text class="red" v-if="item.gdState.value == 4 && item.taskType.carryingCourses[0].checkoutMethod.value == 2">扫描交接人员二维码进行交接</text> -->
256
-            </view>
261
+            <!-- </view> -->
257
             <!-- 如果不是患者陪检,患者转运,其他,万能交接,标本配送,标本轮巡 -->
262
             <!-- 如果不是患者陪检,患者转运,其他,万能交接,标本配送,标本轮巡 -->
258
             <view class="page_item_btn" v-if="
263
             <view class="page_item_btn" v-if="
259
                 selectedLabelSlots == '执行中' &&
264
                 selectedLabelSlots == '执行中' &&
@@ -640,7 +645,7 @@
640
           const minute = nDate.getMinutes().toString().padStart(2, 0);
645
           const minute = nDate.getMinutes().toString().padStart(2, 0);
641
           return `${month}-${date} ${hour}:${minute}`;
646
           return `${month}-${date} ${hour}:${minute}`;
642
         } else {
647
         } else {
643
-          return "-";
648
+          return "";
644
         }
649
         }
645
       }
650
       }
646
     },
651
     },
@@ -3579,7 +3584,7 @@
3579
 
3584
 
3580
                 .page_item_cont_title {
3585
                 .page_item_cont_title {
3581
                   height: 100%;
3586
                   height: 100%;
3582
-                  float: left;
3587
+                  // float: left;
3583
                 }
3588
                 }
3584
               }
3589
               }
3585
             }
3590
             }

+ 2 - 2
upload/production.js

@@ -1,11 +1,11 @@
1
 const shell = require('shelljs')
1
 const shell = require('shelljs')
2
 const path = require('path');
2
 const path = require('path');
3
 const config = {
3
 const config = {
4
-  ip: "47.113.226.223", // ssh地址
4
+  ip: "47.115.219.94", // ssh地址
5
   username: "root", // ssh 用户名
5
   username: "root", // ssh 用户名
6
   port: 22,      //端口
6
   port: 22,      //端口
7
   password: "DStech@123", // ssh 密码
7
   password: "DStech@123", // ssh 密码
8
-  path: '/home/itsm/project/html2/h5', // 上传地址,删除地址
8
+  path: '/home/itsm/project/front/h5', // 上传地址,删除地址
9
   buildPath: '../unpackage/dist/build/h5' // 本地打包后文件地址
9
   buildPath: '../unpackage/dist/build/h5' // 本地打包后文件地址
10
 }
10
 }
11
 let Client = require('ssh2-sftp-client');
11
 let Client = require('ssh2-sftp-client');