Browse Source

新分支

28169 1 year ago
parent
commit
286a0f01b4

+ 9 - 0
src/api/stock.js View File

1088
     params: params
1088
     params: params
1089
   })
1089
   })
1090
 }
1090
 }
1091
+
1092
+
1093
+export function getStockFlowOrderList(params){
1094
+  return request({
1095
+    url:"/api/stock/getstockfloworderlist",
1096
+    method:"Get",
1097
+    params:params,
1098
+  })
1099
+}

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue View File

1276
                         </tr>
1276
                         </tr>
1277
                         <tr>
1277
                         <tr>
1278
                           <td width="60">时间</td>
1278
                           <td width="60">时间</td>
1279
-                          <td width="60">体温(°C)</td>
1279
+                          <td width="60">透析液温度(°C)</td>
1280
                           <td width="50">脉搏<br />(次/分)</td>
1280
                           <td width="50">脉搏<br />(次/分)</td>
1281
                           <td width="50">呼吸<br />(次/分)</td>
1281
                           <td width="50">呼吸<br />(次/分)</td>
1282
                           <td width="60">血压<br />(mmHg)</td>
1282
                           <td width="60">血压<br />(mmHg)</td>

+ 20 - 3
src/xt_pages/dialysis/details/consumable/dialysisGather.vue View File

122
              
122
              
123
           <el-table-column align="center" label="透析器"  v-if="gatherSetting.dialysis_dialyszers == 1">
123
           <el-table-column align="center" label="透析器"  v-if="gatherSetting.dialysis_dialyszers == 1">
124
              <template slot-scope="scope">
124
              <template slot-scope="scope">
125
-               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
125
+               <span v-if="scope.row.schedule_date == timenow">
126
+                <span v-if="scope.row.dialysis_prescription.dialysis_dialyszers!=''">{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span> 
127
+                <span v-if="scope.row.dialysis_prescription.dialysis_dialyszers==''">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span> 
128
+               </span>
126
 
129
 
127
                <span v-if="scope.row.schedule_date < timenow">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
130
                <span v-if="scope.row.schedule_date < timenow">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
128
 
131
 
133
            <el-table-column align="center" label="灌流器"  v-if="gatherSetting.dialysis_irrigation ==1">
136
            <el-table-column align="center" label="灌流器"  v-if="gatherSetting.dialysis_irrigation ==1">
134
              <template slot-scope="scope">
137
              <template slot-scope="scope">
135
 
138
 
136
-               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
139
+               <span v-if="scope.row.schedule_date == timenow">
140
+                 <span v-if="scope.row.dialysis_prescription.dialysis_irrigation !=''">
141
+                  {{scope.row.dialysis_prescription.dialysis_irrigation}}
142
+                 </span> 
143
+                 <span v-if="scope.row.dialysis_prescription.dialysis_irrigation ==''">
144
+                  {{scope.row.dialysis_solution.dialysis_irrigation}}
145
+                 </span> 
146
+               </span>
137
                <span v-if="scope.row.schedule_date < timenow">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
147
                <span v-if="scope.row.schedule_date < timenow">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
138
                <span v-if="scope.row.schedule_date > timenow">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
148
                <span v-if="scope.row.schedule_date > timenow">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
139
 
149
 
143
           <el-table-column align="center" label="滤过器"  v-if="gatherSetting.dialysis_strainer ==1">
153
           <el-table-column align="center" label="滤过器"  v-if="gatherSetting.dialysis_strainer ==1">
144
              <template slot-scope="scope">
154
              <template slot-scope="scope">
145
               
155
               
146
-               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_strainer}}</span>
156
+               <span v-if="scope.row.schedule_date == timenow">
157
+                <span v-if="scope.row.dialysis_prescription.dialysis_strainer!=''">
158
+                  {{scope.row.dialysis_prescription.dialysis_strainer}}
159
+                </span>
160
+                <span v-if="scope.row.dialysis_prescription.dialysis_strainer==''">
161
+                  {{ scope.row.dialysis_solution.dialysis_strainer }}
162
+                </span>
163
+               </span>
147
                <span v-if="scope.row.schedule_date<timenow">{{ scope.row.dialysis_solution.dialysis_strainer }}</span>
164
                <span v-if="scope.row.schedule_date<timenow">{{ scope.row.dialysis_solution.dialysis_strainer }}</span>
148
                <span v-if="scope.row.schedule_date>timenow">{{ scope.row.dialysis_solution.dialysis_strainer }}</span>
