Browse Source

修改样式

See999 5 years ago
parent
commit
872e07f429

+ 4 - 4
src/pages/advice/DialysisAdviceTable.vue View File

@@ -158,9 +158,9 @@
158 158
       </template>
159 159
       </table>-->
160 160
 
161
-      <div class="NoData" v-show="zones.length <= 1">
161
+      <!-- <div class="NoData" v-show="zones.length <= 1">
162 162
         <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
163
-      </div>
163
+      </div>-->
164 164
       <el-table :data="date" border style="width: 100%">
165 165
         <el-table-column fixed prop="date" label="姓名" width="100" align="center">
166 166
           <template slot-scope="scope"></template>
@@ -573,14 +573,14 @@ export default {
573 573
   }
574 574
 }
575 575
 .DialysisAdvice {
576
-  padding-top: 85px;
576
+  padding-top: 75px;
577 577
   // background: #fff;
578 578
   min-height: calc(100vh - 2px);
579 579
   // @media only screen and (max-width: 812px) {
580 580
   //   padding-top: 70px !important;
581 581
   // }
582 582
   @media only screen and (min-width: 768px) {
583
-    padding-top: 130px !important;
583
+    padding-top: 126px !important;
584 584
   }
585 585
   // @media only screen and (min-width: 813px) and (max-width: 1024px) {
586 586
   //   padding-top: 118px !important;

+ 1 - 1
src/pages/main/RecordPage.vue View File

@@ -239,7 +239,7 @@ export default {
239 239
       float: left;
240 240
       font-size: 0.45rem;
241 241
       margin: 0 0.2rem;
242
-      height: 0.8rem;
242
+      height: 0.9rem;
243 243
       line-height: 0.8rem;
244 244
       padding: 0 0.4rem;
245 245
       // color: $title-color;

+ 81 - 42
src/pages/main/add_urgent_schedule.vue View File

@@ -21,7 +21,27 @@
21 21
           </van-col>
22 22
         </van-row>
23 23
         <van-row class="row">
24
-          <van-col :span="12">
24
+          <van-col :span="24">
25
+            <div class="field_panel">
26
+              <el-autocomplete
27
+                class="Input"
28
+                popper-class="my-autocomplete"
29
+                v-model="value"
30
+                :fetch-suggestions="querySearchAsync"
31
+                :trigger-on-focus="false"
32
+                placeholder="请输入病人名字"
33
+                @select="handleSelect"
34
+              >
35
+                <i class="el-icon-search el-input__icon" slot="suffix"></i>
36
+                <template slot-scope="{ item }">
37
+                  <div class="name">{{ item.name }}</div>
38
+                </template>
39
+              </el-autocomplete>
40
+            </div>
41
+          </van-col>
42
+        </van-row>
43
+        <van-row class="row">
44
+          <van-col :span="24">
25 45
             <span class="title">日期:</span>
26 46
             <div class="field_panel">
27 47
               <van-field v-model="date" class="field"></van-field>
@@ -29,7 +49,7 @@
29 49
           </van-col>
30 50
         </van-row>
31 51
         <van-row class="row">
32
-          <van-col :span="12">
52
+          <van-col :span="24">
33 53
             <span class="title">患者:</span>
34 54
             <div class="field_panel">
35 55
               <van-field
@@ -41,28 +61,9 @@
41 61
               ></van-field>
42 62
             </div>
43 63
           </van-col>
44
-
45
-          <van-col :span="9">
46
-            <div class="field_panel">
47
-              <el-autocomplete
48
-                style="float: right"
49
-                popper-class="my-autocomplete"
50
-                v-model="value"
51
-                :fetch-suggestions="querySearchAsync"
52
-                :trigger-on-focus="false"
53
-                placeholder="请输入病人名字"
54
-                @select="handleSelect"
55
-              >
56
-                <i class="el-icon-search el-input__icon" slot="suffix"></i>
57
-                <template slot-scope="{ item }">
58
-                  <div class="name">{{ item.name }}</div>
59
-                </template>
60
-              </el-autocomplete>
61
-            </div>
62
-          </van-col>
63 64
         </van-row>
64 65
         <van-row class="row">
65
-          <van-col :span="12">
66
+          <van-col :span="24">
66 67
             <span class="title">班次:</span>
67 68
             <div class="field_panel">
68 69
               <van-field
@@ -75,7 +76,7 @@
75 76
             </div>
76 77
           </van-col>
77 78
 
78
-          <van-col :span="12">
79
+          <van-col :span="24">
79 80
             <span class="title">治疗模式:</span>
80 81
             <div class="field_panel">
81 82
               <van-field
@@ -87,7 +88,7 @@
87 88
               ></van-field>
88 89
             </div>
89 90
           </van-col>
90
-          <van-col :span="12">
91
+          <van-col :span="24">
91 92
             <span class="title">床位:</span>
92 93
             <div class="field_panel">
93 94
               <van-field
@@ -102,10 +103,11 @@
102 103
         </van-row>
103 104
         <van-row class="row">
104 105
           <van-col :span="24">
105
-            <span class="title">&nbsp;</span>
106
+            <!-- <span class="title">&nbsp;</span>
106 107
             <div class="field_panel">
107 108
               <van-button type="info" size="normal" @click="submitAction">立即排班</van-button>
108
-            </div>
109
+            </div>-->
110
+            <div class="nowScheduling" @click="submitAction">立即排班</div>
109 111
           </van-col>
110 112
         </van-row>
111 113
       </div>
@@ -519,7 +521,7 @@ export default {
519 521
     }
520 522
     .nav {
521 523
       text-align: center;
522
-      font-size: 0.36rem;
524
+      font-size: 0.45rem;
523 525
       margin-right: 56px;
524 526
     }
525 527
   }
@@ -528,25 +530,29 @@ export default {
528 530
     background: #fff;
529 531
     min-height: calc(100vh - 2px);
530 532
     padding-top: 55px;
531
-    padding-left: 20px;
532
-
533
+    // padding-left: 20px;
534
+    @media only screen and (min-width: 768px) {
535
+      padding-top: 100px;
536
+    }
533 537
     .row {
534
-      padding: 5px 0;
538
+      // padding: 5px 0;
539
+      width: 80%;
540
+      margin: 0 auto;
535 541
       .title {
536 542
         color: #8f8f8f;
537 543
         margin-right: 5px;
538
-        text-align: right;
539
-        font-size: 16px;
544
+        text-align: left;
545
+        font-size: 0.45rem;
540 546
         line-height: 45px;
541
-        width: 80px;
547
+        width: 3rem;
542 548
         float: left;
543 549
         // @media only screen and (max-width: 812px) {
544 550
         //   font-size: 0.3rem !important;
545 551
         // }
546
-        @media only screen and (max-width: 376px) {
547
-          width: 50px !important;
548
-          font-size: 0.3rem !important;
549
-        }
552
+        // @media only screen and (max-width: 376px) {
553
+        //   width: 50px !important;
554
+        //   font-size: 0.3rem !important;
555
+        // }
550 556
       }
551 557
       .el-input__inner {
552 558
         @media only screen and (max-width: 812px) {
@@ -555,15 +561,16 @@ export default {
555 561
         }
556 562
       }
557 563
       .field_panel {
558
-        display: inline-block;
564
+        // display: inline-block;
565
+        height: 1.4rem;
559 566
         .field {
560 567
           padding: 0 0;
561
-          font-size: 18px;
568
+          font-size: 0.45rem;
562 569
           line-height: 45px;
563 570
           width: 180px;
564
-          @media only screen and (max-width: 812px) {
565
-            width: 100px;
566
-          }
571
+          // @media only screen and (max-width: 812px) {
572
+          //   width: 100px;
573
+          // }
567 574
         }
568 575
       }
569 576
 
@@ -576,6 +583,17 @@ export default {
576 583
           margin-left: -10px !important;
577 584
         }
578 585
       }
586
+      .nowScheduling {
587
+        width: 100%;
588
+        height: 1.3rem;
589
+        line-height: 1.3rem;
590
+        border-radius: 30px;
591
+        text-align: center;
592
+        background: #258ffc;
593
+        font-size: 0.45rem;
594
+        color: #fff;
595
+        margin-top: 0.5rem;
596
+      }
579 597
     }
580 598
   }
581 599
 }
