Преглед на файлове

长沙南雅打印单问题修改

28169 преди 1 година
родител
ревизия
0134190bd2

+ 2 - 2
config/dev.env.js Целия файл

@@ -7,8 +7,8 @@ module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9 9
   //BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  BASE_API: '"http://api.xt.test.sgjyun.com"',
11
-  // BASE_API: '"http://localhost:9531"',
10
+  // BASE_API: '"http://api.xt.test.sgjyun.com"',
11
+  BASE_API: '"http://localhost:9531"',
12 12
   SSO_HOST: '"http://testsso.sgjyun.com"',
13 13
   SRCM_HOST: '"http://test1.sgjyun.com"',
14 14
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js Целия файл

@@ -27,10 +27,10 @@ module.exports = {
27 27
     // can be overwritten by process.env.HOST
28 28
     // if you want dev by ip, please set host: '0.0.0.0'
29 29
 
30
-    host: 'xt.test.sgjyun.com',
30
+    // host: 'xt.test.sgjyun.com',
31 31
     //  host: 'xt.kuyicloud.com',
32 32
    // host: 'xt.test.sgjyun.com',
33
-  //  host: 'localhost',
33
+    host: 'localhost',
34 34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35 35
     autoOpenBrowser: true,
36 36
     errorOverlay: true,

+ 3 - 2
src/api/dialysis_record.js Целия файл

@@ -47,7 +47,7 @@ export function editMonitor(patient_id, schedule_date, data, mode) {
47 47
   })
48 48
 }
49 49
 