165
                <span v-if="scope.row.schedule_date>timenow">{{ scope.row.dialysis_solution.dialysis_strainer }}</span>
149
              </template>
166
              </template>

+ 12 - 3
src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue View File

92
                     <span v-if="item.mode_id == 35">HDF1000</span>
92
                     <span v-if="item.mode_id == 35">HDF1000</span>
93
                  </td>
93
                  </td>
94
                   <td width="100" v-if="gatherSetting.dialysis_dialyszers == 1">
94
                   <td width="100" v-if="gatherSetting.dialysis_dialyszers == 1">
95
-                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_dialyszers}}</span> 
95
+                    <span v-if="item.schedule_date == timenow">
96
+                      <span v-if="item.dialysis_prescription.dialysis_dialyszers!=''">{{item.dialysis_prescription.dialysis_dialyszers}}</span> 
97
+                      <span v-if="item.dialysis_prescription.dialysis_dialyszers==''">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
98
+                     </span> 
96
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
99
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
97
                     <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
100
                     <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
98
                   </td>
101
                   </td>
99
                   <td width="100"  v-if="gatherSetting.dialysis_irrigation ==1">
102
                   <td width="100"  v-if="gatherSetting.dialysis_irrigation ==1">
100
-                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_irrigation}}</span>
103
+                    <span v-if="item.schedule_date == timenow">
104
+                      <span v-if="item.dialysis_prescription.dialysis_irrigation!=''"> {{item.dialysis_prescription.dialysis_irrigation}}</span>
105
+                      <span v-if="item.dialysis_prescription.dialysis_irrigation==''"> {{item.dialysis_solution.dialysis_irrigation}}</span>
106
+                    </span>
101
 
107
 
102
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_irrigation}}</span>
108
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_irrigation}}</span>
103
 
109
 
104
                     <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_irrigation}}</span>
110
                     <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_irrigation}}</span>
105
                   </td>
111
                   </td>
106
                   <td width="100"  v-if="gatherSetting.dialysis_strainer ==1">
112
                   <td width="100"  v-if="gatherSetting.dialysis_strainer ==1">
107
-                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_strainer}}</span>
113
+                    <span v-if="item.schedule_date == timenow">
114
+                      <span v-if="item.dialysis_prescription.dialysis_strainer!=''">{{item.dialysis_prescription.dialysis_strainer}}</span> 
115
+                      <span v-if="item.dialysis_prescription.dialysis_strainer==''">{{item.dialysis_solution.dialysis_strainer}}</span> 
116
+                    </span>
108
 
117
 
109
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_strainer}}</span>
118
                     <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_strainer}}</span>
110
 
119
 

+ 2 - 2
src/xt_pages/dialysis/signPrint.vue View File

28
                             规格:{{getSpecialName(it.drug_id)}} 
28
                             规格:{{getSpecialName(it.drug_id)}} 
29
                             
29
                             
30
                             </div>  
30
                             </div>  
31
-                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
31
+                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
32
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  
32
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  
33
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
33
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
34
                              
34
                              
45
                             规格:{{getSpecialName(its.drug_id)}} 
45
                             规格:{{getSpecialName(its.drug_id)}} 
46
                             
46
                             
47
                             </div>  
47
                             </div>  
48
-                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
48
+                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
49
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
49
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
50
                             <div>给药途径:{{its.delivery_way}}</div>  
50
                             <div>给药途径:{{its.delivery_way}}</div>  
51
                         </div>
51
                         </div>

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

1224
                       </tr>
1224
                       </tr>
1225
                       <tr>
1225
                       <tr>
1226
                         <td width="50">时间</td>
1226
                         <td width="50">时间</td>
1227
-                        <td width="60">温度(°C)</td>
1227
+                        <td width="60">透析液温度(°C)</td>
1228
                         <td width="50">脉搏<br />(次/分)</td>
1228
                         <td width="50">脉搏<br />(次/分)</td>
1229
                         <td width="50">呼吸<br />(次/分)</td>
1229
                         <td width="50">呼吸<br />(次/分)</td>
1230
                         <td width="65">血压<br />(mmHg)</td>
1230
                         <td width="65">血压<br />(mmHg)</td>

+ 16 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue View File

224
                   <div style="margin-left:70px ; display: inline-block;">
224
                   <div style="margin-left:70px ; display: inline-block;">
225
                     医师签名:
225
                     医师签名:
226
 
226
 