@@ -593,3 +611,24 @@ export default {
593 611
   }
594 612
 }
595 613
 </style>
614
+<style lang="scss">
615
+.Input {
616
+  width: 100%;
617
+  .el-input__inner {
618
+    border-radius: 30px;
619
+    font-size: 0.4rem;
620
+    @media only screen and (min-width: 768px) {
621
+      height: 1.2rem;
622
+      line-height: 1.2rem;
623
+      border-radius: 50px;
624
+    }
625
+  }
626
+  .el-input__icon {
627
+    font-size: 0.45rem;
628
+    @media only screen and (min-width: 768px) {
629
+      margin-top: 2px;
630
+      margin-right: 8px;
631
+    }
632
+  }
633
+}
634
+</style>

+ 95 - 113
src/pages/main/today/dialysisMonitoring.vue View File

@@ -56,160 +56,142 @@
56 56
     </div>-->
57 57
     <el-table :data="tableDate" border style="width: 100%" ref="form">
58 58
       <span v-if="isShow('监测时间')">
59
-         <el-table-column fixed prop="date" label="时间" width="100" align="center">
60
-            <template slot-scope="scope">
61
-                {{parseTime(scope.row.operate_time, "{y}-{m}-{d} {h}:{i}")}}
62
-            </template>
59
+        <el-table-column fixed prop="date" label="时间" width="100" align="center">
60
+          <template slot-scope="scope">{{parseTime(scope.row.operate_time, "{y}-{m}-{d} {h}:{i}")}}</template>
63 61
         </el-table-column>
