浏览代码

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

see999 4 年前
父节点
当前提交
32c7822e0d

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

167
     method:"get",
167
     method:"get",
168
     params:params
168
     params:params
169
   })
169
   })
170
+}
171
+
172
+export function getScheduleList(params){
173
+  
174
+  return request({
175
+    url:"/api/schedule/getschedulelist",
176
+    method:"get",
177
+    params:params,
178
+  })
170
 }
179
 }

+ 8 - 8
src/xt_pages/dialysis/batch_print/batch_print_order_fifteen.vue 查看文件

56
                                     <label-box showValue="住院" :isChecked="record.receive_assessment.condition == 1 ? true : false"></label-box>
56
                                     <label-box showValue="住院" :isChecked="record.receive_assessment.condition == 1 ? true : false"></label-box>
57
                                 </td>
57
                                 </td>
58
                                 <td style="padding-left:5px;width:25%;text-align:left;border-left:none;border-right:none;">其他</td>
58
                                 <td style="padding-left:5px;width:25%;text-align:left;border-left:none;border-right:none;">其他</td>
59
-                                
59
+
60
                             </tr>
60
                             </tr>
61
                         </table>
61
                         </table>
62
                         <table class="table-box" border="1" style="border:none;border-color:#000;border-collapse: collapse;">
62
                         <table class="table-box" border="1" style="border:none;border-color:#000;border-collapse: collapse;">
221
                                     </span>
221
                                     </span>
222
                                 </span>
222
                                 </span>
223
                             <!-- </span> -->
223
                             <!-- </span> -->
224
-                            
225
-                            
224
+
225
+
226
                         </span>
226
                         </span>
227
                     </td>
227
                     </td>
228
                     <td>
228
                     <td>
282
                         <p style="height:20px;line-height:20px">电导率</p>
282
                         <p style="height:20px;line-height:20px">电导率</p>
283
                         <p style="height:20px;line-height:20px">ms/cm</p>
283
                         <p style="height:20px;line-height:20px">ms/cm</p>
284
                     </th>
284
                     </th>
285
-                    
285
+
286
                     <th style="min-width:60px">
286
                     <th style="min-width:60px">
287
                         <p style="height:20px;line-height:20px">温度</p>
287
                         <p style="height:20px;line-height:20px">温度</p>
288
                         <p style="height:20px;line-height:20px">℃</p>
288
                         <p style="height:20px;line-height:20px">℃</p>
332
                         </span>
332
                         </span>
333
                     </td>
333
                     </td>
334
 
334
 
335
-                    
335
+
336
                     </tr>
336
                     </tr>
337
                 </table>
337
                 </table>
338
                 <table class="print-table" border="1">
338
                 <table class="print-table" border="1">
444
                     </tr>
444
                     </tr>
445
                     </tbody>
445
                     </tbody>
446
                 </table>
446
                 </table>
447
-                
447
+
448
                 <table class="print-table" border="1">
448
                 <table class="print-table" border="1">
449
-                    
449
+
450
                 </table>
450
                 </table>
451
 
451
 
452
 
452
 
575
     this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
575
     this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
576
   },
576
   },
577
   mounted() {
577
   mounted() {
578
-    console.log(this.records)
578
+    // console.log(this.records)
579
     this.loading = true
579
     this.loading = true
580
     var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids
580
     var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids
581
     if (ids.length == 0) {
581
     if (ids.length == 0) {

+ 11 - 1
src/xt_pages/dialysis/details/acceptsAssessment.vue 查看文件

83
           <span class="content">{{sickCondition}} </span>
83
           <span class="content">{{sickCondition}} </span>
84
         </li>
84
         </li>
85
 
85
 
86
+
87
+       
88
+
86
         <li v-if="isShow('风险程度')">
89
         <li v-if="isShow('风险程度')">
87
           <label>风险程度:</label>
90
           <label>风险程度:</label>
88
           <span class="content">{{ dangerLevel }}</span>
91
           <span class="content">{{ dangerLevel }}</span>
103
             this.record.psychological_assessment_other
106
             this.record.psychological_assessment_other
104
           }}</span>
107
           }}</span>
105
         </li>
