Browse Source

8月15日

XMLWAN 2 years ago
parent
commit
b1f93e0fd9

+ 8 - 0
src/api/his/his_config.js View File

8
   })
8
   })
9
 }
9
 }
10
 
10
 
11
+export function getPatientListTwenty(params) {
12
+  return request({
13
+    url: '/api/his/patient/getpatientlisttwenty',
14
+    method: 'Get',
15
+    params: params
16
+  })
17
+}
18
+
11
 export function getPrescriptionTemplateList(params) {
19
 export function getPrescriptionTemplateList(params) {
12
   return request({
20
   return request({
13
     url: '/api/his/prescriptiontemplate/list',
21
     url: '/api/his/prescriptiontemplate/list',

+ 13 - 0
src/xt_pages/dialysis/details/assessmentBefore.vue View File

25
           <span class="content" v-if="dry_weight != '0'">{{ dry_weight }}</span>
25
           <span class="content" v-if="dry_weight != '0'">{{ dry_weight }}</span>
26
           <span class="unit" v-if="dry_weight != '0'">kg</span>
26
           <span class="unit" v-if="dry_weight != '0'">kg</span>
27
         </li>
27
         </li>
28
+
29
+        <li v-if="isShow('身高')">
30
+          <label>身高 : </label>
31
+          <span class="content">
32
+            {{this.record.height}}
33
+          </span>
34
+        </li>
35
+        <li v-if="isShow('年龄')">
36
+          <label>年龄 : </label>
37
+          <span class="content">
38
+            {{this.record.age}}
39
+          </span>
40
+        </li>
28
         <li v-if="isShow('脉搏')">
41
         <li v-if="isShow('脉搏')">
29
           <label>脉搏 : </label>
42
           <label>脉搏 : </label>
30
           <span class="content" v-if="pulse_frequency != '0'">{{
43
           <span class="content" v-if="pulse_frequency != '0'">{{

+ 15 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

43
             </el-form-item>
43
             </el-form-item>
44
           </el-col>
44
           </el-col>
45
 
45
 
46
+          <el-col :span="8">
47
+            <el-form-item label="身高(cm):"
48
+                          v-if="isShow('身高')">
49
+              <el-input  v-model="assessmentBeforeDislysis.height"></el-input>
50
+            </el-form-item>
51
+          </el-col>
52
+
53
+          <el-col :span="8">
54
+            <el-form-item label="年龄(岁):" v-if="isShow('年龄')">
55
+              <el-input  v-model="assessmentBeforeDislysis.age" ></el-input>
56
+            </el-form-item>
57
+          </el-col>
58
+
46
           <el-col :span="8">
59
           <el-col :span="8">
47
             <el-form-item label="衣物重(kg):" v-if="isShow('衣物重')">
60
             <el-form-item label="衣物重(kg):" v-if="isShow('衣物重')">
48
               <el-input type="number" v-model="assessmentBeforeDislysis.additional_weight"></el-input>
61
               <el-input type="number" v-model="assessmentBeforeDislysis.additional_weight"></el-input>
734
           urea_befor:"",
747
           urea_befor:"",
735
           suction:"",
748
           suction:"",
736
           weight_befor_remake:"",
749
           weight_befor_remake:"",
750
+          height:"",
751
+          age:"",
737
         },
752
         },
738
 
753
 
739
         InnerDialogProps: {
754
         InnerDialogProps: {

+ 4 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

208
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
208
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
209
                             </el-form-item>
209
                             </el-form-item>
210
 
210
 
211
-                            <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7" :label="'首剂(mg):'"> 
211
+                            <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7 && this.$store.getters.xt_user.template_info.template_id!=6" :label="'首剂(mg):'"> 
212
                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
212
                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
213
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
213
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
214
 
214
 
215
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
215
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
216
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
216
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
217
                             </el-form-item>
217
                             </el-form-item>
218
-                           <el-form-item v-else :label="'首剂(iu):'"> 
218
+                           <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant!=7" :label="'首剂(iu):'"> 
219
                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
219
                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
220
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
220
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
221
 
221
 
355
                             </el-form-item>
355
                             </el-form-item>
356
 
356
 
357
                              <el-form-item
357
                              <el-form-item
358
-                                    v-if='this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant == 7'
358
+                                    v-if='this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant == 7 && this.$store.getters.xt_user.template_info.template_id!=6'
359
                                     :label="'总量(mg)'">
359
                                     :label="'总量(mg)'">
360
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
360
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
361
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
361
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
362
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
362
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
363
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
363
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
364
                             </el-form-item>
364
                             </el-form-item>
365
-                            <el-form-item v-else  :label="总量(mg)">
365
+                            <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant!=7" :label="'总量(iu)'">
366
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
366
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
367
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
367
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
368
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
368
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"

+ 1 - 1
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

3277
           return
3277
           return
3278
         }
3278
         }
3279
        }
3279
        }
3280
-      this.teamList.push(row)
3280
+      this.teamList = selection
3281
     },
3281
     },
3282
     getlist() {
3282
     getlist() {
3283
       this.tabProject = []
3283
       this.tabProject = []

+ 14 - 14
src/xt_pages/hospitalStation/doctorDesk.vue View File

72
                         <el-tab-pane label="电子处方" name="电子处方"></el-tab-pane>
72
                         <el-tab-pane label="电子处方" name="电子处方"></el-tab-pane>
73
                         <el-tab-pane label="透析记录" name="透析记录"></el-tab-pane>
73
                         <el-tab-pane label="透析记录" name="透析记录"></el-tab-pane>
74
                         <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
74
                         <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
75
-                       
75
+
76
                     </el-tabs>
76
                     </el-tabs>
77
-                   
77
+
78
                     <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
78
                     <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
79
                         <el-button size="small" ref="button_one" @click="open(1)" type="primary"
79
                         <el-button size="small" ref="button_one" @click="open(1)" type="primary"
80
                                    v-loading="saveLoading">保存
80
                                    v-loading="saveLoading">保存
1231
                     price: prescription.project[b].price,
1231
                     price: prescription.project[b].price,
1232
                     remark: prescription.project[b].remark,
1232
                     remark: prescription.project[b].remark,
1233
                     medical_code: prescription.project[b].project.medical_code,
1233
                     medical_code: prescription.project[b].project.medical_code,
1234
-                    unit: prescription.project[b].project.unit,
1234
+                    unit: prescription.project[b].unit,
1235
                     type: prescription.project[b].type
1235
                     type: prescription.project[b].type
1236
 
1236
 
1237
                   }
1237
                   }
1371
                       total: prescription.project[b].count.toString(),
1371
                       total: prescription.project[b].count.toString(),
1372
                       remark: prescription.project[b].remark,
1372
                       remark: prescription.project[b].remark,
1373
                       medical_code: prescription.project[b].project.medical_code,
1373
                       medical_code: prescription.project[b].project.medical_code,
1374
-                      unit: prescription.project[b].project.unit,
1374
+                      unit: prescription.project[b].unit,
1375
                       type: prescription.project[b].type
1375
                       type: prescription.project[b].type
1376
 
1376
 
1377
                     }
1377
                     }
1644
                           price: prescription.project[b].price,
1644
                           price: prescription.project[b].price,
1645
                           remark: prescription.project[b].remark,
1645
                           remark: prescription.project[b].remark,
1646
                           medical_code: prescription.project[b].project.medical_code,
1646
                           medical_code: prescription.project[b].project.medical_code,
1647
-                          unit: prescription.project[b].project.unit,
1647
+                          unit: prescription.project[b].unit,
1648
                           type: prescription.project[b].type
1648
                           type: prescription.project[b].type
1649
                         }
1649
                         }
