huangyw 2 years ago
parent
commit
d278e34de8

+ 1 - 1
src/xt_pages/outpatientDoctorStation/batch_delete.vue View File

@@ -68,7 +68,7 @@
68 68
         </div>
69 69
 
70 70
 <!--        <button @click="lili">调试</button>-->
71
-        <el-button @click="save">保存</el-button>
71
+        <el-button type="primary" @click="save">保存</el-button>
72 72
       </div>
73 73
 
74 74
       <el-container>

+ 22 - 17
src/xt_pages/outpatientDoctorStation/batch_mode_template.vue View File

@@ -53,16 +53,14 @@
53 53
             </el-select>
54 54
           </div>
55 55
         </div>
56
-
57
-        <button @click="lili">调试</button>
58 56
         <el-button type="primary" @click="save">保存</el-button>
59 57
       </div>
60 58
 
61 59
       <el-container>
62
-        <div style="width: 211px;border: 1px solid #DCDFE6;box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%), 0 0 6px 0 rgb(0 0 0 / 4%);">
60
+        <div style="width: 211px;height: 70vh;border: 1px solid #DCDFE6;box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%), 0 0 6px 0 rgb(0 0 0 / 4%);">
63 61
           <el-table
64 62
             border
65
-            height="550"
63
+            height="70vh"
66 64
             ref="multipleTable"
67 65
             :data="tableData"
68 66
             tooltip-effect="dark"
@@ -85,7 +83,7 @@
85 83
           <el-tabs
86 84
             v-model="editableTabsValue"
87 85
             type="border-card"
88
-            style="min-height: 530px;"
86
+            style="min-height: 70vh;"
89 87
             editable
90 88
             @tab-click="dian"
91 89
             @edit="handleTabsEdit"
@@ -115,7 +113,7 @@
115 113
                 v-if="new_type == 1"
116 114
                 :data="item.tableDatas"
117 115
                 style="width: 100%"
118
-                max-height="250"
116
+                max-height="500"
119 117
                 border
120 118
                 :row-style="{ color: '#303133' }"
121 119
                 :header-cell-style="{
@@ -273,7 +271,7 @@
273 271
                 v-if="new_type == 2"
274 272
                 :data="item.project"
275 273
                 style="width: 100%"
276
-                max-height="250"
274
+                max-height="500"
277 275
                 border
278 276
                 :row-style="{ color: '#303133' }"
279 277
                 :header-cell-style="{
@@ -300,16 +298,17 @@
300 298
                     </el-select>
301 299
                   </template>
302 300
                 </el-table-column>
303
-                <el-table-column label="组" width="100" align="center">
301
+                <el-table-column label="组" width="110" align="center">
304 302
                   <template slot-scope="scope">
305 303
                     {{ scope.row.translate }}
306 304
                   </template>
307 305
                 </el-table-column>
308
-                <el-table-column label="单次用量" width="120" align="center">
306
+                <el-table-column label="单次用量" width="130" align="center">
309 307
                   <template slot-scope="scope">
310 308
                     <el-input
311 309
                       v-model="scope.row.single_dose"
312
-                      placeholder="请输入内容"
310
+                      placeholder="请输入"
311
+                      style="width:80px;"
313 312
                     ></el-input>
314 313
                     {{ scope.row.unit }}
315 314
                   </template>
@@ -346,7 +345,7 @@
346 345
                     </el-select>
347 346
                   </template>
348 347
                 </el-table-column>
349
-                <el-table-column label="天数" width="114" align="center">
348
+                <el-table-column label="天数" width="120" align="center">
350 349
                   <template slot-scope="scope">
351 350
                     <el-input
352 351
                       v-model="scope.row.day"
@@ -356,7 +355,7 @@
356 355
                     >天
357 356
                   </template>
358 357
                 </el-table-column>
359
-                <el-table-column label="总量" width="110" align="center">
358
+                <el-table-column label="总量" width="124" align="center">
360 359
                   <template slot-scope="scope">
361 360
                     <el-input
362 361
                       v-model="scope.row.prescribing_number"
@@ -366,7 +365,7 @@
366 365
                     {{ scope.row.unit }}
367 366
                   </template>
368 367
                 </el-table-column>
369
-                <el-table-column label="单价" width="120" align="center">
368
+                <el-table-column label="单价" width="130" align="center">
370 369
                   <template slot-scope="scope">
371 370
                     <el-input
372 371
                       v-model="scope.row.price"
@@ -375,7 +374,7 @@
375 374
                     >元
376 375
                   </template>
377 376
                 </el-table-column>
378
-                <el-table-column label="备注" width="110" align="center">
377
+                <el-table-column label="备注" width="140" align="center">
379 378
                   <template slot-scope="scope">
380 379
                     <el-input
381 380
                       v-model="scope.row.remark"
@@ -408,7 +407,7 @@
408 407
 <!--                    </div>-->
409 408
 <!--                  </template>-->
410 409
 <!--                </el-table-column>-->
411
-                <el-table-column label="操作" width="150" align="center">
410
+                <el-table-column label="操作" width="170" align="center">
412 411
                   <template slot-scope="scope">