108
         </li>
106
-
109
+        
110
+       <li v-if="isShow('是否跌倒')">
111
+          <label>是否跌倒:</label>
112
+          <span class="content">
113
+            <span v-if="this.record.tumble == 1">是</span>
114
+            <span v-if="this.record.tumble == 2">否</span>
115
+          </span>
116
+        </li>
107
 
117
 
108
       </ul>
118
       </ul>
109
 
119
 

+ 31 - 1
src/xt_pages/dialysis/details/assessmentAfter.vue 查看文件

300
           <label>KT/V: </label>
300
           <label>KT/V: </label>
301
           <span class="content" >{{ this.record.ktv ? this.record.ktv : ""  }}</span>
301
           <span class="content" >{{ this.record.ktv ? this.record.ktv : ""  }}</span>
302
         </li>
302
         </li>
303
+        <li v-if="isShow('意识')">
304
+          <label>意识: </label>
305
+          <span class="content" >{{ getConsciousness(this.record.consciousness)}}</span>
306
+        </li>
307
+        <li v-if="isShow('跌倒风险')">
308
+          <label>跌倒风险: </label>
309
+          <span class="content" >{{ getFallrisk(this.record.fallrisk)}}</span>
310
+        </li>
303
       </ul>
311
       </ul>
304
     </div>
312
     </div>
305
     <div class="note">
313
     <div class="note">
640
         return ''
648
         return ''
641
       }
649
       }
642
       return this.record.in_advance_reason_other
650
       return this.record.in_advance_reason_other
643
-    }
651
+    },
652
+   
644
   },
653
   },
645
   methods: {
654
   methods: {
646
     getInternal: function() {
655
     getInternal: function() {
775
         }
784
         }
776
       }
785
       }
777
       return false
786
       return false
787
+    },
788
+     getConsciousness:function(id){
789
+       var consciousnessList = getDataConfig("hemodialysis","consciousness")
790
+     
791
+       var name = ""
792
+       for(let i=0;i<consciousnessList.length;i++){
793
+         if(id == consciousnessList[i].id){
794
+           name= consciousnessList[i].name
795
+         }
796
+      }
797
+      return name
798
+    },
799
+    getFallrisk:function(id){
800
+      var fallriskList = getDataConfig("hemodialysis","fallrisk")
801
+      var name = ""
802
+      for(let i=0;i<fallriskList.length;i++){
803
+        if(id == fallriskList[i].id){
804
+           name = fallriskList[i].name
805
+        }
806
+      }
807
+      return name
778
     }
808
     }
779
   }
809
   }
780
 }
810
 }

+ 46 - 4
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue 查看文件

603
         </el-col>
603
         </el-col>
604
         <el-col :span="8" v-if="isShow('透析相关高血压')">
604
         <el-col :span="8" v-if="isShow('透析相关高血压')">
605
             <el-form-item label="透析相关高血压:">
605
             <el-form-item label="透析相关高血压:">
606
+        
606
              <el-select v-model="form.hypertenison">
607
              <el-select v-model="form.hypertenison">
608
+              <el-option :key="0" label="请选择" :value="0"></el-option>
607
               <el-option
609
               <el-option
608
                 v-for="item in option"
610
                 v-for="item in option"
609
                 :label="item.name"
611
                 :label="item.name"
610
                 :value="item.id"
612
                 :value="item.id"
611
                 :key="item.id"
613
                 :key="item.id"
612
               ></el-option>
614
               ></el-option>
613
-             </el-select>
615
+            </el-select>
614
             </el-form-item>
616
             </el-form-item>
615
         </el-col>
617
         </el-col>
616
          <el-col :span="8" v-if="isShow('透析相关低血压')">
618
          <el-col :span="8" v-if="isShow('透析相关低血压')">
617
             <el-form-item label="透析相关低血压">
619
             <el-form-item label="透析相关低血压">
618
              <el-select v-model="form.hypopiesia">
620
              <el-select v-model="form.hypopiesia">
619
               <el-option
621
               <el-option
620
-                v-for="item in option"
622
+                v-for="item in optionOne"
621
                 :label="item.name"
623
                 :label="item.name"
622
                 :value="item.id"
