Przeglądaj źródła

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

csx 3 lat temu
rodzic
commit
19042755bb

+ 3 - 3
src/xt_pages/data/components/addDrugs.vue Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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>