1650
 
1650
 
1783
                             total: prescription.project[b].count.toString(),
1783
                             total: prescription.project[b].count.toString(),
1784
                             remark: prescription.project[b].remark,
1784
                             remark: prescription.project[b].remark,
1785
                             medical_code: prescription.project[b].project.medical_code,
1785
                             medical_code: prescription.project[b].project.medical_code,
1786
-                            unit: prescription.project[b].project.unit,
1786
+                            unit: prescription.project[b].unit,
1787
                             type: prescription.project[b].type
1787
                             type: prescription.project[b].type
1788
 
1788
 
1789
                           }
1789
                           }
2135
                           price: prescription.project[b].price,
2135
                           price: prescription.project[b].price,
2136
                           remark: prescription.project[b].remark,
2136
                           remark: prescription.project[b].remark,
2137
                           medical_code: prescription.project[b].project.medical_code,
2137
                           medical_code: prescription.project[b].project.medical_code,
2138
-                          unit: prescription.project[b].project.unit,
2138
+                          unit: prescription.project[b].unit,
2139
                           type: prescription.project[b].type
2139
                           type: prescription.project[b].type
2140
                         }
2140
                         }
2141
 
2141
 
2265
                             total: prescription.project[b].count.toString(),
2265
                             total: prescription.project[b].count.toString(),
