浏览代码

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

csx 4 年前
父节点
当前提交
4c9460eebf

+ 11 - 0
src/api/advice.js 查看文件

477
     params: params
477
     params: params
478
   });
478
   });
479
 }
479
 }
480
+
481
+
482
+
483
+
484
+export function GetLastOrNextDoctorAdvice(params) {
485
+  return request({
486
+    url: "/api/doctoradvice/get",
487
+    method: "get",
488
+    params: params
489
+  });
490
+}

+ 1 - 1
src/router/index.js 查看文件

101
 var _asy_router_map = [
101
 var _asy_router_map = [
102
   patient,
102
   patient,
103
   workforce,
103
   workforce,
104
-  // medicalScheduling,
104
+  medicalScheduling,
105
   weight_sign,
105
   weight_sign,
106
   dialysis,
106
   dialysis,
107
   stock,
107
   stock,

文件差异内容过多而无法显示
+ 1796 - 1381
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue


+ 5 - 3
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue 查看文件

386
               <el-input v-model="nameForm.advice_name"></el-input>
386
               <el-input v-model="nameForm.advice_name"></el-input>
387
             </el-form-item>
387
             </el-form-item>
388
           </el-col>
388
           </el-col>
389
-          
389
+
390
         </el-row>
390
         </el-row>
391
         <el-row>
391
         <el-row>
392
           <el-col :span="12">
392
           <el-col :span="12">
487
           </el-col>
487
           </el-col>
488
         </el-row>
488
         </el-row>
489
         <el-row>
489
         <el-row>
490
-          
490
+
491
           <el-col :span="12">
491
           <el-col :span="12">
492
             <el-form-item label="执行频率 :" prop="execution_frequency">
492
             <el-form-item label="执行频率 :" prop="execution_frequency">
493
               <el-select
493
               <el-select
1295
               }
1295
               }
1296
               this.$set(item, "children", item.children);
1296
               this.$set(item, "children", item.children);
1297
             }
1297
             }
1298
+            console.log("11122333")
1299
+            console.log(item)
1298
             this.allSelectedTemplate.unshift(item);
1300
             this.allSelectedTemplate.unshift(item);
1299
             adviceTemplate.DoctorAdviceTemplate[index].selection = false;
1301
             adviceTemplate.DoctorAdviceTemplate[index].selection = false;
1300
           }
1302
           }
1367
             this.$set(item, "children", item.children);
1369
             this.$set(item, "children", item.children);
1368
           }
1370
           }
1369
         }
1371
         }
1370
-
1372
+        console.log(this.groupForm.adviceNames)
1371
         this.groupForm.adviceNames.push(item);
1373
         this.groupForm.adviceNames.push(item);
1372
       }
1374
       }
1373
       this.templateFormVisible = false;
1375
       this.templateFormVisible = false;

+ 38 - 33
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

779
     >
779
     >
780
       <div style="font-size:0.6rem;padding-left:0.38rem;margin-top:0.2rem;">
780
       <div style="font-size:0.6rem;padding-left:0.38rem;margin-top:0.2rem;">
781
         <span style="font-weight: bold;color: #409eff;">开始时间:</span>
781
         <span style="font-weight: bold;color: #409eff;">开始时间:</span>
782
-        <el-time-picker
783
-          format="HH:mm"
784
-          value-format="HH:mm"
782
+        <el-date-picker
783
+          type="datetime"
784
+          format="yyyy-MM-dd HH:mm"
785
+          value-format="yyyy-MM-dd HH:mm"
786
+          placeholder="选择时间"
785
           v-model="start_time"
787
           v-model="start_time"
786
-          @change="changeTime"
787
-          :picker-options="{
788
-      selectableRange: '00:00:00 - 23:59:00'
789
-    }">
790
-        </el-time-picker>
788
+          style="width:100%;"
789
+        ></el-date-picker>
790
+
791
         <!--<span style="display: inline-block;border: 1px solid #ccc;padding: 10px 20px;border-radius: 5px;" @click="changeStartTime">{{ advice_start_time }}</span>-->
791
         <!--<span style="display: inline-block;border: 1px solid #ccc;padding: 10px 20px;border-radius: 5px;" @click="changeStartTime">{{ advice_start_time }}</span>-->
792
       </div>
792
       </div>
793
       <el-checkbox-group v-model="checkedCities">
793
       <el-checkbox-group v-model="checkedCities">
1541
                 })
1541
                 })
1542
                 var date = new Date()
1542
                 var date = new Date()
1543
 
1543
 
1544
-                var hour =
1545
-                  date.getHours() < 10 ? '0' + date.getHours() : date.getHours()
1546
-                var minute =
1547
-                  date.getMinutes() < 10
1548
-                    ? '0' + date.getMinutes()
1549
-                    : date.getMinutes()
1544
+                console.log(this.start_time)
1550
 
1545
 
1551
                 const params = {
1546
                 const params = {
1552
                   advices: results,
1547
                   advices: results,
1553
-                  advice_date: uParseTime(this.$route.query.date, '{y}-{m}-{d}'),
1548
+                  advice_date: this.start_time.split(" ")[0],
1554
                   advice_doctor: results[0].advice_doctor,
1549
                   advice_doctor: results[0].advice_doctor,
1555
                   advice_type: results[0].advice_type,
1550
                   advice_type: results[0].advice_type,
1556
                   parent_id: this.patient_id,
1551
                   parent_id: this.patient_id,
1557
-                  start_time:
1558
-                    uParseTime(this.$route.query.date, '{y}-{m}-{d}') +
1559
-                    ' ' +
1560
-                   this.advice_start_time,
1552
+                  start_time:this.start_time,
1561
                   remark: ''
1553
                   remark: ''
1562
                 }
1554
                 }
