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,4 +1,4 @@
1
-<template>
1
+ <template>
2 2
   <div class="main-contain">
3 3
     <div class="position">
4 4
       <bread-crumb :crumbs="crumbs"></bread-crumb>

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

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