624
                 :value="item.id"
623
                 :key="item.id"
625
                 :key="item.id"
649
              </el-select>
651
              </el-select>
650
             </el-form-item>
652
             </el-form-item>
651
         </el-col>
653
         </el-col>
654
+        <el-col :span="8" v-if="isShow('意识')">
655
+            <el-form-item label="意识">
656
+             <el-select v-model="form.consciousness">
657
+              <el-option
658
+                v-for="item in consciousnessList"
659
+                :label="item.name"
660
+                :value="item.id"
661
+                :key="item.id"
662
+              ></el-option>
663
+             </el-select>
664
+            </el-form-item>
665
+        </el-col>
666
+        <el-col :span="8" v-if="isShow('跌倒风险')">
667
+            <el-form-item label="跌倒风险">
668
+             <el-select v-model="form.fallrisk">
669
+              <el-option
670
+                v-for="item in fallriskList"
671
+                :label="item.name"
672
+                :value="item.id"
673
+                :key="item.id"
674
+              ></el-option>
675
+             </el-select>
676
+            </el-form-item>
677
+        </el-col>
652
         <el-col :span="24" v-if="isShow('KT/V')">
678
         <el-col :span="24" v-if="isShow('KT/V')">
653
             <el-form-item label="KT/V:">
679
             <el-form-item label="KT/V:">
654
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
680
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
739
       dialogCruorTitle: '凝血',
765
       dialogCruorTitle: '凝血',
740
       sealing_fluid_special_name: '',
766
       sealing_fluid_special_name: '',
741
       option:[
767
       option:[
742
-        {id:0,name:"请选择"},
768
+        {id:"1",name:"有"},
769
+        {id:"2",name:"无"},
770
+      ],
771
+       optionOne:[
743
         {id:"1",name:"有"},
772
         {id:"1",name:"有"},
744
         {id:"2",name:"无"},
773
         {id:"2",name:"无"},
745
       ],
774
       ],
814
         other_complication:'',
843
         other_complication:'',
815
         ktv:"",
844
         ktv:"",
816
         urr:"",
845
         urr:"",
846
+        hypertenison:"",
847
+        hypopiesia:"",
848
+        leave_office_method:"",
849
+        lapse:"",
850
+        consciousness:"",
851
+        fallrisk:"",
817
       },
852
       },
818
       lapseList:[],
853
       lapseList:[],
819
-      leaveOfficeMethod:[]
854
+      leaveOfficeMethod:[],
855
+      consciousnessList:[],
856
+      fallriskList:[]
820
     }
857
     }
821
   },
858
   },