1563
                 CreateGroupAdvice(this.$route.query.patient_id, 0, params).then(
1555
                 CreateGroupAdvice(this.$route.query.patient_id, 0, params).then(
1619
 
1611
 
1620
                 const params = {
1612
                 const params = {
1621
                   advices: results,
1613
                   advices: results,
1622
-                  advice_date: uParseTime(this.$route.query.date, '{y}-{m}-{d}'),
1614
+                  advice_date: this.start_time.split(" ")[0],
1623
                   advice_doctor: results[0].advice_doctor,
1615
                   advice_doctor: results[0].advice_doctor,
1624
                   advice_type: results[0].advice_type,
1616
                   advice_type: results[0].advice_type,
1625
                   parent_id: this.patient_id,
1617
                   parent_id: this.patient_id,
1626
-                  start_time:
1627
-                    uParseTime(this.$route.query.date, '{y}-{m}-{d}') +
1628
-                    ' ' +
1629
-                    this.advice_start_time,
1630
-                  remark: ''
1618
+                  start_time:this.start_time,
1619
+                  remark: '',
1631
                 }
1620
                 }
1632
                 CreateGroupAdvice(this.$route.query.patient_id, 0, params).then(
1621
                 CreateGroupAdvice(this.$route.query.patient_id, 0, params).then(
1633
                   rs => {
1622
                   rs => {
1760
       },
1749
       },
1761
       show(pre,schedual,last) {
1750
       show(pre,schedual,last) {
1762
 
1751
 
1752
+        var date = new Date()
1753
+        var year = date.getFullYear()
1754
+        var month = date.getMonth() + 1
1755
+        var day = date.getDate()
1756
+
1757
+        var hours = date.getHours()
1758
+        var minites = date.getMinutes()
1759
+
1760
+        if (month < 10) {
1761
+          month = '0' + month
1762
+        }
1763
+        if (day < 10) {
1764
+          day = '0' + day
1765
+        }
1766
+        if (hours < 10) {
1767
+          hours = '0' + hours
1768
+        }
1769
+        if (minites < 10) {
1770
+          minites = '0' + minites
1771
+        }
1772
+
1763
         if(schedual.schedule_type == 1){
1773
         if(schedual.schedule_type == 1){
1764
-          this.start_time = new Date(2016, 9, 10, 7, 0,0)
1765
-          this.advice_start_time = "07:00"
1774
+          this.start_time = year +"-"+month +"-"+day +" " + "07:00"
1766
         }else if(schedual.schedule_type == 2){
1775
         }else if(schedual.schedule_type == 2){
1767
-          this.start_time = new Date(2016, 9, 10, 12, 0,0)
1768
-          this.advice_start_time = "12:00"
1769
-
1776
+          this.start_time = year +"-"+month +"-"+day +" " + "12:00"
1770
         }else if(schedual.schedule_type ==3){
1777
         }else if(schedual.schedule_type ==3){
1771
-          this.start_time = new Date(2016, 9, 10, 18, 0,0)
1772
-          this.advice_start_time = "18:00"
1773
-
1778
+          this.start_time = year +"-"+month +"-"+day +" " + "18:00"
1774
         }
1779
         }
1775
 
1780
 
1776
         if (pre.anticoagulant == 3) {
1781
         if (pre.anticoagulant == 3) {

+ 26 - 3
src/xt_pages/dialysis/details/index.vue 查看文件

870
     getScheduleDetail: function() {
870
     getScheduleDetail: function() {
871
       this.loading = true
871
       this.loading = true
872
       var dateStr = parseTime(this.date, '{y}-{m}-{d}')
872
       var dateStr = parseTime(this.date, '{y}-{m}-{d}')
873
-     
873
+
874
       this.doctor_advices = []
874
       this.doctor_advices = []
875
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
875
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
876
         var resp = rs.data
876
         var resp = rs.data
896
             }
896
             }
897
           }
897
           }
898
           var doctor_advices = resp.data.doctor_advices // 临时医嘱
898
           var doctor_advices = resp.data.doctor_advices // 临时医嘱
899
-       
899
+
900
           var double_check = resp.data.double_check // 双人核对
900
           var double_check = resp.data.double_check // 双人核对
901
           var assessment_after_dislysis = resp.data.assessment_after_dislysis // 透后评估
901
           var assessment_after_dislysis = resp.data.assessment_after_dislysis // 透后评估
902
-    
902
+
903
           var treatment_summary = resp.data.treatment_summary // 治疗小结
903
           var treatment_summary = resp.data.treatment_summary // 治疗小结
904
           var monitor_records = resp.data.monitor_records // 透析监测
904
           var monitor_records = resp.data.monitor_records // 透析监测
905
           var dialysis_order = resp.data.dialysis_order // 透析记录
905
           var dialysis_order = resp.data.dialysis_order // 透析记录
954
           this.headNurses = headNurses
954
           this.headNurses = headNurses
955
           this.system_prescribe = system_prescribe
955
           this.system_prescribe = system_prescribe
956
 
956
 
957
+
958
+
959
+
960
+          this.niprocart_info = []
961
+          this.jms_info = []
962
+          this.fistula_needle_set_info = []
963
+          this.fistula_needle_set_16_info = []
964
+          this.hemoperfusion_info = []
965
+          this.dialyser_sterilised_info = []
966
+
967
+          this.filtryzer_info = []
968
+          this.dialyzers_info = []
969
+          this.injector_info = []
970
+
971
+          this.bloodlines_info = []
972
+          this.tubingHemodialysis_info = []
973
+          this.safe_package_info = []
974
+          this.aliquid_info = []
975
+
976
+
977
+
978
+
979
+
957
           this.niprocart_info = niprocart_info
980
           this.niprocart_info = niprocart_info
958
           this.jms_info = jms_info
981
           this.jms_info = jms_info
959
           this.fistula_needle_set_info = fistula_needle_set_info
982
           this.fistula_needle_set_info = fistula_needle_set_info

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

196
                         </el-option>
196
                         </el-option>
197
                     </el-select>
197
                     </el-select>
198
                 </el-form-item>
198
                 </el-form-item>
199
-                
199
+
200
             </el-form>
200
             </el-form>
201
             <div slot="footer" class="dialog-footer">
201
             <div slot="footer" class="dialog-footer">
202
                 <el-button @click="newVisible=false">取 消</el-button>
202
                 <el-button @click="newVisible=false">取 消</el-button>
250
                           <el-table-column
250
                           <el-table-column
251
                             align="center"
251
                             align="center"
252
                             label="是否排班">
252
                             label="是否排班">
253
-                            <template slot-scope="scope">           
253
+                            <template slot-scope="scope">
254
                               <el-radio-group v-model="scope.row.is_sort" @change="changeRadio(scope.row)">
254
                               <el-radio-group v-model="scope.row.is_sort" @change="changeRadio(scope.row)">
255
                                  <el-radio :label="1">是</el-radio>
255
                                  <el-radio :label="1">是</el-radio>
256
                                  <el-radio :label="0">否</el-radio>
256
                                  <el-radio :label="0">否</el-radio>
289
                                     <span v-if="scope.row.user_title == 10">副主任护师</span>
289
                                     <span v-if="scope.row.user_title == 10">副主任护师</span>
290
                                     <span v-if="scope.row.user_title == 11">主任护师</span>
290
                                     <span v-if="scope.row.user_title == 11">主任护师</span>
291
                                     <span v-if="scope.row.user_title == 12">运营专员</span>
291
                                     <span v-if="scope.row.user_title == 12">运营专员</span>
292
-                                    <span v-if="scope.row.user_title == 13">运营主管</span>  
292
+                                    <span v-if="scope.row.user_title == 13">运营主管</span>
293
                                 </template>
293
                                 </template>
294
                              </el-table-column>
294
                              </el-table-column>
295
                                 <el-table-column
295
                                 <el-table-column
302
                                 <el-table-column
302
                                 <el-table-column
303
                                 align="center"
303
                                 align="center"
304
                                 label="是否排班">
304
                                 label="是否排班">
305
-                                <template slot-scope="scope">           
305
+                                <template slot-scope="scope">
306
                                   <el-radio-group v-model="scope.row.is_sort" @change="changeRadio(scope.row)">
306
                                   <el-radio-group v-model="scope.row.is_sort" @change="changeRadio(scope.row)">
307
                                      <el-radio :label="1">是</el-radio>
307
                                      <el-radio :label="1">是</el-radio>
308
                                      <el-radio :label="0">否</el-radio>
308
                                      <el-radio :label="0">否</el-radio>
378
               copyWeek:"",
378
               copyWeek:"",
379
             },
379
             },
380
            rules: {
380
            rules: {
381
-             copyWeek: [{ required: true, message: "请选择复制时间段", trigger: "blur" }],  
381
+             copyWeek: [{ required: true, message: "请选择复制时间段", trigger: "blur" }],
382
            },
382
            },
383
            timeNow:0,
383
            timeNow:0,
384
            arrZero:[],
384
            arrZero:[],
472
                     }
472
                     }
473
                     this.schedulelist = schedulelist
473
                     this.schedulelist = schedulelist
474
                 }
474
                 }