2266
                             remark: prescription.project[b].remark,
2266
                             remark: prescription.project[b].remark,
2267
                             medical_code: prescription.project[b].project.medical_code,
2267
                             medical_code: prescription.project[b].project.medical_code,
2268
-                            unit: prescription.project[b].project.unit,
2268
+                            unit: prescription.project[b].unit,
2269
                             type: prescription.project[b].type
2269
                             type: prescription.project[b].type
2270
                           }
2270
                           }
2271
 
2271
 
2607
                         price: prescription.project[b].price,
2607
                         price: prescription.project[b].price,
2608
                         remark: prescription.project[b].remark,
2608
                         remark: prescription.project[b].remark,
2609
                         medical_code: prescription.project[b].project.medical_code,
2609
                         medical_code: prescription.project[b].project.medical_code,
2610
-                        unit: prescription.project[b].project.unit,
2610
+                        unit: prescription.project[b].unit,
2611
                         type: prescription.project[b].type
2611
                         type: prescription.project[b].type
2612
                       }
2612
                       }
2613
 
2613
 
2736
                           total: prescription.project[b].count.toString(),
2736
                           total: prescription.project[b].count.toString(),
2737
                           remark: prescription.project[b].remark,
2737
                           remark: prescription.project[b].remark,
2738
                           medical_code: prescription.project[b].project.medical_code,
2738
                           medical_code: prescription.project[b].project.medical_code,
2739
-                          unit: prescription.project[b].project.unit,
2739
+                          unit: prescription.project[b].unit,
2740
                           type: prescription.project[b].type
2740
                           type: prescription.project[b].type
2741
                         }
2741
                         }
2742
 
2742
 
3138
                           price: prescription.project[b].price,
3138
                           price: prescription.project[b].price,
3139
                           remark: prescription.project[b].remark,
3139
                           remark: prescription.project[b].remark,
3140
                           medical_code: prescription.project[b].project.medical_code,
3140
                           medical_code: prescription.project[b].project.medical_code,
3141
-                          unit: prescription.project[b].project.unit,
3141
+                          unit: prescription.project[b].unit,
3142
                           type: prescription.project[b].type
3142
                           type: prescription.project[b].type
3143
                         }
3143
                         }
3144
 
3144
 
3274
                             total: prescription.project[b].count.toString(),
3274
                             total: prescription.project[b].count.toString(),
3275
                             remark: prescription.project[b].remark,
3275
                             remark: prescription.project[b].remark,
3276
                             medical_code: prescription.project[b].project.medical_code,
3276
                             medical_code: prescription.project[b].project.medical_code,
3277
-                            unit: prescription.project[b].project.unit,
3277
+                            unit: prescription.project[b].unit,
3278
                             type: prescription.project[b].type
3278
                             type: prescription.project[b].type
3279
                           }
3279
                           }
3280
 
3280
 
3593
                           price: prescription.project[b].price,
3593
                           price: prescription.project[b].price,
3594
                           remark: prescription.project[b].remark,
3594
                           remark: prescription.project[b].remark,
3595
                           medical_code: prescription.project[b].project.medical_code,
3595
                           medical_code: prescription.project[b].project.medical_code,
3596
-                          unit: prescription.project[b].project.unit,
3596
+                          unit: prescription.project[b].unit,
3597
                           type: prescription.project[b].type
3597
                           type: prescription.project[b].type
3598
                         }
3598
                         }
3599
 
3599
 
3730
                             total: prescription.project[b].count.toString(),
3730
                             total: prescription.project[b].count.toString(),
3731
                             remark: prescription.project[b].remark,
3731
                             remark: prescription.project[b].remark,
3732
                             medical_code: prescription.project[b].project.medical_code,
3732
                             medical_code: prescription.project[b].project.medical_code,
3733
-                            unit: prescription.project[b].project.unit,
3733
+                            unit: prescription.project[b].unit,
3734
                             type: prescription.project[b].type
3734
                             type: prescription.project[b].type
3735
                           }
3735
                           }
3736
 
3736
 

+ 2 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

3227
         this.teamList = row
3227
         this.teamList = row
3228
       },
3228
       },
