Explorar el Código

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN hace 3 años
padre
commit
003aab62eb

+ 3 - 3
src/xt_pages/data/components/addDrugs.vue Ver fichero

@@ -31,7 +31,7 @@
31 31
                             </el-select>
32 32
                         </el-form-item>
33 33
                         <div style="width:100%;">
34
-                          <div><span style="width:120px;text-align:right;display:inline-block"><span style="color:red;">*</span>单位&规格:</span><span style="color:#999">例如:0.75 g * 60 粒 / 盒</span></div>
34
+                          <div><span style="width:120px;text-align:right;display:inline-block;margin-bottom:10px;"><span style="color:red;">*</span>单位&规格:</span><span style="color:#999">例如:0.75 g * 60 粒 / 盒</span></div>
35 35
                         </div>
36 36
                         <div style="width:100%;display:flex;align-items:center;margin-left:120px;">
37 37
                             <el-form-item prop="dose" class="noMargin">
@@ -47,7 +47,7 @@
47 47
                                 </el-option>
48 48
                               </el-select>
49 49
                             </el-form-item>
50
-                            <span style="margin-bottom:20px;font-size:20px;">*</span>
50
+                            <span style="margin-bottom:20px;font-size:20px;padding:0 10px;">*</span>
51 51
                             <el-form-item prop="min_number" class="noMargin">
52 52
                               <el-input v-model="form.min_number" style="width:100px;margin-right:5px;" :disabled="dosageShow" type="number" placeholder="拆零"> </el-input>
53 53
                             </el-form-item>
@@ -61,7 +61,7 @@
61 61
                                 </el-option>
62 62
                               </el-select>
63 63
                             </el-form-item>
64
-                          <span style="margin-bottom:20px;font-size:20px;">/</span>
64
+                          <span style="margin-bottom:20px;font-size:20px;padding:0 10px;">/</span>
65 65
                           <el-form-item prop="max_unit" class="noMargin">
66 66
                             <el-select v-model="form.max_unit" style="width:160px;" placeholder="包装单位">
67 67
                               <el-option

+ 21 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver fichero

@@ -214,7 +214,13 @@
214 214
               </el-form-item>
215 215
             </div>
216 216
             <div v-else>
217
-              <el-form-item :label="'首剂(mg) : '">
217
+              <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'首剂(mg) : '">
218
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
219
+                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
220
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
221
+                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
222
+              </el-form-item>
223
+              <el-form-item v-else :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
218 224
                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
219 225
                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
220 226
                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -241,7 +247,13 @@
241 247
                 </el-form-item>
242 248
               </div>
243 249
               <div v-else>
244
-                <el-form-item :label="'维持(mg/h) : '">
250
+                <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'维持(mg/h) : '">
251
+                  <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
252
+                            v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
253
+                  <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
254
+                            v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
255
+                </el-form-item>
256
+                <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-else>
245 257
                   <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
246 258
                             v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
247 259
                   <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -267,7 +279,13 @@
267 279
               </el-form-item>
268 280
             </div>
269 281
             <div v-else>
270
-              <el-form-item :label="'总量(mg) : '">
282
+              <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'总量(mg) : '">
283
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
284
+                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
285
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
286
+                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
287
+              </el-form-item>
288
+              <el-form-item v-else :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
271 289
                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
272 290
                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
273 291
                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Ver fichero

@@ -14,7 +14,7 @@
14 14
             <!-- <div>{{scope.row.single_dose_unit}}</div> -->
15 15
             <el-select v-model="scope.row.single_dose_unit" placeholder="请选择" style="width:50%;" @change="getAllChange(scope)">
16 16
               <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
17
-              <el-option :label="scope.row.drug.dose_unit" :value="scope.row.drug.dose_unit"></el-option>
17
+              <el-option :label="scope.row.drug.dose_unit" v-if="scope.row.drug.dose_unit != scope.row.drug.min_unit" :value="scope.row.drug.dose_unit"></el-option>
18 18
             </el-select>
