Browse Source

新分支

28169 9 months ago
parent
commit
30ec28df8e

+ 17 - 2
src/xt_pages/dialysis/details/index.vue View File

@@ -2372,6 +2372,12 @@ export default {
2372 2372
           })
2373 2373
 
2374 2374
           // console.log("newArrwowowowowoowwowo",newArr)
2375
+          if(this.tableData!=null){
2376
+            for(let i=0;i<this.tableData.length;i++){
2377
+              this.$refs.tab.setCurrentRow(this.tableData[i])
2378
+            }
2379
+          } 
2380
+         
2375 2381
           this.tableData = newArr
2376 2382
           this.getData()
2377 2383
 
@@ -2723,6 +2729,11 @@ export default {
2723 2729
         }
2724 2730
 
2725 2731
         this.tableData1 = newArr
2732
+        if(this.tableData1!=null){
2733
+           for(let i=0;i<this.tableData1.length;i++){
2734
+            this.$refs.tab1.setCurrentRow(this.tableData1[i])
2735
+           }
2736
+        }
2726 2737
         const name = this.$route.query.patient_name
2727 2738
         this.tableData1.map((item, index) => {
2728 2739
           if (name == item.patient.name) {
@@ -3266,8 +3277,12 @@ export default {
3266 3277
         // this.end_time = moment().month(months).endOf('month').format('YYYY-MM-DD')
3267 3278
         // console.log('rrrrr',this.start_time,this.end_time);
3268 3279
         // this.end_time =   moment(oldValue).format('YYYY-MM-DD')
3269
-      }
3270
-    }
3280
+     
3281
+      },
3282
+      
3283
+    },
3284
+   
3285
+
3271 3286
   }
3272 3287
 }
3273 3288
 </script>

+ 28 - 28
src/xt_pages/dialysis/newDoctorAdvice.vue View File

@@ -40,13 +40,13 @@
40 40
        </el-autocomplete>
41 41
        <el-button type="primary" @click="toSeach">搜索</el-button>
42 42
 
43
-       
43
+
44 44
       </div>
45 45
       <div class="filter-container">
46 46
       <el-input style="width:200px" placeholder="请输入药品名称" v-model="keyword"></el-input>
47 47
        <el-button type="primary" @click="toSeachOne">搜索</el-button>
48 48
 
49
-       
49
+
50 50
       </div>
51 51
       <div class="cell clearfix">
52 52
         <label class="title">
@@ -189,7 +189,7 @@
189 189
 
190 190
         <el-button type="primary" size="small" @click="toStaticTwo">耗材统计</el-button>
191 191
 
192
-        
192
+
193 193
       </div>
194 194
 
195 195
 
@@ -308,7 +308,7 @@
308 308
             <span v-else>
309 309
 
310 310
             </span>
311
-           
311
+
312 312
           </template>
313 313
         </el-table-column>
314 314
         <el-table-column prop="date" label="开嘱医生" align="center" min-width="26px">
