浏览代码

Merge branch 'wzf' of http://git.shengws.com/zhangbj/xt_pad into wzf

xiaoming_global 5 年前
父节点
当前提交
b41eb3f811

二进制
src/assets/login/newLogo.png 查看文件


+ 48 - 4
src/pages/advice/AdvicePage.vue 查看文件

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <van-row class="top_row">
3
     <van-row class="top_row">
4
-      <van-col :span="9">
4
+      <!-- <van-col :span="9">
5
         <div style="visibility: hidden">
5
         <div style="visibility: hidden">
6
           <span class="title"></span>
6
           <span class="title"></span>
7
         </div>
7
         </div>
33
             >搜索</van-button>
33
             >搜索</van-button>
34
           </van-field>
34
           </van-field>
35
         </div>
35
         </div>
36
-      </van-col>
36
+      </van-col>-->
37
+      <div class="newSearch">
38
+        <el-input
39
+          prefix-icon="el-icon-search"
40
+          v-model="advice_keyword"
41
+          ref="search_field"
42
+          placeholder="透析号/姓名"
43
+        ></el-input>
44
+        <p class="searchBtn" @click="searchWithKeyword(1)">搜索</p>
45
+      </div>
37
     </van-row>
46
     </van-row>
38
 
47
 
39
     <div class="area">
48
     <div class="area">
52
     return {
61
     return {
53
       index: 0,
62
       index: 0,
54
       search_input: "",
63
       search_input: "",
55
-      search_keyword: ""
64
+      search_keyword: "",
65
+      advice_keyword: ""
56
     };
66
     };
57
   },
67
   },
58
   components: {
68
   components: {
79
 .top_row {
89
 .top_row {
80
   font-size: 0.3rem;
90
   font-size: 0.3rem;
81
   padding: 0.3rem 0.3rem;
91
   padding: 0.3rem 0.3rem;
82
-  border-bottom: 1px #e5e5e5 solid;
92
+  // border-bottom: 1px #e5e5e5 solid;
83
   display: flex;
93
   display: flex;
84
   align-items: center;
94
   align-items: center;
85
 }
95
 }
134
     min-width: 60px !important;
144
     min-width: 60px !important;
135
   }
145
   }
136
 }
146
 }
147
+.newSearch {
148
+  height: 1rem;
149
+  width: 100%;
150
+  background: #fff;
151
+  border-radius: 30px;
152
+  .searchBtn {
153
+    width: 15%;
154
+    float: left;
155
+    height: 1rem;
156
+    line-height: 1rem;
157
+    text-align: center;
158
+    font-size: 0.45rem;
159
+    color: #258ffc;
160
+  }
161
+}
137
 </style>
162
 </style>
138
 
163
 
164
+<style lang="scss">
165
+.el-input {
166
+  height: 100%;
167
+  width: 85%;
168
+  float: left;
169
+}
170
+.el-input__inner {
171
+  height: 100%;
172
+  line-height: 1rem;
173
+  width: 100%;
174
+  border-radius: 30px;
175
+  border: none;
176
+  font-size: 0.45rem;
177
+}
178
+.el-input__icon {
179
+  line-height: 1rem;
180
+  font-size: 0.45rem;
181
+}
182
+</style>

+ 220 - 141
src/pages/advice/DialysisAdviceTable.vue 查看文件

2
   <div class="mainBox">
2
   <div class="mainBox">
3
     <div class="choice">
3
     <div class="choice">
4
       <ul>
4
       <ul>
5
-        <el-popover
6
-          placement="bottom"
7
-          trigger="click"
8
-          v-model="show_patient_type_selector"
9
-        >
5
+        <el-popover placement="bottom" trigger="click" v-model="show_patient_type_selector">
10
           <li slot="reference">
6
           <li slot="reference">
11
             {{ patient_types[patient_selected].text }}
7
             {{ patient_types[patient_selected].text }}
12
             <span class="iconfont">&#xe74a;</span>
8
             <span class="iconfont">&#xe74a;</span>
18
                 :key="type.value"
14
                 :key="type.value"
19
                 @click="handlePaitentType(type.value)"
15
                 @click="handlePaitentType(type.value)"
20
                 :class="advice_type_selected == type.value ? 'tick' : ''"
16
                 :class="advice_type_selected == type.value ? 'tick' : ''"
21
-              >
22
-                {{ type.text }}
23
-              </li>
17
+              >{{ type.text }}</li>
24
             </ul>
18
             </ul>
25
           </div>
19
           </div>
26
         </el-popover>
20
         </el-popover>
27
 
21
 
28
-        <el-popover
29
-          placement="bottom"
30
-          trigger="click"
31
-          v-model="show_zone_selector"
32
-        >
22
+        <el-popover placement="bottom" trigger="click" v-model="show_zone_selector">
33
           <li slot="reference">
23
           <li slot="reference">
34
             {{ zones[zone_selected].text }}
24
             {{ zones[zone_selected].text }}
35
             <span class="iconfont">&#xe74a;</span>
25
             <span class="iconfont">&#xe74a;</span>
41
                 :key="zone.value"
31
                 :key="zone.value"
42
                 @click="handleZoneChange(index)"
32
                 @click="handleZoneChange(index)"
43
                 :class="zone_selected == index ? 'tick' : ''"
33
                 :class="zone_selected == index ? 'tick' : ''"
44
-              >
45
-                {{ zone.text }}
46
-              </li>
34
+              >{{ zone.text }}</li>
47
             </ul>
35
             </ul>
48
           </div>
36
           </div>
49
         </el-popover>
37
         </el-popover>
50
-        <el-popover
51
-          placement="bottom"
52
-          trigger="click"
53
-          v-model="show_sch_type_selector"
54
-        >
38
+        <el-popover placement="bottom" trigger="click" v-model="show_sch_type_selector">
55
           <li slot="reference">
39
           <li slot="reference">
56
             {{ schedule_types[schedule_type_selected].text }}
40
             {{ schedule_types[schedule_type_selected].text }}
57
             <span class="iconfont">&#xe74a;</span>
41
             <span class="iconfont">&#xe74a;</span>
65
                 :class="
49
                 :class="
66
                   schedule_type_selected == scheduleType.value ? 'tick' : ''
50
                   schedule_type_selected == scheduleType.value ? 'tick' : ''
67
                 "
51
                 "
68
-              >
69
-                {{ scheduleType.text }}
70
-              </li>
52
+              >{{ scheduleType.text }}</li>
71
             </ul>
53
             </ul>
72
           </div>
54
           </div>
73
         </el-popover>
55
         </el-popover>
87
       </ul>
69
       </ul>
88
     </div>
70
     </div>
89
 
71
 
90
-    <div
91
-      style="width:100%;overflow:hildden;overflow-x:auto;"
92
-      class="DialysisAdvice"
93
-    >
72
+    <div style="width:100%;overflow:hildden;overflow-x:auto;" class="DialysisAdvice">
94
       <div class="blueBorder"></div>
73
       <div class="blueBorder"></div>
95
-      <table class="table">
96
-        <tr>
97
-          <!--<th width="50px">机号</th>-->
98
-          <th width="50px">姓名</th>
99
-          <th width="50px">透析号</th>
100
-          <th width="50px">期效</th>
101
-          <th width="100px">开始时间</th>
102
-          <th width="200px">医嘱内容</th>
103
-          <th width="50px">执行时间</th>
104
-          <th width="50px">执行护士</th>
105
-          <th width="50px">校对护士</th>
106
-          <th width="100px">校对时间</th>
107
-          <th width="50px">开嘱医生</th>
108
-          <th width="100px">开嘱时间</th>
74
+      <!-- <table class="table">
75
+      <tr>
76
+        <th width="50px">姓名</th>
77
+        <th width="50px">透析号</th>
78
+        <th width="50px">期效</th>
79
+        <th width="100px">开始时间</th>
80
+        <th width="200px">医嘱内容</th>
81
+        <th width="50px">执行时间</th>
82
+        <th width="50px">执行护士</th>
83
+        <th width="50px">校对护士</th>
84
+        <th width="100px">校对时间</th>
85
+        <th width="50px">开嘱医生</th>
86
+        <th width="100px">开嘱时间</th>
87
+      </tr>
88
+      <template v-for="(schedules, zone_name, index) in filtedScheduals">
89
+        <tr :key="index">
90
+          <td>{{ zone_name }}</td>
91
+          <td></td>
92
+          <td></td>
93
+          <td></td>
94
+          <td></td>
95
+          <td></td>
96
+          <td></td>
97
+          <td></td>
98
+          <td></td>
99
+          <td></td>
100
+          <td></td>
109
         </tr>
101
         </tr>
110
-        <template v-for="(schedules, zone_name, index) in filtedScheduals">
111
-          <tr :key="index">
112
-            <td>{{ zone_name }}</td>
113
-            <!--<td></td>-->
114
-            <td></td>
115
-            <td></td>
116
-            <td></td>
117
-            <td></td>
118
-            <td></td>
119
-            <td></td>
120
-            <td></td>
121
-            <td></td>
122
-            <td></td>
123
-            <td></td>
124
-          </tr>
125
-          <template v-for="schedule in schedules">
126
-            <template v-for="(group, group_index) in schedule.new_advice">
127
-              <tr
128
-                v-for="(advice, advice_index) in group.advices"
129
-                @click="clickfunction(schedule)"
130
-              >
131
-                <!--<td  v-if="advice_index == 0"-->
132
-                <!--:rowspan="group.advices.length">{{ advice.parent_id == 0 ? schedule.device_number.number : "" }}</td>-->
133
-
134
-                <!--<td  v-if="advice_index == 0" :rowspan="group.advices.length">{{ advice.parent_id == 0 && advice.dialysis_order&&advice.dialysis_order.device_number&& advice.dialysis_order.device_number.number.length > 0 ? advice.dialysis_order.device_number.number : schedule.device_number.number }}</td>-->
135
-                <!--<td v-if="advice_index == 0" :rowspan="group.advices.length">-->
136
-                <!--{{getNumber(advice,schedule)}}-->
137
-                <!--</td>-->
102
+        <template v-for="schedule in schedules">
103
+          <template v-for="(group, group_index) in schedule.new_advice">
104
+            <tr v-for="(advice, advice_index) in group.advices" @click="clickfunction(schedule)">
138
 