19 19
           </div>
20 20
         </template>
@@ -60,7 +60,7 @@
60 60
             <!-- <div> {{scope.row.prescribing_number_unit}}</div> -->
61 61
             <el-select v-model="scope.row.prescribing_number_unit" placeholder="请选择" style="width:50%;" @change="getAllChange(scope)">
62 62
               <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
63
-              <el-option :label="scope.row.drug.max_unit" :value="scope.row.drug.max_unit"></el-option>
63
+              <el-option :label="scope.row.drug.max_unit" v-if="scope.row.drug.min_unit != scope.row.drug.max_unit" :value="scope.row.drug.max_unit"></el-option>
64 64
             </el-select>
65 65
           </div>
66 66
         </template>

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/prescriptionTemplateTable.vue Ver fichero

@@ -14,7 +14,7 @@
14 14
                         <!-- <div>{{scope.row.single_dose_unit}}</div> -->
15 15
                         <el-select v-model="scope.row.single_dose_unit" placeholder="请选择" style="width:50%;" @change="getAllChange(scope)">
16 16
                           <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
17
-                          <el-option :label="scope.row.drug.dose_unit" :value="scope.row.drug.dose_unit"></el-option>
17
+                          <el-option :label="scope.row.drug.dose_unit" v-if="scope.row.drug.dose_unit != scope.row.drug.min_unit" :value="scope.row.drug.dose_unit"></el-option>
18 18
                         </el-select>
19 19
                     </div>
20 20
                 </template>
@@ -60,7 +60,7 @@
60 60
                         <!-- <div> {{scope.row.prescribing_number_unit}}</div> -->
61 61
                         <el-select v-model="scope.row.prescribing_number_unit" placeholder="请选择" style="width:50%;" @change="getAllChange(scope)">
62 62
                           <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
63
-                          <el-option :label="scope.row.drug.max_unit" :value="scope.row.drug.max_unit"></el-option>
63
+                          <el-option :label="scope.row.drug.max_unit" v-if="scope.row.drug.min_unit != scope.row.drug.max_unit" :value="scope.row.drug.max_unit"></el-option>
64 64
                         </el-select>
65 65
                     </div>
66 66
                 </template>

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/saveTemplate.vue Ver fichero

@@ -76,7 +76,7 @@
76 76
                                 </template>
77 77
                             </el-table-column>
78 78
                         </el-table>
79
-                        <el-table v-if="subItem.project.length > 0" :data="subItem.project" border style="width: 99%;"
79
+                        <el-table v-if="subItem.project.length > 0" :data="subItem.project" border style="marin-top:10px;"
80 80
                                   :row-style="{ color: '#303133' }"
81 81
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
82 82
                                   highlight-current-row>

+ 1 - 0
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue Ver fichero

@@ -192,6 +192,7 @@
192 192
 
193 193
             this.$refs.tab.setCurrentRow(this.data[0])
194 194
             this.patient_id = this.data[0].id
195
+            this.patient_name = this.data[0].name
195 196
             this.GetPrescriptionTemplateList()
196 197
 
197 198
           }

+ 2 - 2
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Ver fichero

@@ -2,8 +2,8 @@
2 2
     <div class="main-contain new-main-contain">
3 3
 
4 4
         <div style="height: calc(100% - 0px);display: flex;flex-direction: column;">
5
-            <div style="display:flex;justify-content: space-between;align-items:center;margin-bottom:10px;padding:0 10px;color:#606266;">
6
-              <div>姓名:{{ $route.query.patient_name }}</div>
5
+            <div style="display:flex;justify-content: space-between;align-items:center;margin:10px 0;padding:0 10px;color:#606266;">
6
+              <div style="font-size:14px;">姓名:{{ $route.query.patient_name }}</div>
7 7
               <el-button size="small" @click="save" type="primary">保存</el-button>
8 8
             </div>
9 9