Browse Source

新分支

28169 10 months ago
parent
commit
5c85a76740

+ 9 - 0
src/api/doctorSchedule.js View File

172
     params: params
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 View File

186
             灌流器
186
             灌流器
187
             <span class="under-line" style="display: inline-block;width: 50%;">
187
             <span class="under-line" style="display: inline-block;width: 50%;">
188
               {{ prescription.dialysis_irrigation ? prescription.dialysis_irrigation : "/" }}
188
               {{ prescription.dialysis_irrigation ? prescription.dialysis_irrigation : "/" }}
189
-            </span>L
189
+            </span>
190
           </div>
190
           </div>
191
           <div style="flex: 1;display: flex">
191
           <div style="flex: 1;display: flex">
192
             透析液:
192
             透析液:
243
         <table border="1" style="border-collapse: collapse;text-align: center;">
243
         <table border="1" style="border-collapse: collapse;text-align: center;">
244
           <tr>
244
           <tr>
245
             <td style="width: 60px;text-align: center;" rowspan="2" >时间</td>
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
             <td colspan="2" style="text-align: center;">治疗中病情变化</td>
248
             <td colspan="2" style="text-align: center;">治疗中病情变化</td>
249
           </tr>
249
           </tr>
250
           <tr>
250
           <tr>
252
               <p style="height: 20px; line-height: 20px">TMP</p>
252
               <p style="height: 20px; line-height: 20px">TMP</p>
253
               <p style="height: 20px; line-height: 20px">mmHg</p>
253
               <p style="height: 20px; line-height: 20px">mmHg</p>
254
             </th>
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
             <th style="width: 70px; font-weight: normal">
259
             <th style="width: 70px; font-weight: normal">
256
               <p style="height: 20px; line-height: 20px">静脉压</p>
260
               <p style="height: 20px; line-height: 20px">静脉压</p>
257
               <p style="height: 20px; line-height: 20px">mmHg</p>
261
               <p style="height: 20px; line-height: 20px">mmHg</p>
264
               <p style="height: 20px; line-height: 20px">脱水量</p>
268
               <p style="height: 20px; line-height: 20px">脱水量</p>
265
               <p style="height: 20px; line-height: 20px">ml</p>
269
               <p style="height: 20px; line-height: 20px">ml</p>
266
             </th>
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
               <p style="height: 20px; line-height: 20px">℃</p>
273
               <p style="height: 20px; line-height: 20px">℃</p>
270
             </th>
274
             </th>
271
             <th style="width: 60px; font-weight: normal">
275
             <th style="width: 60px; font-weight: normal">
282
             </th>
286
             </th>
283
 
287
 
284
             <th style="width: 80px; font-weight: normal">
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
             </th>
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
             <th style="width: 333px; font-weight: normal">
295
             <th style="width: 333px; font-weight: normal">
292
               <p style="height: 20px; line-height: 20px">
296
               <p style="height: 20px; line-height: 20px">
293
                 记&nbsp;&nbsp;&nbsp;&nbsp;录
297
                 记&nbsp;&nbsp;&nbsp;&nbsp;录
298
             <td style="min-width: 60px; height: 30px">
302
             <td style="min-width: 60px; height: 30px">
299
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
303
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
300
             </td>
304
             </td>
305
+            
301
             <td>
306
             <td>
302
               <span v-if="getTime(monitor.operate_time) != ''">
307
               <span v-if="getTime(monitor.operate_time) != ''">
303
                 {{
308
                 {{
304
                   monitor.transmembrane_pressure
309
                   monitor.transmembrane_pressure
305
                     ? monitor.transmembrane_pressure
310
                     ? monitor.transmembrane_pressure
306
-                    : ""
311
+                    : "/"
307
                 }}
312
                 }}
308
               </span>
313
               </span>
309
             </td>
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
             <td>
326
             <td>
311
               <span v-if="getTime(monitor.operate_time) != ''">
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
               </span>
329
               </span>
314
             </td>
330
             </td>
315
             <td>
331
             <td>
316
               <span v-if="getTime(monitor.operate_time) != ''">
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
               </span>
334
               </span>
319
             </td>
335
             </td>
320
             <td style="min-width: 45px">
336
             <td style="min-width: 45px">
324
                   {{
340
                   {{
325
                   monitor.ultrafiltration_volume
341
                   monitor.ultrafiltration_volume
326
                     ? monitor.ultrafiltration_volume
342
                     ? monitor.ultrafiltration_volume
327
-                    : " "
343
+                    : ""
328
                  }}
344
                  }}
329
                 </span>
345
                 </span>
330
               
346
               
334
             <!-- T -->
350
             <!-- T -->
335
             <td>
351
             <td>
336
               <span v-if="getTime(monitor.operate_time) != ''">