3229
       selectChange(selection, row) {
3229
       selectChange(selection, row) {
3230
-        console.log('row', row)
3230
+        console.log('row', selection)
3231
         // if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id ==10245 || this.org_id == 9919  || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 ||  this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217 || this.org_id ==10210 || this.org_id ==10318 || this.org_id ==10340){
3231
         // if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id ==10245 || this.org_id == 9919  || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 ||  this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191 || this.org_id == 10278 || this.org_id == 10217 || this.org_id ==10210 || this.org_id ==10318 || this.org_id ==10340){
3232
         //    if (row.stock_count <= 0) {
3232
         //    if (row.stock_count <= 0) {
3233
         //     if (row.type == 3) {
3233
         //     if (row.type == 3) {
3278
               return
3278
               return
3279
           }
3279
           }
3280
          }
3280
          }
3281
-
3282
-        this.teamList.push(row)
3281
+        this.teamList = selection
3283
       },
3282
       },
3284
       getlist() {
3283
       getlist() {
3285
         this.tabProject = []
3284
         this.tabProject = []

+ 12 - 12
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

1701
                   price: prescription.project[b].price,
1701
                   price: prescription.project[b].price,
1702
                   remark: prescription.project[b].remark,
1702
                   remark: prescription.project[b].remark,
1703
                   medical_code: prescription.project[b].project.medical_code,
1703
                   medical_code: prescription.project[b].project.medical_code,
1704
-                  unit: prescription.project[b].project.unit,
1704
+                  unit: prescription.project[b].unit,
1705
                   type: prescription.project[b].type,
1705
                   type: prescription.project[b].type,
1706
                   execution_state: prescription.project[b].execution_state,
1706
                   execution_state: prescription.project[b].execution_state,
1707
 
1707
 
1861
                     total: prescription.project[b].count.toString(),
1861
                     total: prescription.project[b].count.toString(),
1862
                     remark: prescription.project[b].remark,
1862
                     remark: prescription.project[b].remark,
1863
                     medical_code: prescription.project[b].project.medical_code,
1863
                     medical_code: prescription.project[b].project.medical_code,
1864
-                    unit: prescription.project[b].project.unit,
1864
+                    unit: prescription.project[b].unit,
1865
                     type: prescription.project[b].type,
1865
                     type: prescription.project[b].type,
1866
                     execution_state: 2,
1866
                     execution_state: 2,
1867
 
1867
 
2158
                         price: prescription.project[b].price,
2158
                         price: prescription.project[b].price,
2159
                         remark: prescription.project[b].remark,
2159
                         remark: prescription.project[b].remark,
2160
                         medical_code: prescription.project[b].project.medical_code,
2160
                         medical_code: prescription.project[b].project.medical_code,
2161
-                        unit: prescription.project[b].project.unit,
2161
+                        unit: prescription.project[b].unit,
2162
                         type: prescription.project[b].type,
2162
                         type: prescription.project[b].type,
2163
                         execution_state: prescription.project[b].execution_state,
2163
                         execution_state: prescription.project[b].execution_state,
2164
                       }
2164
                       }
2316
                           total: prescription.project[b].count.toString(),
2316
                           total: prescription.project[b].count.toString(),
2317
                           remark: prescription.project[b].remark,
2317
                           remark: prescription.project[b].remark,
2318
                           medical_code: prescription.project[b].project.medical_code,
2318
                           medical_code: prescription.project[b].project.medical_code,
2319
-                          unit: prescription.project[b].project.unit,
2319
+                          unit: prescription.project[b].unit,
2320
                           type: prescription.project[b].type,
2320
                           type: prescription.project[b].type,
2321
                           execution_state: 2,
2321
                           execution_state: 2,
2322
 
2322
 
2700
                         price: prescription.project[b].price,
2700
                         price: prescription.project[b].price,
2701
                         remark: prescription.project[b].remark,
2701
                         remark: prescription.project[b].remark,
2702
                         medical_code: prescription.project[b].project.medical_code,
2702
                         medical_code: prescription.project[b].project.medical_code,
2703
-                        unit: prescription.project[b].project.unit,
2703
+                        unit: prescription.project[b].unit,
2704
                         type: prescription.project[b].type,
2704
                         type: prescription.project[b].type,
2705
                         execution_state: prescription.project[b].execution_state,
2705
                         execution_state: prescription.project[b].execution_state,
2706
 
2706
 
2850
                           total: prescription.project[b].count.toString(),
2850
                           total: prescription.project[b].count.toString(),
2851
                           remark: prescription.project[b].remark,
2851
                           remark: prescription.project[b].remark,
2852
                           medical_code: prescription.project[b].project.medical_code,
2852
                           medical_code: prescription.project[b].project.medical_code,
2853
-                          unit: prescription.project[b].project.unit,
2853
+                          unit: prescription.project[b].unit,
2854
                           type: prescription.project[b].type,
2854
                           type: prescription.project[b].type,