822
   watch: {
859
   watch: {
1025
       data["hypopiesia"] = parseInt(this.form.hypopiesia)
1062
       data["hypopiesia"] = parseInt(this.form.hypopiesia)
1026
       data["leave_office_method"] = this.form.leave_office_method
1063
       data["leave_office_method"] = this.form.leave_office_method
1027
       data["lapse"] = this.form.lapse
1064
       data["lapse"] = this.form.lapse
1065
+      data["consciousness"] = this.form.consciousness
1066
+      data["fallrisk"] = this.form.fallrisk
1028
       console.log("Paramsquery",data)
1067
       console.log("Paramsquery",data)
1029
       postAssessmentAfterDislysis(ParamsQuery, data)
1068
       postAssessmentAfterDislysis(ParamsQuery, data)
1030
         .then(response => {
1069
         .then(response => {
1292
     this.sealingFluidDisposeOptions = getDataConfig('hemodialysis', 'sealing_fluid_dispose')
1331
     this.sealingFluidDisposeOptions = getDataConfig('hemodialysis', 'sealing_fluid_dispose')
1293
     this.lapseList = getDataConfig('hemodialysis', 'lapse')
1332
     this.lapseList = getDataConfig('hemodialysis', 'lapse')
1294
     this.leaveOfficeMethod = getDataConfig('hemodialysis','leave_office_method')
1333
     this.leaveOfficeMethod = getDataConfig('hemodialysis','leave_office_method')
1334
+    this.consciousnessList = getDataConfig("hemodialysis","consciousness")
1335
+    this.fallriskList = getDataConfig("hemodialysis","fallrisk")
1295
     this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
1336
     this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
1296
     this.patientGoseOptions = this.$store.getters.patient_gose
1337
     this.patientGoseOptions = this.$store.getters.patient_gose
1297
     this.observationContentOptions = this.$store.getters.observation_content
1338
     this.observationContentOptions = this.$store.getters.observation_content
1298
     this.template_id = this.$store.getters.xt_user.template_info.template_id
1339
     this.template_id = this.$store.getters.xt_user.template_info.template_id
1299
     this.channels = this.$store.getters.channels
1340
     this.channels = this.$store.getters.channels
1341
+
1300
     var date = this.$route.query && this.$route.query.date
1342
     var date = this.$route.query && this.$route.query.date
1301
     this.record_date = uParseTime(date, '{y}-{m}-{d}')
1343
     this.record_date = uParseTime(date, '{y}-{m}-{d}')
1302
   },
1344
   },

+ 14 - 1
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue 查看文件

229
           v-model="receiveTreatmentAsses.psychological_other"
229
           v-model="receiveTreatmentAsses.psychological_other"
230
         ></el-input>
230
         ></el-input>
231
       </el-form-item>
231
       </el-form-item>
232
+        <el-form-item label="是否跌倒: " v-if="isShow('是否跌倒')">
233
+        <el-radio
234
+          v-model="receiveTreatmentAsses.tumble"
235
+          label="1"
236
+          >是</el-radio>
237
+        <el-radio
238
+          v-model="receiveTreatmentAsses.tumble"
239
+          label="2"
240
+          >否
241
+        </el-radio>
242
+      </el-form-item>
232
     </el-form>
243
     </el-form>
233
     <div slot="footer" class="dialog-footer">
244
     <div slot="footer" class="dialog-footer">
234
       <el-button @click="handleCancle">取 消</el-button>
245
       <el-button @click="handleCancle">取 消</el-button>
281
         precaution: "",
292
         precaution: "",
282
         precaution_other: "",
293
         precaution_other: "",
283
         admission_number: "",
294
         admission_number: "",
284
-        diacrisis:""
295
+        diacrisis:"",
296
+        tumble:"",
285
       },
297
       },
286
       precautionTwo: []
298
       precautionTwo: []
287
     };
299
     };
301
       return false;
313
       return false;
302
     },
314
     },
303
     show(accepts) {
315
     show(accepts) {
316
+    
304
       this.accepts = accepts;
317
       this.accepts = accepts;
305
       // console.log("accepts", accepts);
318
       // console.log("accepts", accepts);
306
       var arr = [];
319
       var arr = [];

+ 6 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 查看文件

828
           if (this.lastPredialysisEvaluation.is_infect == 2) {
828
           if (this.lastPredialysisEvaluation.is_infect == 2) {
829
             this.lastPredialysisEvaluation.is_infect = "2"
829
             this.lastPredialysisEvaluation.is_infect = "2"
830
           }
830
           }
831
+          if(this.lastPredialysisEvaluation.period == 1){
832
+             this.lastPredialysisEvaluation.period = "1"
833
+          }
834
+          if(this.lastPredialysisEvaluation.period == 2){
835
+             this.lastPredialysisEvaluation.period = "2"
836
+          }
831
         }
837
         }
832
 
838
 
833
 
839
 

+ 11 - 294
src/xt_pages/workforce/components/tableWeeks.vue 查看文件

9
         type="primary"
9
         type="primary"
10
         >打印
10
         >打印
11
       </el-button>
11
       </el-button>
12
-
13
-      <!-- <el-button
14
-       style="float: right"
15
-       size="small"
16
-       icon="el-icon-printer"
17
-       @click="printActionSetting()"
18
-       type="primary">
19
-        打印设置
20
-      </el-button> -->
21
     </div>
12
     </div>
22
 
13
 
23
     <div class="cell clearfix">
14
     <div class="cell clearfix">
34
           </li>
25
           </li>
35
         </ul>
26
         </ul>
36
       </div>
27
       </div>