475
-            }) 
475
+            })
476
         },
476
         },
477
         hangdleClick(val,index,num){
477
         hangdleClick(val,index,num){
478
         //  console.log("val",val)
478
         //  console.log("val",val)
541
             schedule_date:this.getTimestamp(this.schedule_date)
541
             schedule_date:this.getTimestamp(this.schedule_date)
542
             }
542
             }
543
             //  console.log("params",params)
543
             //  console.log("params",params)
544
-            
544
+
545
             addSchedule(params).then(response=>{
545
             addSchedule(params).then(response=>{
546
             if(response.data.state == 1){
546
             if(response.data.state == 1){
547
                 var schedule = response.data.data.schedule
547
                 var schedule = response.data.data.schedule
551
                 }
551
                 }
552
             })
552
             })
553
         },
553
         },
554
-        formatDate(date){      
555
-            var year = date.getFullYear()+'.'       
554
+        formatDate(date){
555
+            var year = date.getFullYear()+'.'
556
             var month = (date.getMonth()+1)+'.';
556
             var month = (date.getMonth()+1)+'.';
557
             var day = date.getDate();
557
             var day = date.getDate();
558
             return year+month+day
558
             return year+month+day
559
-        }, 
560
-        formatDateTwo(date){      
561
-            var year = date.getFullYear()+'.'       
559
+        },
560
+        formatDateTwo(date){
561
+            var year = date.getFullYear()+'.'
562
             var month = (date.getMonth()+1)+'.';
562
             var month = (date.getMonth()+1)+'.';
563
             var day = date.getDate();
563
             var day = date.getDate();
564
             return year+month+day
564
             return year+month+day
565
-        }, 
566
-        addDate(date,n){        
567
-            date.setDate(date.getDate()+n);        
565
+        },
566
+        addDate(date,n){
567
+            date.setDate(date.getDate()+n);
568
             return date;
568
             return date;
569
-        },  
569
+        },
570
             //
570
             //
571
-        setDate(date){           
571
+        setDate(date){
572
             var week = date.getDay()-1;
572
             var week = date.getDay()-1;
573
             date = this.addDate(date,week*-1);
573
             date = this.addDate(date,week*-1);
574
             this.currentFirstDate = new Date(date);
574
             this.currentFirstDate = new Date(date);
575
             this.currentDate = new Date(date)
575
             this.currentDate = new Date(date)
576
-            for(var i = 0;i<this.clen; i++){     
576
+            for(var i = 0;i<this.clen; i++){
577
                 this.weekDayArr.push(this.formatDate(i==0 ? date : this.addDate(date,1)))
577
                 this.weekDayArr.push(this.formatDate(i==0 ? date : this.addDate(date,1)))
578
-            }         
578
+            }
579
         },
579
         },
