浏览代码

新分支

28169 10 个月前
父节点
当前提交
5c85a76740

+ 9 - 0
src/api/doctorSchedule.js 查看文件

@@ -172,3 +172,12 @@ export function getchartlist(params) {
172 172
     params: params
173 173
   })
174 174
 }
175
+
176
+export function DeleteStaffScheduleById(id,params){
177
+  
178
+  return request({
179
+    url:"/api/deletestaffschedulebyid?id="+id,
180
+    methods:"get",
181
+    params:params
182
+  })
183
+}

+ 46 - 24
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue 查看文件

@@ -186,7 +186,7 @@
186 186
             灌流器
187 187
             <span class="under-line" style="display: inline-block;width: 50%;">
188 188
               {{ prescription.dialysis_irrigation ? prescription.dialysis_irrigation : "/" }}
189
-            </span>L
189
+            </span>
190 190
           </div>
191 191
           <div style="flex: 1;display: flex">
192 192
             透析液:
@@ -243,8 +243,8 @@
243 243
         <table border="1" style="border-collapse: collapse;text-align: center;">
244 244
           <tr>
245 245
             <td style="width: 60px;text-align: center;" rowspan="2" >时间</td>
246
-            <td colspan="4" style="text-align: center;">透析参数</td>
247
-            <td colspan="5" style="text-align: center;">生命体征</td>
246
+            <td colspan="6" style="text-align: center;">透析参数</td>
247
+            <td colspan="4" style="text-align: center;">生命体征</td>
248 248
             <td colspan="2" style="text-align: center;">治疗中病情变化</td>
249 249
           </tr>
250 250
           <tr>
@@ -252,6 +252,10 @@
252 252
               <p style="height: 20px; line-height: 20px">TMP</p>
253 253
               <p style="height: 20px; line-height: 20px">mmHg</p>
254 254
             </th>
255
+            <th style="width: 70px; font-weight: normal">
256
+              <p style="height: 20px; line-height: 20px">动脉压</p>
257
+              <p style="height: 20px; line-height: 20px">mmHg</p>
258
+            </th>
255 259
             <th style="width: 70px; font-weight: normal">
256 260
               <p style="height: 20px; line-height: 20px">静脉压</p>
257 261
               <p style="height: 20px; line-height: 20px">mmHg</p>
@@ -264,8 +268,8 @@
264 268
               <p style="height: 20px; line-height: 20px">脱水量</p>
265 269
               <p style="height: 20px; line-height: 20px">ml</p>
266 270
             </th>
267
-            <th style="width: 80px; font-weight: normal">
268
-              <p style="height: 20px; line-height: 20px">T</p>
271
+            <th style="width: 120px; font-weight: normal">
272
+              <p style="height: 20px; line-height: 30px">透析液温度</p>
269 273
               <p style="height: 20px; line-height: 20px">℃</p>
270 274
             </th>
271 275
             <th style="width: 60px; font-weight: normal">
@@ -282,12 +286,12 @@
282 286
             </th>
283 287
 
284 288
             <th style="width: 80px; font-weight: normal">
285
-              <p style="height: 20px; line-height: 20px">SpO₂</p>
286
-              <p style="height: 20px; line-height: 20px">%</p>
289
+              <p style="height: 20px; line-height: 20px">电导度</p>
290
+              <p style="height: 20px; line-height: 20px">mS/m</p>
287 291
             </th>
288
-            <th style="width: 70px; font-weight: normal">
292
+            <!-- <th style="width: 70px; font-weight: normal">
289 293
               时间
290
-            </th>
294
+            </th> -->
291 295
             <th style="width: 333px; font-weight: normal">
292 296
               <p style="height: 20px; line-height: 20px">
293 297
                 记&nbsp;&nbsp;&nbsp;&nbsp;录
@@ -298,23 +302,35 @@
298 302
             <td style="min-width: 60px; height: 30px">
299 303
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
300 304
             </td>
305
+            
301 306
             <td>
302 307
               <span v-if="getTime(monitor.operate_time) != ''">
303 308
                 {{
304 309
                   monitor.transmembrane_pressure
305 310
                     ? monitor.transmembrane_pressure
306
-                    : ""
311
+                    : "/"
307 312
                 }}
308 313
               </span>
309 314
             </td>
315
+
316
+            <th style="width: 70px; font-weight: normal">
317
+              <span v-if="getTime(monitor.operate_time) != ''">
318
+                {{
319
+                  monitor.arterial_pressure
320
+                    ? monitor.arterial_pressure
321
+                    : "/"
322
+                }}
323
+              </span>
324
+            </th>
325
+            
310 326
             <td>
311 327
               <span v-if="getTime(monitor.operate_time) != ''">
312
-                &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
328
+                &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}
313 329
               </span>
314 330
             </td>
315 331
             <td>
316 332
               <span v-if="getTime(monitor.operate_time) != ''">