37
-    </div>
38
-    <div  class="cell clearfix">
39
-     <div  class="title"><span class="name">班 次</span> :</div>
28
+
29
+      <div  class="title"><span class="name">班 次</span> :</div>
40
       <div class="time">
30
       <div class="time">
41
         <ul class>
31
         <ul class>
42
           <li
32
           <li
169
         </template>
159
         </template>
170
       </el-table-column>
160
       </el-table-column>
171
     </el-table>
161
     </el-table>
172
-
173
-    <el-dialog
174
-      title="打印设置"
175
-      :visible.sync="dialogVisible"
176
-      width="30%"
177
-      >
178
-     <span>
179
-       <ul>
180
-         <li> 
181
-          <el-checkbox v-model="prescription_status">透析处方状态</el-checkbox>
182
-         </li>
183
-         <li>
184
-          <el-checkbox v-model="week">星期</el-checkbox>
185
-         </li>
186
-         <li>
187
-          <el-checkbox v-model="name">姓名</el-checkbox>
188
-         </li>
189
-         <li>
190
-          <el-checkbox v-model="zone">分区</el-checkbox>
191
-         </li>
192
-         <li>
193
-          <el-checkbox v-model="classes">班次</el-checkbox>
194
-         </li>
195
-         <li>
196
-          <el-checkbox v-model="number">机号</el-checkbox>
197
-         </li>
198
-         <li>
199
-          <el-checkbox v-model="mode">透析模式</el-checkbox>
200
-         </li>
201
-         <li>
202
-          <el-checkbox v-model="dialyzers">透析器</el-checkbox>
203
-         </li>
204
-         <li>
205
-          <el-checkbox v-model="perfusion_apparatus">灌流器</el-checkbox>
206
-         </li>
207
-         <li>
208
-          <el-checkbox v-model="anticoagulant">抗凝剂(商品名称)</el-checkbox>
209
-         </li>
210
-         <li>
211
-          <el-checkbox v-model="anticoagulant_zongliang">总量</el-checkbox>
212
-         </li>
213
-         <li>
214
-          <el-checkbox v-model="doctor_advice">长期医嘱</el-checkbox>
215
-         </li>
216
-       </ul>
217
-      
218
-     </span>
219
-     <span slot="footer" class="dialog-footer">
220
-      <el-button @click="dialogVisible = false">取 消</el-button>
221
-      <el-button type="primary" @click="saveRemindPrint">保 存</el-button>
222
-     </span>
223
-   </el-dialog>
224
-
225
-    
226
   </div>
162
   </div>
227
 </template>
163
 </template>
228
 
164
 
229
 <script>
165
 <script>
230
-import { getSchedules, getScheduleWeekDay,saveRemindPrint,getRemindPrintList } from "@/api/schedule";
166
+import { getSchedules, getScheduleWeekDay } from "@/api/schedule";
231
 import WeekItem from "./WeekItem";
167
 import WeekItem from "./WeekItem";
232
 
168
 
233
 export default {
169
 export default {
242
   data() {
178
   data() {
243
     return {
179
     return {
244
       weekArr: [
180
       weekArr: [
245
-        { id: 0, name: "全部" },
246
         { id: 1, name: "周一" },
181
         { id: 1, name: "周一" },
247
         { id: 2, name: "周二" },
182
         { id: 2, name: "周二" },
248
         { id: 3, name: "周三" },
183
         { id: 3, name: "周三" },
273
       },
208
       },
274
       scheduleData: [],
209
       scheduleData: [],
275
       modeOptions: null,
210
       modeOptions: null,
276
-      org_id:0,
277
-      dialogVisible:false,
278
-      prescription_status:false,
279
-      week:false,
280
-      name:false,
281
-      zone:false,
282
-      classes:false,
283
-      number:false,
284
-      mode:false,
285
-      dialyzers:false,
286
-      perfusion_apparatus:false,
287
-      anticoagulant:false,
288
-      anticoagulant_zongliang:false,
289
-      doctor_advice:false,
290
-      form:{
291
-        id:0,
292
-        prescription_status:"",
293
-        week:"",
294
-        name:"",
295
-        zone:"",
296
-        classes:"",
297
-        number:"",
298
-        mode:"",
299
-        dialyzers:"",
300
-        perfusion_apparatus:"",
301
-        anticoagulant:"",
302
-        anticoagulant_zongliang:"",
303
-        doctor_advice:"",
304
-      }
211
+      org_id:0
305
     };
212
     };
306
   },
213
   },
307
   watch: {
214
   watch: {
326
       }
233
       }
327
      },
234
      },