50
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date, schedule_remark, order_remark) {
50
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date, schedule_remark, order_remark,catheter_operation) {
51 51
   var params = {
52 52
     patient_id: patient_id,
53 53
     date: schedule_date,
@@ -71,7 +71,8 @@ export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_
71 71
     blood_access_id: blood_access_id,
72 72
     nuclein_date: nuclein_date,
73 73
     schedule_remark: schedule_remark,
74
-    order_remark: order_remark
74
+    order_remark: order_remark,
75
+    catheter_operation:catheter_operation
75 76
   }
76 77
   console.log('params', params)
77 78
   return request({

+ 2 - 1
src/lang/zh.js Целия файл

@@ -404,6 +404,7 @@ export default {
404 404
     treatment: '诊疗经过',
405 405
     illness_discharge: '出院时病情',
406 406
     discharge_advice: '出院医嘱',
407
-    dialysis_remark: '透析备注'
407
+    dialysis_remark: '透析备注',
408
+    catheter_operation:'导管备注',
408 409
   }
409 410
 }

+ 1 - 1
src/utils/data.js Целия файл

@@ -6,7 +6,7 @@ export function getDataConfig(module, field) {
6 6
   if (moduleConfig == undefined) {
7 7
     return false
8 8
   }
9
-  if (module === 'summary' || module === 'education' || module === 'nursing_record' || module === 'special_record' || module == 'dialysis_remark') {
9
+  if (module === 'summary' || module === 'education' || module === 'nursing_record' || module === 'special_record' || module == 'dialysis_remark' || module=='catheter_operation') {
10 10
     var Aresult = []
11 11
     for (var j = 0; j < moduleConfig.length; j++) {
12 12
       var Atemp = []

+ 1 - 0
src/xt_pages/data/template.vue Целия файл

@@ -55,6 +55,7 @@ export default {
55 55
         { label: this.$t("data_config.illness_discharge"), key:"illness_discharge"},
56 56
         { label: this.$t("data_config.discharge_advice"), key:"discharge_advice"},
57 57
         { label: this.$t("data_config.dialysis_remark"), key:"dialysis_remark"},
58
+        { label: this.$t("data_config.catheter_operation"), key:"catheter_operation"},
58 59
       ],
59 60
       activeName: "education",
60 61
       createdTimes: 0

Файловите разлики са ограничени, защото са твърде много
+ 1067 - 15
src/xt_pages/dialysis/bloodPresssWatch.vue


+ 59 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Целия файл

@@ -117,6 +117,32 @@
117 117
             </el-select>
118 118
        </el-form-item>
119 119
 
120
+       <el-row :gutter="20">
121
+        <el-col :span="24" v-if="isShowFiled('导管备注')">
122
+          <el-form-item label="导管备注:">
123
+            <el-select @change="dialysisSummarySelectChange" v-model="value2">
124
+              <el-option
125
+                v-for="(item, index) in summary"
126
+                :label="item.text"
127
+                :value="item.value"
128
+                :key="index"
129
+              ></el-option>
130
+            </el-select>
131
+          </el-form-item>
132
+        </el-col>
133
+      </el-row>
134
+      <el-row :gutter="20">
135
+        <el-col v-if="isShowFiled('导管备注')">
136
+          <el-form-item>
137
+            <el-input
138
+              type="textarea"
139
+              v-model="form.catheter_operation"
140
+              :rows="4"
141
+            ></el-input>
142
+          </el-form-item>
143
+        </el-col>
144
+      </el-row>
145
+
120 146
        <el-form-item label="核酸检测日期:" style="width:300px"  v-if="isShowFiled('核酸检测日期')">
121 147
           <el-date-picker
122 148
             type="date"
@@ -136,7 +162,8 @@
136 162
          <el-form-item label="排班备注:" style="width:300px"  v-if="isShowFiled('排班备注')">
137 163
           <el-input style="width:200px" v-model="form.schedule_remark"></el-input>
138 164
         </el-form-item>
139
-
165
+         
166
+        
140 167
 
141 168
 
142 169
         <el-form-item label="上机时间 :" style="width:300px"  v-if="isShowFiled('上机时间')">
@@ -211,6 +238,7 @@
211 238
           nuclein_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
212 239
           schedule_remark:"",
213 240
           order_remark:"",
241
+          catheter_operation:""
214 242
         },
215 243
         blood_access_option:[],
216 244
         schedual_type: 0,
@@ -234,6 +262,8 @@
234 262
         },
235 263
         dialyzers:[],
236 264
         irrigations:[],
265
+        summary: [],
266
+        value2:"",
237 267
       }
238 268
     },
239 269
     props: {
@@ -312,6 +342,8 @@
312 342
         )
313 343
       this.form.schedule_remark = this.dialysis_order.schedule_remark
314 344
       this.form.order_remark = this.dialysis_order.order_remark
345
+    
346
+      this.summary = getDataConfig('catheter_operation', 'catheter_operation')
315 347
     },
316 348
     watch: {
317 349
       patient:{
@@ -557,7 +589,7 @@
557 589
         console.log("质控护士",this.form.quality_nurse_id)
558 590
         console.log("this.form.nuclein_date",this.form.nuclein_date)
559 591
        
560
-        startDialysis(this.patient_id, this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.lood_drawing, this.form.puncture_nurse_id, this.form.start_time, this.schedual_type, mode,this.form.washpipe_nurse,this.form.change_nurse,this.form.difficult_puncture_nurse,this.form.new_fistula_nurse,blood_drawing,this.form.quality_nurse_id,this.form.puncture_needle,this.form.puncture_way,this.form.dialysis_dialyszers,this.form.dialysis_irrigation,this.form.blood_access_id,this.form.nuclein_date,this.form.schedule_remark,this.form.order_remark).then(rs => {
592
+        startDialysis(this.patient_id, this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.lood_drawing, this.form.puncture_nurse_id, this.form.start_time, this.schedual_type, mode,this.form.washpipe_nurse,this.form.change_nurse,this.form.difficult_puncture_nurse,this.form.new_fistula_nurse,blood_drawing,this.form.quality_nurse_id,this.form.puncture_needle,this.form.puncture_way,this.form.dialysis_dialyszers,this.form.dialysis_irrigation,this.form.blood_access_id,this.form.nuclein_date,this.form.schedule_remark,this.form.order_remark,this.form.catheter_operation).then(rs => {
561 593
           this.loading = false
562 594
           var resp = rs.data
563 595
           if (resp.state == 1) {
@@ -602,6 +634,8 @@
602 634
         ParamsQuery['mode'] = "2"
603 635
         ParamsQuery["schedule_remark"] = this.form.schedule_remark
604 636
         ParamsQuery["order_remark"] = this.form.order_remark
637
+        ParamsQuery['catheter_operation'] = this.form.catheter_operation
638
+ 
605 639
         if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
606 640
           ParamsQuery['mode'] = "3"
607 641
         }
@@ -721,6 +755,29 @@
721 755
       innerDialogCancle: function() {
722 756
         this.InnerDialogProps.visibility = false
723 757
       },
758
+     
759
+      dialysisSummarySelectChange: function(values) {
760
+      if (this.form.catheter_operation == '') {
761
+        this.form.catheter_operation = values
762
+      } else {
763
+       
764
+        if (this.form.catheter_operation.indexOf(values) == -1) {
765
+          if (
766
+            this.form.catheter_operation
767
+              .charAt(this.form.catheter_operation.length - 1)
768
+              .indexOf('。') == -1
769
+          ) {
770
+            this.form.catheter_operation =
771
+              this.form.catheter_operation + ',' + values
772
+          } else {
773
+            this.form.catheter_operation =
774
+              this.form.catheter_operation + ',' + values
775
+            this.form.catheter_operation =
776
+              this.form.catheter_operation + values
777
+          }
778
+        }
779
+      }
780
+    },
724 781
     }
725 782
   }
726 783
 </script>

+ 14 - 0
src/xt_pages/dialysis/details/dialysisComputer.vue Целия файл

@@ -92,6 +92,12 @@
92 92
           <span class="content">{{start_time}}</span>
93 93
         </li>
94 94
       </ul>
95
+      <ul>
96
+        <li v-if="isShow('导管操作')">
97
+          <label>导管操作 : </label>
98
+          <span class="content">{{catheter_operation}}</span>
99
+        </li>
100
+      </ul>
95 101
     </div>
96 102
     <div class="middleLine"></div>
97 103
   </div>
@@ -224,6 +230,14 @@
224 230
           }
225 231
         }
226 232
         return name
233
+      },
234
+      catheter_operation:function(){
235
+        if(this.record.id == 0){
236
+          return '-'
237
+        }else{
238
+          return this.record.catheter_operation
239
+        }
240
+       
227 241
       }
228 242
     },
229 243
     methods: {

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Целия файл

@@ -657,7 +657,7 @@
657 657
                   </th>
658 658
                   <th style="width: 70px; font-weight: normal" v-if="org_id==10430||org_id==9675">
659 659
                     <p style="height: 20px; line-height: 20px">血温</p>
660
-                    <p style="height: 20px; line-height: 20px">ml</p>
660
+                    <p style="height: 20px; line-height: 20px"></p>
661 661
                   </th>
662 662
 
663 663
                   <th style="width: 80px; font-weight: normal">

+ 0 - 3
src/xt_pages/hospitalStation/invoicePrint.vue Целия файл

@@ -38,8 +38,6 @@
38 38
   </div>
39 39
 </template>
40 40
 
41
-
42
-
43 41
 <script>
44 42
 import printOne from "./invoiceTemplate/printOne";
45 43
 import printTwo from "./invoiceTemplate/printTwo";
@@ -48,7 +46,6 @@ import printThree from "./invoiceTemplate/printThree";
48 46
 export default {
49 47
   name: "invoicePrint",
50 48
   components: {
51
-    PrintNight,
52 49
     printOne,
53 50
     printTwo,
54 51
     printThree,

+ 124 - 5
src/xt_pages/hospitalStation/outpatientChargesManagement.vue Целия файл

@@ -94,10 +94,16 @@
94 94
 
95 95
           <div>
96 96
             <div>入院时间:{{this.hisPatientInfo&&this.hisPatientInfo.in_hosptial_time?this.hisPatientInfo.in_hosptial_time:""}}</div>
97
-            <el-button  size="small"
98
-                       @click="open(1)"
99
-                       type="primary">入院登记
100
-            </el-button>
97
+            <el-button
98
+              size="small"
99
+              @click="exportUnchargeData"
100
+              type="primary">导出未收费数据</el-button>
101
+
102
+<!--            -->
103
+<!--            <el-button  size="small"-->
104
+<!--                       @click="open(1)"-->
105
+<!--                       type="primary">入院登记-->
106
+<!--            </el-button>-->
101 107
 
102 108
             <el-button v-loading="loadingone" size="small"
103 109
                        v-if="(this.activeName == 'third' &&this.hisPatientInfo.balance_accounts_type != 2 && this.hisPatientInfo.id > 0 && this.hisPatientInfo.in_hospital_status == 1 && this.hisPatientInfo.out_hospital_status == 0)"
@@ -276,6 +282,28 @@
276 282
                 <el-button type="primary" @click="comfirmTime">确 定</el-button>
277 283
              </span>
278 284
     </el-dialog>
285
+
286
+    <el-dialog
287
+      title="导出时间"
288
+      :visible.sync="dialogExportVisible"
289
+      width="30%"
290
+    >
291
+      <el-date-picker v-model="export_start_time" type="datetime" format="yyyy-MM-dd"
292
+                      value-format="yyyy-MM-dd"
293
+                      placeholder="请选择导出开始时间">
294
+      </el-date-picker>
295
+
296
+      <el-date-picker v-model="export_end_time" type="datetime" format="yyyy-MM-dd"
297
+                      value-format="yyyy-MM-dd"
298
+                      placeholder="请选择导出结束时间">
299
+      </el-date-picker>
300
+
301
+      <span slot="footer" class="dialog-footer">
302
+                <el-button @click="dialogExportVisible = false">取 消</el-button>
303
+                <el-button type="primary" @click="comfirmExportTime">确 定</el-button>
304
+             </span>
305
+    </el-dialog>
306
+
279 307
   </div>
280 308
 
281 309
 </template>
@@ -301,6 +329,12 @@ import {
301 329
   Outhopitaluncheck,
302 330
   Settle
303 331
 } from '@/api/his/his'
332
+
333
+import {
334
+  exportData
335
+} from '@/api/his/his_hospital'
336
+
337
+
304 338
 import { uParseTime } from '@/utils/tools'
305 339
 
306 340
 import RegisterDialog from './components/registerDialog'
@@ -436,7 +470,10 @@ export default {
436 470
       department: [],
437 471
       invoiceVisible: false,
438 472
       invoiceParams: {},
439
-      out_hospital_time: moment(new Date()).add('year',0).format("YYYY-MM-DD HH:mm:ss")
473
+      out_hospital_time: moment(new Date()).add('year',0).format("YYYY-MM-DD HH:mm:ss"),
474
+      dialogExportVisible:false,
475
+      export_start_time: moment(new Date()).add('year',0).format("YYYY-MM-DD"),
476
+      export_end_time: moment(new Date()).add('year',0).format("YYYY-MM-DD"),
440 477
 
441 478
     }
442 479
   },
@@ -459,6 +496,68 @@ export default {
459 496
     this.getPatientList()
460 497
   },
461 498
   methods: {
499
+    comfirmExportTime(){
500
+      let params = {
501
+        'patient_id': this.patientInfo.id,
502
+        'start_time': this.export_start_time,
503
+        'end_time': this.export_end_time,
504
+      }
505
+      exportData(params).then(response => {
506
+        if (response.data.state == 0) {
507
+          this.$message.error(response.data.msg)
508
+          this.dialogExportVisible = false
509
+          return false
510
+        } else {
511
+          this.dialogExportVisible = false
512
+          var prescriptions = response.data.data.month_prescriptions
513
+          var patient_ids = this.unique_patient(prescriptions)
514
+          let list=  []
515
+          for(var i = 0;i < patient_ids.length; i++){
516
+            let obj = {}
517
+            let total = 0
518
+            obj["患者姓名"] = patient_ids[i].patient.name
519
+            for(let b = 0; b < prescriptions.length; b++){
520
+              if(patient_ids[i].patient_id == prescriptions[b].patient_id){
521
+                if (prescriptions[b].type == 1) {
522
+                  if (prescriptions[b].advices != null) {
523
+                    console.log("~~~~~~~~~~~~~~~~~1111")
524
+
525
+                    for (let a = 0; a < prescriptions[b].advices.length; a++) {
526
+                      total = total + parseFloat(prescriptions[b].advices[a].price * prescriptions[b].advices[a].prescribing_number)
527
+                    }
528
+                  }
529
+                } else {
530
+                  if (prescriptions[b].project != null) {
531
+                    console.log("~~~~~~~~~~~~~~~~~22222")
532
+                    for (let c = 0; c < prescriptions[b].project.length; c++) {
533
+                      total = total + parseFloat(prescriptions[b].project[c].price  * prescriptions[b].project[c].count)
534
+                    }
535
+                  }
536
+                }
537
+              }
538
+            }
539
+            obj["总金额"] = total.toFixed(2)
540
+            list.push(obj)
541
+          }
542
+          import("@/vendor/Export2Excel").then((excel) => {
543
+            const tHeader = [
544
+              "患者姓名",
545
+              "总金额"
546
+            ];
547
+            const filterVal = [
548
+              "患者姓名",
549
+              "总金额"
550
+            ];
551
+            const data = this.formatJson(filterVal, list);
552
+            excel.export_json_to_excel({
553
+              header: tHeader,
554
+              data,
555
+              filename: "消费明细",
556
+            });
557
+          });
558
+        }
559
+      })
560
+    },
462 561
     comfirmTime() {
463 562
       var that = this
464 563
       let params = {
@@ -1290,6 +1389,10 @@ export default {
1290 1389
     },
1291 1390
     formatJson(filterVal, jsonData) {
1292 1391
       return jsonData.map(v => filterVal.map(j => v[j]))
1392
+    },exportUnchargeData(){
1393
+
1394
+      this.dialogExportVisible = true
1395
+
1293 1396
     },
1294 1397
     open(index) {
1295 1398
       if (index == 1){
@@ -2873,6 +2976,22 @@ export default {
2873 2976
       this.curSettlePrescriptions = this.settle_prescriptions[0]
2874 2977
 
2875 2978
     },
2979
+    unique_patient(array) {
2980
+      // res用来存储结果
2981
+      var res = []
2982
+      for (var i = 0, arrayLen = array.length; i < arrayLen; i++) {
2983
+        for (var j = 0, resLen = res.length; j < resLen; j++) {
2984
+          if (array[i].patient_id === res[j].patient_id) {
2985
+            break
2986
+          }
2987
+        }
2988
+        // 如果array[i]是唯一的,那么执行完循环,j等于resLen
2989
+        if (j === resLen) {
2990
+          res.push(array[i])
2991
+        }
2992
+      }
2993
+      return res
2994
+    },
2876 2995
     unique_two(array) {
2877 2996
       // res用来存储结果
2878 2997
       var res = []

+ 5 - 5
src/xt_pages/user/courseOfDisease.vue Целия файл

@@ -86,8 +86,8 @@
86 86
               <label class="title"><span class="name">病程日期</span> : </label>
87 87
               <el-date-picker v-model="course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
88 88
                               style="width: 200px;"
89
-                              type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm"
90
-                              value-format="yyyy-MM-dd HH:mm"></el-date-picker>
89
+                              type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm:ss"
90
+                              value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
91 91
 
92 92
               <label class="title"><span class="name">日常病程</span> : </label>
93 93
               <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
@@ -132,8 +132,8 @@
132 132
               <el-date-picker v-model="edit_course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
133 133
                               style="width: 200px;"
134 134
                               type="datetime"
135
-                              placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm"
136
-                              value-format="yyyy-MM-dd HH:mm"></el-date-picker>
135
+                              placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm:ss"
136
+                              value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
137 137
 
138 138
               <label class="title"><span class="name">日常病程</span> : </label>
139 139
               <el-select v-model="select_template" placeholder="可选择病程模板" @change="didEditSelectTemplate">
@@ -286,7 +286,7 @@
286 286
       },
287 287
       recordTime: function(timestamp) {
288 288
         var time = new Date(timestamp * 1000)
289
-        return parseTime(time, '{y}-{m}-{d} {h}:{m}')
289
+        return parseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
290 290
       },
291 291
       doctorName: function(doctor_id) {
292 292
         for (let index = 0; index < this.doctors.length; index++) {

+ 36 - 36
src/xt_pages/workforce/components/template_table.vue Целия файл

@@ -886,6 +886,7 @@
886 886
                       placeholder="请选择"
887 887
                       size="mini"
888 888
                       @change="changeJihao"
889
+                      @click.native="changeSch(scope.row)"
889 890
                       class="select_list_arrage"
890 891
                     >
891 892
                       <el-option
@@ -1594,8 +1595,8 @@ export default {
1594 1595
 
1595 1596
       this.smartVisible = true;
1596 1597
     },
1597
-    SetSmartSch(tempData,delData) {
1598
-        this.saveActionThree(tempData,delData);
1598
+    SetSmartSch(tempData) {
1599
+        this.saveActionThree(tempData);
1599 1600
     },
1600 1601
     check(tempData) {
1601 1602
       let isJiXu = true;
@@ -1647,7 +1648,7 @@ export default {
1647 1648
     batchSetSch() {
1648 1649
       this.smartSaveLoading = true;
1649 1650
       var tempData = [];
1650
-      var delData = [];
1651
+      // var delData = [];
1651 1652
       for (let b = 0; b < this.editableTabs.length; b++) {
1652 1653
         for (let c = 0; c < this.editableTabs[b].tableWeekArrage.length; c++) {
1653 1654
           let obj = {
@@ -1667,36 +1668,35 @@ export default {
1667 1668
         }
1668 1669
       }
1669 1670
 
1670
-      for (let b = 0; b < this.current_patient_data.length; b++) {
1671
-        for (let c = 0; c < this.current_patient_data[b].tableWeekArrage.length; c++) {
1672
-          let obj = {
1673
-            time_type: this.current_patient_data[b].tableWeekArrage[c].time_type,
1674
-            jihao_id: this.current_patient_data[b].tableWeekArrage[c].device_number_id,
1675
-            schedule_week: this.getWeekByzhongwen(
1676
-              this.current_patient_data[b].tableWeekArrage[c].week
1677
-            ),
1678
-            mode_id: this.current_patient_data[b].tableWeekArrage[c].treat_mode,
1679
-            sch_id: this.current_patient_data[b].tableWeekArrage[c].id,
1680
-            zone_id: this.current_patient_data[b].tableWeekArrage[c].zone_id,
1681
-            t_id: this.current_patient_data[b].name,
1682
-            title:this.current_patient_data[b].title,
1683
-            patient_id: this.cur_smart_patient_id,
1684
-          };
1685
-          delData.push(obj);
1686
-        }
1687
-      }
1688
-      console.log(tempData)
1689
-      console.log(delData)
1671
+      // for (let b = 0; b < this.current_patient_data.length; b++) {
1672
+      //   for (let c = 0; c < this.current_patient_data[b].tableWeekArrage.length; c++) {
1673
+      //     let obj = {
1674
+      //       time_type: this.current_patient_data[b].tableWeekArrage[c].time_type,
1675
+      //       jihao_id: this.current_patient_data[b].tableWeekArrage[c].device_number_id,
1676
+      //       schedule_week: this.getWeekByzhongwen(
1677
+      //         this.current_patient_data[b].tableWeekArrage[c].week
1678
+      //       ),
1679
+      //       mode_id: this.current_patient_data[b].tableWeekArrage[c].treat_mode,
1680
+      //       sch_id: this.current_patient_data[b].tableWeekArrage[c].id,
1681
+      //       zone_id: this.current_patient_data[b].tableWeekArrage[c].zone_id,
1682
+      //       t_id: this.current_patient_data[b].name,
1683
+      //       title:this.current_patient_data[b].title,
1684
+      //       patient_id: this.cur_smart_patient_id,
1685
+      //     };
1686
+      //     delData.push(obj);
1687
+      //   }
1688
+      // }
1689
+      // console.log(tempData)
1690
+      // console.log(delData)
1690 1691
 
1691
-      for (let i = 0; i < delData.length; i++) {
1692
-        for (let  b = 0; b < tempData.length; b++) {
1693
-          if(delData[i].sch_id == tempData[b].sch_id){
1694
-            delData.splice(i,1)
1695
-          }
1696
-        }
1697
-      }
1692
+      // for (let i = 0; i < delData.length; i++) {
1693
+      //   for (let  b = 0; b < tempData.length; b++) {
1694
+      //     if(delData[i].sch_id == tempData[b].sch_id){
1695
+      //       delData.splice(i,1)
1696
+      //     }
1697
+      //   }
1698
+      // }
1698 1699
 
1699
-      console.log(delData)
1700 1700
       for (let i = 0; i < tempData.length; i++) {
1701 1701
         if (tempData[i].jihao_id == "" || tempData[i].zone_id == "") {
1702 1702
           this.$message.error("分区或者床位不能空");
@@ -1706,11 +1706,11 @@ export default {
1706 1706
         }
1707 1707
       }
1708 1708
       this.isEdit = true
1709
-      this.$emit("saveData", tempData,delData);
1709
+      console.log("saveData")
1710
+      console.log(tempData)
1711
+      this.$emit("saveData", tempData);
1710 1712
     },changeJihao(){
1711
-
1712 1713
       this.$forceUpdate()
1713
-
1714 1714
     },
1715 1715
     changeSch(row) {
1716 1716
 
@@ -2940,10 +2940,10 @@ export default {
2940 2940
         });
2941 2941
       }
2942 2942
     },
2943
-    saveActionThree: function (val,delData) {
2943
+    saveActionThree: function (val) {
2944 2944
       updateEditSchedules(
2945 2945
         JSON.stringify(val),
2946
-        JSON.stringify(delData),
2946
+        JSON.stringify([]),
2947 2947
       ).then((rs) => {
2948 2948
         var resp = rs.data;
2949 2949
         if (resp.state == 1) {