Selaa lähdekoodia

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

csx 5 vuotta sitten
vanhempi
commit
ea791b743f

+ 2 - 0
src/pages/advice/AdvicePage.vue Näytä tiedosto

160
     text-align: center;
160
     text-align: center;
161
     font-size: 0.45rem;
161
     font-size: 0.45rem;
162
     color: #258ffc;
162
     color: #258ffc;
163
+    vertical-align: middle;
163
   }
164
   }
164
   .el-input {
165
   .el-input {
165
     height: 100%;
166
     height: 100%;
173
     border-radius: 30px;
174
     border-radius: 30px;
174
     border: none;
175
     border: none;
175
     font-size: 0.45rem;
176
     font-size: 0.45rem;
177
+    vertical-align: middle;
176
     @media only screen and (min-width: 768px) {
178
     @media only screen and (min-width: 768px) {
177
       padding-left: 0.9rem;
179
       padding-left: 0.9rem;
178
     }
180
     }

+ 36 - 31
src/pages/main/DetailsPage.vue Näytä tiedosto

1
 <template>
1
 <template>
2
   <div class="mainBox">
2
   <div class="mainBox">
3
     <div class="mainContent">
3
     <div class="mainContent">
4
-      <div class="navigation">
5
-        <div class="goBack">
6
-          <span class="back" @click="backAction()">
7
-            <span class="iconfont">&#xe720;</span>返回
8
-          </span>
9
-          <el-popover placement="bottom" trigger="click" :disabled="true">
10
-            <li slot="reference" class="name">{{ patient_name }}</li>
11
-          </el-popover>
12
-        </div>
13
-        <div class="nav">
14
-          <ul>
15
-            <li
16
-              v-for="(item, i) in ['病历', '透析', '今日']"
17
-              :key="i"
18
-              :class="index == i ? 'active' : ''"
19
-              @click="ClickTab(i)"
20
-            >
21
-              {{ item }}
22
-            </li>
23
-          </ul>
24
-        </div>
4
+      <div class="newNavigation">
5
+        <div class="navigation">
6
+          <div class="goBack">
7
+            <span class="back" @click="backAction()">
8
+              <span class="iconfont">&#xe720;</span>返回
9
+            </span>
10
+            <el-popover placement="bottom" trigger="click" :disabled="true">
11
+              <li slot="reference" class="name">{{ patient_name }}</li>
12
+            </el-popover>
13
+          </div>
14
+          <div class="nav">
15
+            <ul>
16
+              <li
17
+                v-for="(item, i) in ['病历', '透析', '今日']"
18
+                :key="i"
19
+                :class="index == i ? 'active' : ''"
20
+                @click="ClickTab(i)"
21
+              >
22
+                {{ item }}
23
+              </li>
24
+            </ul>
25
+          </div>
25
 
26
 
26
-        <!-- <div @click="openPicker()" class="time">
27
+          <!-- <div @click="openPicker()" class="time">
27
                   {{pickerVisible}}<span class="iconfont">&#xe74a;</span>
28
                   {{pickerVisible}}<span class="iconfont">&#xe74a;</span>
28
         </div>-->
29
         </div>-->
29
-        <!-- <div class="time" style="width:1.49rem;">
30
+          <!-- <div class="time" style="width:1.49rem;">
30
                   <span class="iconfont">2018-01-01&#xe74a;</span>
31
                   <span class="iconfont">2018-01-01&#xe74a;</span>
31
         </div>-->
32
         </div>-->
32
-        <div class="print" style="float: right; display:none">
33
-          <el-button
34
-            size="mini"
35
-            type="primary"
36
-            @click="print"
37
-            icon="el-icon-printer"
38
-            >打印</el-button
39
-          >
33
+          <div class="print" style="float: right; display:none">
34
+            <el-button
35
+              size="mini"
36
+              type="primary"
37
+              @click="print"
38
+              icon="el-icon-printer"
39
+              >打印</el-button
40
+            >
41
+          </div>
40
         </div>
42
         </div>
41
       </div>
43
       </div>
42
       <div class="Tab">
44
       <div class="Tab">
165
 }
167
 }
166
 .mainContent {
168
 .mainContent {
167
   position: relative;
169
   position: relative;
170
+  .newNavigation {
171
+    overflow: hidden;
172
+  }
168
   .navigation {
173
   .navigation {
169
     @include display-flex;
174
     @include display-flex;
170
     @include align-items-center;
175
     @include align-items-center;

+ 2 - 0
src/pages/main/RecordPage.vue Näytä tiedosto

317
     text-align: center;
317
     text-align: center;
318
     font-size: 0.45rem;
318
     font-size: 0.45rem;
319
     color: #258ffc;
319
     color: #258ffc;
320
+    vertical-align: middle;
320
   }
321
   }
321
 }
322
 }
322
 </style>
323
 </style>
334
     font-size: 0.45rem;
335
     font-size: 0.45rem;
335
     box-sizing: border-box;
336
     box-sizing: border-box;
336
     padding-bottom: 0.05rem;
337
     padding-bottom: 0.05rem;
338
+    vertical-align: middle;
337
     @media only screen and (min-width: 768px) {
339
     @media only screen and (min-width: 768px) {
338
       padding-left: 0.9rem !important;
340
       padding-left: 0.9rem !important;
339
     }
341
     }

+ 2 - 2
src/pages/main/dialog/OrdersDialog.vue Näytä tiedosto

42
           :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
42
           :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
43
         >删除</span>
43
         >删除</span>
44
 
44
 
45
-        <span :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
46
-        <span :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
45
+        <span id="fontSize" :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
46
+        <span id="fontSize" :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
47
       </div>