328
     getScheduleWeekDay() {
235
     getScheduleWeekDay() {
329
-     
330
-      const params = {
331
-        week_type:this.week_type,
332
-        week_time:this.week_time,
333
-       }
334
-      console.log("param22222",params)
236
+        const params = {
237
+          week_type:this.week_type,
238
+          week_time:this.week_time,
239
+        }
240
+
335
       getScheduleWeekDay(params).then(response => {
241
       getScheduleWeekDay(params).then(response => {
336
         this.scheduleData = [];
242
         this.scheduleData = [];
337
         if (response.data.state == 1) {
243
         if (response.data.state == 1) {
533
         }
439
         }
534
         return name;
440
         return name;
535
       }
441
       }
536
-    },
537
-    printActionSetting(){
538
-       this.getlist()
539
-       this.dialogVisible = true
540
-
541
-    },
542
-    saveRemindPrint(){
543
-       console.log("455555555",this.perfusion_apparatus)
544
-
545
-      if(this.perfusion_apparatus == true){
546
-         console.log("3333")
547
-          this.form.perfusion_apparatus = 1
548
-       }
549
-       if(this.perfusion_apparatus == false){
550
-          this.form.perfusion_apparatus = 2
551
-       }
552
-       if(this.prescription_status == true){
553
-         this.form.prescription_status = 1
554
-       }
555
-       if(this.prescription_status == false){
556
-         this.form.prescription_status = 2
557
-       }
558
-       if(this.week == true){
559
-          this.form.week = 1
560
-       }
561
-       if(this.week == false){
562
-          this.form.week = 2
563
-       }
564
-       if(this.name == true){
565
-         this.form.name = 1
566
-       }
567
-       if(this.name == false){
568
-          this.form.name = 2
569
-       }
570
-       if(this.zone == true){
571
-         this.form.zone = 1
572
-       }
573
-       if(this.zone == false){
574
-          this.form.zone = 2
575
-       }
576
-       if(this.classes == true){
577
-         this.form.classes = 1
578
-       }
579
-       if(this.classes == false){
580
-         this.form.classes = 2
581
-       }
582
-       if(this.number == true){
583
-          this.form.number = 1
584
-       }
585
-       if(this.number == false){
586
-         this.form.number = 2
587
-       }
588
-       if(this.mode == true){
589
-           this.form.mode = 1
590
-       }
591
-       if(this.mode == false){
592
-         this.form.mode = 2
593
-       }
594
-       if(this.dialyzers == true){
595
-          this.form.dialyzers = 1
596
-       }
597
-       if(this.dialyzers == false){
598
-          this.form.dialyzers = 2
599
-       }
600
-     
601
-       if(this.anticoagulant == true){
602
-          this.form.anticoagulant = 1
603
-       }
604
-       if(this.anticoagulant == false){
605
-         this.form.anticoagulant = 2
606
-       }
607
-       if(this.anticoagulant_zongliang == true){
608
-          this.form.anticoagulant_zongliang  = 1
609
-       }
610
-       if(this.anticoagulant_zongliang == false){
611
-          this.form.anticoagulant_zongliang = 2
612
-       }
613
-       if(this.doctor_advice == true){
614
-          this.form.doctor_advice =1
615
-       }
616
-       if(this.doctor_advice == false){
617
-          this.form.doctor_advice = 2
618
-       }
619
-       console.log("555555555",this.form.prescription_status)
620
-        var params = {
621
-          id:this.form.id,
622
-          prescription_status:this.form.prescription_status,
623
-          week:this.form.week,
624
-          name:this.form.name,
625
-          zone:this.form.zone,
626
-          classes:this.form.classes,
627
-          number:this.form.number,
628
-          mode:this.form.mode,
629
-          dialyzers:this.form.dialyzers,
630
-          perfusion_apparatus:this.form.perfusion_apparatus,
631
-          anticoagulant:this.form.anticoagulant,
632
-          anticoagulant_zongliang:this.form.anticoagulant_zongliang,
633
-          doctor_advice:this.form.doctor_advice,
634
-        }
635
-       console.log("params",params)
636
-      saveRemindPrint(params).then(response=>{
637
-          if(response.data.state == 1){
638
-             var settting = response.data.data.setting
639
-             this.$message.success("保存成功")
640
-             this.dialogVisible = false
641
-             this.getlist()
642
-          }
643
-      })
644
-    },
645
-    getlist(){
646
-      getRemindPrintList().then(response=>{
647
-         if(response.data.state == 1){
648
-            var list = response.data.data.list
649
-            console.log("list222332",list)
650
-            if(list.anticoagulant == 1){
651
-              console.log("进来22222")
652
-              this.anticoagulant = true
653
-            }
654
-            if(list.anticoagulant == 2){
655
-               this.anticoagulant = false
656
-            }
657
-            if(list.anticoagulant_zongliang == 1){
658
-              this.anticoagulant_zongliang = true
659
-            }
660
-            if(list.anticoagulant_zongliang == 2){
661
-               this.anticoagulant_zongliang = false 
662
-            }
663
-            if(list.classes == 1 ){
664
-                this.classes = true
665
-            }
666
-            if(list.classes == 2){
667
-                this.classes = false
668
-            }
669
-            if(list.dialyzers == 1){
670
-               this.dialyzers = true
671
-            }
672
-            if(list.dialyzers == 2){
673
-               this.dialyzers = false
674
-            }
675
-            if(list.doctor_advice == 1){
676
-               this.doctor_advice = true
677
-            }
678
-            if(list.doctor_advice == 2){
679
-               this.doctor_advice = false
680
-            }
681
-            if(list.name == 1){
682
-               this.name = true
683
-            }
684
-            if(list.name == 2){
685
-               this.name = false
686
-            }
687
-            if(list.number == 1){
688
-               this.number = true
689
-            }
690
-            if(list.number == 2){
691
-              this.number = false
692
-            }
693
-            if(list.perfusion_apparatus == 1){
694
-              this.perfusion_apparatus = true
695
-            }
696
-            if(list.perfusion_apparatus == 2){
697
-               this.perfusion_apparatus = false
698
-            }
699
-            if(list.prescription_status == 1){
700
-               this.prescription_status = true
701
-            }
702
-            if(list.prescription_status == 2){
703
-               this.prescription_status = false
704
-            }
705
-            if(list.week == 1){
706
-               this.week = true
707
-            } 
708
-            if(list.week == 2){
709
-               this.week = false
710
-            }
711
-            if(list.zone == 1){
712
-               this.zone = true
713
-            }
714
-            if(list.zone == 2){
715
-               this.zone = false
716
-            }
717
-            if(list.mode ==1){
718
-               this.mode = true
719
-            }
720
-            if(list.mode == 2){
721
-              this.mode = false
722
-            }
723
-            this.form.id = list.id
724
-         }
725
-      })
726
     }
442
     }
727
   },
443
   },
728
   components: {
444
   components: {
731
   created() {
447
   created() {
732
     this.modeOptions = this.$store.getters.treatment_mode;
448
     this.modeOptions = this.$store.getters.treatment_mode;
733
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit;
449
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit;
450
+    console.log("抗凝机", this.anticoagulants_confit);
734
     this.week_type = new Date().getDay();
451
     this.week_type = new Date().getDay();
735
     if (this.week_type == 0) {
452
     if (this.week_type == 0) {
736
       this.week_type = 7;
453
       this.week_type = 7;
739
     //   week_type: this.week_type
456
     //   week_type: this.week_type
740
     // };
457
     // };
741
     this.getScheduleWeekDay();
458
     this.getScheduleWeekDay();
459
+    console.log("org2222222",this.$store.getters.xt_user.org.id)
742
     this.org_id = this.$store.getters.xt_user.org.id
460
     this.org_id = this.$store.getters.xt_user.org.id
743
-    // this.getlist()
744
   }
461
   }
745
 };
462
 };
746
 </script>
463
 </script>