227
-                    <span v-if="setAdminUserES(prescription.creater) == ''">
227
+                    <!-- <span v-if="setAdminUserES(prescription.creater) == ''">
228
                       {{ getAdminUser(prescription.creater) }}
228
                       {{ getAdminUser(prescription.creater) }}
229
                     </span>
229
                     </span>
230
                     <img
230
                     <img
233
                       :src="setAdminUserES(prescription.creater)"
233
                       :src="setAdminUserES(prescription.creater)"
234
                       alt
234
                       alt
235
                       srcset
235
                       srcset
236
-                      v-else
236
+                      v-else -->
237
+                      <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
238
+                        {{ getAdminUser(advices[0].advice_doctor) }}
239
+                      </span>
240
+                      <img
241
+                        class="es-img"
242
+                        style="height: 30px"
243
+                        :src="setAdminUserES(advices[0].advice_doctor)"
244
+                        alt
245
+                        srcset
246
+                        v-else
237
                     />
247
                     />
238
                   </div>
248
                   </div>
239
                 </td>
249
                 </td>
654
                     </div>
664
                     </div>
655
                     <div style="display: inline-block; margin-left: 30px;">
665
                     <div style="display: inline-block; margin-left: 30px;">
656
                       医生签名:
666
                       医生签名:
657
-
658
-                      <span v-if="setAdminUserES(prescription.creater) == ''">
659
-                        {{ getAdminUser(prescription.creater) }}
667
+                       
668
+                      <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
669
+                        {{ getAdminUser(advices[0].advice_doctor) }}
660
                       </span>
670
                       </span>
661
                       <img
671
                       <img
662
                         class="es-img"
672
                         class="es-img"
663
                         style="height: 30px"
673
                         style="height: 30px"
664
-                        :src="setAdminUserES(prescription.creater)"
674
+                        :src="setAdminUserES(advices[0].advice_doctor)"
665
                         alt
675
                         alt
666
                         srcset
676
                         srcset
667
                         v-else
677
                         v-else

+ 2 - 2
src/xt_pages/role/admin.vue View File

225
           @click="toAutoDrug">自动生成</el-button> -->
225
           @click="toAutoDrug">自动生成</el-button> -->
226
 
226
 
227
 
227
 
228
-         <el-button
228
+         <!-- <el-button
229
           type="primary"
229
           type="primary"
230
           size="small"
230
           size="small"
231
           icon="el-icon-circle-plus-outline"
231
           icon="el-icon-circle-plus-outline"
232
           style="float:left"
232
           style="float:left"
233
-          @click="toAutoDiagnose">自动脚本</el-button> 
233
+          @click="toAutoDiagnose">自动脚本</el-button>  -->
234
      </div>
234
      </div>
235
 
235
 
236
 
236
 

+ 26 - 0
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

331
                </tr>
331
                </tr>
332
             </template>
332
             </template>
333
           </el-table-column>
333
           </el-table-column>
334
+          <el-table-column label="使用患者" align="center" v-if="is_sys == 0">
335
+            <template slot-scope="scope">
336
+                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
337
+                  <td style="border-right: none; border-inline-end: none;text-align: center">
338
+                     {{getPatientName(item.patient_id)}}
339
+                  </td>
340
+               </tr>
341
+            </template>
342
+          </el-table-column>
334
           <el-table-column label="单价" align="center">
343
           <el-table-column label="单价" align="center">
335
             <template slot-scope="scope">
344
             <template slot-scope="scope">
336
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
345
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
690
       warehouseOutList:[],
699
       warehouseOutList:[],
691
       exportLoding:false,
700
       exportLoding:false,
692
       outInfoList:[],
701
       outInfoList:[],
702
+      patients:[],
693
     };
703
     };
694
   },
704
   },
695
   methods: {
705
   methods: {
745
           for (let i = 0; i < response.data.data.houseList.length; i++) {
755
           for (let i = 0; i < response.data.data.houseList.length; i++) {
746
             this.houseList.push(response.data.data.houseList[i]);
756
             this.houseList.push(response.data.data.houseList[i]);
747
           }
757
           }
758
+         
748
         }
759
         }
749
       });
760
       });
750
     },
761
     },
791
           for (let i = 0; i < response.data.data.houseList.length; i++) {
802
           for (let i = 0; i < response.data.data.houseList.length; i++) {
792
             this.houseList.push(response.data.data.houseList[i]);
803
             this.houseList.push(response.data.data.houseList[i]);
793
           }
804
           }
