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
bcef9c1f12

+ 4 - 6
src/xt_pages/hospitalStation/components/prescriptionTable.vue Zobrazit soubor

@@ -125,7 +125,9 @@
125 125
     <el-table v-if="activeType == 2" :data="prescription.project" border style="width: 99%;"
126 126
               :row-style="{ color: '#303133' }"
127 127
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
128
-      <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
128
+      <el-table-column align="center" type="index" width="40" label="序号">
129
+        <template slot-scope="scope">{{scope.$index+1}}</template>
130
+      </el-table-column>
129 131
       <el-table-column align="center" prop="project_name" label="名称">
130 132
         <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
131 133
         </template>
@@ -442,18 +444,14 @@
442 444
       getAllChange(scope) {
443 445
         if (scope.row.drug.min_unit == scope.row.single_dose_unit) {
444 446
           if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
445
-            console.log(1)
446 447
             scope.row.prescribing_number = scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)
447 448
           } else {
448
-            console.log(12)
449 449
             scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1)) * (scope.row.day ? scope.row.day : 1) / scope.row.drug.min_number)
450 450
           }
451 451
         } else {
452 452
           if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
453
-            console.log(123)
454 453
             scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose)
455 454
           } else {
456
-            console.log(1234)
457 455
             scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose / scope.row.drug.min_number)
458 456
           }
459 457
         }
@@ -574,7 +572,7 @@
574 572
 
575 573
         },
576 574
         deep: true
577
-      }
575
+      },
578 576
       // "prescription.project":{
579 577
       //   handler(newVal,oldVal){
580 578
       //     newVal.map((item,index) => {

+ 7 - 7
src/xt_pages/user/hospitalSummaryPrint.vue Zobrazit soubor

@@ -176,7 +176,7 @@
176 176
             <td style="text-align:center;width:300px" colspan="1">
177 177
               出院诊断:
178 178
             </td>
179
-             <td style="text-align:center;width:170px" colspan="11">
179
+             <td style="text-align:center;" colspan="11">
180 180
              
181 181
               <span style="display:inline-block;margin-left:10px;text-align:left;">
182 182
                <span v-html="hosDetail.discharge_diagnosis"></span>  
@@ -188,7 +188,7 @@
188 188
             <td style="text-align:center;width:300px" colspan="1">
189 189
               入院时病情:
190 190
             </td>
191
-           <td style="text-align:center;width:170px" colspan="11">
191
+           <td colspan="11">
192 192
             
193 193
               <span style="display:inline-block;margin-left:10px;text-align:left;">
194 194
                  <span v-html="hosDetail.diagnosis_admission"></span>
@@ -202,7 +202,7 @@
202 202
               诊断经过:
203 203
            
204 204
             </td>
205
-            <td style="text-align:center;width:170px" colspan="11">
205
+            <td colspan="11">
206 206
               <span style="display:inline-block;margin-left:10px;text-align:left;">
207 207
                <span v-html="hosDetail.treatment"></span> 
208 208
               </span>
@@ -213,7 +213,7 @@
213 213
             <td style="text-align:center;width:170px" colspan="1">
214 214
               出院时病情:
215 215
             </td>
216
-            <td style="text-align:center;width:170px" colspan="11">
216
+            <td colspan="11">
217 217
             
218 218
               <span style="display:inline-block;margin-left:10px;text-align:left;">
219 219
                <span v-html="hosDetail.illness_discharge"></span> 
@@ -226,7 +226,7 @@
226 226
             <td style="text-align:center;width:300px" colspan="1">
227 227
               出院医嘱:
228 228
             </td>
229
-            <td style="text-align:center;width:170px" colspan="11">
229
+            <td colspan="11">
230 230
               <span style="display:inline-block;margin-left:10px;text-align:left;">
231 231
                 <span v-html="hosDetail.discharge_advice"></span> 
232 232
               </span>
@@ -234,12 +234,12 @@
234 234
             
235 235
           </tr>
236 236
           <tr>
237
-            <td style="text-align:center;width:170px" colspan="4">
237
+            <td style="text-align:center;width:170px" colspan="3">
238 238
               <span style="display:inline-block;margin-left:10px;">
239 239
                
240 240
               </span>
241 241
             </td>
242
-            <td style="text-align:center;width:170px" colspan="2">
242
+            <td style="text-align:center;width:170px" colspan="3">
243 243
               上级医师签名:
244 244
             </td>
245 245
             <td style="text-align:center;width:170px" colspan="2">