105
 
139
-                <td
140
-                  v-if="advice_index == 0"
141
-                  :rowspan="group.advices.length"
142
-                  style="color:#409eff;"
143
-                >
144
-                  {{ advice.parent_id == 0 ? schedule.patient.name : "" }}
145
-                </td>
146
-                <td v-if="advice_index == 0" :rowspan="group.advices.length">
147
-                  {{
148
-                    advice.parent_id == 0 ? schedule.patient.dialysis_no : ""
149
-                  }}
150
-                </td>
151
-                <td v-if="advice_index == 0" :rowspan="group.advices.length">
152
-                  {{ getAdaviceType(advice.advice_type, advice.parent_id) }}
153
-                </td>
154
-                <td v-if="advice_index == 0" :rowspan="group.advices.length">
155
-                  {{
156
-                    advice.parent_id == 0
157
-                      ? parseTime(advice.start_time, "{m}-{d} {h}:{i}")
158
-                      : ""
159
-                  }}
160
-                </td>
161
-                <td
162
-                  :class="
106
+              <td
107
+                v-if="advice_index == 0"
108
+                :rowspan="group.advices.length"
109
+                style="color:#409eff;"
110
+              >{{ advice.parent_id == 0 ? schedule.patient.name : "" }}</td>
111
+              <td v-if="advice_index == 0" :rowspan="group.advices.length">
112
+                {{
113
+                advice.parent_id == 0 ? schedule.patient.dialysis_no : ""
114
+                }}
115
+              </td>
116
+              <td
117
+                v-if="advice_index == 0"
118
+                :rowspan="group.advices.length"
119
+              >{{ getAdaviceType(advice.advice_type, advice.parent_id) }}</td>
120
+              <td v-if="advice_index == 0" :rowspan="group.advices.length">
121
+                {{
122
+                advice.parent_id == 0
123
+                ? parseTime(advice.start_time, "{m}-{d} {h}:{i}")
124
+                : ""
125
+                }}
126
+              </td>
127
+              <td
128
+                :class="
163
                     advice.parent_id == 0
129
                     advice.parent_id == 0
164
                       ? 'advice_content'
130
                       ? 'advice_content'
165
                       : 'subadvice_content'
131
                       : 'subadvice_content'
166
                   "
132
                   "
167
-                >
168
-                  <span>{{ advice.advice_name }}</span>
169
-                  <span
170
-                    >{{ advice.advice_desc }}{{ advice.drug_spec_unit }}</span
171
-                  >
172
-                  <span v-if="advice.prescribing_number">
173
-                    {{ advice.prescribing_number
174
-                    }}{{ advice.prescribing_number_unit }}
175
-                  </span>
176
-                  <span v-if="advice.single_dose">
177
-                    单次用量 {{ advice.single_dose
178
-                    }}{{ advice.single_dose_unit }}
179
-                  </span>
180
-                  <span>{{ advice.delivery_way }}</span>
181
-                  <span>{{ advice.execution_frequency }}</span>
182
-                  <span v-if="advice.parent_id == 0 && advice.remark.length > 0"
183
-                    >({{ advice.remark }})</span
184
-                  >
185
-                </td>
186
-                <td>
187
-                  {{ parseTime(advice.execution_time, "{m}-{d} {h}:{i}") }}
188
-                </td>
189
-                <td>{{ getName(advice.execution_staff) }}</td>
190
-                <td>{{ getName(advice.checker) }}</td>
191
-                <td>{{ parseTime(advice.check_time, "{m}-{d} {h}:{i}") }}</td>
192
-                <td>{{ getName(advice.advice_doctor) }}</td>
193
-                <td>{{ parseTime(advice.created_time, "{m}-{d} {h}:{i}") }}</td>
194
-              </tr>
195
-            </template>
133
+              >
134
+                <span>{{ advice.advice_name }}</span>
135
+                <span>{{ advice.advice_desc }}{{ advice.drug_spec_unit }}</span>
136
+                <span v-if="advice.prescribing_number">
137
+                  {{ advice.prescribing_number
138
+                  }}{{ advice.prescribing_number_unit }}
139
+                </span>
140
+                <span v-if="advice.single_dose">
141
+                  单次用量 {{ advice.single_dose
142
+                  }}{{ advice.single_dose_unit }}
143
+                </span>
144
+                <span>{{ advice.delivery_way }}</span>
145
+                <span>{{ advice.execution_frequency }}</span>
146
+                <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
147
+              </td>
148
+              <td>{{ parseTime(advice.execution_time, "{m}-{d} {h}:{i}") }}</td>
149
+              <td>{{ getName(advice.execution_staff) }}</td>
150
+              <td>{{ getName(advice.checker) }}</td>
151
+              <td>{{ parseTime(advice.check_time, "{m}-{d} {h}:{i}") }}</td>
152
+              <td>{{ getName(advice.advice_doctor) }}</td>
153
+              <td>{{ parseTime(advice.created_time, "{m}-{d} {h}:{i}") }}</td>
154
+            </tr>
196
           </template>
155
           </template>
197
         </template>
156
         </template>
157
+      </template>
198
       </table>
158
       </table>
199
 
159
 
200
       <div class="NoData" v-show="zones.length <= 1">
160
       <div class="NoData" v-show="zones.length <= 1">
201
-        <img
202
-          style="margin-top: 50px; margin-bottom: 50px"
203
-          src="@/assets/login/data.jpg"
204
-          alt
205
-        />
206
-      </div>
161
+        <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
162
+      </div>-->
163
+      <el-table :data="tableData" border style="width: 100%">
164
+        <el-table-column fixed prop="date" label="姓名" width="100"></el-table-column>
165
+        <el-table-column prop="name" label="透析号" width="100"></el-table-column>
166
+        <el-table-column prop="province" label="期效" width="100"></el-table-column>
167
+        <el-table-column prop="city" label="开始时间" width="100"></el-table-column>
168
+        <el-table-column prop="address" label="医嘱内容" width="200"></el-table-column>
169
+        <el-table-column prop="zip" label="执行时间" width="100"></el-table-column>
170
+        <el-table-column prop="zip" label="执行护士" width="150"></el-table-column>
171
+        <el-table-column prop="zip" label="校对护士" width="200"></el-table-column>
172
+        <el-table-column prop="zip" label="校对时间" width="200"></el-table-column>
173
+        <el-table-column prop="zip" label="开嘱医生" width="200"></el-table-column>
174
+        <el-table-column prop="zip" label="开嘱时间" width="200"></el-table-column>
175
+      </el-table>
207
     </div>
176
     </div>
208
 
177
 
209
     <mt-datetime-picker
178
     <mt-datetime-picker
262
       ],
231
       ],
263
       patient_selected: 0,
232
       patient_selected: 0,
264
 
233
 
265
-      scheduleMap: {}
234
+      scheduleMap: {},
235
+      tableData: [
236
+        {
237
+          date: "2016-05-02",
238
+          name: "王小虎",
239
+          province: "上海",
240
+          city: "普陀区",
241
+          address: "上海市普陀区金沙江路 1518 弄",
242
+          zip: 200333
243
+        },
244
+        {
245
+          date: "2016-05-04",
246
+          name: "王小虎",
247
+          province: "上海",
248
+          city: "普陀区",
249
+          address: "上海市普陀区金沙江路 1517 弄",
250
+          zip: 200333
251
+        },
252
+        {
253
+          date: "2016-05-01",
254
+          name: "王小虎",
255
+          province: "上海",
256
+          city: "普陀区",
257
+          address: "上海市普陀区金沙江路 1519 弄",
258
+          zip: 200333
259
+        },
260
+        {
261
+          date: "2016-05-03",
262
+          name: "王小虎",
263
+          province: "上海",
264
+          city: "普陀区",
265
+          address: "上海市普陀区金沙江路 1516 弄",
266
+          zip: 200333
267
+        },
268
+        {
269
+          date: "2016-05-02",
270
+          name: "王小虎",
271
+          province: "上海",
272
+          city: "普陀区",
273
+          address: "上海市普陀区金沙江路 1518 弄",
274
+          zip: 200333
275
+        },
276
+        {
277
+          date: "2016-05-04",
278
+          name: "王小虎",
279
+          province: "上海",
280
+          city: "普陀区",
281
+          address: "上海市普陀区金沙江路 1517 弄",
282
+          zip: 200333
283
+        },
284
+        {
285
+          date: "2016-05-01",
286
+          name: "王小虎",
287
+          province: "上海",
288
+          city: "普陀区",
289
+          address: "上海市普陀区金沙江路 1519 弄",
290
+          zip: 200333
291
+        },
292
+        {
293
+          date: "2016-05-03",
294
+          name: "王小虎",
295
+          province: "上海",
296
+          city: "普陀区",
297
+          address: "上海市普陀区金沙江路 1516 弄",
298
+          zip: 200333
299
+        },
300
+        {
301
+          date: "2016-05-02",
302
+          name: "王小虎",
303
+          province: "上海",
304
+          city: "普陀区",
305
+          address: "上海市普陀区金沙江路 1518 弄",
306
+          zip: 200333
307
+        },
308
+        {
309
+          date: "2016-05-04",
310
+          name: "王小虎",
311
+          province: "上海",
312
+          city: "普陀区",
313
+          address: "上海市普陀区金沙江路 1517 弄",
314
+          zip: 200333
315
+        },
316
+        {
317
+          date: "2016-05-01",
318
+          name: "王小虎",
319
+          province: "上海",
320
+          city: "普陀区",
321
+          address: "上海市普陀区金沙江路 1519 弄",
322
+          zip: 200333
323
+        },
324
+        {
325
+          date: "2016-05-03",
326
+          name: "王小虎",
327
+          province: "上海",
328
+          city: "普陀区",
329
+          address: "上海市普陀区金沙江路 1516 弄",
330
+          zip: 200333
331
+        }
332
+      ]
266
     };
333
     };
267
   },
334
   },