413 412
                     <!--                    <el-button-->
414 413
                     <!--                      @click.native.prevent="addopen(scope.$index)"-->
@@ -1174,7 +1173,7 @@ export default {
1174 1173
 }
1175 1174
 
1176 1175
 /deep/ .el-table__fixed {
1177
-  // bottom: 20px !important;
1176
+  bottom: 0px !important;
1178 1177
 }
1179 1178
 .app-container {
1180 1179
   padding: 10px;
@@ -1325,11 +1324,17 @@ export default {
1325 1324
 }
1326 1325
 .el-main {
1327 1326
   padding-top: 0px;
1328
-  padding-left: 27px;
1327
+  padding-left: 18px;
1329 1328
   padding-right: 0px;
1330 1329
   .el-tabs{
1331 1330
     .el-tabs__content{
1332 1331
       padding: 12px;
1332
+      .el-table .el-table__header-wrapper table{
1333
+        width: 100% !important;
1334
+      }
1335
+      .el-table .el-table__body-wrapper table{
1336
+        width: 100% !important;
1337
+      }
1333 1338
     }
1334 1339
   }
1335 1340
 }

File diff suppressed because it is too large
+ 696 - 426
src/xt_pages/outpatientDoctorStation/batch_replacement.vue


+ 8 - 8
src/xt_pages/outpatientDoctorStation/components/prescriptionTemplateTable.vue View File

@@ -11,12 +11,12 @@
11 11
                     </div>
12 12
                 </template>
13 13
             </el-table-column>
14
-            <el-table-column align="center" prop="drug_name" label="名称"  width="447" >
14
+            <el-table-column align="center" prop="drug_name" label="名称"  width="297" >
15 15
                 <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span>
16 16
                 </template>
17 17
             </el-table-column>
18 18
 
19
-          <el-table-column align="center" prop="single_dose" width="120" label="单次用量">
19
+          <el-table-column align="center" prop="single_dose" width="150" label="单次用量">
20 20
             <template slot-scope="scope">
21 21
               <div style="display:flex;align-items:center;">
22 22
                 <el-input v-model="scope.row.single_dose" @input="getAllChange(scope)"
@@ -32,7 +32,7 @@
32 32
               </div>
33 33
             </template>
34 34
           </el-table-column>
35
-            <el-table-column align="center" prop="delivery_way" width="100" label="用法">
35
+            <el-table-column align="center" prop="delivery_way" width="110" label="用法">
36 36
                 <template slot-scope="scope">
37 37
                     <el-select v-model="scope.row.delivery_way" placeholder="请选择">
38 38
                         <el-option
@@ -44,7 +44,7 @@
44 44
                     </el-select>
45 45
                 </template>
46 46
             </el-table-column>
47
-            <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
47
+            <el-table-column align="center" prop="execution_frequency" width="110" label="频率">
48 48
                 <template slot-scope="scope">
49 49
                     <el-select v-model="scope.row.execution_frequency" placehold er="请选择" @change="getAllChange(scope)">
50 50
                         <el-option
@@ -58,7 +58,7 @@
58 58
             </el-table-column>
59 59
 
60 60
 
61
-            <el-table-column align="center" prop="day" width="70" label="天数">
61
+            <el-table-column align="center" prop="day" width="90" label="天数">
62 62
                 <template slot-scope="scope">
63 63
                     <div style="display:flex;align-items:center;">
64 64
                         <el-input v-model="scope.row.day" @input="getAllChange(scope)" placeholder=""></el-input>
@@ -83,7 +83,7 @@
83 83
                     </div>
84 84
                 </template>
85 85
             </el-table-column>
86
-            <el-table-column align="center" prop="retail_price" width="80" label="单价">
86
+            <el-table-column align="center" prop="retail_price" width="100" label="单价">
87 87
                 <template slot-scope="scope">
88 88
                     <div style="display:flex;align-items:center;">
89 89
                         <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
@@ -92,13 +92,13 @@
92 92
 
93 93
                 </template>
94 94
             </el-table-column>
95
-            <el-table-column align="center" prop="remark" width="50" label="备注">
95
+            <el-table-column align="center" prop="remark" width="100" label="备注">
96 96
                 <template slot-scope="scope">
97 97
                     <el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
98 98
                 </template>
99 99
             </el-table-column>
100 100
 
101
-            <el-table-column align="center" prop="remark" width="70" label="推送频率">
101
+            <el-table-column align="center" prop="remark" width="80" label="推送频率">
102 102
                 <template slot-scope="scope">
103 103
                     <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>
104 104
                     <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>

+ 2 - 0
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue View File

@@ -10,6 +10,7 @@
10 10
         <el-button type="primary" @click="add">新增</el-button>
11 11
       </div>
12 12
     </div>
13
+
13 14
     <div
14 15
       class="app-container"
15 16
       style="display: flex; flex: 1; padding: 10px 20px 0px 20px"
@@ -105,6 +106,7 @@
105 106
         </el-pagination>
106 107
       </div>
107 108
     </div>
109
+    
108 110
   </div>
109 111
 </template>
110 112