2855
                           execution_state: 2,
2855
                           execution_state: 2,
2856
 
2856
 
3214
                       price: prescription.project[b].price,
3214
                       price: prescription.project[b].price,
3215
                       remark: prescription.project[b].remark,
3215
                       remark: prescription.project[b].remark,
3216
                       medical_code: prescription.project[b].project.medical_code,
3216
                       medical_code: prescription.project[b].project.medical_code,
3217
-                      unit: prescription.project[b].project.unit,
3217
+                      unit: prescription.project[b].unit,
3218
                       type: prescription.project[b].type,
3218
                       type: prescription.project[b].type,
3219
                       execution_state: prescription.project[b].execution_state
3219
                       execution_state: prescription.project[b].execution_state
3220
 
3220
 
3364
                         total: prescription.project[b].count.toString(),
3364
                         total: prescription.project[b].count.toString(),
3365
                         remark: prescription.project[b].remark,
3365
                         remark: prescription.project[b].remark,
3366
                         medical_code: prescription.project[b].project.medical_code,
3366
                         medical_code: prescription.project[b].project.medical_code,
3367
-                        unit: prescription.project[b].project.unit,
3367
+                        unit: prescription.project[b].unit,
3368
                         type: prescription.project[b].type,
3368
                         type: prescription.project[b].type,
3369
                         execution_state: 2
3369
                         execution_state: 2
3370
 
3370
 
3807
                         price: prescription.project[b].price,
3807
                         price: prescription.project[b].price,
3808
                         remark: prescription.project[b].remark,
3808
                         remark: prescription.project[b].remark,
3809
                         medical_code: prescription.project[b].project.medical_code,
3809
                         medical_code: prescription.project[b].project.medical_code,
3810
-                        unit: prescription.project[b].project.unit,
3810
+                        unit: prescription.project[b].unit,
3811
                         type: prescription.project[b].type,
3811
                         type: prescription.project[b].type,
3812
                         execution_state: prescription.project[b].execution_state
3812
                         execution_state: prescription.project[b].execution_state
3813
 
3813
 
3966
                           total: prescription.project[b].count.toString(),
3966
                           total: prescription.project[b].count.toString(),
3967
                           remark: prescription.project[b].remark,
3967
                           remark: prescription.project[b].remark,
3968
                           medical_code: prescription.project[b].project.medical_code,
3968
                           medical_code: prescription.project[b].project.medical_code,
3969
-                          unit: prescription.project[b].project.unit,
3969
+                          unit: prescription.project[b].unit,
3970
                           type: prescription.project[b].type,
3970
                           type: prescription.project[b].type,
3971
                           execution_state: 2,
3971
                           execution_state: 2,
3972
                         }
3972
                         }
4434
                         price: prescription.project[b].price,
4434
                         price: prescription.project[b].price,
4435
                         remark: prescription.project[b].remark,
4435
                         remark: prescription.project[b].remark,
4436
                         medical_code: prescription.project[b].project.medical_code,
4436
                         medical_code: prescription.project[b].project.medical_code,
4437
-                        unit: prescription.project[b].project.unit,
4437
+                        unit: prescription.project[b].unit,
4438
                         type: prescription.project[b].type,
4438
                         type: prescription.project[b].type,
4439
                         execution_state: prescription.project[b].execution_state
4439
                         execution_state: prescription.project[b].execution_state
4440
 
4440
 
4594
                           total: prescription.project[b].count.toString(),
4594
                           total: prescription.project[b].count.toString(),
4595
                           remark: prescription.project[b].remark,
4595
                           remark: prescription.project[b].remark,
4596
                           medical_code: prescription.project[b].project.medical_code,
4596
                           medical_code: prescription.project[b].project.medical_code,
4597
-                          unit: prescription.project[b].project.unit,
4597
+                          unit: prescription.project[b].unit,
4598
                           type: prescription.project[b].type,
4598
                           type: prescription.project[b].type,
4599
                           execution_state: 2
4599
                           execution_state: 2
4600
 
4600
 

+ 2 - 2
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue View File

114
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
114
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
115
 import {
115
 import {
116
   delHisPrescriptionTemplate,
116
   delHisPrescriptionTemplate,
117
-  getPatientList,
117
+  getPatientListTwenty,
118
   getPrescriptionTemplateList,
118
   getPrescriptionTemplateList,
119
 } from "@/api/his/his_config";
119
 } from "@/api/his/his_config";
120
 import { uParseTime } from "@/utils/tools";
120
 import { uParseTime } from "@/utils/tools";