268
   computed: {
335
   computed: {
555
 .choice {
622
 .choice {
556
   border-bottom: 1px #e5e5e5 solid;
623
   border-bottom: 1px #e5e5e5 solid;
557
   position: fixed;
624
   position: fixed;
558
-  top: 63px;
625
+  top: 48px;
559
   right: 0;
626
   right: 0;
560
   z-index: 66;
627
   z-index: 66;
561
   left: 0;
628
   left: 0;
562
-  background: #fff;
563
-  @media only screen and (max-width: 415px) {
564
-    top: 38px !important;
565
-  }
629
+  background: #258ffc;
630
+  // @media only screen and (max-width: 415px) {
631
+  //   top: 38px !important;
632
+  // }
566
   @media only screen and (min-width: 376px) and (max-width: 812px) {
633
   @media only screen and (min-width: 376px) and (max-width: 812px) {
567
     top: 38px !important;
634
     top: 38px !important;
568
   }
635
   }
574
     width: 90%;
641
     width: 90%;
575
     margin: 0 auto;
642
     margin: 0 auto;
576
     font-size: 0.32rem;
643
     font-size: 0.32rem;
577
-    color: $pgh-color;
644
+    // color: $pgh-color;
645
+    color: #fff;
578
     li {
646
     li {
579
       @include display-flex;
647
       @include display-flex;
580
       @include align-items-center;
648
       @include align-items-center;
581
       @include text-align;
649
       @include text-align;
582
       @include justify-content-between;
650
       @include justify-content-between;
583
       padding: 0.3rem 0;
651
       padding: 0.3rem 0;
584
-      font-size: 0.32rem;
652
+      font-size: 0.45rem;
585
       .iconfont {
653
       .iconfont {
586
         margin: 0 0.1rem;
654
         margin: 0 0.1rem;
587
       }
655
       }
596
   }
664
   }
597
 }
665
 }
598
 .DialysisAdvice {
666
 .DialysisAdvice {
599
-  padding-top: 115px;
667
+  padding-top: 85px;
600
   background: #fff;
668
   background: #fff;
601
   min-height: calc(100vh - 2px);
669
   min-height: calc(100vh - 2px);
602
-  @media only screen and (max-width: 812px) {
603
-    padding-top: 70px !important;
604
-  }
670
+  // @media only screen and (max-width: 812px) {
671
+  //   padding-top: 70px !important;
672
+  // }
605
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
673
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
606
     padding-top: 118px !important;
674
     padding-top: 118px !important;
607
   }
675
   }
620
   // background: #fafcfe;
688
   // background: #fafcfe;
621
 }
689
 }
622
 </style>
690
 </style>
691
+<style lang="scss">
692
+.el-table {
693
+  margin-top: 64px;
694
+}
695
+.el-table td {
696
+  padding: 0;
697
+}
698
+.el-table th {
699
+  padding: 6px 0;
700
+}
701
+</style>

+ 103 - 58
src/pages/home/login.vue 查看文件

1
 <template>
1
 <template>
2
   <div class="container">
2
   <div class="container">
3
-    <div class="login">
4
-      <div class="logo"><img src="../../assets/login/logo.png" alt=""></div>
5
-      <div class="reg">
6
-        <div class="form">
7
-          <ul>
8
-            <li>
9
-              <span class="iconfont">&#xe78b;</span>
10
-              <input placeholder="请输入手机号" type="tel" class="tel" v-model="form.mobile">
11
-            </li>
12
-            <li>
13
-              <span class="iconfont">&#xe6c0;</span>
14
-              <input placeholder="请输入密码" type="password" class="tel" v-model="form.pwd">
15
-            </li>
16
-          </ul>
3
+    <div class="newLogin">
4
+      <div class="login">
5
+        <div class="logo">
6
+          <img src="../../assets/login/newLogo.png" alt />
17
         </div>
7
         </div>
18
-        <!-- <router-link to="/product"> -->
19
-          <button class="loginBtn" @click="loginAction" :class="loginDisable ? 'disableLoginBtn' : ''" :disabled="loginDisable">登录</button>
20
-        <!-- </router-link> -->
21
-        <!-- <div class="forget">
8
+        <div class="reg">
9
+          <div class="welcome">欢迎登录</div>
10
+          <div class="form">
11
+            <ul>
12
+              <li>
13
+                <span class="iconfont">&#xe78b;</span>
14
+                <input placeholder="请输入手机号" type="tel" class="tel" v-model="form.mobile" />
15
+              </li>
16
+              <li>
17
+                <span class="iconfont">&#xe6c0;</span>
18
+                <input placeholder="请输入密码" type="password" class="tel" v-model="form.pwd" />
19
+              </li>
20
+            </ul>
21
+          </div>
22
+          <!-- <router-link to="/product"> -->
23
+          <button
24
+            class="loginBtn"
25
+            @click="loginAction"
26
+            :class="loginDisable ? 'disableLoginBtn' : ''"
27
+            :disabled="loginDisable"
28
+          >登录</button>
29
+          <div class="newForget">忘记密码</div>
30
+          <!-- </router-link> -->
31
+          <!-- <div class="forget">
22
           <a href="">免密码登录</a>
32
           <a href="">免密码登录</a>
23
           <a href="">忘记密码?</a>
33
           <a href="">忘记密码?</a>
24
-        </div> -->
34
+          </div>-->
35
+        </div>
25
       </div>
36
       </div>
26
     </div>
37
     </div>
27
   </div>
38
   </div>
28
 </template>
39
 </template>
29
 
40
 
30
 <script>
41
 <script>
31
-import {loginByPwd} from "@/api/login"
32
-import {hex_md5} from "@/utils/md5"
33
-import { getLoginInfoCache, cacheLoginInfo } from '@/utils/admin_info_cache'
42
+import { loginByPwd } from "@/api/login";
43
+import { hex_md5 } from "@/utils/md5";
44
+import { getLoginInfoCache, cacheLoginInfo } from "@/utils/admin_info_cache";
34
 
45
 
35
 export default {
46
 export default {
36
   name: "Home",
47
   name: "Home",
38
     return {
49
     return {
39
       form: {
50
       form: {
40
         mobile: "",
51
         mobile: "",
41
-        pwd: "",
42
-      },
43
-    }
52
+        pwd: ""
53
+      }
54
+    };
44
   },
55
   },
45
   computed: {
56
   computed: {
46
     loginDisable() {
57
     loginDisable() {
47
       // return false
58
       // return false
48
-      return this.form.mobile.length == 0 || /^1[2345789]\d{9}$/.test(this.form.mobile) == false || this.form.pwd.length == 0
59
+      return (
60
+        this.form.mobile.length == 0 ||
61
+        /^1[2345789]\d{9}$/.test(this.form.mobile) == false ||
62
+        this.form.pwd.length == 0
63
+      );
49
     }
64
     }
50
   },
65
   },
51
   created() {
66
   created() {
52
-    var loginInfo = getLoginInfoCache()
53
-    this.form.mobile = loginInfo.mobile
54
-    this.form.pwd = loginInfo.password
67
+    var loginInfo = getLoginInfoCache();
68
+    this.form.mobile = loginInfo.mobile;
69
+    this.form.pwd = loginInfo.password;
55
   },
70
   },
56
   methods: {
71
   methods: {
57
     loginAction: function() {
72
     loginAction: function() {
58
       loginByPwd(this.form.mobile, hex_md5(this.form.pwd)).then(rs => {
73
       loginByPwd(this.form.mobile, hex_md5(this.form.pwd)).then(rs => {
59
-        var resp = rs.data
74
+        var resp = rs.data;
60
 
75
 
61
         if (resp.state == 1) {
76
         if (resp.state == 1) {
62
-          cacheLoginInfo(this.form.mobile, this.form.pwd)
63
-          console.log(resp)
77
+          cacheLoginInfo(this.form.mobile, this.form.pwd);
78
+          console.log(resp);
64
 
79
 
65
-          var user = resp.data.user
66
-          var org = resp.data.org
67
-          var subscibe = resp.data.subscibe
68
-          var config_list = resp.data.config_list
69
-          var template_info = resp.data.template_info
70
-          var filed_list = resp.data.filed_list
71
-          console.log(resp.data.filed_list)
72
-          console.log(filed_list)
80
+          var user = resp.data.user;
81
+          var org = resp.data.org;
82
+          var subscibe = resp.data.subscibe;
83
+          var config_list = resp.data.config_list;
84
+          var template_info = resp.data.template_info;
85
+          var filed_list = resp.data.filed_list;
86
+          console.log(resp.data.filed_list);
87
+          console.log(filed_list);
73
 
88
 
74
-
75
-
76
-          this.$store.dispatch("InitUserInfo", {user: user, org: org, subscibe: subscibe,template_info:template_info,filed_list:filed_list})
77
-          this.$store.dispatch("SetConfigList", config_list)
89
+          this.$store.dispatch("InitUserInfo", {
90
+            user: user,
91
+            org: org,
92
+            subscibe: subscibe,
93
+            template_info: template_info,
94
+            filed_list: filed_list
95
+          });
96
+          this.$store.dispatch("SetConfigList", config_list);
78
 
97
 
79
           // this.$router.push({path: "/product"})
98
           // this.$router.push({path: "/product"})
80
-          this.$router.push({path: "/main"})
81
-
99
+          this.$router.push({ path: "/main" });
82
         } else {
100
         } else {
83
           this.$toast({
101
           this.$toast({
84
-            message: resp.msg,
85
-          })
102
+            message: resp.msg
103
+          });
86
         }
104
         }
87
-      })
105
+      });
88
     }
106
     }
89
   }
107
   }
90
 };
108
 };
92
 
110
 
93
 <style rel="stylesheet/scss" lang="scss" scoped >
111
 <style rel="stylesheet/scss" lang="scss" scoped >