805
+          var objOne = {id:0,name:"系统"}
806
+          this.patients.push(objOne)
807
+          for(let i=0;i<response.data.data.patients.length;i++){
808
+             this.patients.push(response.data.data.patients[i])
809
+          }
794
         }
810
         }
795
       });
811
       });
796
     },
812
     },
2340
     }
2356
     }
2341
     return max_str + min_str;
2357
     return max_str + min_str;
2342
   },
2358
   },
2359
+  getPatientName(patient_id){
2360
+      var name = ""
2361
+      console.log("patinetsowowowo",this.patients)
2362
+      for(let i=0;i<this.patients.length;i++){
2363
+         if(patient_id == this.patients[i].id){
2364
+             name = this.patients[i].name
2365
+         }
2366
+      }
2367
+      return name
2368
+    }
2343
   },
2369
   },
2344
 };
2370
 };
2345
 </script>
2371
 </script>

+ 11 - 1
src/xt_pages/stock/stockFlow.vue View File

51
 
51
 
52
         <span>
52
         <span>
53
           <el-button type="primary" size="small" @click="toExprot">导出</el-button>
53
           <el-button type="primary" size="small" @click="toExprot">导出</el-button>
54
+
55
+          <!-- <el-button type="primary" size="small" @click="toTongBu">同步</el-button> -->
54
         </span>
56
         </span>
55
        
57
        
56
       </div>
58
       </div>
172
 <script>
174
 <script>
173
   import { uParseTime } from '@/utils/tools'
175
   import { uParseTime } from '@/utils/tools'
174
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
176
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
175
-  import {getStockDrugCount,getStockFlow} from "@/api/stock"
177
+  import {getStockDrugCount,getStockFlow,getStockFlowOrderList} from "@/api/stock"
176
   export default {
178
   export default {
177
     name: 'stockIn',
179
     name: 'stockIn',
178
     created() {
180
     created() {
610
     formatJson(filterVal, jsonData) {
612
     formatJson(filterVal, jsonData) {
611
      return jsonData.map(v => filterVal.map(j => v[j]))
613
      return jsonData.map(v => filterVal.map(j => v[j]))
612
     },
614
     },
615
+    toTongBu(){
616
+       var params = {
617
+         good_id:this.$route.query.id,
618
+       }
619
+      getStockFlowOrderList(params).then(response=>{
620
+
621
+      })
622
+    }
613
 
623
 
614
     }
624
     }
615
   }
625
   }

+ 27 - 0
src/xt_pages/stock/stockOutOrder.vue View File

322
                </tr>
322
                </tr>
323
             </template>
323
             </template>
324
           </el-table-column>
324
           </el-table-column>
325
+
326
+          <el-table-column label="使用患者" align="center" v-if="is_sys == 0">
327
+            <template slot-scope="scope">
328
+            
329
+              <tr style="background: none" v-for="(item,index) in scope.row.childOne" :key="index">
330
+                  <td style="border-right: none; border-inline-end: none;text-align: center">
331
+                    {{getPatientName(item.patient_id ) }}
332
+                  </td>
333
+               </tr>
334
+            </template>
335
+          </el-table-column>
325
       
336
       
326
           <el-table-column label="出货价" align="center">
337
           <el-table-column label="出货价" align="center">
327
             <template slot-scope="scope">
338
             <template slot-scope="scope">
1073
       flowList:[],
1084
       flowList:[],
1074
       cancelInfoList:[],
1085
       cancelInfoList:[],
1075
       exportLoding:false,
1086
       exportLoding:false,
1087
+      patients:[]
1076
     };
1088
     };
1077
   },
1089
   },
1078
   methods: {
1090
   methods: {
1123
           for (let i = 0; i < response.data.data.list.length; i++) {
1135
           for (let i = 0; i < response.data.data.list.length; i++) {
1124
             this.warehouseOutDate.push(response.data.data.list[i]);
1136
             this.warehouseOutDate.push(response.data.data.list[i]);
1125
           }
1137
           }
1138
+          
1126
         }
1139
         }
1127
       });
1140
       });
1128
     },
1141
     },
1159
           for (let i = 0; i < response.data.data.houselist.length; i++) {
1172
           for (let i = 0; i < response.data.data.houselist.length; i++) {
1160
             this.houselist.push(response.data.data.houselist[i]);
1173
             this.houselist.push(response.data.data.houselist[i]);
1161
           }
1174
           }