254
       });
254
       });
255
     },
255
     },
256
     getList(id) {
256
     getList(id) {
257
-      getPatientList().then((response) => {
257
+      getPatientListTwenty().then((response) => {
258
         if (response.data.state == 1) {
258
         if (response.data.state == 1) {
259
           this.data = response.data.data.list;
259
           this.data = response.data.data.list;
260
           this.all_data = response.data.data.list;
260
           this.all_data = response.data.data.list;

+ 5 - 2
src/xt_pages/stock/detail/cancelStockDetail.vue View File

102
 
102
 
103
         <el-table-column label="耗材类型" align="center">
103
         <el-table-column label="耗材类型" align="center">
104
           <template slot-scope="scope">
104
           <template slot-scope="scope">
105
-            {{ typeName(scope.row.good_type_id) }}
105
+           <span v-if="scope.row.is_total!=1"> {{ typeName(scope.row.GoodInfo.good_type_id) }}</span>
106
           </template>
106
           </template>
107
         </el-table-column>
107
         </el-table-column>
108
 
108
 
295
       return name;
295
       return name;
296
     },
296
     },
297
     typeName: function(good_type_id) {
297
     typeName: function(good_type_id) {
298
+      console.log("good_type_id",good_type_id)
299
+      console.log("goodType",this.goodType)
298
       let name = "";
300
       let name = "";
299
       for (let i = 0; i < this.goodType.length; i++) {
301
       for (let i = 0; i < this.goodType.length; i++) {
300
         if (this.goodType[i].id == good_type_id) {
302
         if (this.goodType[i].id == good_type_id) {
395
             this.cancelStockDate.push(obj);
397
             this.cancelStockDate.push(obj);
396
 
398
 
397
           }
399
           }
398
-
400
+          console.log("list232323232322332232323ow",this.cancelStockDate)
399
           this.tableDataList = response.data.data.list
401
           this.tableDataList = response.data.data.list
400
 
402
 
401
           var listgroup = response.data.data.listgroup
403
           var listgroup = response.data.data.listgroup
417
              }
419
              }
418
           }
420
           }
419
         }
421
         }
422
+        console.log("tableist233232323w",this.tableList)
420
         this.tableList = listgroup
423
         this.tableList = listgroup
421
 
424
 
422
         }
425
         }

+ 50 - 2
src/xt_pages/user/components/PatientDetail.vue View File

802
           <span>{{ form.registrars }} </span>
802
           <span>{{ form.registrars }} </span>
803
         </el-form-item>
803
         </el-form-item>
804
       </el-col>
804
       </el-col>
805
+
806
+       <el-col :span="6">
807
+        <el-form-item label="医生 : ">
808
+           <el-select v-model="form.doctor">
809
+              <el-option
810
+                v-for="item in adminUserOptions"
811
+                :key="item.id"
812
+                :label="item.name"
813
+                :value="item.id"
814
+              />
815
+            </el-select>
816
+        </el-form-item>
817
+      </el-col>
805
     </el-form>
818
     </el-form>
806
 
819
 
807
     <div style="display: none">
820
     <div style="display: none">
1005
                 }}</span>
1018
                 }}</span>
1006
                 <span v-else>{{ printDate }}</span>
1019
                 <span v-else>{{ printDate }}</span>
1007
               </div>
1020
               </div>
1008
-              <div class="proj"><span class="proj_title">医生签名:</span></div>
1021
+              <div class="proj">
1022
+                 <span class="proj_title">医生签名:
1023
+                    <span v-if="patientPrint!=undefined&&getDcotorName(patientPrint.doctor) == ''">{{getDcotorNameOne(patientPrint.doctor)}}</span>
1024
+                    <span v-else>
1025
+                      <img style="height:30px;margin-top:20px" :src="getDcotorName(patientPrint.doctor)" alt="" srcset="">
1026
+                    </span>
1027
+                 </span>
1028
+              </div>
1009
             </div>
1029
             </div>
1010
           </div>
1030
           </div>
1011
         </div>
1031
         </div>
1133
   troble_shoot: "",
1153
   troble_shoot: "",
1134
   zb_patient_id: "",
1154
   zb_patient_id: "",
1135
   treatment_plan: "",
1155
   treatment_plan: "",
1156
+  doctor:"",
1136
 };
1157
 };
1137
 
1158
 
1138
 export default {
1159
 export default {
1232
         { id: 1, name: "是" },
1253
         { id: 1, name: "是" },
1233
         { id: 2, name: "否" },
1254
         { id: 2, name: "否" },
1234
       ],
1255
       ],