64 62
       </span>
65
-      <span  v-if="isShow('体温')">
66
-          <el-table-column prop="name" label="体温(℃)" width="100" align="center">
67
-             <template slot-scope="scope">
68
-                 {{scope.row.temperature?scope.row.temperature:''}}
69
-             </template>
70
-          </el-table-column>
63
+      <span v-if="isShow('体温')">
64
+        <el-table-column prop="name" label="体温(℃)" width="80" align="center">
65
+          <template slot-scope="scope">{{scope.row.temperature?scope.row.temperature:''}}</template>
66
+        </el-table-column>
71 67
       </span>
72
-      <span v-if="isShow('血压')" >
73
-          <el-table-column prop="province" label="血压(mmHg)" width="100" align="center">
74
-               <template slot-scope="scope">
75
-                   {{scope.row.systolic_blood_pressure?scope.row.systolic_blood_pressure:''}}/{{scope.row.diastolic_blood_pressure?scope.row.diastolic_blood_pressure:''}}
76
-               </template>
77
-          </el-table-column>
68
+      <span v-if="isShow('血压')">
69
+        <el-table-column prop="province" label="血压(mmHg)" width="110" align="center">
70
+          <template
71
+            slot-scope="scope"
72
+          >{{scope.row.systolic_blood_pressure?scope.row.systolic_blood_pressure:''}}/{{scope.row.diastolic_blood_pressure?scope.row.diastolic_blood_pressure:''}}</template>
73
+        </el-table-column>
78 74
       </span>
79 75
       <span v-if="isShow('脉搏')">
80
-            <el-table-column prop="city" label="脉搏(次/分)" width="100" align="center">
81
-                <template slot-scope="scope">
82
-                  {{scope.row.pulse_frequency?scope.row.pulse_frequency:''}}
83
-                </template>
84
-            </el-table-column>
76
+        <el-table-column prop="city" label="脉搏(次/分)" width="100" align="center">
77
+          <template slot-scope="scope">{{scope.row.pulse_frequency?scope.row.pulse_frequency:''}}</template>
78
+        </el-table-column>
85 79
       </span>
86 80
       <span v-if="isShow('呼吸频率')">
87
-           <el-table-column prop="address" label="呼吸频率(次/分)" width="200" align="center">
88
-                 <template slot-scope="scope">
89
-                   {{scope.row.breathing_rate?scope.row.breathing_rate:''}}
90
-                 </template>
91
-           </el-table-column>
81
+        <el-table-column prop="address" label="呼吸频率(次/分)" width="140" align="center">
82
+          <template slot-scope="scope">{{scope.row.breathing_rate?scope.row.breathing_rate:''}}</template>
83
+        </el-table-column>
92 84
       </span>