1175
+          var objOne = {id:0,name:"系统"}
1176
+          this.patients.push(objOne)
1177
+          for(let i=0;i<response.data.data.patients.length;i++){
1178
+             this.patients.push(response.data.data.patients[i])
1179
+          }
1162
         }
1180
         }
1163
       });
1181
       });
1164
     },
1182
     },
2422
         }
2440
         }
2423
       }
2441
       }
2424
      
2442
      
2443
+      return name
2444
+    },
2445
+    getPatientName(patient_id){
2446
+      var name = ""
2447
+      for(let i=0;i<this.patients.length;i++){
2448
+         if(patient_id == this.patients[i].id){
2449
+             name = this.patients[i].name
2450
+         }
2451
+      }
2425
       return name
2452
       return name
2426
     }
2453
     }
2427
   },
2454
   },

+ 27 - 11
src/xt_pages/stock/stockOutOrderEdit.vue View File

343
   import { deleteWarehouseOutInfo, editWarehouseoutInfo,GetAllConfig,GetAllGoodInfoByID,postSearchGoodList,getSingleOutOrderDetail,getStockBatchNumber,checkWarehouseOut,returnCheckWarehouseOut } from '@/api/stock'
343
   import { deleteWarehouseOutInfo, editWarehouseoutInfo,GetAllConfig,GetAllGoodInfoByID,postSearchGoodList,getSingleOutOrderDetail,getStockBatchNumber,checkWarehouseOut,returnCheckWarehouseOut } from '@/api/stock'
344
   import BreadCrumb from '../components/bread-crumb'
344
   import BreadCrumb from '../components/bread-crumb'
345
   import StockInDialog from './Dialog/stockInDialog'
345
   import StockInDialog from './Dialog/stockInDialog'
346
+import patient from '../../router/modules/patient'
346
 
347
 
347
   export default {
348
   export default {
348
     components: { StockInDialog, BreadCrumb},
349
     components: { StockInDialog, BreadCrumb},
673
                 return
674
                 return
674
               }
675
               }
675
             }
676
             }
677
+            console.log("类别喔喔喔w",this.recordInfo.recordData)
676
             for(let i=0;i<this.recordInfo.recordData.length;i++){
678
             for(let i=0;i<this.recordInfo.recordData.length;i++){
677
 
679
 
678
               if(parseInt(this.recordInfo.recordData[i].count) > parseInt(this.recordInfo.recordData[i].stock_count) ){
680
               if(parseInt(this.recordInfo.recordData[i].count) > parseInt(this.recordInfo.recordData[i].stock_count) ){
734
             }
736
             }
735
 
737
 
736
             console.log("paramswowowoowow",params)
738
             console.log("paramswowowoowow",params)
739
+            
737
             var warehout_id = parseInt(this.$route.query.id)
740
             var warehout_id = parseInt(this.$route.query.id)
738
            
741
            
739
             editWarehouseoutInfo(params, this.warehouse_out_time, warehout_id, this.$route.query.type, this.form.manufacturer, this.form.dealer,this.storehouse_id).then(response => {
742
             editWarehouseoutInfo(params, this.warehouse_out_time, warehout_id, this.$route.query.type, this.form.manufacturer, this.form.dealer,this.storehouse_id).then(response => {
892
         }
895
         }
893
       getSingleOutOrderDetail(params).then(response=>{
896
       getSingleOutOrderDetail(params).then(response=>{
894
         if(response.data.state == 1){
897
         if(response.data.state == 1){
895
-
898
+          this.patients =[]
899
+          var obj ={id:0,name:"系统"}
900
+          this.patients.push(obj)
901
+          if(response.data.data.patients!=null){
902
+            for(let i=0;i<response.data.data.patients.length;i++){
903
+              this.patients.push(response.data.data.patients[i])
904
+            }
905
+          }
896
           var dealerList = response.data.data.dealerList
906
           var dealerList = response.data.data.dealerList
897
           this.dealerList = dealerList
907
           this.dealerList = dealerList
898
           var manufacturerList = response.data.data.manufacturerList
908
           var manufacturerList = response.data.data.manufacturerList
913
             response.data.data.list[i].remark = response.data.data.list[i].remark
923
             response.data.data.list[i].remark = response.data.data.list[i].remark
914
             response.data.data.list[i].buy_price = response.data.data.list[i].buy_price.toString()
924
             response.data.data.list[i].buy_price = response.data.data.list[i].buy_price.toString()
915
             response.data.data.list[i].stock_count = response.data.data.list[i].stock_count.toString()
925
             response.data.data.list[i].stock_count = response.data.data.list[i].stock_count.toString()
916
-            response.data.data.list[i].patient_id = response.data.data.list[i].patient_id
926
+          
927
+            // response.data.data.list[i].patient_id = this.getPatientName(response.data.data.list[i].patient_id)
928
+           
917
             if(response.data.data.list[i].dealer == 0){
929
             if(response.data.data.list[i].dealer == 0){
918
                response.data.data.list[i].dealer = ""
930
                response.data.data.list[i].dealer = ""
919
             }
931
             }
920
             if(response.data.data.list[i].manufacturer ==0 ){
932
             if(response.data.data.list[i].manufacturer ==0 ){
921
                response.data.data.list[i].manufacturer = ""
933
                response.data.data.list[i].manufacturer = ""
922
             }
934
             }
923
-            response.data.data.list[i].patient_id = response.data.data.list[i].patient_id
935
+            
924
             this.recordInfo.recordData.push(response.data.data.list[i])
936
             this.recordInfo.recordData.push(response.data.data.list[i])
925
           }
937
           }
938
+          console.log("列表我我哦我o",this.recordInfo.recordData)
926
           this.storelist = response.data.data.storelist
939
           this.storelist = response.data.data.storelist
927
           this.warehouse_out_time = this.getTime(response.data.data.out.warehouse_out_time,"{y}-{m}-{d}")
940
           this.warehouse_out_time = this.getTime(response.data.data.out.warehouse_out_time,"{y}-{m}-{d}")
928
           this.storehouse_id = response.data.data.out.storehouse_id
941
           this.storehouse_id = response.data.data.out.storehouse_id
929
-          var obj ={id:0,name:"系统"}
930
-          this.patients =[]
931
-          this.patients.push(obj)
932
-          if(response.data.data.patients!=null){
933
-            for(let i=0;i<response.data.data.patients.length;i++){
934
-              this.patients.push(response.data.data.patients[i])
935
-            }
936
-          }
942
+        
943
+         
937
           loading.close();
944
           loading.close();
938
         }
945
         }
939
       })
946
       })
1035
            loading.close()
1042
            loading.close()
1036
          }
1043
          }