1256
+      operators:[],
1235
     };
1257
     };
1236
   },
1258
   },
1237
   computed: {
1259
   computed: {
1244
   },
1266
   },
1245
   created() {
1267
   created() {
1246
     this.org_id = this.$store.getters.xt_user.org.id;
1268
     this.org_id = this.$store.getters.xt_user.org.id;
1269
+    this.form.doctor = this.$store.getters.xt_user.user.id
1270
+    console.log("owowow",this.$store.getters.xt_user.user.id)
1271
+  
1247
     this.styleOptions = this.$store.getters.patient_types;
1272
     this.styleOptions = this.$store.getters.patient_types;
1248
     // this.partitionOptions = this.$store.getters.partitions;
1273
     // this.partitionOptions = this.$store.getters.partitions;
1249
     this.maritalOptions = getDataConfig("patient", "marital_options");
1274
     this.maritalOptions = getDataConfig("patient", "marital_options");
1332
             this.form.response_result = patietInfo.response_result;
1357
             this.form.response_result = patietInfo.response_result;
1333
             this.form.remind_cycle = patietInfo.remind_cycle;
1358
             this.form.remind_cycle = patietInfo.remind_cycle;
1334
             this.form.treatment_plan = patietInfo.treatment_plan;
1359
             this.form.treatment_plan = patietInfo.treatment_plan;
1360
+            this.form.doctor = patietInfo.doctor
1335
             if (patietInfo.is_infectious == 1) {
1361
             if (patietInfo.is_infectious == 1) {
1336
               this.form.remind_cycle = 0;
1362
               this.form.remind_cycle = 0;
1337
             }
1363
             }
1828
       fetchAllAdminUsers().then((response) => {
1854
       fetchAllAdminUsers().then((response) => {
1829
         if (response.data.state === 1) {
1855
         if (response.data.state === 1) {
1830
           this.adminUserOptions = response.data.data.users;
1856
           this.adminUserOptions = response.data.data.users;
1857
+          this.operators = response.data.data.operators
1858
+          console.log("医生签名",this.operators)
1831
         }
1859
         }
1832
       });
1860
       });
1833
     },
1861
     },
1834
-
1862
+   getDcotorName(admin_user_id){
1863
+    var url = ""
1864
+    if(this.operators!=null && this.operators.length > 0){
1865
+      for(let i=0;i<this.operators.length;i++){
1866
+        if(admin_user_id == this.operators[i].admin_user_id){
1867
+          url = this.operators[i].url
1868
+        }
1869
+      }
1870
+    }
1871
+  
1872
+    return url
1873
+   },
1874
+   getDcotorNameOne(admin_user_id){
1875
+    var name = ""
1876
+    for(let i=0;i<this.adminUserOptions.length;i++){
1877
+      if(admin_user_id == this.adminUserOptions[i].id){
1878
+          name = this.adminUserOptions[i].name
1879
+      }
1880
+    }
1881
+    return name
1882
+   },
1835
     printCard() {
1883
     printCard() {
1836
       var ptime = Math.round(new Date().getTime() / 1000);
1884
       var ptime = Math.round(new Date().getTime() / 1000);
1837
       this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
1885
       this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");

+ 37 - 3
src/xt_pages/user/components/PatientForm.vue View File

909
             </el-form-item>
909
             </el-form-item>
910
           </el-col>
910
           </el-col>
911
 
911
 
912
+         <el-col :span="6">
913
+          <el-form-item label="医生 : ">
914
+            <el-select v-model="form.doctor">
915
+                <el-option
916
+                  v-for="(item,index) in adminUserOptions"
917
+                  :key="index"
918
+                  :label="item.name"
919
+                  :value="item.id"
920
+                />
921
+              </el-select>
922
+          </el-form-item>
923
+       </el-col>
924
+
912
           <el-col :span="24" align="right" class="newCol">
925
           <el-col :span="24" align="right" class="newCol">
913
             <el-form-item>
926
             <el-form-item>
914
               <el-button
927
               <el-button
968
   generateDialysisNo,
981
   generateDialysisNo,
969
   GetPatientTotal
982
   GetPatientTotal
970
 } from "@/api/patient";
983
 } from "@/api/patient";
984
+import { fetchAllAdminUsers } from "@/api/doctor";
971
 // import { fetchAllDoctorAndNurse } from "@/api/doctor";
985
 // import { fetchAllDoctorAndNurse } from "@/api/doctor";
972
 import { getDataConfig } from "@/utils/data";