@@ -1002,7 +1002,7 @@ export default {
1002 1002
           for(let i=0;i<this.partitionArr.length;i++){
1003 1003
            this.zoneIdList.push(this.partitionArr[i].id)
1004 1004
           }
1005
-         
1005
+
1006 1006
           // this.partitionArr.unshift({ id: 0, name: "全部" });
1007 1007
           var dics  =  response.data.data.dics
1008 1008
           var obj = {id:0,name:"全部"}
@@ -1027,7 +1027,7 @@ export default {
1027 1027
         if(name == '全部'){
1028 1028
           name = ""
1029 1029
         }
1030
-       
1030
+
1031 1031
         var nameOne = ""
1032 1032
          for(let i=0;i<this.excutList.length;i++){
1033 1033
             if(this.execution_frequency == this.excutList[i].id){
@@ -1043,7 +1043,7 @@ export default {
1043 1043
 
1044 1044
          var schedule_type = this.listQuery.schedul_type
1045 1045
          var partition_type = this.listQuery.partition_type
1046
-       
1046
+
1047 1047
         getNewSchedualDoctors({date: newTime,patient_type: 0,advice_type: 2,delivery_way:name,schedule_type:schedule_type,partition_type:partition_type,patient_id:this.patient_id,excution_way:this.excution_way,cost_type:this.costType,execution_frequency:nameOne,keyword:this.keyword}).then(rs => {
1048 1048
         var resp = rs.data
1049 1049
         if (resp.state == 1) {
@@ -1113,7 +1113,7 @@ export default {
1113 1113
            if(this.is_sort == 0){
1114 1114
               newList = schedules
1115 1115
            }
1116
-          
1116
+
1117 1117
            if(this.is_sort == 0 ||  this.is_sort == 1){
1118 1118
               schedules.map(item => {
1119 1119
                   item.is_sort = item.device_number.sort
@@ -1561,23 +1561,23 @@ export default {
1561 1561
 
1562 1562
         if (row.prescribing_number) {
1563 1563
           tempPrescribingNumberDesc = row.prescribing_number + '' + row.prescribing_number_unit
1564
-         
1564
+
1565 1565
         }
1566 1566
 
1567 1567
         if (row.single_dose) {
1568 1568
           if (this.template_id != 6) {
1569 1569
             tempSingleDoseDesc =' 单次用量 ' + '  ' + row.single_dose + '' + row.single_dose_unit
1570
-           
1570
+
1571 1571
           } else {
1572 1572
             tempSingleDoseDesc = row.single_dose  + row.single_dose_unit
1573
-            
1573
+
1574 1574
           }
1575 1575
         }
1576 1576
 
1577 1577
         if (row.advice_desc) {
1578
-           tempDrugSpecDesc = '(' + row.advice_desc + row.drug_spec_unit + ')' 
1579
-         
1580
-          
1578
+           tempDrugSpecDesc = '(' + row.advice_desc + row.drug_spec_unit + ')'
1579
+
1580
+
1581 1581
         }
1582 1582
 
1583 1583
         if (isChild == 1) {
@@ -1592,11 +1592,11 @@ export default {
1592 1592
         } else {
1593 1593
           // 是子药
1594 1594
           return (row.advice_name +tempDrugSpecDesc +' ' + tempPrescribingNumberDesc + tempSingleDoseDesc)
1595
-         
1595
+
1596 1596
         }
1597 1597
     },
1598 1598
     handleSelectionChange(val){
1599
-     
1599
+
1600 1600
       this.selecting_schs = val;
1601 1601
       this.is_status = 1
1602 1602
     },
@@ -1622,7 +1622,7 @@ export default {
1622 1622
         return searchArray
1623 1623
       },
1624 1624
      handleSelect(val) {
1625
-      
1625
+
1626 1626
        this.patient_id = val.id
1627 1627
        this.listQuery.keyword = val.name
1628 1628
        this.requestSchedualDoctors(this.time)
@@ -1827,7 +1827,7 @@ export default {
1827 1827
             str = this.partion_type.join(",")
1828 1828
          }
1829 1829
          this.partion_str = ""
1830
-         this.partion_str = str  
1830
+         this.partion_str = str
1831 1831
          this.tableList = []
1832 1832
           var params = {
1833 1833
             schedule_type:this.schedule_type,
@@ -1857,7 +1857,7 @@ export default {
1857 1857
 
1858 1858
              if(config.is_open!=1){
1859 1859
                if(doctorList!=null && doctorList.length > 0){
1860
-                let dataInfo = {}
1860
+                  let dataInfo = {}
1861 1861
                   doctorList.forEach((item, index) => {
1862 1862
                   let { advice_name } = item
1863 1863
                   if (!dataInfo[advice_name]) {
@@ -1959,7 +1959,7 @@ export default {
1959 1959
                 this.tableList = hisarr
1960 1960
               }
1961 1961
 
1962
-             
1962
+
1963 1963
              }
1964 1964
           }
1965 1965
         })
@@ -1974,7 +1974,7 @@ export default {
1974 1974
             str = this.partion_type.join(",")
1975 1975
          }
1976 1976
          this.partion_str = ""
1977
-         this.partion_str = str  
1977
+         this.partion_str = str
1978 1978
          this.tableList = []
1979 1979
           var params = {
1980 1980
             schedule_type:this.schedule_type,
@@ -2095,7 +2095,7 @@ export default {
2095 2095
             str = this.partion_type.join(",")
2096 2096
          }
2097 2097
          this.partion_str = ""
2098
-         this.partion_str = str  
2098
+         this.partion_str = str
2099 2099
          this.tableList = []
2100 2100
           var params = {
2101 2101
             schedule_type:this.schedule_type,
@@ -2113,7 +2113,7 @@ export default {
2113 2113
                  }
2114 2114
                }
2115 2115
              }
2116
-             
2116
+
2117 2117
              let dataInfo = {}
2118 2118
               newArr.forEach((item, index) => {
2119 2119
               let { project_id } = item
@@ -2128,14 +2128,14 @@ export default {
2128 2128
               }
2129 2129
             })
2130 2130
             let arr = Object.values(dataInfo)
2131
-            
2131
+
2132 2132
             if(arr!=null && arr.length >0){
2133 2133
               for(let i =0;i<arr.length;i++){
2134 2134
                 for(let j=0;j<newArr.length;j++){
2135 2135
                    if(arr[i].project_id == newArr[j].project_id){
2136 2136
                       arr[i].child.push(newArr[i])
2137 2137
                    }
2138
-                } 
2138
+                }
2139 2139
               }
2140 2140
               for(let i =0;i<arr.length;i++){
2141 2141
                 for(let j=0;j<arr[i].child.length;j++){
@@ -2559,14 +2559,14 @@ export default {
2559 2559
         const { columns, data } = param;
2560 2560
         const sums = [];
2561 2561
         columns.forEach((column, index) => {
2562
-        
2562
+
2563 2563
           if (index === 0) {
2564 2564
             sums[index] = '总数';
2565 2565
             return;
2566 2566
           }
2567 2567
           if(index > 2){
2568 2568
             const values = data.map(item => item[column.property]);
2569
-           
2569
+
2570 2570
 
2571 2571
           }
2572 2572
 
@@ -2646,7 +2646,7 @@ export default {
2646 2646
         }
2647 2647
       })
2648 2648
     },
2649
-   
2649
+
2650 2650
 
2651 2651
   },
2652 2652
   components: {

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -4775,7 +4775,8 @@ export default {
4775 4775
            }
4776 4776
         }
4777 4777
 
4778
-        if(this.org_id ==10515  || this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489 || this.org_id == 0 || this.org_id == 10644){
4778
+        //HIS客户显示临时医嘱的地方
4779
+        if(this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489|| this.org_id == 10644){
4779 4780
           if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
4780 4781
 
4781 4782
             for(let i=0;i<response.data.data.doctorAdevieInfo.length;i++){

+ 4 - 1
src/xt_pages/stock/drugs/drugStockInOrder.vue View File

@@ -184,7 +184,10 @@
184 184
         <el-table-column label="入库方式" align="center">
185 185
           <template slot-scope="scope">
186 186
             <span v-if="scope.row.is_sys == 13">调拨入库</span>
187
-            <span v-else>手动入库</span>
187
+            <span v-else>
188
+              <span v-if="org_id !=10633"> 手动入库</span>
189
+              <span v-if="org_id ==10633"> 验货入库</span>
190
+            </span>
188 191
           </template>
189 192
         </el-table-column>
190 193
 

+ 4 - 1
src/xt_pages/stock/stockInOrder.vue View File

@@ -170,7 +170,10 @@
170 170
         <el-table-column label="入库方式" align="center">
171 171
           <template slot-scope="scope">
172 172
             <span v-if="scope.row.is_sys == 12">调拨入库</span>
173
-            <span v-if="scope.row.is_sys == 0">手动入库</span>
173
+            <span v-if="scope.row.is_sys == 0">
174
+              <span v-if="org_id !=10633"> 手动入库</span>
175
+              <span v-if="org_id ==10633"> 验货入库</span>
176
+            </span>
174 177
           </template>
175 178
         </el-table-column>
176 179