Procházet zdrojové kódy

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

XMLWAN před 3 roky
rodič
revize
003aab62eb

+ 3 - 3
src/xt_pages/data/components/addDrugs.vue Zobrazit soubor

31
                             </el-select>
31
                             </el-select>
32
                         </el-form-item>
32
                         </el-form-item>
33
                         <div style="width:100%;">
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
                         </div>
35
                         </div>
36
                         <div style="width:100%;display:flex;align-items:center;margin-left:120px;">
36
                         <div style="width:100%;display:flex;align-items:center;margin-left:120px;">
37
                             <el-form-item prop="dose" class="noMargin">
37
                             <el-form-item prop="dose" class="noMargin">
47
                                 </el-option>
47
                                 </el-option>
48
                               </el-select>
48
                               </el-select>
49
                             </el-form-item>
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
                             <el-form-item prop="min_number" class="noMargin">
51
                             <el-form-item prop="min_number" class="noMargin">
52
                               <el-input v-model="form.min_number" style="width:100px;margin-right:5px;" :disabled="dosageShow" type="number" placeholder="拆零"> </el-input>
52
                               <el-input v-model="form.min_number" style="width:100px;margin-right:5px;" :disabled="dosageShow" type="number" placeholder="拆零"> </el-input>
53
                             </el-form-item>
53
                             </el-form-item>
61
                                 </el-option>
61
                                 </el-option>
62
                               </el-select>
62
                               </el-select>
63
                             </el-form-item>
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
                           <el-form-item prop="max_unit" class="noMargin">
65
                           <el-form-item prop="max_unit" class="noMargin">
66
                             <el-select v-model="form.max_unit" style="width:160px;" placeholder="包装单位">
66
                             <el-select v-model="form.max_unit" style="width:160px;" placeholder="包装单位">
67
                               <el-option
67
                               <el-option

+ 21 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

214
               </el-form-item>
214
               </el-form-item>
215
             </div>
215
             </div>
216
             <div v-else>
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
                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
224
                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
219
                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
225
                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
220
                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
226
                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
241
                 </el-form-item>
247
                 </el-form-item>
242
               </div>
248
               </div>
243
               <div v-else>
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
                   <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
257
                   <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
246
                             v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
258
                             v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
247
                   <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
259
                   <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
267
               </el-form-item>
279
               </el-form-item>
268
             </div>
280
             </div>
269
             <div v-else>
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
                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
289
                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
272
                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
290
                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
273
                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
291
                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Zobrazit soubor

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

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/prescriptionTemplateTable.vue Zobrazit soubor

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

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/saveTemplate.vue Zobrazit soubor

76
                                 </template>
76
                                 </template>
77
                             </el-table-column>
77
                             </el-table-column>
78
                         </el-table>
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
                                   :row-style="{ color: '#303133' }"
80
                                   :row-style="{ color: '#303133' }"
81
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
81
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
82
                                   highlight-current-row>
82
                                   highlight-current-row>

+ 1 - 0
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue Zobrazit soubor

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

+ 2 - 2
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Zobrazit soubor

2
     <div class="main-contain new-main-contain">
2
     <div class="main-contain new-main-contain">
3
 
3
 
4
         <div style="height: calc(100% - 0px);display: flex;flex-direction: column;">
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
               <el-button size="small" @click="save" type="primary">保存</el-button>
7
               <el-button size="small" @click="save" type="primary">保存</el-button>
8
             </div>
8
             </div>
9
 
9