Ver código fonte

Merge remote-tracking branch 'origin/20201109_pc_vue_new_branch' into 20201109_pc_vue_new_branch

XMLWAN 3 anos atrás
pai
commit
fc83ebd5a0

+ 6 - 2
src/xt_pages/outpatientCharges/components/monthPrescriptionTable.vue Ver arquivo

83
       </el-table-column>
83
       </el-table-column>
84
       <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
84
       <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
85
         <template slot-scope="scope">
85
         <template slot-scope="scope">
86
-          <el-input v-model="scope.row.single_dose" placeholder="" readonly></el-input>
87
-          <div>{{scope.row.unit}}</div>
86
+          <div style="display:flex;align-items:center;">
87
+            <el-input v-model="scope.row.single_dose" placeholder="" readonly></el-input>
88
+            <div>{{scope.row.unit}}</div>
89
+          </div>
88
 
90
 
89
         </template>
91
         </template>
90
       </el-table-column>
92
       </el-table-column>
192
         }],
194
         }],
193
         value: '1',
195
         value: '1',
194
         input: 1,
196
         input: 1,
197
+        efs:[],
198
+        drugways:[]
195
       }
199
       }
196
     },
200
     },
197
     methods:{
201
     methods:{

+ 11 - 5
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Ver arquivo

97
       </el-table-column>
97
       </el-table-column>
98
       <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
98
       <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
99
         <template slot-scope="scope">
99
         <template slot-scope="scope">
100
-          <el-input v-model="scope.row.single_dose" @input="getProjectSingleDose(scope)" placeholder=""></el-input>
101
-          <div>{{scope.row.unit}}</div>
100
+          <div style="display:flex;align-items:center;">
101
+            <el-input v-model="scope.row.single_dose" @input="getProjectSingleDose(scope)" placeholder=""></el-input>
102
+            <div>{{scope.row.unit}}</div>
103
+          </div>
102
 
104
 
103
         </template>
105
         </template>
104
       </el-table-column>
106
       </el-table-column>
135
           </div>
137
           </div>
136
         </template>
138
         </template>
137
       </el-table-column>
139
       </el-table-column>
138
-      <el-table-column align="center" prop="name" width="50" label="单价">
140
+      <el-table-column align="center" prop="name" width="70" label="单价">
139
         <template slot-scope="scope">
141
         <template slot-scope="scope">
140
-          <el-input v-model="scope.row.price" placeholder="" readonly></el-input>
141
-          <div>{{'元'}}</div>
142
+          <div style="display:flex;align-items:center;">
143
+            <el-input v-model="scope.row.price" placeholder="" readonly></el-input>
144
+            <div>{{'元'}}</div>
145
+          </div>
142
 
146
 
143
         </template>
147
         </template>
144
       </el-table-column>
148
       </el-table-column>
214
         }],
218
         }],
215
         value: '1',
219
         value: '1',
216
         input: 1,
220
         input: 1,
221
+        efs:[],
222
+        drugways:[]
217
       }
223
       }
218
     },
224
     },
219
 
225
 

+ 7 - 8
src/xt_pages/outpatientDoctorStation/components/saveTemplate.vue Ver arquivo

1
 <template>
1
 <template>
2
     <el-dialog
2
     <el-dialog
3
-            title="长期处方模版"
4
-            width="600px"
5
-            :visible.sync="visible"
6
-            :before-close="_close"
3
+      title="长期处方模版"
4
+      width="1200px"
5
+      :visible.sync="visible"
6
+      :before-close="_close"
7
     >
7
     >
8
         <div>
8
         <div>
9
-            <el-form :model="form" class="adviceForm" :rules="rules" ref="form" label-width="100px"
10
-                     >
9
+            <el-form :model="form" class="adviceForm" :rules="rules" ref="form" label-width="90px">
11
 
10
 
12
                 <el-form-item label="模板名称:"  prop="name" style="width: 100%;margin-bottom:0;">
11
                 <el-form-item label="模板名称:"  prop="name" style="width: 100%;margin-bottom:0;">
13
                     <el-input v-model="form.name"  placeholder=""></el-input>
12
                     <el-input v-model="form.name"  placeholder=""></el-input>
14
                 </el-form-item>
13
                 </el-form-item>
15
 
14
 
16
-                <el-form-item label="透析模式 : " style="width: 100%;margin-top: 20px" prop="mode">
15
+                <el-form-item label="透析模式:" style="width: 100%;margin-top: 20px" prop="mode">
17
                     <el-select v-model="form.mode" style="width:100%;" placeholder="请选择">
16
                     <el-select v-model="form.mode" style="width:100%;" placeholder="请选择">
18
                         <el-option
17
                         <el-option
19
                                 v-for="item in modeOptions"
18
                                 v-for="item in modeOptions"
28
 
27
 
29
             <div v-for="(item,index) in allPrescription" :key="index">
28
             <div v-for="(item,index) in allPrescription" :key="index">
30
                     <div v-for="(subItem,index2) in item.prescriptions" :key="index2">
29
                     <div v-for="(subItem,index2) in item.prescriptions" :key="index2">
31
-                        <el-table v-if="subItem.advices.length > 0" :data="subItem.advices" border style="width: 99%;"
30
+                        <el-table v-if="subItem.advices.length > 0" :data="subItem.advices" border
32
                                   :row-style="{ color: '#303133' }"
31
                                   :row-style="{ color: '#303133' }"
33
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
32
                                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
34
                                   highlight-current-row>
33
                                   highlight-current-row>