580
-            //上一周 
580
+            //上一周
581
         lastclick(){
581
         lastclick(){
582
             this.weekDayArr=[]
582
             this.weekDayArr=[]
583
-            this.setDate(this.addDate(this.currentFirstDate,-7));   
583
+            this.setDate(this.addDate(this.currentFirstDate,-7));
584
             if (this.weekNum == 1) {
584
             if (this.weekNum == 1) {
585
                 let year = this.nowYear - 1
585
                 let year = this.nowYear - 1
586
                 let month = 12
586
                 let month = 12
592
             this.getNextWeekList()
592
             this.getNextWeekList()
593
         },
593
         },
594
             //下一周
594
             //下一周
595
-        nextclick(){ 
596
-            this.weekDayArr=[]                
595
+        nextclick(){
596
+            this.weekDayArr=[]
597
             this.setDate(this.addDate(this.currentFirstDate,7));
597
             this.setDate(this.addDate(this.currentFirstDate,7));
598
             this.weekNum = this.weekNum + 1
598
             this.weekNum = this.weekNum + 1
599
             if (this.weekNum == 53) {
599
             if (this.weekNum == 53) {
607
         },
607
         },
608
 
608
 
609
         getYearWeek(year,month,date){
609
         getYearWeek(year,month,date){
610
-        /*  
611
-            dateNow是当前日期 
612
-            dateFirst是当年第一天  
613
-            dataNumber是当前日期是今年第多少天  
614
-            用dataNumber + 当前年的第一天的周差距的和在除以7就是本年第几周  
615
-        */      
610
+        /*
611
+            dateNow是当前日期
612
+            dateFirst是当年第一天
613
+            dataNumber是当前日期是今年第多少天
614
+            用dataNumber + 当前年的第一天的周差距的和在除以7就是本年第几周
615
+        */
616
         let dateNow = new Date(year, parseInt(month) - 1, date);
616
         let dateNow = new Date(year, parseInt(month) - 1, date);
617
         let dateFirst = new Date(year, 0, 1);
617
         let dateFirst = new Date(year, 0, 1);
618
         let dataNumber = Math.round((dateNow.valueOf() - dateFirst.valueOf()) / 86400000);
618
         let dataNumber = Math.round((dateNow.valueOf() - dateFirst.valueOf()) / 86400000);
619
-        return Math.ceil((dataNumber + ((dateFirst.getDay() + 1) - 1)) / 7);        
619
+        return Math.ceil((dataNumber + ((dateFirst.getDay() + 1) - 1)) / 7);
620
         },
620
         },
621
         getTimestamp(time) { //把时间日期转成时间戳
621
         getTimestamp(time) { //把时间日期转成时间戳
622
         return (new Date(time)).getTime() / 1000
622
         return (new Date(time)).getTime() / 1000
636
             }
636
             }
637
             getStaffScheduleList(params).then(response=>{
637
             getStaffScheduleList(params).then(response=>{
638
                 if(response.data.state == 1){
638
                 if(response.data.state == 1){
639
-                    var staffList =  response.data.data.staffList                
639
+                    var staffList =  response.data.data.staffList
640
                     // console.log("获取所有排班",staffList)
640
                     // console.log("获取所有排班",staffList)
641
                     var sevenStr = ""
641
                     var sevenStr = ""
642
                     var oneStr = ""
642
                     var oneStr = ""
652
                     this.arrFour = []
652
                     this.arrFour = []
653
                     this.arrFive = []
653
                     this.arrFive = []
654
                     this.arrSix = []
654
                     this.arrSix = []
655
-                
655
+
656
                     for(let i=0;i<staffList.length;i++){
656
                     for(let i=0;i<staffList.length;i++){
657
                     if(staffList[i].schedule_week == 0){
657
                     if(staffList[i].schedule_week == 0){
658
                         staffList[i].class_index = 0
658
                         staffList[i].class_index = 0
659
                          var arr = []
659
                          var arr = []
660
-                        this.arrZero.push(staffList[i].class_name)             
660
+                        this.arrZero.push(staffList[i].class_name)
661
                         for(let i=0;i<this.arrZero.length;i++){
661
                         for(let i=0;i<this.arrZero.length;i++){
662
                            if(this.arrZero[i]!=''){
662
                            if(this.arrZero[i]!=''){
663
                               arr.push(this.arrZero[i])
663
                               arr.push(this.arrZero[i])
664
                            }
664
                            }
665
                         }
665
                         }
666
-                        var countedNames = arr.reduce(function (allNames, name) { 
666
+                        var countedNames = arr.reduce(function (allNames, name) {
667
                             if (name in allNames) {
667
                             if (name in allNames) {
668
                                 allNames[name]++;
668
                                 allNames[name]++;
669
                             }
669
                             }
690
                               arr.push(this.arrOne[i])
690
                               arr.push(this.arrOne[i])
691
                            }
691
                            }
692
                         }
692
                         }
693
-                        var countedNames = arr.reduce(function (allNames, name) { 
693
+                        var countedNames = arr.reduce(function (allNames, name) {
694
                             if (name in allNames) {
694
                             if (name in allNames) {
695
                                 allNames[name]++;
695
                                 allNames[name]++;
696
                             }
696
                             }
717
                               arr.push(this.arrTwo[i])
717
                               arr.push(this.arrTwo[i])
718
                            }
718
                            }
719
                         }
719
                         }
720
-                        var countedNames = arr.reduce(function (allNames, name) { 
720
+                        var countedNames = arr.reduce(function (allNames, name) {
721
                             if (name in allNames) {
721
                             if (name in allNames) {
722
                                 allNames[name]++;
722
                                 allNames[name]++;
723
                             }
723
                             }
744
                               arr.push(this.arrThree[i])
744
                               arr.push(this.arrThree[i])
745
                            }
745
                            }
746
                         }
746
                         }
747
-                        var countedNames = arr.reduce(function (allNames, name) { 
747
+                        var countedNames = arr.reduce(function (allNames, name) {
748
                             if (name in allNames) {
748
                             if (name in allNames) {
749
                                 allNames[name]++;
749
                                 allNames[name]++;
750
                             }
750
                             }
771
                               arr.push(this.arrFour[i])
771
                               arr.push(this.arrFour[i])
772
                            }
772
                            }
773
                         }
773
                         }
774
-                        var countedNames = arr.reduce(function (allNames, name) { 
774
+                        var countedNames = arr.reduce(function (allNames, name) {
775
                             if (name in allNames) {
775
                             if (name in allNames) {
776
                                 allNames[name]++;
776
                                 allNames[name]++;
777
                             }
777
                             }
799
                               arr.push(this.arrFive[i])
799
                               arr.push(this.arrFive[i])
800
                            }
800
                            }
801
                         }
801
                         }
802
-                        var countedNames = arr.reduce(function (allNames, name) { 
802
+                        var countedNames = arr.reduce(function (allNames, name) {
803
                             if (name in allNames) {
803
                             if (name in allNames) {
804
                                 allNames[name]++;
804
                                 allNames[name]++;
805
                             }
805
                             }
826
                               arr.push(this.arrSix[i])
826
                               arr.push(this.arrSix[i])
827
                            }
827
                            }
828
                         }
828
                         }
829
-                        var countedNames = arr.reduce(function (allNames, name) { 
829
+                        var countedNames = arr.reduce(function (allNames, name) {
830
                             if (name in allNames) {
830
                             if (name in allNames) {
831
                                 allNames[name]++;
831
                                 allNames[name]++;
832
                             }
832
                             }
869
                     this.doctorlist.sort(this.compare('admin_user_id'))
869
                     this.doctorlist.sort(this.compare('admin_user_id'))
870
                     this.doctorlist.forEach((item, index) => {
870
                     this.doctorlist.forEach((item, index) => {
871
                       if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
871
                       if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
872
-                    
872
+
873
                       }else{
873
                       }else{
874
                         arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: [],user_type:item.user_type})
874
                         arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: [],user_type:item.user_type})
875
                       }
875
                       }
876
                     })
876
                     })
877
                     arr.sort(this.compare('user_type'))
877
                     arr.sort(this.compare('user_type'))
878
-                    
878
+
879
                     let arr2 = []
879
                     let arr2 = []
880
                     arr2.push({class_name:oneStr,schedule_week:1})
880
                     arr2.push({class_name:oneStr,schedule_week:1})
881
                     arr2.push({class_name:twoStr,schedule_week:2})
881
                     arr2.push({class_name:twoStr,schedule_week:2})
891
                     obj.list = arr2
891
                     obj.list = arr2
892
                     arr.push(obj)
892
                     arr.push(obj)
893
                     this.tableData = arr
893
                     this.tableData = arr
894
-        
895
-                
894
+
895
+
896
                 }
896
                 }
897
             })
897
             })
898
         },
898
         },
909
                             }
909
                             }
910
                         })