93 85
       <el-table-column prop="zip" label="静脉压/动脉压(mmHg)" width="100" align="center">
94
-           <template slot-scope="scope" >
95
-              {{scope.row.venous_pressure?scope.row.venous_pressure:''}}/{{scope.row.arterial_pressure?scope.row.arterial_pressure:''}}
96
-           </template>
86
+        <template
87
+          slot-scope="scope"
88
+        >{{scope.row.venous_pressure?scope.row.venous_pressure:''}}/{{scope.row.arterial_pressure?scope.row.arterial_pressure:''}}</template>
97 89
       </el-table-column>
98 90
       <span v-if="isShow('血流量')">
99
-           <el-table-column prop="zip" label="血流量(ml/min)" width="150" align="center">
100
-              <template slot-scope="scope">
101
-                {{scope.row.blood_flow_volume?scope.row.blood_flow_volume:''}}
102
-              </template>
103
-           </el-table-column>
91
+        <el-table-column prop="zip" label="血流量(ml/min)" width="150" align="center">
92
+          <template
93
+            slot-scope="scope"
94
+          >{{scope.row.blood_flow_volume?scope.row.blood_flow_volume:''}}</template>
95
+        </el-table-column>
104 96
       </span>
105 97
       <span v-if="isShow('跨膜压')">
106
-           <el-table-column prop="zip" label="跨膜压(mmHg)" width="200" align="center">
107
-                <template slot-scope="scope">
108
-                   {{scope.row.transmembrane_pressure?scope.row.transmembrane_pressure:''}}
109
-                </template>
110
-           </el-table-column>
98
+        <el-table-column prop="zip" label="跨膜压(mmHg)" width="130" align="center">
99
+          <template
100
+            slot-scope="scope"
101
+          >{{scope.row.transmembrane_pressure?scope.row.transmembrane_pressure:''}}</template>
102
+        </el-table-column>
111 103
       </span>
112
-      <span  v-if="isShow('超滤量')">
113
-            <el-table-column prop="zip" label="超滤量(ml)" width="200" align="center">
114
-                <template slot-scope="scope">
115
-                    {{scope.row.ultrafiltration_volume?scope.row.ultrafiltration_volume:''}}
116
-                </template>
117
-            </el-table-column>
104
+      <span v-if="isShow('超滤量')">
105
+        <el-table-column prop="zip" label="超滤量(ml)" width="100" align="center">
106
+          <template
107
+            slot-scope="scope"
108
+          >{{scope.row.ultrafiltration_volume?scope.row.ultrafiltration_volume:''}}</template>
109
+        </el-table-column>
118 110
       </span>
119 111
 
120 112
       <span v-if="isShow('钠浓度')">
121
-            <el-table-column prop="zip" label="钠浓度(mmol/L)" width="200" align="center">
122
-                <template slot-scope="scope">
123
-                     {{scope.row.sodium_concentration?scope.row.sodium_concentration:''}}
124
-                </template>
125
-            </el-table-column>
113
+        <el-table-column prop="zip" label="钠浓度(mmol/L)" width="100" align="center">
114
+          <template
115
+            slot-scope="scope"
116
+          >{{scope.row.sodium_concentration?scope.row.sodium_concentration:''}}</template>
117
+        </el-table-column>
126 118
       </span>
127 119
 
128 120
       <span v-if="isShow('透析液温度')">
129
-           <el-table-column prop="zip" label="透析液温度(℃)" width="200" align="center">
130
-                 <template slot-scope="scope">
131
-                    {{scope.row.dialysate_temperature?scope.row.dialysate_temperature:''}}
132
-                 </template>
133
-             </el-table-column>
121
+        <el-table-column prop="zip" label="透析液温度(℃)" width="100" align="center">
122
+          <template
123
+            slot-scope="scope"
124
+          >{{scope.row.dialysate_temperature?scope.row.dialysate_temperature:''}}</template>
125
+        </el-table-column>
134 126
       </span>
135 127
 
136 128
       <span v-if="isShow('置换率')">