47
       </div>
48
       <div class="DialogContent choose" id="dialogTop" style="height:6.5rem;">
48
       <div class="DialogContent choose" id="dialogTop" style="height:6.5rem;">
49
 
49
 

+ 0 - 1
src/pages/main/dialog/PrescriptionDialog.vue Näytä tiedosto

1086
               this.zhiShow = true
1086
               this.zhiShow = true
1087
               this.totalShow = true
1087
               this.totalShow = true
1088
               this.huShow = true
1088
               this.huShow = true
1089
-
1090
             }
1089
             }
1091
           }
1090
           }
1092
         }
1091
         }

+ 8 - 3
src/pages/main/dialog/modify_order/ModifyAdviceGroup.vue Näytä tiedosto

1
 <template>
1
 <template>
2
   <div v-if="visibility" v-loading="loading">
2
   <div v-if="visibility" v-loading="loading">
3
-    <div class="Dialog" style="width: 16.8rem;" v-show="sub_dialog_key == 0">
3
+    <div class="Dialog" v-show="sub_dialog_key == 0">
4
       <div class="DialogTit">
4
       <div class="DialogTit">
5
         <div class="back" @click="backAction">
5
         <div class="back" @click="backAction">
6
           <span class="iconfont">&#xe720;</span>返回
6
           <span class="iconfont">&#xe720;</span>返回
37
             </div>
37
             </div>
38
             <div class="cell" style="margin-top: 0;">
38
             <div class="cell" style="margin-top: 0;">
39
               <label>开嘱医生</label>
39
               <label>开嘱医生</label>
40
-              <span>{{ $store.getters.user.user.user_name }}</span>
40
+              <span class="newdoctorName">{{
41
+                $store.getters.user.user.user_name
42
+              }}</span>
41
             </div>
43
             </div>
42
           </div>
44
           </div>
43
           <table class="table">
45
           <table class="table">
378
       height: 0.6rem;
380
       height: 0.6rem;
379
       line-height: 0.6rem;
381
       line-height: 0.6rem;
380
       color: $pgh-color;
382
       color: $pgh-color;
381
-      font-size: 0.32rem;
383
+      font-size: 0.45rem;
384
+    }
385
+    .newdoctorName {
386
+      font-size: 0.45rem;
382
     }
387
     }
383
     select {
388
     select {
384
       width: 100%;
389
       width: 100%;

+ 3 - 3
src/pages/main/dialog/modify_order/modify_order_form.vue Näytä tiedosto

396
   .cell {
396
   .cell {
397
     float: left;
397
     float: left;
398
     width: 4.5rem;
398
     width: 4.5rem;
399
-    margin: 0.35rem 0.3rem 0.2rem 0.4rem;
399
+    margin: 0.35rem 0.3rem 0rem 0.4rem;
400
     overflow: hidden;
400
     overflow: hidden;
401
     label {
401
     label {
402
       display: block;
402
       display: block;
447
   .cell {
447
   .cell {
448
     .inputBox {
448
     .inputBox {
449
       @media only screen and (max-width: 767px) {
449
       @media only screen and (max-width: 767px) {
450
-        padding: 0.34rem 0 !important;
450
+        padding: 10.6px 0 !important;
451
         padding-left: 5px !important;
451
         padding-left: 5px !important;
452
         font-size: 0.42rem !important;
452
         font-size: 0.42rem !important;
453
       }
453
       }
454
     }
454
     }
455
     .el-input__inner {
455
     .el-input__inner {
456
-      font-size: 0.45rem;
456
+      font-size: 0.42rem;
457
     }
457
     }
458
   }
458
   }
459
 }
459
 }

+ 1 - 1
src/pages/main/dialog/new_order/order_form.vue Näytä tiedosto

492
   .cell {
492
   .cell {
493
     .inputBox {
493
     .inputBox {
494
       @media only screen and (max-width: 767px) {
494
       @media only screen and (max-width: 767px) {
495
-        padding: 0.38rem 0 !important;
495
+        padding: 0.34rem 0 !important;
496
         padding-left: 5px !important;
496
         padding-left: 5px !important;
497
         font-size: 0.42rem !important;
497
         font-size: 0.42rem !important;
498
       }
498
       }

+ 4 - 0
src/pages/main/today/TodayTab.vue Näytä tiedosto

1442
 
1442
 
1443
 
1443
 
1444
 <style style="stylesheet/scss" lang="scss" scoped>
1444
 <style style="stylesheet/scss" lang="scss" scoped>
1445
+#today_panel{
1446
+ overflow-x: hidden;
1447
+}
1445
   .today_panel {
1448
   .today_panel {
1446
   height: calc(100% - 63px);
1449
   height: calc(100% - 63px);
1450
+ 
1447
   }
1451
   }
1448
 
1452
 
1449
   .mainContent {
1453
   .mainContent {

+ 2 - 0
src/pages/monitoring/index.vue Näytä tiedosto

609
     text-align: center;
609
     text-align: center;
610
     font-size: 0.45rem;
610
     font-size: 0.45rem;
611
     color: #258ffc;
611
     color: #258ffc;
612
+    vertical-align: middle;
612
   }
613
   }
613
   .el-input {
614
   .el-input {
614
     height: 100%;
615
     height: 100%;
622
     border-radius: 30px;
623
     border-radius: 30px;
623
     border: none;
624
     border: none;
624
     font-size: 0.45rem;
625
     font-size: 0.45rem;
626
+    vertical-align: middle;
625
     @media only screen and (min-width: 768px) {
627
     @media only screen and (min-width: 768px) {
626
       padding-left: 0.9rem;
628
       padding-left: 0.9rem;
627
     }
629
     }