910
                         })
911
                     }
911
                     }
912
-                    
912
+
913
                 }
913
                 }
914
                 })
914
                 })
915
                 return newClass
915
                 return newClass
916
             }
916
             }
917
-        
917
+
918
         },
918
         },
919
         getClassAttributes(name,index){
919
         getClassAttributes(name,index){
920
             if(name != undefined){
920
             if(name != undefined){
928
                             }
928
                             }
929
                         })
929
                         })
930
                     }
930
                     }
931
-                    
931
+
932
                 }
932
                 }
933
                 })
933
                 })
934
                 return newClass
934
                 return newClass
935
             }
935
             }
936
-        
936
+
937
         },
937
         },
938
 
938
 
939
-        unique(arr) { 
939
+        unique(arr) {
940
             const res = new Map();
940
             const res = new Map();
941
             return arr.filter((arr) => !res.has(arr.admin_user_id) && res.set(arr.admin_user_id, 1))
941
             return arr.filter((arr) => !res.has(arr.admin_user_id) && res.set(arr.admin_user_id, 1))
942
         },
942
         },
943
-        
943
+
944
         //获取上一周下一周的排班数据
944
         //获取上一周下一周的排班数据
945
         getNextWeekList(){
945
         getNextWeekList(){
946
             const params = {
946
             const params = {
975
                               arr.push(this.arrZero[i])
975
                               arr.push(this.arrZero[i])
976
                            }
976
                            }
977
                         }
977
                         }
978
-                        var countedNames = arr.reduce(function (allNames, name) { 
978
+                        var countedNames = arr.reduce(function (allNames, name) {
979
                             if (name in allNames) {
979
                             if (name in allNames) {
980
                                 allNames[name]++;
980
                                 allNames[name]++;
981
                             }
981
                             }
1002
                               arr.push(this.arrOne[i])
1002
                               arr.push(this.arrOne[i])
1003
                            }
1003
                            }
1004
                         }
1004
                         }
1005
-                        var countedNames = arr.reduce(function (allNames, name) { 
1005
+                        var countedNames = arr.reduce(function (allNames, name) {
1006
                             if (name in allNames) {
1006
                             if (name in allNames) {
1007
                                 allNames[name]++;
1007
                                 allNames[name]++;
1008
                             }
1008
                             }
1029
                               arr.push(this.arrTwo[i])
1029
                               arr.push(this.arrTwo[i])
1030
                            }
1030
                            }
1031
                         }
1031
                         }
1032
-                        var countedNames = arr.reduce(function (allNames, name) { 
1032
+                        var countedNames = arr.reduce(function (allNames, name) {
1033
                             if (name in allNames) {
1033
                             if (name in allNames) {
1034
                                 allNames[name]++;
1034
                                 allNames[name]++;
1035
                             }
1035
                             }
1056
                               arr.push(this.arrThree[i])
1056
                               arr.push(this.arrThree[i])
1057
                            }
1057
                            }
1058
                         }
1058
                         }
1059
-                        var countedNames = arr.reduce(function (allNames, name) { 
1059
+                        var countedNames = arr.reduce(function (allNames, name) {
1060
                             if (name in allNames) {
1060
                             if (name in allNames) {
1061
                                 allNames[name]++;
1061
                                 allNames[name]++;
1062
                             }
1062
                             }
1083
                               arr.push(this.arrFour[i])
1083
                               arr.push(this.arrFour[i])
1084
                            }
1084
                            }
1085
                         }
1085
                         }
1086
-                        var countedNames = arr.reduce(function (allNames, name) { 
1086
+                        var countedNames = arr.reduce(function (allNames, name) {
1087
                             if (name in allNames) {
1087
                             if (name in allNames) {
1088
                                 allNames[name]++;
1088
                                 allNames[name]++;
1089
                             }
1089
                             }
1111
                               arr.push(this.arrFive[i])
1111
                               arr.push(this.arrFive[i])
1112
                            }
1112
                            }
1113
                         }
1113
                         }
1114
-                        var countedNames = arr.reduce(function (allNames, name) { 
1114
+                        var countedNames = arr.reduce(function (allNames, name) {
1115
                             if (name in allNames) {
1115
                             if (name in allNames) {
1116
                                 allNames[name]++;
1116
                                 allNames[name]++;
1117
                             }
1117
                             }
1138
                               arr.push(this.arrSix[i])
1138
                               arr.push(this.arrSix[i])
1139
                            }
1139
                            }
1140
                         }
1140
                         }