1037
       })
1044
       })
1045
+    },
1046
+    getPatientName(patient_id){
1047
+      var name = ""
1048
+      for(let i=0;i<this.patients.length;i++){
1049
+         if(patient_id == this.patients[i].id){
1050
+             name = this.patients[i].name
1051
+         }
1052
+      }
1053
+      return name
1038
     }
1054
     }
1039
 
1055
 
1040
     },
1056
     },

+ 2 - 2
src/xt_pages/user/Physicalexamination.vue View File

2173
           yinyang_options:[
2173
           yinyang_options:[
2174
             {value:1, label:"良好"},
2174
             {value:1, label:"良好"},
2175
             {value:2, label:"中等"},
2175
             {value:2, label:"中等"},
2176
-            {value:2, label:"不良"},
2177
-            {value:2, label:"恶病质"},
2176
+            {value:3, label:"不良"},
2177
+            {value:4, label:"恶病质"},
2178
 
2178
 
2179
           ],  shenzhi_options:[
2179
           ],  shenzhi_options:[
2180
             {value:1, label:"清楚"},
2180
             {value:1, label:"清楚"},

+ 2 - 2
src/xt_pages/workforce/remind_print_setting.vue View File

80
                    <span>{{getAnticoagulant(main_collection.dialysissolution.anticoagulant)}}</span>
80
                    <span>{{getAnticoagulant(main_collection.dialysissolution.anticoagulant)}}</span>
81
                   </span>
81
                   </span>
82
                 </div>
82
                 </div>
83
-               <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">首剂:{{main_collection.dialysissolution.anticoagulant_shouji}}</div>
84
-                <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">维持:{{main_collection.dialysissolution.anticoagulant_weichi}}</div>
83
+               <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675||org_id ==10571">首剂:{{main_collection.dialysissolution.anticoagulant_shouji}}</div>
84
+                <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675 || org_id ==10571">维持:{{main_collection.dialysissolution.anticoagulant_weichi}}</div>
85
                 <div v-if="printObj.anticoagulant_zongliang == 1">
85
                 <div v-if="printObj.anticoagulant_zongliang == 1">
86
                   用量:
86
                   用量:
87
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
87
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">