986
 import { getDataConfig } from "@/utils/data";
973
 
987
 
1025
   user_sys_before_count: "",
1039
   user_sys_before_count: "",
1026
   troble_shoot:2,
1040
   troble_shoot:2,
1027
   zb_patient_id:"",
1041
   zb_patient_id:"",
1042
+  doctor:"",
1028
   formItem: [
1043
   formItem: [
1029
     {
1044
     {
1030
       id: 0,
1045
       id: 0,
1175
   dbp: "",
1190
   dbp: "",
1176
   showOne:true,
1191
   showOne:true,
1177
   treatment_plan:"",
1192
   treatment_plan:"",
1193
+ 
1178
 };
1194
 };
1179
 
1195
 
1180
 export default {
1196
 export default {
1324
 
1340
 
1325
         // homeTelephone: [{ validator: checkFamilyPhone, trigger: "blur" }],
1341
         // homeTelephone: [{ validator: checkFamilyPhone, trigger: "blur" }],
1326
         // homeAddress: [{ required: true, message: "请填写住址", trigger: "blur" }],
1342
         // homeAddress: [{ required: true, message: "请填写住址", trigger: "blur" }],
1327
-      }
1343
+      },
1344
+      adminUserOptions:[],
1328
     };
1345
     };
1329
   },
1346
   },
1330
   components: {
1347
   components: {
1339
     }
1356
     }
1340
   },
1357
   },
1341
   created() {
1358
   created() {
1359
+  
1360
+   this.fetchAllAdminUsers();
1361
+  
1362
+  
1342
     if(this.isEdit == true){
1363
     if(this.isEdit == true){
1343
        this.showLapseto = false
1364
        this.showLapseto = false
1344
     }
1365
     }
1383
       this.form = Object.assign({}, defaultForm);
1404
       this.form = Object.assign({}, defaultForm);
1384
       this.form.lapseto  = 1
1405
       this.form.lapseto  = 1
1385
     }
1406
     }
1407
+
1386
   },
1408
   },
1387
   watch: {
1409
   watch: {
1388
     "form.record_date": function(val) {
1410
     "form.record_date": function(val) {
1394
     }
1416
     }
1395
   },
1417
   },
1396
   methods: {
1418
   methods: {
1419
+    fetchAllAdminUsers() {
1420
+      fetchAllAdminUsers().then((response) => {
1421
+        if (response.data.state === 1) {
1422
+          this.form.doctor = this.$store.getters.xt_user.user.id
1423
+          this.adminUserOptions = response.data.data.users;
1424
+         
1425
+        }
1426
+      });
1427
+    },
1397
     recordCheck() {
1428
     recordCheck() {
1398
       if (this.form.record_date == "") {
1429
       if (this.form.record_date == "") {
1399
         this.$message.error("请先选择检验检查日期");
1430
         this.$message.error("请先选择检验检查日期");
1459
             this.form.age = parseInt(this.form.age);
1490
             this.form.age = parseInt(this.form.age);
1460
             this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
1491
             this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
1461
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1492
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1462
-
1493
+            this.form.doctor = parseInt(this.form.doctor)
1463
             if(this.form.avatar.indexOf('?imageView2/2/w/500/h/500/q/90')!=-1){
1494
             if(this.form.avatar.indexOf('?imageView2/2/w/500/h/500/q/90')!=-1){
1464
                this.form.avatar = this.form.avatar
1495
                this.form.avatar = this.form.avatar
1465
             }else{
1496
             }else{
1498
           } else {
1529
           } else {
1499
             this.form.age = parseInt(this.form.age);
1530
             this.form.age = parseInt(this.form.age);
1500
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1531
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1501
-
1532
+            this.form.doctor = parseInt(this.form.doctor)
1533
+            console.log("form233322332w",this.form)
1534
+           
1502
             createPatient(this.form)
1535
             createPatient(this.form)
1503
               .then(response => {
1536
               .then(response => {
1504
                 if (response.data.state == 0) {
1537
                 if (response.data.state == 0) {
1820
             // if (patietInfo.registrars_id > 0) {
1853
             // if (patietInfo.registrars_id > 0) {
1821
             //   this.form.registrars = patietInfo.registrars_id;
1854
             //   this.form.registrars = patietInfo.registrars_id;
1822
             // }
1855
             // }
1856
+            this.form.doctor = patietInfo.doctor
1823
             this.checkIdCardNo();
1857
             this.checkIdCardNo();
1824
           } else {
1858
           } else {
1825
             this.$notify.error({
1859
             this.$notify.error({