137
-          <el-table-column prop="zip" label="置换率(L/h)" width="200" align="center">
138
-             <template slot-scope="scope">
139
-                {{scope.row.replacement_rate?scope.row.replacement_rate:''}}
140
-             </template>
141
-          </el-table-column>
129
+        <el-table-column prop="zip" label="置换率(L/h)" width="200" align="center">
130
+          <template slot-scope="scope">{{scope.row.replacement_rate?scope.row.replacement_rate:''}}</template>
131
+        </el-table-column>
142 132
       </span>
143 133
 
144 134
       <span v-if="isShow('置换量')">
145
-           <el-table-column prop="zip" label="置换量(L)" width="200" align="center">
146
-                <template slot-scope="scope">
147
-                  {{scope.row.displacement_quantity?scope.row.displacement_quantity:''}}
148
-                </template>
149
-           </el-table-column>
135
+        <el-table-column prop="zip" label="置换量(L)" width="200" align="center">
136
+          <template
137
+            slot-scope="scope"
138
+          >{{scope.row.displacement_quantity?scope.row.displacement_quantity:''}}</template>
139
+        </el-table-column>
150 140
       </span>
151 141
 
152 142
       <span v-if="isShow('电导度')">
153
-         <el-table-column prop="zip" label="电导度(mS/m)" width="200" align="center">
154
-              <template slot-scope="scope">
155
-               {{scope.row.conductivity?scope.row.conductivity:''}}
156
-              </template>
157
-         </el-table-column>
143
+        <el-table-column prop="zip" label="电导度(mS/m)" width="200" align="center">
144
+          <template slot-scope="scope">{{scope.row.conductivity?scope.row.conductivity:''}}</template>
145
+        </el-table-column>
158 146
       </span>
159 147
 
160
-      <span  v-if="isShow('置换液流量')">
161
-             <el-table-column prop="zip" label="置换液流量(ml/h)" width="200" align="center">
162
-                <template slot-scope="scope">
163
-                    {{scope.row.displacement_flow_quantity?scope.row.displacement_flow_quantity:''}}
164
-                </template>
165
-             </el-table-column>
148
+      <span v-if="isShow('置换液流量')">
149
+        <el-table-column prop="zip" label="置换液流量(ml/h)" width="200" align="center">
150
+          <template
151
+            slot-scope="scope"
152
+          >{{scope.row.displacement_flow_quantity?scope.row.displacement_flow_quantity:''}}</template>
153
+        </el-table-column>
166 154
       </span>
167 155
 
168 156
       <span v-if="isShow('病情变化')">
169
-           <el-table-column prop="zip" label="病情变化" width="200" align="center">
170
-             <template slot-scope="scope">
171
-                 {{scope.row.symptom}}
172
-             </template>
173
-           </el-table-column>
157
+        <el-table-column prop="zip" label="病情变化" width="200" align="center">
158
+          <template slot-scope="scope">{{scope.row.symptom}}</template>
159
+        </el-table-column>
174 160
       </span>
175 161
 
176
-       <span v-if="isShow('处理')">
177
-            <el-table-column prop="zip" label="处理" width="200" align="center">
178
-              <template slot-scope="scope">
179
-               {{scope.row.dispose}}
180
-              </template>
181
-            </el-table-column>
182
-       </span>
162
+      <span v-if="isShow('处理')">
163
+        <el-table-column prop="zip" label="处理" width="200" align="center">
164
+          <template slot-scope="scope">{{scope.row.dispose}}</template>
165
+        </el-table-column>
166
+      </span>
183 167
 
184 168
       <span v-if="isShow('结果')">
185
-            <el-table-column prop="zip" label="结果" width="200" align="center">
186
-                 <template slot-scope="scope">
187
-                   {{scope.row.result}}
188
-                 </template>
189
-            </el-table-column>
169
+        <el-table-column prop="zip" label="结果" width="200" align="center">
170
+          <template slot-scope="scope">{{scope.row.result}}</template>
171
+        </el-table-column>
190 172
       </span>
191 173
     </el-table>
192 174
   </div>
193 175
 </template>
194 176
 
195 177
 <script>
196
-import { parseTime } from '@/utils'
178
+import { parseTime } from "@/utils";
197 179
 
