Browse Source

Merge branch '20200710_pc_vue_new_branch' into 20200916_pc_vue_new_branch

csx 4 years ago
parent
commit
8a7aebd043

+ 1 - 1
src/xt_pages/data/specialDictionary.vue View File

1
-<template>
1
+ <template>
2
   <div class="main-contain">
2
   <div class="main-contain">
3
     <div class="position">
3
     <div class="position">
4
       <bread-crumb :crumbs="crumbs"></bread-crumb>
4
       <bread-crumb :crumbs="crumbs"></bread-crumb>

+ 21 - 11
src/xt_pages/user/components/EditGroupAdvice.vue View File

396
                 @select="handleSelect"
396
                 @select="handleSelect"
397
                 @input="changeDrugName"
397
                 @input="changeDrugName"
398
               ></el-autocomplete>
398
               ></el-autocomplete>
399
-              
399
+
400
             </el-form-item>
400
             </el-form-item>
401
           </el-col>
401
           </el-col>
402
           <el-col :span="14">
402
           <el-col :span="14">
696
       default: function() {
696
       default: function() {
697
         return [];
697
         return [];
698
       }
698
       }
699
+    },executionFrequencyOptions:{
700
+      type: Array,
701
+      default: function() {
702
+        return [];
703
+      }
704
+    },deliveryWayOptions:{
705
+      type: Array,
706
+      default: function() {
707
+        return [];
708
+      }
699
     },
709
     },
700
 
710
 
701
     unitsOption: {
711
     unitsOption: {
921
                 frequency_type: 0,
931
                 frequency_type: 0,
922
                 day_count: "0",
932
                 day_count: "0",
923
                 week_days: "",
933
                 week_days: "",
924
-              
934
+
925
               };
935
               };
926
             }
936
             }
927
             let mode = "";
937
             let mode = "";
928
 
938
 
929
             if (_this.groupForm.advice_type == 1) {
939
             if (_this.groupForm.advice_type == 1) {
930
-            
940
+
931
               mode = "1-3";
941
               mode = "1-3";
932
               if (
942
               if (
933
                 _this.groupForm.doctor != _this.$store.getters.xt_user.user.id
943
                 _this.groupForm.doctor != _this.$store.getters.xt_user.user.id
1081
                 remark: _this.groupForm.remark,
1091
                 remark: _this.groupForm.remark,
1082
                 parent_id: _this.groupSelectRow.id,
1092
                 parent_id: _this.groupSelectRow.id,
1083
                 groupno: _this.groupForm.groupno,
1093
                 groupno: _this.groupForm.groupno,
1084
-               
1094
+
1085
               };
1095
               };
1086
 
1096
 
1087
               let mode = "";
1097
               let mode = "";
2396
                 obj.custom_id = this.rand(10000000, 99999999)
2406
                 obj.custom_id = this.rand(10000000, 99999999)
2397
                 obj.drug_specs = base_drug_list[i].drug_specs
2407
                 obj.drug_specs = base_drug_list[i].drug_specs
2398
                 this.all_drug.push(obj)
2408
                 this.all_drug.push(obj)
2399
-                
2409
+
2400
               }
2410
               }
2401
-            }   
2411
+            }
2402
         })
2412
         })
2403
-       
2413
+
2404
     },
2414
     },
2405
     changeDrugName(name){
2415
     changeDrugName(name){
2406
        this.current_drug_name = name
2416
        this.current_drug_name = name
2438
         }
2448
         }
2439
       },
2449
       },
2440
       handleSelect1(){
2450
       handleSelect1(){
2441
-        
2451
+
2442
       },
2452
       },
2443
       handleSelect(){
2453
       handleSelect(){
2444
 
2454
 
2452
         })
2462
         })
2453
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
2463
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
2454
         // 调用 callback 返回建议列表的数据
2464
         // 调用 callback 返回建议列表的数据
2455
-       
2465
+
2456
         cb(results);
2466
         cb(results);
2457
      },
2467
      },
2458
 
2468
 
2463
      },
2473
      },
2464
 
2474
 
2465
      querySearch1(queryString, cb) {
2475
      querySearch1(queryString, cb) {
2466
-      
2476
+
2467
         var restaurants = this.drugSpec;
2477
         var restaurants = this.drugSpec;
2468
          console.log(restaurants)
2478
          console.log(restaurants)
2469
         restaurants.map(item => {
2479
         restaurants.map(item => {
2471
         })
2481
         })
2472
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
2482
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
2473
         // 调用 callback 返回建议列表的数据
2483
         // 调用 callback 返回建议列表的数据
2474
-       
2484
+
2475
         cb(results);
2485
         cb(results);
2476
       },
2486
       },
2477
   },
2487
   },