1141
-                        var countedNames = arr.reduce(function (allNames, name) { 
1141
+                        var countedNames = arr.reduce(function (allNames, name) {
1142
                             if (name in allNames) {
1142
                             if (name in allNames) {
1143
                                 allNames[name]++;
1143
                                 allNames[name]++;
1144
                             }
1144
                             }
1180
                     this.doctorlist.sort(this.compare('admin_user_id'))
1180
                     this.doctorlist.sort(this.compare('admin_user_id'))
1181
                     this.doctorlist.forEach((item, index) => {
1181
                     this.doctorlist.forEach((item, index) => {
1182
                       if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1182
                       if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1183
-                    
1183
+
1184
                       }else{
1184
                       }else{
1185
                         arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: [],user_type:item.user_type})
1185
                         arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: [],user_type:item.user_type})
1186
                         // console.log("arr",arr)
1186
                         // console.log("arr",arr)
1210
             const params = {
1210
             const params = {
1211
             start_time:this.getTimestamp(this.weekDayArr[0]),
1211
             start_time:this.getTimestamp(this.weekDayArr[0]),
1212
             end_time:this.getTimestamp(this.weekDayArr[6]),
1212
             end_time:this.getTimestamp(this.weekDayArr[6]),
1213
-            doctor_id:id 
1213
+            doctor_id:id
1214
             }
1214
             }
1215
             getScheduleByDoctorId(params).then(response=>{
1215
             getScheduleByDoctorId(params).then(response=>{
1216
                 if(response.data.state == 1){
1216
                 if(response.data.state == 1){
1217
                     var  staffList =  response.data.data.staffList
1217
                     var  staffList =  response.data.data.staffList
1218
                     // console.log("staffList",staffList)
1218
                     // console.log("staffList",staffList)
1219
-    
1219
+
1220
                     let tempArr = [], newArr = []
1220
                     let tempArr = [], newArr = []
1221
                     for (let i = 0; i < staffList.length; i++) {
1221
                     for (let i = 0; i < staffList.length; i++) {
1222
                         if (tempArr.indexOf(staffList[i].user_name) === -1) {
1222
                         if (tempArr.indexOf(staffList[i].user_name) === -1) {
1242
                         this.doctorlist.sort(this.compare('admin_user_id'))
1242
                         this.doctorlist.sort(this.compare('admin_user_id'))
1243
                         this.doctorlist.forEach((item, index) => {
1243
                         this.doctorlist.forEach((item, index) => {
1244
                           if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1244
                           if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1245
-                        
1245
+
1246
                           }else{
1246
                           }else{
1247
                             arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: [],user_type:item.user_type})
1247
                             arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: [],user_type:item.user_type})
1248
                             // console.log("arr",arr)
1248
                             // console.log("arr",arr)
1263
                         })
1263
                         })
1264
                         newDoctor.map((item, index) => {
1264
                         newDoctor.map((item, index) => {
1265
                         if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1265
                         if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1266
-                        
1266
+
1267
                           }else{
1267
                           }else{
1268
                             arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: []})
1268
                             arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: []})
1269
                             // console.log("arr",arr)
1269
                             // console.log("arr",arr)
1283
                         })
1283
                         })
1284
                         newDoctor.map((item, index) => {
1284
                         newDoctor.map((item, index) => {
1285
                         if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1285
                         if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1286
-                        
1286
+
1287
                           }else{
1287
                           }else{
1288
                             arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: []})
1288
                             arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: []})
1289
                             // console.log("arr",arr)
1289
                             // console.log("arr",arr)
1331
                         this.doctorlist.sort(this.compare('admin_user_id'))
1331
                         this.doctorlist.sort(this.compare('admin_user_id'))
1332
                         this.doctorlist.forEach((item, index) => {
1332
                         this.doctorlist.forEach((item, index) => {
1333
                           if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1333
                           if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
1334
-                        
1334
+
1335
                           }else{
1335
                           }else{
1336
                             arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: []})
1336
                             arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: []})
1337
                             // console.log("arr",arr)
1337
                             // console.log("arr",arr)
1382
             //     }else{
1382
             //     }else{
1383
             //     this.$message.error("排班已存在")
1383
             //     this.$message.error("排班已存在")
1384
             //     }
1384
             //     }
1385
-            // }) 
1385
+            // })
1386
         },
1386
         },
1387
         toContinuous(){
1387
         toContinuous(){
1388
             var is_status = 0
1388
             var is_status = 0
1422
                }
1422
                }
1423
             }
1423
             }
1424
            var start = label.split('~')
1424
            var start = label.split('~')
1425
-           var copy_startime = this.getTimestamp(start[0])   
1426
-           var copy_endtime = this.getTimestamp(start[1]) 
1425
+           var copy_startime = this.getTimestamp(start[0])
1426
+           var copy_endtime = this.getTimestamp(start[1])
1427
 
1427
 
1428
             const params = {
1428
             const params = {
1429
               start_time:this.getTimestamp(this.weekDayArr[0]),
1429
               start_time:this.getTimestamp(this.weekDayArr[0]),
1461
             if (week.length == 14) {
1461
             if (week.length == 14) {
1462
                 weeks = week[4]+week[5]+week[6]+week[7]+week[8]+week[9]+week[10]+week[11]+week[12]
1462
                 weeks = week[4]+week[5]+week[6]+week[7]+week[8]+week[9]+week[10]+week[11]+week[12]
1463
             }
1463
             }
1464
-            
1464
+
1465
             //  console.log("week",week)
1465
             //  console.log("week",week)
1466
             //  console.log("weeks",weeks)
1466
             //  console.log("weeks",weeks)
1467
             var weekdate =  this.getTimestamp(weeks)
1467
             var weekdate =  this.getTimestamp(weeks)
1478
         changeSort(val){
1478
         changeSort(val){
1479
           console.log('val',val)
1479
           console.log('val',val)
1480
             const params = {
1480
             const params = {
1481
-              sort:parseInt(val.sort), 
1482
-              id:val.id, 
1481
+              sort:parseInt(val.sort),
1482
+              id:val.id,
1483
             }
1483
             }
1484
             console.log("params",params)
1484
             console.log("params",params)
1485
-          SaveNurseSort(params).then(response=>{
1486
-             if(response.data.state == 1){
1487
-               var role = response.data.data.role
1488
-               this.$message.success("保存成功")
1489
-               this.getDoctorList()
1490
-             }
1491
-          })
1485
+          // SaveNurseSort(params).then(response=>{
1486
+          //    if(response.data.state == 1){
1487
+          //      var role = response.data.data.role
1488
+          //      this.$message.success("保存成功")
1489
+          //      this.getDoctorList()
1490
+          //    }
1491
+          // })
1492
         },
1492
         },
1493
        changeRadio(val){
1493
        changeRadio(val){
1494
           console.log("val",val)
1494
           console.log("val",val)
1495
            const params = {
1495
            const params = {
1496
               id:val.id,
1496
               id:val.id,
1497
-              is_sort:val.is_sort, 
1497
+              is_sort:val.is_sort,
1498
            }
1498
            }
1499
-         SaveIsSchedule(params).then(response=>{
1500
-            if(response.data.state == 1){
1501
-              var role =  response.data.data.role
1502
-              this.$message.success("保存成功")
1503
-              this.getDoctorList()
1504
-            }
1505
-         })
1499
+         // SaveIsSchedule(params).then(response=>{
1500
+         //    if(response.data.state == 1){
1501
+         //      var role =  response.data.data.role
1502
+         //      this.$message.success("保存成功")
1503
+         //      this.getDoctorList()
1504
+         //    }
1505
+         // })
1506
        }
1506
        }
1507
     },
1507
     },
1508
     created(){
1508
     created(){
1530
                 let stt = this.weekList[i][0] +"~"+this.weekList[i][6]
1530
                 let stt = this.weekList[i][0] +"~"+this.weekList[i][6]
1531
                 this.timeOptions.push({value:i,label:stt})
1531
                 this.timeOptions.push({value:i,label:stt})
1532
             }else{
1532
             }else{
1533
-                
1533
+
1534
                 newNum++
1534
                 newNum++
1535
                 let str = this.weekList[i][0] + '~' + this.weekList[i][6] + '(' + newNum + ')'
1535
                 let str = this.weekList[i][0] + '~' + this.weekList[i][6] + '(' + newNum + ')'
1536
-                this.typeOptions.push({value:i,label:str}) 
1536
+                this.typeOptions.push({value:i,label:str})
1537
                 let stt = this.weekList[i][0] +"~"+this.weekList[i][6]
1537
                 let stt = this.weekList[i][0] +"~"+this.weekList[i][6]
1538
-                this.timeOptions.push({value:i,label:stt}) 
1538
+                this.timeOptions.push({value:i,label:stt})
1539
             }
1539
             }
1540
-            
1540
+
1541
         }
1541
         }