317
-                {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
333
+                {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}
318 334
               </span>
319 335
             </td>
320 336
             <td style="min-width: 45px">
@@ -324,7 +340,7 @@
324 340
                   {{
325 341
                   monitor.ultrafiltration_volume
326 342
                     ? monitor.ultrafiltration_volume
327
-                    : " "
343
+                    : ""
328 344
                  }}
329 345
                 </span>
330 346
               
@@ -334,19 +350,19 @@
334 350
             <!-- T -->
335 351
             <td>
336 352
               <span v-if="getTime(monitor.operate_time) != ''">
337
-                {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
353
+                {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "/" }}
338 354
               </span>
339 355
             </td>
340 356
             <!-- HR -->
341 357
             <td>
342 358
               <span v-if="getTime(monitor.operate_time) != ''">
343
-                {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
359
+                {{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}
344 360
               </span>
345 361
             </td>
346 362
             <!-- R -->
347 363
             <td>
348 364
               <span v-if="getTime(monitor.operate_time) != ''">
349
-                {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
365
+                {{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}
350 366
               </span>
351 367
             </td>
352 368
             <!-- BP -->
@@ -355,11 +371,11 @@
355 371
                 {{
356 372
                   monitor.systolic_blood_pressure
357 373
                     ? monitor.systolic_blood_pressure
358
-                    : ""
374
+                    : "/"
359 375
                 }}/{{
360 376
                   monitor.diastolic_blood_pressure
361 377
                     ? monitor.diastolic_blood_pressure
362
-                    : ""
378
+                    : "/"
363 379
                 }}
364 380
               </span>
365 381
             </td>
@@ -367,17 +383,17 @@
367 383
             <td>
368 384
               <span v-if="getTime(monitor.operate_time) != ''">
369 385
                 {{
370
-                  monitor.blood_oxygen_saturation
371
-                    ? monitor.blood_oxygen_saturation
372
-                    : ""
386
+                  monitor.conductivity
387
+                    ? monitor.conductivity
388
+                    : "/"
373 389
                 }}
374 390
               </span>
375 391
             </td>
376 392
 
377 393
             <!-- 病情变化 -->
378
-            <td style="min-width: 60px; height: 30px">
394
+            <!-- <td style="min-width: 60px; height: 30px">
379 395
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
380
-            </td>
396
+            </td> -->
381 397
             <td>
382 398
               <template 
383 399
               v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)&&(org_id!=10414) "
@@ -415,7 +431,13 @@
415 431
                 <p style="height:15px;line-height:15px">上次透后体重</p>
416 432
               </td>
417 433
               <td style="width:8%;">
418
-                {{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
434
+                 <span v-if="assessmentafter.weight_after == 0">
435
+                  {{ afterdialysis.last_after_weight ? assessmentafter.last_after_weight : "0" }}kg
436
+                 </span>
437
+                 <span v-if="assessmentafter.weight_after>0">
438
+                  {{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
439
+                 </span>
440
+                  
419 441
               </td>
420 442
             </tr>
421 443
 

+ 27 - 4
src/xt_pages/medicalScheduling/index.vue 查看文件

@@ -51,9 +51,7 @@
51 51
                         <el-table-column :label="'周一\n(' + weekDayArr[0] + ')'" style="width:200px" align="center">
52 52
                             <template slot-scope="scope">
53 53
                                 <div class="del_table_btn" v-show="scope.row.user_name=='合计'? false : true">
54
-                                  <el-button type="danger" size="mini" icon="el-icon-close" 
55
-                                    circle @click.stop=""   
56
-                                  ></el-button>
54
+                                  <el-button type="danger" size="mini" icon="el-icon-close" circle @click.stop="toClick(scope.row,scope.$index)"></el-button>
57 55
                                 </div>
58 56
                                 <div @click="hangdleClick(scope.row,scope.$index,0)">
59 57
                                     <el-dropdown trigger="click" @command="changeSchedule">
@@ -381,7 +379,7 @@
381 379
 <script>
382 380
 const moment = require('moment')
383 381
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
384
-import { getDoctorList,getScheduleList,addSchedule,getStaffScheduleList,getNextWeekList,getScheduleByDoctorId,toSearchScheduleList,DeleteStaffSchedule,copyStaffSchedule,UpdateContinusSchedule,SaveNurseSort,SaveIsSchedule } from '@/api/doctorSchedule'
382
+import { getDoctorList,getScheduleList,addSchedule,getStaffScheduleList,getNextWeekList,getScheduleByDoctorId,toSearchScheduleList,DeleteStaffSchedule,copyStaffSchedule,UpdateContinusSchedule,SaveNurseSort,SaveIsSchedule,DeleteStaffScheduleById } from '@/api/doctorSchedule'
385 383
 import { constants } from 'crypto'
386 384
 export default {
387 385
     components:{
@@ -896,10 +894,12 @@ export default {
896 894
                         sixStr = strSix
897 895
                      }
898 896
                     }
897
+                   
899 898
                     let tempArr = [], newArr = []
900 899
                     for (let i = 0; i < staffList.length; i++) {
901 900
                         if (tempArr.indexOf(staffList[i].user_name) == -1) {
902 901
                             newArr.push({
902
+                                id:staffList[i].id,
903 903
                                 user_name: staffList[i].user_name,
904 904
                                 admin_user_id:staffList[i].admin_user_id,
905 905
                                 user_type:staffList[i].doctor_type,
@@ -2029,6 +2029,29 @@ export default {
2029 2029
         return jsonData.map(v => filterVal.map(j => v[j]))
2030 2030
        },
2031 2031
 
2032
+       toClick(row,index){
2033
+          this.$confirm(
2034
+            '是否要清除当前排班? <br>清除后,信息将无法恢复',
2035
+            '删除提示',
2036
+            {
2037
+                dangerouslyUseHTMLString: true,
2038
+                confirmButtonText: '确定',
2039
+                cancelButtonText: '取消',
2040
+                type: 'warning'
2041
+            }
2042
+            ).then(()=>{
2043
+             
2044
+            DeleteStaffScheduleById(row.id).then(response=>{
2045
+                if(response.data.state == 1){
2046
+                    var msg =  response.data.data.msg
2047
+                    this.$message.success("清除成功")
2048
+                    this.getStaffScheduleList()
2049
+                   
2050
+                }
2051
+            })
2052
+         })
2053
+       }
2054
+
2032 2055
 
2033 2056
     },
2034 2057
     created(){