198 180
 export default {
199
-  name: 'statOrder',
200
-  data () {
181
+  name: "statOrder",
182
+  data() {
201 183
     return {
202
-      title: '透析监测 ',
184
+      title: "透析监测 ",
203 185
       template_id: 0,
204 186
       tableDate: []
205
-    }
187
+    };
206 188
   },
207
-  created () {
208
-    this.template_id = this.$store.getters.user.template_info.template_id
189
+  created() {
190
+    this.template_id = this.$store.getters.user.template_info.template_id;
209 191
   },
210 192
   methods: {
211
-    isShow (name) {
212
-      var filedList = this.$store.getters.user.fileds
193
+    isShow(name) {
194
+      var filedList = this.$store.getters.user.fileds;
213 195
 
214 196
       for (let i = 0; i < filedList.length; i++) {
215 197
         if (
@@ -217,26 +199,26 @@ export default {
217 199
           filedList[i].filed_name_cn == name &&
218 200
           filedList[i].is_show == 1
219 201
         ) {
220
-          return true
202
+          return true;
221 203
         }
222 204
       }
223
-      return false
205
+      return false;
224 206
     },
225
-    setRecords (records) {
207
+    setRecords(records) {
226 208
       if (records == null) {
227
-        records = []
209
+        records = [];
228 210
       }
229
-      this.tableDate.splice(0, this.tableDate.length)
230
-      this.tableDate.push(...records)
211
+      this.tableDate.splice(0, this.tableDate.length);
212
+      this.tableDate.push(...records);
231 213
     },
232
-    parseTime (time, layout) {
233
-      return parseTime(time, layout)
214
+    parseTime(time, layout) {
215
+      return parseTime(time, layout);
234 216
     },
235
-    addRecords (records) {
236
-      this.tableDate.push(...records)
217
+    addRecords(records) {
218
+      this.tableDate.push(...records);
237 219
     }
238 220
   }
239
-}
221
+};
240 222
 </script>
241 223
 
242 224
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 6 - 6
src/pages/monitoring/index.vue View File

@@ -170,7 +170,10 @@
170 170
       </van-list>-->
171 171
       <div class="monitoringTable">
172 172
         <el-table :data="tableData" border style="width: 100%" class="newTable">
173
-          <el-table-column fixed prop="date" label="机号" width="100" align="center">
173
+          <el-table-column fixed prop="name" label="姓名" width="80" align="center">
174
+            <template slot-scope="scope">{{scope.row.patient.name}}</template>
175
+          </el-table-column>
176
+          <el-table-column prop="date" label="机号" width="60" align="center">
174 177
             <template slot-scope="scope">
175 178
               {{
176 179
               scope.row.dialysis_order.device_number.number.length > 0
@@ -179,16 +182,13 @@
179 182
               }}
180 183
             </template>
181 184
           </el-table-column>
182
-          <el-table-column prop="name" label="姓名" width="100" align="center">
183
-            <template slot-scope="scope">{{scope.row.patient.name}}</template>
184
-          </el-table-column>
185
-          <el-table-column prop="province" label="透析号" width="100" align="center">
185
+          <el-table-column prop="province" label="透析号" width="80" align="center">
186 186
             <template slot-scope="scope">{{scope.row.patient.dialysis_no}}</template>
187 187
           </el-table-column>
188 188
           <el-table-column prop="city" label="排班时间" width="100" align="center">
189 189
             <template slot-scope="scope">{{parseTime(scope.row.schedule_date,"{y}-{m}-{d}")}}</template>
190 190
           </el-table-column>
191
-          <el-table-column prop="address" label="透析模式" width="200" align="center">
191
+          <el-table-column prop="address" label="透析模式" width="100" align="center">
192 192
             <template slot-scope="scope">{{ scope.row.treatment_mode.name}}</template>
193 193
           </el-table-column>
194 194
           <el-table-column prop="zip" label="脱水量" width="100" align="center">

+ 3 - 3
src/styles/style.scss View File

@@ -323,10 +323,10 @@ body {
323 323
 .popover-demo-content {
324 324
   ul {
325 325
     li {
326
-      font-size: 0.32rem;
326
+      font-size: 0.45rem;
327 327
       color: $title-color;
328
-      line-height: 0.7rem;
329
-      height: 0.7rem;
328
+      line-height: 1rem;
329
+      height: 1rem;
330 330
       .iconfont {
331 331
         float: right;
332 332
         color: #409eff;