352
               <span v-if="getTime(monitor.operate_time) != ''">
337
-                {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
353
+                {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "/" }}
338
               </span>
354
               </span>
339
             </td>
355
             </td>
340
             <!-- HR -->
356
             <!-- HR -->
341
             <td>
357
             <td>
342
               <span v-if="getTime(monitor.operate_time) != ''">
358
               <span v-if="getTime(monitor.operate_time) != ''">
343
-                {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
359
+                {{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}
344
               </span>
360
               </span>
345
             </td>
361
             </td>
346
             <!-- R -->
362
             <!-- R -->
347
             <td>
363
             <td>
348
               <span v-if="getTime(monitor.operate_time) != ''">
364
               <span v-if="getTime(monitor.operate_time) != ''">
349
-                {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
365
+                {{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}
350
               </span>
366
               </span>
351
             </td>
367
             </td>
352
             <!-- BP -->
368
             <!-- BP -->
355
                 {{
371
                 {{
356
                   monitor.systolic_blood_pressure
372
                   monitor.systolic_blood_pressure
357
                     ? monitor.systolic_blood_pressure
373
                     ? monitor.systolic_blood_pressure
358
-                    : ""
374
+                    : "/"
359
                 }}/{{
375
                 }}/{{
360
                   monitor.diastolic_blood_pressure
376
                   monitor.diastolic_blood_pressure
361
                     ? monitor.diastolic_blood_pressure
377
                     ? monitor.diastolic_blood_pressure
362
-                    : ""
378
+                    : "/"
363
                 }}
379
                 }}
364
               </span>
380
               </span>
365
             </td>
381
             </td>
367
             <td>
383
             <td>
368
               <span v-if="getTime(monitor.operate_time) != ''">
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
               </span>
390
               </span>
375
             </td>
391
             </td>
376
 
392
 
377
             <!-- 病情变化 -->
393
             <!-- 病情变化 -->
378
-            <td style="min-width: 60px; height: 30px">
394
+            <!-- <td style="min-width: 60px; height: 30px">
379
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
395
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
380
-            </td>
396
+            </td> -->
381
             <td>
397
             <td>
382
               <template 
398
               <template 
383
               v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)&&(org_id!=10414) "
399
               v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)&&(org_id!=10414) "
415
                 <p style="height:15px;line-height:15px">上次透后体重</p>
431
                 <p style="height:15px;line-height:15px">上次透后体重</p>
416
               </td>
432
               </td>
417
               <td style="width:8%;">
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
               </td>
441
               </td>
420
             </tr>
442
             </tr>
421
 
443
 

+ 27 - 4
src/xt_pages/medicalScheduling/index.vue View File

51
                         <el-table-column :label="'周一\n(' + weekDayArr[0] + ')'" style="width:200px" align="center">
51
                         <el-table-column :label="'周一\n(' + weekDayArr[0] + ')'" style="width:200px" align="center">
52
                             <template slot-scope="scope">
52
                             <template slot-scope="scope">
53
                                 <div class="del_table_btn" v-show="scope.row.user_name=='合计'? false : true">
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
                                 </div>
55
                                 </div>
58
                                 <div @click="hangdleClick(scope.row,scope.$index,0)">
56
                                 <div @click="hangdleClick(scope.row,scope.$index,0)">
59
                                     <el-dropdown trigger="click" @command="changeSchedule">
57
                                     <el-dropdown trigger="click" @command="changeSchedule">
381
 <script>
379
 <script>
382
 const moment = require('moment')
380
 const moment = require('moment')
383
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
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
 import { constants } from 'crypto'
383
 import { constants } from 'crypto'
386
 export default {
384
 export default {
387
     components:{
385
     components:{
896
                         sixStr = strSix
894
                         sixStr = strSix
897
                      }
895
                      }
898
                     }
896
                     }
897
+                   
899
                     let tempArr = [], newArr = []
898
                     let tempArr = [], newArr = []
900
                     for (let i = 0; i < staffList.length; i++) {
899
                     for (let i = 0; i < staffList.length; i++) {
901
                         if (tempArr.indexOf(staffList[i].user_name) == -1) {
900
                         if (tempArr.indexOf(staffList[i].user_name) == -1) {
902
                             newArr.push({
901
                             newArr.push({
902
+                                id:staffList[i].id,
903
                                 user_name: staffList[i].user_name,
903
                                 user_name: staffList[i].user_name,
904
                                 admin_user_id:staffList[i].admin_user_id,
904
                                 admin_user_id:staffList[i].admin_user_id,
905
                                 user_type:staffList[i].doctor_type,
905
                                 user_type:staffList[i].doctor_type,
2029
         return jsonData.map(v => filterVal.map(j => v[j]))
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
     created(){
2057
     created(){