1542
       var now = moment().locale('zh-cn').format('YYYY-MM-DD 00:00:00')
1542
       var now = moment().locale('zh-cn').format('YYYY-MM-DD 00:00:00')
1543
       this.timeNow = this.getTimestamp(now)
1543
       this.timeNow = this.getTimestamp(now)
1544
-      
1545
-      
1544
+
1545
+
1546
     }
1546
     }
1547
 }
1547
 }
1548
 </script>
1548
 </script>
1567
         background-color: rgb(245, 247, 250);
1567
         background-color: rgb(245, 247, 250);
1568
         color: rgb(96, 98, 102);
1568
         color: rgb(96, 98, 102);
1569
         font-weight:bold;
1569
         font-weight:bold;
1570
-        
1570
+
1571
     }
1571
     }
1572
     .classMain{
1572
     .classMain{
1573
         height: 400px;
1573
         height: 400px;

+ 30 - 30
src/xt_pages/medicalScheduling/schedulingStatistics.vue 查看文件

67
                     :picker-options="pickerOptions">
67
                     :picker-options="pickerOptions">
68
                     </el-date-picker>
68
                     </el-date-picker>
69
                 </div>
69
                 </div>
70
-                
70
+
71
             </div>
71
             </div>
72
             <div class="tableTitle">统计图</div>
72
             <div class="tableTitle">统计图</div>
73
             <div class="cell clearfix" style="margin:0;">
73
             <div class="cell clearfix" style="margin:0;">
123
 import echarts from "echarts";
123
 import echarts from "echarts";
124
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
124
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
125
 import LineChart from "../qcd/components/LineChart";
125
 import LineChart from "../qcd/components/LineChart";
126
-import { getScheduleList,getScheduleListTotal }  from '@/api/doctorSchedule'
126
+import { getScheduleList }  from '@/api/doctorSchedule'
127
 export default {
127
 export default {
128
     components:{
128
     components:{
129
         BreadCrumb,
129
         BreadCrumb,
273
         this.weekNum = this.getYearWeek(year,month,date)
273
         this.weekNum = this.getYearWeek(year,month,date)
274
         this.todayDate=this.formatDate(new Date())
274
         this.todayDate=this.formatDate(new Date())
275
         this.setDate(new Date())
275
         this.setDate(new Date())
276
-      
276
+
277
 
277
 
278
       //获取所有排班种
278
       //获取所有排班种
279
       this.getScheduleList()
279
       this.getScheduleList()
280
-  
281
-      //获取统计表的数据
282
-      this.getlist()
280
+
281
+      // 获取统计表的数据
282
+      // this.getlist()
283
     },
283
     },
284
     methods:{
284
     methods:{
285
         toSearch(){},
285
         toSearch(){},
286
-        formatDate(date){      
287
-            var year = date.getFullYear()+'.'       
286
+        formatDate(date){
287
+            var year = date.getFullYear()+'.'
288
             var month = (date.getMonth()+1)+'.';
288
             var month = (date.getMonth()+1)+'.';
289
             var day = date.getDate();
289
             var day = date.getDate();
290
             return year+month+day
290
             return year+month+day
291
-        }, 
292
-        addDate(date,n){        
293
-            date.setDate(date.getDate()+n);        
291
+        },
292
+        addDate(date,n){
293
+            date.setDate(date.getDate()+n);
294
             return date;
294
             return date;
295
-        },  
296
-        setDate(date){           
295
+        },
296
+        setDate(date){
297
             var week = date.getDay()-1;
297
             var week = date.getDay()-1;
298
             date = this.addDate(date,week*-1);
298
             date = this.addDate(date,week*-1);
299
             this.currentFirstDate = new Date(date);
299
             this.currentFirstDate = new Date(date);
300
             this.currentDate = new Date(date)
300
             this.currentDate = new Date(date)
301
-            for(var i = 0;i<this.clen; i++){     
301
+            for(var i = 0;i<this.clen; i++){
302
                 this.weekDayArr.push(this.formatDate(i==0 ? date : this.addDate(date,1)))
302
                 this.weekDayArr.push(this.formatDate(i==0 ? date : this.addDate(date,1)))
303
-            }         
303
+            }
304
         },
304
         },
305
-        //上一周 
305
+        //上一周
306
         lastclick(){
306
         lastclick(){
307
             this.weekDayArr=[]
307
             this.weekDayArr=[]
308
-            this.setDate(this.addDate(this.currentFirstDate,-7));   
308
+            this.setDate(this.addDate(this.currentFirstDate,-7));
309
             if (this.weekNum == 1) {
309
             if (this.weekNum == 1) {
310
                 let year = this.nowYear - 1
310
                 let year = this.nowYear - 1
311
                 let month = 12
311
                 let month = 12
316
             this.weekNum = this.weekNum - 1
316
             this.weekNum = this.weekNum - 1
317
         },
317
         },
318
         //下一周
318
         //下一周
319
-        nextclick(){ 
320
-            this.weekDayArr=[]                
319
+        nextclick(){
320
+            this.weekDayArr=[]
321
             this.setDate(this.addDate(this.currentFirstDate,7));
321
             this.setDate(this.addDate(this.currentFirstDate,7));
322
             this.weekNum = this.weekNum + 1
322
             this.weekNum = this.weekNum + 1
323
             if (this.weekNum == 53) {
323
             if (this.weekNum == 53) {
329
             }
329
             }
330
         },
330
         },
331
         getYearWeek(year,month,date){
331
         getYearWeek(year,month,date){
332
-            /*  
333
-                dateNow是当前日期 
334
-                dateFirst是当年第一天  
335
-                dataNumber是当前日期是今年第多少天  
336
-                用dataNumber + 当前年的第一天的周差距的和在除以7就是本年第几周  
337
-            */      
332
+            /*
333
+                dateNow是当前日期
334
+                dateFirst是当年第一天
335
+                dataNumber是当前日期是今年第多少天
336
+                用dataNumber + 当前年的第一天的周差距的和在除以7就是本年第几周
337
+            */
338
             let dateNow = new Date(year, parseInt(month) - 1, date);
338
             let dateNow = new Date(year, parseInt(month) - 1, date);
339
             let dateFirst = new Date(year, 0, 1);
339
             let dateFirst = new Date(year, 0, 1);
340
             let dataNumber = Math.round((dateNow.valueOf() - dateFirst.valueOf()) / 86400000);
340
             let dataNumber = Math.round((dateNow.valueOf() - dateFirst.valueOf()) / 86400000);
341
-            return Math.ceil((dataNumber + ((dateFirst.getDay() + 1) - 1)) / 7);        
341
+            return Math.ceil((dataNumber + ((dateFirst.getDay() + 1) - 1)) / 7);
342
             },
342
             },
343
             getTimestamp(time) { //把时间日期转成时间戳
343
             getTimestamp(time) { //把时间日期转成时间戳
344
             return (new Date(time)).getTime() / 1000
344
             return (new Date(time)).getTime() / 1000
354
             var month = nowDate.getMonth() + 1; // getMonth 方法返回 0-11,代表1-12月
354
             var month = nowDate.getMonth() + 1; // getMonth 方法返回 0-11,代表1-12月
355
             var endOfMonth = new Date(fullYear, month, 0).getDate(); // 获取本月最后一天
355
             var endOfMonth = new Date(fullYear, month, 0).getDate(); // 获取本月最后一天
356
             let monthEndTime = this.getFullDate(cloneNowDate.setDate(endOfMonth))
356
             let monthEndTime = this.getFullDate(cloneNowDate.setDate(endOfMonth))
357
-            
358
-            
357
+
358
+
359
             console.log('monthEndTime',this.getTimestamp(monthEndTime))
359
             console.log('monthEndTime',this.getTimestamp(monthEndTime))
360
-            
360
+
361
         },
361
         },
362
         getFullDate(targetDate) {
362
         getFullDate(targetDate) {
363
             var D, y, m, d;
363
             var D, y, m, d;
386
                 var schedulelist = response.data.data.scheduleList
386
                 var schedulelist = response.data.data.scheduleList
387
                 console.log("schedulelist",schedulelist)
387
                 console.log("schedulelist",schedulelist)
388
                 this.scheduleList = schedulelist
388
                 this.scheduleList = schedulelist
389
-             } 
389
+             }
390
           })
390
           })
391
         },
391
         },
392
 
392
 

+ 14 - 13
src/xt_pages/user/components/PatientDetail.vue 查看文件

223
                 </el-radio-group>
223
                 </el-radio-group>
224
               </el-form-item>
224
               </el-form-item>
225
             </el-col>
225
             </el-col>
226
+            <el-col :span="8">
227
+              <el-form-item label="备注" prop="sch_remark">
228
+                <!-- <textarea v-model="form.remark" class="textarea" disabled></textarea> -->
229
+                <el-input
230
+                  type="textarea"
231
+                  :rows="3"
232
+                  v-model="form.sch_remark"
233
+                  resize="none"
234
+                  placeholder=""
235
+                  readonly
236
+                ></el-input>
237
+              </el-form-item>
238
+            </el-col>
226
             <el-col :span="8" style="height:59px;">
239
             <el-col :span="8" style="height:59px;">
227
               <el-form-item
240
               <el-form-item
228
                 label="治疗状态(转归) : "
241
                 label="治疗状态(转归) : "
633
           </el-form-item>
646
           </el-form-item>
634
         </el-col>
647
         </el-col>
635
 
648
 
636
-        <el-col :span="8">
637
-          <el-form-item label="" prop="sch_remark">
638
-            <!-- <textarea v-model="form.remark" class="textarea" disabled></textarea> -->
639
-            <el-input
640
-              type="textarea"
641
-              :rows="3"
642
-              v-model="form.sch_remark"
643
-              resize="none"
644
-              placeholder=""
645
-              readonly
646
-            ></el-input>
647
-          </el-form-item>
648
-        </el-col>
649
+
649
 
650
 
650
         <el-col :span="24">
651
         <el-col :span="24">
651
           <el-form-item label="慢性病 : " prop="diseases">
652
           <el-form-item label="慢性病 : " prop="diseases">