94
 .container {
112
 .container {
95
-  background: $white-bg;
113
+  // background: $white-bg;
114
+  background: #f5f5f5;
96
   @include box-sizing;
115
   @include box-sizing;
97
   position: fixed;
116
   position: fixed;
98
   width: 100%;
117
   width: 100%;
99
   height: 100%;
118
   height: 100%;
119
+  display: flex;
120
+  justify-content: space-between;
121
+
122
+  .newLogin {
123
+    width: 90%;
124
+    height: 90%;
125
+    margin: auto;
126
+    box-shadow: 0px 2px 25px 0px rgba(37, 143, 252, 0.1);
127
+    border-radius: 14px;
128
+    background: #fff;
129
+  }
100
   .login {
130
   .login {
101
     // @include box-shadow;
131
     // @include box-shadow;
102
     @include text-align;
132
     @include text-align;
103
     @include display-flex;
133
     @include display-flex;
104
     @include align-items-center;
134
     @include align-items-center;
105
-    @include justify-content-center;
135
+    // @include justify-content-center;
106
     @include flex-direction;
136
     @include flex-direction;
107
     height: 100%;
137
     height: 100%;
108
     .logo {
138
     .logo {
109
-      padding: 0 0 1rem;
139
+      padding: 3rem 0 1rem;
110
       img {
140
       img {
111
-        width: 70%;
141
+        width: 40%;
112
         height: auto;
142
         height: auto;
113
         display: inline-block;
143
         display: inline-block;
114
       }
144
       }
115
     }
145
     }
116
     .reg {
146
     .reg {
117
-      width: 10.77rem;
147
+      width: 8.77rem;
148
+      .welcome {
149
+        text-align: left;
150
+        font-size: 0.55rem;
151
+        font-weight: 400;
152
+        color: rgba(37, 143, 252, 1);
153
+        margin-bottom: 0.5rem;
154
+        // line-height: 14px;
155
+      }
156
+      .newForget {
157
+        text-align: right;
158
+        font-size: 0.5rem;
159
+        font-weight: 400;
160
+        color: rgba(37, 143, 252, 1);
161
+        margin-top: 0.5rem;
162
+      }
118
       .form {
163
       .form {
119
         border: 1px $border-color solid;
164
         border: 1px $border-color solid;
120
         border-radius: 4px;
165
         border-radius: 4px;
129
             width: 90%;
174
             width: 90%;
130
             border: none;
175
             border: none;
131
             outline: none;
176
             outline: none;
132
-            font-size: 0.34rem;
177
+            font-size: 0.45rem;
133
           }
178
           }
134
           .mint-cell {
179
           .mint-cell {
135
             width: 100%;
180
             width: 100%;
162
       }
207
       }
163
       .loginBtn {
208
       .loginBtn {
164
         width: 100%;
209
         width: 100%;
165
-        height: 1rem;
166
-        line-height: 1rem;
210
+        height: 1.3rem;
211
+        line-height: 1.3rem;
167
         background: $main-color;
212
         background: $main-color;
168
         color: #fff;
213
         color: #fff;
169
-        font-size: 0.36rem;
214
+        font-size: 0.45rem;
170
         @include text-align;
215
         @include text-align;
171
         border-radius: 4px;
216
         border-radius: 4px;
172
         margin: 40px 0 0 0;
217
         margin: 40px 0 0 0;

+ 8 - 21
src/pages/main/DetailsPage.vue 查看文件

17
               :key="i"
17
               :key="i"
18
               :class="index == i ? 'active' : ''"
18
               :class="index == i ? 'active' : ''"
19
               @click="ClickTab(i)"
19
               @click="ClickTab(i)"
20
-            >
21
-              {{ item }}
22
-            </li>
20
+            >{{ item }}</li>
23
           </ul>
21
           </ul>
24
         </div>
22
         </div>
25
 
23
 
30
                   <span class="iconfont">2018-01-01&#xe74a;</span>
28
                   <span class="iconfont">2018-01-01&#xe74a;</span>
31
         </div>-->
29
         </div>-->
32
         <div class="print" style="float: right; visibility: hidden;">
30
         <div class="print" style="float: right; visibility: hidden;">
33
-          <el-button
34
-            size="mini"
35
-            type="primary"
36
-            @click="print"
37
-            icon="el-icon-printer"
38
-            >打印</el-button
39
-          >
31
+          <el-button size="mini" type="primary" @click="print" icon="el-icon-printer">打印</el-button>
40
         </div>
32
         </div>
41
       </div>
33
       </div>
42
       <div class="Tab">
34
       <div class="Tab">
43
         <CaseHistory v-show="index == 0" title="病历"></CaseHistory>
35
         <CaseHistory v-show="index == 0" title="病历"></CaseHistory>
44
         <!--<check-tab v-show="index==1" title="化验单"></check-tab>-->
36
         <!--<check-tab v-show="index==1" title="化验单"></check-tab>-->
45
-        <dialysis-tab
46
-          v-show="index == 1"
47
-          title="透析"
48
-          v-on:records="jump(val)"
49
-        ></dialysis-tab>
37
+        <dialysis-tab v-show="index == 1" title="透析" v-on:records="jump(val)"></dialysis-tab>
50
         <today-tab ref="today" v-show="index == 2" title="今日"></today-tab>
38
         <today-tab ref="today" v-show="index == 2" title="今日"></today-tab>
51
       </div>
39
       </div>
52
     </div>
40
     </div>
222
   }
210
   }
223
 }
211
 }
224
 .add {
212
 .add {
225
-  width: 1.5rem;
226
-  height: 1.5rem;
213
+  width: 1.8rem;
214
+  height: 1.8rem;
227
   background: #f18f68;
215
   background: #f18f68;
228
   // box-shadow: 0px 3px 9px 0px rgba(7, 30, 102, 0.15);
216
   // box-shadow: 0px 3px 9px 0px rgba(7, 30, 102, 0.15);
229
   border-radius: 50%;
217
   border-radius: 50%;
230
   position: fixed;
218
   position: fixed;
231
   right: 0.6rem;
219
   right: 0.6rem;
232
   bottom: 2.25rem;
220
   bottom: 2.25rem;
233
-  font-size: 0.4rem;
221
+  font-size: 0.45rem;
234
   text-align: center;
222
   text-align: center;
235
-  z-index: 99;
236
   p {
223
   p {
237
-    width: 26px;
224
+    width: 30px;
238
     text-align: center;
225
     text-align: center;
239
-    margin: 6px auto 0;
226
+    margin: 9px auto 0;
240
     color: #fff;
227
     color: #fff;
241
     // @media only screen and (min-width: 768px) {
228
     // @media only screen and (min-width: 768px) {
242
     //   width: 40px !important;
229
     //   width: 40px !important;

+ 16 - 40
src/pages/main/DialysisArea.vue 查看文件

3
     <div v-loading="loading">
3
     <div v-loading="loading">
4
       <div class="screening">
4
       <div class="screening">
5
         <ul>
5
         <ul>
6
-          <el-popover
7
-            v-model="zone_options_visible"
8
-            placement="bottom"
9
-            trigger="click"
10
-          >
6
+          <el-popover v-model="zone_options_visible" placement="bottom" trigger="click">
11
             <li slot="reference">
7
             <li slot="reference">
12
               {{
8
               {{
13
-                zones.length <= 1 && zone_selected > 0
14
-                  ? "全部分区"
15
-                  : zones[zone_selected].text
9
+              zones.length <= 1 && zone_selected > 0
10
+              ? "全部分区"
11
+              : zones[zone_selected].text
16
               }}
12
               }}
17
-              <span class="iconfont">&#xe74a;</span>
13
+              <span
14
+                class="iconfont"
15
+              >&#xe74a;</span>
18
             </li>
16
             </li>
19
 
17
 
20
             <div class="popover-demo-content">
18
             <div class="popover-demo-content">
24
                   :key="zone.value"
22
                   :key="zone.value"
25
                   @click="handleZoneChange(index)"
23
                   @click="handleZoneChange(index)"
26
                   :class="zone_selected == index ? 'tick' : ''"
24
                   :class="zone_selected == index ? 'tick' : ''"
27
-                >
28
-                  {{ zone.text }}
29
-                </li>
25
+                >{{ zone.text }}</li>
30
               </ul>
26
               </ul>
31
             </div>
27
             </div>
32
           </el-popover>
28
           </el-popover>
33
 
29
 
34
-          <el-popover
35
-            v-model="sch_type_options_visible"
36
-            placement="bottom"
37
-            trigger="click"
38
-          >
30
+          <el-popover v-model="sch_type_options_visible" placement="bottom" trigger="click">
39
             <li slot="reference">
31
             <li slot="reference">
40
               {{ schedual_types[schedual_type_selected].text }}
32
               {{ schedual_types[schedual_type_selected].text }}
41
               <span class="iconfont">&#xe74a;</span>
33
               <span class="iconfont">&#xe74a;</span>
49
                   :class="
41
                   :class="
50
                     schedual_type_selected == schedualType.value ? 'tick' : ''
42
                     schedual_type_selected == schedualType.value ? 'tick' : ''
51
                   "
43
                   "
52
-                >
53
-                  {{ schedualType.text }}
54
-                </li>
44
+                >{{ schedualType.text }}</li>
55
               </ul>
45
               </ul>
56
             </div>
46
             </div>
57
           </el-popover>
47
           </el-popover>
71
       <div class="stateBox">
61
       <div class="stateBox">
72
         <div v-for="(item, index) in filtedScheduals" :key="index">
62
         <div v-for="(item, index) in filtedScheduals" :key="index">
73
           <h2 class="title">{{ item.zone_name }}</h2>
63
           <h2 class="title">{{ item.zone_name }}</h2>
74
-          <patient-box
75
-            class="clearfix"
76
-            :patients="item.scheduals"
77
-          ></patient-box>
64
+          <patient-box class="clearfix" :patients="item.scheduals"></patient-box>
78
         </div>
65
         </div>
79
         <div class="NoData" v-if="filtedScheduals.length == 0 && networkStates">
66
         <div class="NoData" v-if="filtedScheduals.length == 0 && networkStates">
80
-          <img
81
-            style="margin-top: 50px; margin-bottom: 50px"
82
-            src="@/assets/login/data.jpg"
83
-            alt
84
-          />
67
+          <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
85
         </div>
68
         </div>
86
-        <div
87
-          class="NoData"
88
-          v-if="!networkStates"
89
-          style="display: block;text-align: center"
90
-        >
91
-          <p style="margin-top: 100px;font-size: 18px">
92
-            网络异常,请点击重新加载
93
-          </p>
69
+        <div class="NoData" v-if="!networkStates" style="display: block;text-align: center">
70
+          <p style="margin-top: 100px;font-size: 18px">网络异常,请点击重新加载</p>
94
 
71
 
95
           <!--<img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/no_network.jpg" alt="">-->
72
           <!--<img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/no_network.jpg" alt="">-->
96
           <van-button
73
           <van-button
99
             type="info"
76
             type="info"
100
             style="display:block;margin:0 auto"
77
             style="display:block;margin:0 auto"
101
             @click="reloads()"
78
             @click="reloads()"
102
-            >重新加载</van-button
103
-          >
79
+          >重新加载</van-button>
104
         </div>
80
         </div>
105
       </div>
81
       </div>
106
       <mt-datetime-picker
82
       <mt-datetime-picker
480
 .screening {
456
 .screening {
481
   border-bottom: 1px #e5e5e5 solid;
457
   border-bottom: 1px #e5e5e5 solid;
482
   position: fixed;
458
   position: fixed;
483
-  top: 89px;
459
+  top: 98px;
484
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
460
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
485
     top: 130px;
461
     top: 130px;
486
   }
462
   }

+ 3 - 3
src/pages/main/PatientBox.vue 查看文件

355
       p {
355
       p {
356
         background: #c6cdd2;
356
         background: #c6cdd2;
357
         color: #fff;
357
         color: #fff;
358
-        width: 1.35rem;
359
-        height: 0.56rem;
360
-        line-height: 0.56rem;
358
+        width: 1.45rem;
359
+        height: 0.65rem;
360
+        line-height: 0.65rem;
361
         border-radius: 4px;
361
         border-radius: 4px;
362
         margin: 0 auto;
362
         margin: 0 auto;
363
         font-size: 0.32rem;
363
         font-size: 0.32rem;

+ 73 - 21
src/pages/main/RecordPage.vue 查看文件

3
     <!-- <van-row class="top_row">
3
     <!-- <van-row class="top_row">
4
     <van-col :span="14">-->
4
     <van-col :span="14">-->
5
     <div class="top_row">
5
     <div class="top_row">
6
-      <div class="head">
6
+      <!-- <div class="head">
7
         <img :src="$store.getters.user.org.org_logo" alt />
7
         <img :src="$store.getters.user.org.org_logo" alt />
8
-      </div>
8
+      </div>-->
9
       <div class="floatLeft">
9
       <div class="floatLeft">
10
         <span class="title">{{ $store.getters.user.org.org_short_name }}</span>
10
         <span class="title">{{ $store.getters.user.org.org_short_name }}</span>
11
       </div>
11
       </div>
28
       <!-- <router-link to="/add_urgent_schedule">
28
       <!-- <router-link to="/add_urgent_schedule">
29
           <van-button size="small" type="info" class="add_schedule_btn">临时排班</van-button>
29
           <van-button size="small" type="info" class="add_schedule_btn">临时排班</van-button>
30
       </router-link>-->
30
       </router-link>-->
31
-      <div class="search">
31
+      <!-- <div class="search">
32
         <van-field v-model="search_input" ref="search_field" placeholder="透析号/姓名" class="field">
32
         <van-field v-model="search_input" ref="search_field" placeholder="透析号/姓名" class="field">
33
           <i class="iconfont" slot="left-icon">&#xe741;</i>
33
           <i class="iconfont" slot="left-icon">&#xe741;</i>
34
           <van-button
34
           <van-button
39
             @click="searchWithKeyword"
39
             @click="searchWithKeyword"
40
           >搜索</van-button>
40
           >搜索</van-button>
41
         </van-field>
41
         </van-field>
42
-      </div>
42
+      </div>-->
43
       <!-- </van-col>
43
       <!-- </van-col>
44
       </van-row>-->
44
       </van-row>-->
45
+      <div class="newSearch">
46
+        <!-- <van-field v-model="search_input" ref="search_field" placeholder="透析号/姓名" class="field">
47
+          <i class="iconfont" slot="left-icon">&#xe741;</i>
48
+          <van-button
49
+            slot="button"
50
+            size="small"
51
+            type="info"
52
+            style="border: none;"
53
+            @click="searchWithKeyword"
54
+          >搜索</van-button>
55
+        </van-field>-->
56
+        <el-input
57
+          prefix-icon="el-icon-search"
58
+          v-model="search_input"
59
+          ref="search_field"
60
+          placeholder="透析号/姓名"
61
+        ></el-input>
62
+        <p class="searchBtn" @click="searchWithKeyword">搜索</p>
63
+      </div>
45
       <div class="box">
64
       <div class="box">
46
-        <div class="department">
65
+        <div class="newDepartment">
47
           <ul>
66
           <ul>
48
             <li
67
             <li
49
               style="position: relative;"
68
               style="position: relative;"
171
 };
190
 };
172
 </script>
191
 </script>
173
 
192
 
174
-<style style="stylesheet/scss" lang="scss" scoped>
193
+<style lang="scss">
175
 .top_row {
194
 .top_row {
176
   // height: 50px;
195
   // height: 50px;
177
   font-size: 0.3rem;
196
   font-size: 0.3rem;
178
-  padding: 0.3rem 0.3rem 0;
197
+  padding: 0 0.3rem 0;
179
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
198
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
180
     padding: 0.3rem 0.3rem;
199
     padding: 0.3rem 0.3rem;
181
   }
200
   }
184
   // align-items: center;
203
   // align-items: center;
185
   background: #258ffc;
204
   background: #258ffc;
186
   .floatLeft {
205
   .floatLeft {
187
-    float: left;
206
+    line-height: 30px;
207
+    height: 30px;
188
   }
208
   }
189
   .search {
209
   .search {
190
     float: right;
210
     float: right;
192
   }
212
   }
193
 }
213
 }
194
 .title {
214
 .title {
195
-  font-size: 0.34rem;
215
+  font-size: 0.45rem;
196
   font-weight: 600;
216
   font-weight: 600;
197
   height: 45px;
217
   height: 45px;
198
-  line-height: 50px;
218
+  // line-height: 50px;
199
   margin-left: 8px;
219
   margin-left: 8px;
200
   // color: $title-color;
220
   // color: $title-color;
201
   color: #fff;
221
   color: #fff;
202
 }
222
 }
203
-.department {
223
+.newDepartment {
204
   text-align: center;
224
   text-align: center;
205
   // height: 100%;
225
   // height: 100%;
206
   width: 60%;
226
   width: 60%;
212
     align-items: center;
232
     align-items: center;
213
     li {
233
     li {
214
       float: left;
234
       float: left;
215
-      font-size: 0.36rem;
235
+      font-size: 0.45rem;
216
       margin: 0 0.2rem;
236
       margin: 0 0.2rem;
217
-      height: 0.64rem;
218
-      line-height: 0.64rem;
219
-      padding: 0 0.3rem;
237
+      height: 0.8rem;
238
+      line-height: 0.8rem;
239
+      padding: 0 0.4rem;
220
       // color: $title-color;
240
       // color: $title-color;
221
       color: #fff;
241
       color: #fff;
222
       &.active {
242
       &.active {
258
 }
278
 }
259
 .box {
279
 .box {
260
   height: 30px;
280
   height: 30px;
261
-  margin-top: 50px;
281
+  margin-top: 8px;
262
   background: #258ffc;
282
   background: #258ffc;
263
 }
283
 }
264
 .head {
284
 .head {
274
     border-radius: 50%;
294
     border-radius: 50%;
275
   }
295
   }
276
 }
296
 }
297
+.newSearch {
298
+  height: 1rem;
299
+  width: 100%;
300
+  background: #fff;
301
+  border-radius: 30px;
302
+  .searchBtn {
303
+    width: 15%;
304
+    float: left;
305
+    height: 1rem;
306
+    line-height: 1rem;
307
+    text-align: center;
308
+    font-size: 0.45rem;
309
+    color: #258ffc;
310
+  }
311
+}
312
+.el-input {
313
+  height: 100%;
314
+  width: 85%;
315
+  float: left;
316
+}
317
+.el-input__inner {
318
+  height: 100%;
319
+  line-height: 1rem;
320
+  width: 100%;
321
+  border-radius: 30px;
322
+  border: none;
323
+  font-size: 0.45rem;
324
+}
325
+.el-input__icon {
326
+  line-height: 1rem;
327
+  font-size: 0.45rem;
328
+}
277
 .add {
329
 .add {
278
-  width: 1.5rem;
279
-  height: 1.5rem;
330
+  width: 1.8rem;
331
+  height: 1.8rem;
280
   background: #f66c6c;
332
   background: #f66c6c;
281
   // box-shadow: 0px 3px 9px 0px rgba(7, 30, 102, 0.15);
333
   // box-shadow: 0px 3px 9px 0px rgba(7, 30, 102, 0.15);
282
   border-radius: 50%;
334
   border-radius: 50%;
283
   position: fixed;
335
   position: fixed;
284
   right: 0.6rem;
336
   right: 0.6rem;
285
   bottom: 2.25rem;
337
   bottom: 2.25rem;
286
-  font-size: 0.4rem;
338
+  font-size: 0.45rem;
287
   text-align: center;
339
   text-align: center;
288
   p {
340
   p {
289
-    width: 26px;
341
+    width: 30px;
290
     text-align: center;
342
     text-align: center;
291
-    margin: 6px auto 0;
343
+    margin: 9px auto 0;
292
     color: #fff;
344
     color: #fff;
293
     // @media only screen and (min-width: 415px) and (max-width: 668px) {
345
     // @media only screen and (min-width: 415px) and (max-width: 668px) {
294
     //   width: 40px;
346
     //   width: 40px;

+ 12 - 40
src/pages/main/WaitingArea.vue 查看文件

9
             :class="select_index == i ? 'active' : ''"
9
             :class="select_index == i ? 'active' : ''"
10
             @click="menuTabClick(i)"
10
             @click="menuTabClick(i)"
11
             :key="i"
11
             :key="i"
12
-          >
13
-            {{ item.label + (item.count > 0 ? "(" + item.count + ")" : "") }}
14
-          </li>
15
-
16
-          <el-popover
17
-            v-model="zone_options_visible"
18
-            placement="bottom"
19
-            trigger="click"
20
-          >
12
+          >{{ item.label + (item.count > 0 ? "(" + item.count + ")" : "") }}</li>
13
+
14
+          <el-popover v-model="zone_options_visible" placement="bottom" trigger="click">
21
             <li slot="reference">
15
             <li slot="reference">
22
               {{ zone_options[zone_selected].text }}
16
               {{ zone_options[zone_selected].text }}
23
               <span class="iconfont">&#xe74a;</span>
17
               <span class="iconfont">&#xe74a;</span>
29
                   :key="index"
23
                   :key="index"
30
                   @click="handleZoneChange(index, option)"
24
                   @click="handleZoneChange(index, option)"
31
                   :class="zone_selected == index ? 'tick' : ''"
25
                   :class="zone_selected == index ? 'tick' : ''"
32
-                >
33
-                  {{ option.text }}
34
-                </li>
26
+                >{{ option.text }}</li>
35
               </ul>
27
               </ul>
36
             </div>
28
             </div>
37
           </el-popover>
29
           </el-popover>
38
 
30
 
39
-          <el-popover
40
-            v-model="time_options_visible"
41
-            placement="bottom"
42
-            trigger="click"
43
-          >
31
+          <el-popover v-model="time_options_visible" placement="bottom" trigger="click">
44
             <li slot="reference">
32
             <li slot="reference">
45
               {{ time_options[time_selected].text }}
33
               {{ time_options[time_selected].text }}
46
               <span class="iconfont">&#xe74a;</span>
34
               <span class="iconfont">&#xe74a;</span>
52
                   :key="index"
40
                   :key="index"
53
                   @click="handleTimeChange(index)"
41
                   @click="handleTimeChange(index)"
54
                   :class="time_selected == index ? 'tick' : ''"
42
                   :class="time_selected == index ? 'tick' : ''"
55
-                >
56
-                  {{ option.text }}
57
-                </li>
43
+                >{{ option.text }}</li>
58
               </ul>
44
               </ul>
59
             </div>
45
             </div>
60
           </el-popover>
46
           </el-popover>
64
         <!-- <patient-box class="clearfix" :patients="filtedScheduals "></patient-box> -->
50
         <!-- <patient-box class="clearfix" :patients="filtedScheduals "></patient-box> -->
65
         <div v-for="(item, index) in filtedScheduals" :key="index">
51
         <div v-for="(item, index) in filtedScheduals" :key="index">
66
           <h2 class="title">{{ item.zone_name }}</h2>
52
           <h2 class="title">{{ item.zone_name }}</h2>
67
-          <patient-box
68
-            class="clearfix"
69
-            :patients="item.scheduals"
70
-          ></patient-box>
53
+          <patient-box class="clearfix" :patients="item.scheduals"></patient-box>
71
         </div>
54
         </div>
72
         <div class="NoData" v-if="filtedScheduals.length == 0 && networkStates">
55
         <div class="NoData" v-if="filtedScheduals.length == 0 && networkStates">
73
-          <img
74
-            style="margin-top: 50px; margin-bottom: 50px"
75
-            src="@/assets/login/data.jpg"
76
-            alt
77
-          />
56
+          <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
78
         </div>
57
         </div>
79
 
58
 
80
-        <div
81
-          class="NoData"
82
-          v-if="!networkStates"
83
-          style="display: block;text-align: center;"
84
-        >
59
+        <div class="NoData" v-if="!networkStates" style="display: block;text-align: center;">
85
           <!--<img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/no_network.jpg" alt="">-->
60
           <!--<img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/no_network.jpg" alt="">-->
86
-          <p style="margin-top: 100px;font-size: 18px">
87
-            网络异常,请点击重新加载
88
-          </p>
61
+          <p style="margin-top: 100px;font-size: 18px">网络异常,请点击重新加载</p>
89
           <van-button
62
           <van-button
90
             slot="button"
63
             slot="button"
91
             size="normal"
64
             size="normal"
92
             type="info"
65
             type="info"
93
             style="display:block;margin:0 auto"
66
             style="display:block;margin:0 auto"
94
             @click="reloads()"
67
             @click="reloads()"
95
-            >重新加载</van-button
96
-          >
68
+          >重新加载</van-button>
97
         </div>
69
         </div>
98
       </div>
70
       </div>
99
     </div>
71
     </div>
662
 .screening {
634
 .screening {
663
   border-bottom: 1px #e5e5e5 solid;
635
   border-bottom: 1px #e5e5e5 solid;
664
   position: fixed;
636
   position: fixed;
665
-  top: 89px;
637
+  top: 98px;
666
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
638
   @media only screen and (min-width: 813px) and (max-width: 1024px) {
667
     top: 130px;
639
     top: 130px;
668
   }
640
   }

+ 131 - 62
src/pages/main/today/dialysisMonitoring.vue 查看文件

1
 <template>
1
 <template>
2
-  <div class="plate-box" >
3
-    <h2 class="title border"><span class="line"></span><p>{{title}}</p><span class="line"></span> </h2>
4
-    <div class="dm" style="width:100%;overflow:hildden;overflow-x:auto;">
2
+  <div class="plate-box">
3
+    <h2 class="title border">
4
+      <span class="line"></span>
5
+      <p>{{title}}</p>
6
+      <span class="line"></span>
7
+    </h2>
8
+    <!-- <div class="dm" style="width:100%;overflow:hildden;overflow-x:auto;">
5
       <table  class="table" style="">
9
       <table  class="table" style="">
6
         <tr>
10
         <tr>
7
           <th v-if="isShow('监测时间')" width="124px">时间</th>
11
           <th v-if="isShow('监测时间')" width="124px">时间</th>
49
       </table>
53
       </table>
50
       <div class="NoData" v-show="tableDate.length == 0"><img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt=""></div>
54
       <div class="NoData" v-show="tableDate.length == 0"><img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt=""></div>
51
 
55
 
52
-    </div>
56
+    </div>-->
57
+    <el-table :data="date" border style="width: 100%">
58
+      <el-table-column fixed prop="date" label="时间" width="100"></el-table-column>
59
+      <el-table-column prop="name" label="体温(℃)" width="100"></el-table-column>
60
+      <el-table-column prop="province" label="血压(mmHg)" width="100"></el-table-column>
61
+      <el-table-column prop="city" label="脉搏(次/分)" width="100"></el-table-column>
62
+      <el-table-column prop="address" label="呼吸频率(次/分)" width="200"></el-table-column>
63
+      <el-table-column prop="zip" label="静脉压/动脉压(mmHg)" width="100"></el-table-column>
64
+      <el-table-column prop="zip" label="血流量(ml/min)" width="150"></el-table-column>
65
+      <el-table-column prop="zip" label="跨膜压(mmHg)" width="200"></el-table-column>
66
+      <el-table-column prop="zip" label="超滤量(ml)" width="200"></el-table-column>
67
+      <el-table-column prop="zip" label="钠浓度(mmol/L)" width="200"></el-table-column>
68
+      <el-table-column prop="zip" label="透析液温度(℃)" width="200"></el-table-column>
69
+      <el-table-column prop="zip" label="置换率(L/h)" width="200"></el-table-column>
70
+      <el-table-column prop="zip" label="置换量(L)" width="200"></el-table-column>
71
+      <el-table-column prop="zip" label="电导度(mS/m)" width="200"></el-table-column>
72
+      <el-table-column prop="zip" label="置换液流量(ml/h)" width="200"></el-table-column>
73
+      <el-table-column prop="zip" label="病情变化" width="200"></el-table-column>
74
+      <el-table-column prop="zip" label="处理" width="200"></el-table-column>
75
+      <el-table-column prop="zip" label="结果" width="200"></el-table-column>
76
+    </el-table>
53
   </div>
77
   </div>
54
 </template>
78
 </template>
55
 
79
 
56
 <script>
80
 <script>
57
-import { parseTime } from '@/utils';
81
+import { parseTime } from "@/utils";
58
 
82
 
59
 export default {
83
 export default {
60
-  name: 'statOrder',
61
-  data () {
84
+  name: "statOrder",
85
+  data() {
62
     return {
86
     return {
63
-      title: '透析监测 ',
87
+      title: "透析监测 ",
64
       template_id: 0,
88
       template_id: 0,
65
-      tableDate: []
66
-    }
89
+      tableDate: [],
90
+      date: [
91
+        {
92
+          date: "2016-05-02",
93
+          name: "王小虎",
94
+          province: "上海",
95
+          city: "普陀区",
96
+          address: "上海市普陀区金沙江路 1518 弄",
97
+          zip: 200333
98
+        },
99
+        {
100
+          date: "2016-05-04",
101
+          name: "王小虎",
102
+          province: "上海",
103
+          city: "普陀区",
104
+          address: "上海市普陀区金沙江路 1517 弄",
105
+          zip: 200333
106
+        },
107
+        {
108
+          date: "2016-05-01",
109
+          name: "王小虎",
110
+          province: "上海",
111
+          city: "普陀区",
112
+          address: "上海市普陀区金沙江路 1519 弄",
113
+          zip: 200333
114
+        },
115
+        {
116
+          date: "2016-05-03",
117
+          name: "王小虎",
118
+          province: "上海",
119
+          city: "普陀区",
120
+          address: "上海市普陀区金沙江路 1516 弄",
121
+          zip: 200333
122
+        }
123
+      ]
124
+    };
67
   },
125
   },
68
-  created () {
69
-    this.template_id = this.$store.getters.user.template_info.template_id
126
+  created() {
127
+    this.template_id = this.$store.getters.user.template_info.template_id;
70
   },
128
   },
71
   methods: {
129
   methods: {
72
-    isShow (name) {
73
-      var filedList = this.$store.getters.user.fileds
130
+    isShow(name) {
131
+      var filedList = this.$store.getters.user.fileds;
74
 
132
 
75
       for (let i = 0; i < filedList.length; i++) {
133
       for (let i = 0; i < filedList.length; i++) {
76
-        if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
77
-          return true
134
+        if (
135
+          filedList[i].module == 4 &&
136
+          filedList[i].filed_name_cn == name &&
137
+          filedList[i].is_show == 1
138
+        ) {
139
+          return true;
78
         }
140
         }
79
       }
141
       }
80
-      return false
142
+      return false;
81
     },
143
     },
82
-    setRecords (records) {
144
+    setRecords(records) {
83
       if (records == null) {
145
       if (records == null) {
84
-        records = []
146
+        records = [];
85
       }
147
       }
86
-      this.tableDate.splice(0, this.tableDate.length)
87
-      this.tableDate.push(...records)
148
+      this.tableDate.splice(0, this.tableDate.length);
149
+      this.tableDate.push(...records);
88
     },
150
     },
89
-    parseTime (time, layout) {
90
-      return parseTime(time, layout)
151
+    parseTime(time, layout) {
152
+      return parseTime(time, layout);
91
     },
153
     },
92
-    addRecords (records) {
93
-      this.tableDate.push(...records)
154
+    addRecords(records) {
155
+      this.tableDate.push(...records);
94
     }
156
     }
95
   }
157
   }
96
-}
158
+};
97
 </script>
159
 </script>
98
 
160
 
99
 <style rel="stylesheet/scss" lang="scss" scoped>
161
 <style rel="stylesheet/scss" lang="scss" scoped>
100
 .dm {
162
 .dm {
101
   /* 针对缺省样式 (必须的) */
163
   /* 针对缺省样式 (必须的) */
102
-      &::-webkit-scrollbar {
103
-        width: 3px;
104
-        height: 5px;
105
-      }
106
-      /* 滚动条的滑轨背景颜色 */
107
-      &::-webkit-scrollbar-track {
108
-        background-color: #fff;
109
-        border-radius: 3px;
110
-        -moz-border-radius: 3px;
111
-        -webkit-border-radius: 3px;
112
-      }
113
-      /* 滑块颜色 */
114
-      &::-webkit-scrollbar-thumb {
115
-        background: #d7dce2;
116
-        border-radius: 3px;
117
-        -moz-border-radius: 3px;
118
-        -webkit-border-radius: 3px;
119
-      }
120
-      /*内层轨道的颜色*/
121
-      &::-webkit-scrollbar-track-piece {
122
-        background-color: #fff;
123
-        border-radius: 3px;
124
-        -moz-border-radius: 3px;
125
-        -webkit-border-radius: 3px;
126
-      }
127
-      /* 滑轨两头的监听按钮颜色 */
128
-      &::-webkit-scrollbar-button {
129
-        background-color: #eee;
130
-        width: 0;
131
-        height: 0;
132
-      }
133
-      /* 横向滚动条和纵向滚动条相交处尖角的颜色 */
134
-      &::-webkit-scrollbar-corner {
135
-        background-color: #eee;
136
-      }
137
-
164
+  &::-webkit-scrollbar {
165
+    width: 3px;
166
+    height: 5px;
167
+  }
168
+  /* 滚动条的滑轨背景颜色 */
169
+  &::-webkit-scrollbar-track {
170
+    background-color: #fff;
171
+    border-radius: 3px;
172
+    -moz-border-radius: 3px;
173
+    -webkit-border-radius: 3px;
174
+  }
175
+  /* 滑块颜色 */
176
+  &::-webkit-scrollbar-thumb {
177
+    background: #d7dce2;
178
+    border-radius: 3px;
179
+    -moz-border-radius: 3px;
180
+    -webkit-border-radius: 3px;
181
+  }
182
+  /*内层轨道的颜色*/
183
+  &::-webkit-scrollbar-track-piece {
184
+    background-color: #fff;
185
+    border-radius: 3px;
186
+    -moz-border-radius: 3px;
187
+    -webkit-border-radius: 3px;
188
+  }
189
+  /* 滑轨两头的监听按钮颜色 */
190
+  &::-webkit-scrollbar-button {
191
+    background-color: #eee;
192
+    width: 0;
193
+    height: 0;
194
+  }
195
+  /* 横向滚动条和纵向滚动条相交处尖角的颜色 */
196
+  &::-webkit-scrollbar-corner {
197
+    background-color: #eee;
198
+  }
199
+}
200
+</style>
201
+<style lang="scss">
202
+.el-table td {
203
+  padding: 0;
204
+}
205
+.el-table th {
206
+  padding: 6px 0;
138
 }
207
 }
139
 </style>
208
 </style>

+ 53 - 4
src/pages/main/today/statOrder.vue 查看文件

5
       <p>{{title}}</p>
5
       <p>{{title}}</p>
6
       <span class="line"></span>
6
       <span class="line"></span>
7
     </h2>
7
     </h2>
8
-    <div class="newDiv">
8
+    <!-- <div class="newDiv">
9
       <table class="table">
9
       <table class="table">
10
         <tr>
10
         <tr>
11
           <th width="12%">开嘱医生</th>
11
           <th width="12%">开嘱医生</th>
29
 
29
 
30
             <td :class="advice.parent_id == 0 ? 'advice_content' : 'subadvice_content'">
30
             <td :class="advice.parent_id == 0 ? 'advice_content' : 'subadvice_content'">
31
               <span>{{advice.advice_name }}</span>
31
               <span>{{advice.advice_name }}</span>
32
-              <!-- <span>{{advice.drug_spec}}{{advice.drug_spec_unit}} * {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span> -->
32
+              <span>{{advice.drug_spec}}{{advice.drug_spec_unit}} * {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
33
               <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
33
               <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
34
               <span
34
               <span
35
                 v-if="advice.prescribing_number"
35
                 v-if="advice.prescribing_number"
53
     </div>
53
     </div>
54
     <div class="NoData" v-show="advice_groups.length == 0">
54
     <div class="NoData" v-show="advice_groups.length == 0">
55
       <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
55
       <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
56
-    </div>
56
+    </div>-->
57
+    <el-table :data="date" border style="width: 100%">
58
+      <el-table-column fixed prop="date" label="开嘱医生" width="100"></el-table-column>
59
+      <el-table-column prop="name" label="开始时间" width="100"></el-table-column>
60
+      <el-table-column prop="province" label="医嘱内容" width="100"></el-table-column>
61
+      <el-table-column prop="city" label="执行时间" width="100"></el-table-column>
62
+      <el-table-column prop="address" label="执行护士" width="200"></el-table-column>
63
+    </el-table>
57
   </div>
64
   </div>
58
 </template>
65
 </template>
59
 
66
 
66
     return {
73
     return {
67
       title: "临时医嘱 ",
74
       title: "临时医嘱 ",
68
       template_id: 0,
75
       template_id: 0,
69
-      tableDate: []
76
+      tableDate: [],
77
+      date: [
78
+        {
79
+          date: "2016-05-02",
80
+          name: "王小虎",
81
+          province: "上海",
82
+          city: "普陀区",
83
+          address: "上海市普陀区金沙江路 1518 弄",
84
+          zip: 200333
85
+        },
86
+        {
87
+          date: "2016-05-04",
88
+          name: "王小虎",
89
+          province: "上海",
90
+          city: "普陀区",
91
+          address: "上海市普陀区金沙江路 1517 弄",
92
+          zip: 200333
93
+        },
94
+        {
95
+          date: "2016-05-01",
96
+          name: "王小虎",
97
+          province: "上海",
98
+          city: "普陀区",
99
+          address: "上海市普陀区金沙江路 1519 弄",
100
+          zip: 200333
101
+        },
102
+        {
103
+          date: "2016-05-03",
104
+          name: "王小虎",
105
+          province: "上海",
106
+          city: "普陀区",
107
+          address: "上海市普陀区金沙江路 1516 弄",
108
+          zip: 200333
109
+        }
110
+      ]
70
     };
111
     };
71
   },
112
   },
72
   props: {
113
   props: {
204
   overflow-x: auto;
245
   overflow-x: auto;
205
 }
246
 }
206
 </style>
247
 </style>
248
+<style lang="scss">
249
+.el-table td {
250
+  padding: 0;
251
+}
252
+.el-table th {
253
+  padding: 6px 0;
254
+}
255
+</style>

+ 182 - 20
src/pages/monitoring/index.vue 查看文件

2
   <div class="mainBox">
2
   <div class="mainBox">
3
     <div class="mainContent">
3
     <div class="mainContent">
4
       <div class="top">
4
       <div class="top">
5
-        <div class="hospital" style="width:4.2rem;">
5
+        <div class="hospital" style="width:4.2rem;display:none">
6
           <span style="visibility:hidden"></span>
6
           <span style="visibility:hidden"></span>
7
         </div>
7
         </div>
8
-        <div class="department">
8
+        <!-- <div class="department">
9
           <ul>
9
           <ul>
10
             <li>透析监控</li>
10
             <li>透析监控</li>
11
           </ul>
11
           </ul>
24
               type="info"
24
               type="info"
25
               style="border: none;"
25
               style="border: none;"
26
               @click="searchWithKeyword(1)"
26
               @click="searchWithKeyword(1)"
27
-              >搜索</van-button
28
-            >
27
+            >搜索</van-button>
29
           </van-field>
28
           </van-field>
29
+        </div>-->
30
+        <div class="newSearch">
31
+          <el-input
32
+            prefix-icon="el-icon-search"
33
+            v-model="patient_keyword"
34
+            ref="search_field"
35
+            placeholder="透析号/姓名"
36
+          ></el-input>
37
+          <p class="searchBtn" @click="searchWithKeyword(1)">搜索</p>
30
         </div>
38
         </div>
31
       </div>
39
       </div>
32
 
40
 
44
                   :key="item.id"
52
                   :key="item.id"
45
                   @click="itemClick(item.id)"
53
                   @click="itemClick(item.id)"
46
                   :class="partition == item.id ? 'tick' : ''"
54
                   :class="partition == item.id ? 'tick' : ''"
47
-                >
48
-                  {{ item.name }}
49
-                </li>
55
+                >{{ item.name }}</li>
50
               </ul>
56
               </ul>
51
             </div>
57
             </div>
52
           </el-popover>
58
           </el-popover>
56
           </li>
62
           </li>
57
         </ul>
63
         </ul>
58
       </div>
64
       </div>
59
-      <van-list
65
+      <!-- <van-list
60
         v-model="loading"
66
         v-model="loading"
61
         :finished="finished"
67
         :finished="finished"
62
         finished-text="  "
68
         finished-text="  "
161
             alt
167
             alt
162
           />
168
           />
163
         </div>
169
         </div>
164
-      </van-list>
170
+      </van-list>-->
171
+      <el-table :data="tableData" border style="width: 100%" class="newTable">
172
+        <el-table-column fixed prop="date" label="姓名" width="100"></el-table-column>
173
+        <el-table-column prop="name" label="机号" width="100"></el-table-column>
174
+        <el-table-column prop="province" label="透析号" width="100"></el-table-column>
175
+        <el-table-column prop="city" label="排班时间" width="100"></el-table-column>
176
+        <el-table-column prop="address" label="透析模式" width="200"></el-table-column>
177
+        <el-table-column prop="zip" label="脱水量" width="100"></el-table-column>
178
+        <el-table-column prop="zip" label="体重(透前/透后)" width="150"></el-table-column>
179
+        <el-table-column prop="zip" label="监控预警(血压/心率)" width="200"></el-table-column>
180
+      </el-table>
165
     </div>
181
     </div>
166
     <side-bar :active_index="1"></side-bar>
182
     <side-bar :active_index="1"></side-bar>
167
     <mt-datetime-picker
183
     <mt-datetime-picker
194
   },
210
   },
195
   data () {
211
   data () {
196
     return {
212
     return {
213
+      tableData: [
214
+        {
215
+          date: "2016-05-02",
216
+          name: "王小虎",
217
+          province: "上海",
218
+          city: "普陀区",
219
+          address: "上海市普陀区金沙江路 1518 弄",
220
+          zip: 200333
221
+        },
222
+        {
223
+          date: "2016-05-04",
224
+          name: "王小虎",
225
+          province: "上海",
226
+          city: "普陀区",
227
+          address: "上海市普陀区金沙江路 1517 弄",
228
+          zip: 200333
229
+        },
230
+        {
231
+          date: "2016-05-01",
232
+          name: "王小虎",
233
+          province: "上海",
234
+          city: "普陀区",
235
+          address: "上海市普陀区金沙江路 1519 弄",
236
+          zip: 200333
237
+        },
238
+        {
239
+          date: "2016-05-03",
240
+          name: "王小虎",
241
+          province: "上海",
242
+          city: "普陀区",
243
+          address: "上海市普陀区金沙江路 1516 弄",
244
+          zip: 200333
245
+        },
246
+        {
247
+          date: "2016-05-02",
248
+          name: "王小虎",
249
+          province: "上海",
250
+          city: "普陀区",
251
+          address: "上海市普陀区金沙江路 1518 弄",
252
+          zip: 200333
253
+        },
254
+        {
255
+          date: "2016-05-04",
256
+          name: "王小虎",
257
+          province: "上海",
258
+          city: "普陀区",
259
+          address: "上海市普陀区金沙江路 1517 弄",
260
+          zip: 200333
261
+        },
262
+        {
263
+          date: "2016-05-01",
264
+          name: "王小虎",
265
+          province: "上海",
266
+          city: "普陀区",
267
+          address: "上海市普陀区金沙江路 1519 弄",
268
+          zip: 200333
269
+        },
270
+        {
271
+          date: "2016-05-03",
272
+          name: "王小虎",
273
+          province: "上海",
274
+          city: "普陀区",
275
+          address: "上海市普陀区金沙江路 1516 弄",
276
+          zip: 200333
277
+        },
278
+        {
279
+          date: "2016-05-02",
280
+          name: "王小虎",
281
+          province: "上海",
282
+          city: "普陀区",
283
+          address: "上海市普陀区金沙江路 1518 弄",
284
+          zip: 200333
285
+        },
286
+        {
287
+          date: "2016-05-04",
288
+          name: "王小虎",
289
+          province: "上海",
290
+          city: "普陀区",
291
+          address: "上海市普陀区金沙江路 1517 弄",
292
+          zip: 200333
293
+        },
294
+        {
295
+          date: "2016-05-01",
296
+          name: "王小虎",
297
+          province: "上海",
298
+          city: "普陀区",
299
+          address: "上海市普陀区金沙江路 1519 弄",
300
+          zip: 200333
301
+        },
302
+        {
303
+          date: "2016-05-03",
304
+          name: "王小虎",
305
+          province: "上海",
306
+          city: "普陀区",
307
+          address: "上海市普陀区金沙江路 1516 弄",
308
+          zip: 200333
309
+        }
310
+      ],
197
       loading: false,
311
       loading: false,
198
       finished: false,
312
       finished: false,
199
 
313
 
421
 }
535
 }
422
 </script>
536
 </script>
423
 
537
 
424
-<style style="stylesheet/scss" lang="scss" scoped>
538
+<style lang="scss" scoped>
539
+.mainBox {
540
+  height: 100%;
541
+}
425
 .top {
542
 .top {
426
   padding: 0.3rem 0.3rem;
543
   padding: 0.3rem 0.3rem;
427
   @include text-align;
544
   @include text-align;
428
   font-size: 0.36rem;
545
   font-size: 0.36rem;
429
-  border-bottom: 1px #e5e5e5 solid;
546
+  // border-bottom: 1px #e5e5e5 solid;
430
   position: relative;
547
   position: relative;
431
   color: $title-color;
548
   color: $title-color;
432
   @include display-flex;
549
   @include display-flex;
433
   @include align-items-center;
550
   @include align-items-center;
434
   @include justify-content-between;
551
   @include justify-content-between;
552
+  background: #258ffc;
435
   .title {
553
   .title {
436
     font-size: 0.3rem;
554
     font-size: 0.3rem;
437
     font-weight: bold;
555
     font-weight: bold;
448
 .choice {
566
 .choice {
449
   border-bottom: 1px #e5e5e5 solid;
567
   border-bottom: 1px #e5e5e5 solid;
450
   position: fixed;
568
   position: fixed;
451
-  top: 63px;
569
+  top: 48px;
452
   right: 0;
570
   right: 0;
453
   z-index: 66;
571
   z-index: 66;
454
   left: 0;
572
   left: 0;
455
-  background: #fff;
456
-  @media only screen and (max-width: 415px) {
457
-    top: 38px !important;
458
-  }
459
-  @media only screen and (min-width: 376px) and (max-width: 812px) {
573
+  background: #258ffc;
574
+  // @media only screen and (max-width: 415px) {
575
+  //   top: 38px !important;
576
+  // }
577
+  @media only screen and (min-width: 813px) and (max-width: 1024px) {
460
     top: 38px !important;
578
     top: 38px !important;
461
   }
579
   }
462
   ul {
580
   ul {
464
     @include align-items-center;
582
     @include align-items-center;
465
     @include text-align;
583
     @include text-align;
466
     @include justify-content-between;
584
     @include justify-content-between;
467
-    width: 45%;
585
+    width: 55%;
468
     margin: 0 auto;
586
     margin: 0 auto;
469
-    font-size: 0.32rem;
470
-    color: $pgh-color;
587
+    font-size: 0.45rem;
588
+    // color: $pgh-color;
589
+    color: #fff;
471
     li {
590
     li {
472
       @include display-flex;
591
       @include display-flex;
473
       @include align-items-center;
592
       @include align-items-center;
513
   }
632
   }
514
 }
633
 }
515
 </style>
634
 </style>
635
+<style lang="scss">
636
+.newSearch {
637
+  height: 1rem;
638
+  width: 100%;
639
+  background: #fff;
640
+  border-radius: 30px;
641
+  .searchBtn {
642
+    width: 15%;
643
+    float: left;
644
+    height: 1rem;
645
+    line-height: 1rem;
646
+    text-align: center;
647
+    font-size: 0.45rem;
648
+    color: #258ffc;
649
+  }
650
+}
651
+.el-input {
652
+  height: 100%;
653
+  width: 85%;
654
+  float: left;
655
+}
656
+.el-input__inner {
657
+  height: 100%;
658
+  line-height: 1rem;
659
+  width: 100%;
660
+  border-radius: 30px;
661
+  border: none;
662
+  font-size: 0.45rem;
663
+}
664
+.el-input__icon {
665
+  line-height: 1rem;
666
+  font-size: 0.45rem;
667
+}
668
+.newTable {
669
+  margin-top: 90px;
670
+}
671
+.el-table td {
672
+  padding: 0;
673
+}
674
+.el-table th {
675
+  padding: 6px 0;
676
+}
677
+</style>

+ 1 - 1
src/styles/media.scss 查看文件

1
-@media only screen and (max-width: 812px) {
1
+@media only screen and (max-width: 767px) {
2
   html {
2
   html {
3
     font-size: 30px;
3
     font-size: 30px;
4
   }
4
   }

+ 6 - 6
src/styles/style.scss 查看文件

772
   }
772
   }
773
 }
773
 }
774
 
774
 
775
-// .van-cell {
776
-//   @media only screen and (max-width: 812px) {
777
-//     font-size: 6px !important;
778
-//   }
779
-// }
775
+.van-cell {
776
+  @media only screen and (max-width: 812px) {
777
+    font-size: 12px !important;
778
+  }
779
+}
780
 .van-field__left-icon {
780
 .van-field__left-icon {
781
   // @media only screen and (max-width: 812px) {
781
   // @media only screen and (max-width: 812px) {
782
   //   // margin-right: 0 !important;
782
   //   // margin-right: 0 !important;
870
 //   background: #fff;
870
 //   background: #fff;
871
 // }
871
 // }
872
 .stateBox {
872
 .stateBox {
873
-  padding-top: 140px;
873
+  padding-top: 130px;
874
   background: #fff;
874
   background: #fff;
875
   min-height: calc(100vh - 2px);
875
   min-height: calc(100vh - 2px);
876
   padding-left: 0.45rem;
876
   padding-left: 0.45rem;