Pārlūkot izejas kodu

Merge branch 'superman' of http://git.shengws.com:3000/zhangbj/xt_vue into superman

zhengchengwu 6 gadus atpakaļ
vecāks
revīzija
11f8030236

+ 9 - 8
package-lock.json Parādīt failu

@@ -5216,9 +5216,9 @@
5216 5216
       }
5217 5217
     },
5218 5218
     "fstream": {
5219
-      "version": "1.0.12",
5220
-      "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
5221
-      "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
5219
+      "version": "1.0.11",
5220
+      "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz",
5221
+      "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=",
5222 5222
       "dev": true,
5223 5223
       "requires": {
5224 5224
         "graceful-fs": "^4.1.2",
@@ -6538,7 +6538,8 @@
6538 6538
     },
6539 6539
     "js-yaml": {
6540 6540
       "version": "3.7.0",
6541
-      "resolved": "",
6541
+      "resolved": "https://registry.npm.taobao.org/js-yaml/download/js-yaml-3.7.0.tgz",
6542
+      "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=",
6542 6543
       "dev": true,
6543 6544
       "requires": {
6544 6545
         "argparse": "^1.0.7",
@@ -13344,13 +13345,13 @@
13344 13345
       "dev": true
13345 13346
     },
13346 13347
     "tar": {
13347
-      "version": "2.2.2",
13348
-      "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
13349
-      "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
13348
+      "version": "2.2.1",
13349
+      "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
13350
+      "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=",
13350 13351
       "dev": true,
13351 13352
       "requires": {
13352 13353
         "block-stream": "*",
13353
-        "fstream": "^1.0.12",
13354
+        "fstream": "^1.0.2",
13354 13355
         "inherits": "2"
13355 13356
       }
13356 13357
     },

+ 3 - 3
src/components/Hamburger/index.vue Parādīt failu

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <svg t="1492500959545" @click="toggleClick" class="hamburger" :class="{'is-active':isActive}" style="fill:#bfcbd9" viewBox="0 0 1024 1024"
3
+    <svg t="1492500959545" @click="toggleClick" class="hamburger" :class="{'is-active':isActive}" style="" viewBox="0 0 1024 1024"
4 4
       version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1691" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64">
5 5
       <path d="M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z"
6 6
         p-id="1692"></path>
@@ -32,8 +32,8 @@ export default {
32 32
 .hamburger {
33 33
   display: inline-block;
34 34
   cursor: pointer;
35
-  width: 16px;
36
-  height: 16px;
35
+  width: 20px;
36
+  height: 20px;
37 37
   transform: rotate(90deg);
38 38
   transition: .38s;
39 39
   transform-origin: 50% 50%;

+ 3 - 11
src/styles/index.scss Parādīt failu

@@ -139,7 +139,7 @@ code {
139 139
   padding: 20px;
140 140
   background: #fff;
141 141
   margin: 0 15px 15px 15px;
142
-  min-height: calc(100vh - 178px);
142
+  min-height: calc(100vh - 185px);
143 143
 }
144 144
 
145 145
 .components-container {
@@ -385,12 +385,12 @@ code {
385 385
           float: left;
386 386
           list-style: none;
387 387
           cursor: pointer;
388
-          padding: 6px 10px;
388
+          padding: 6px 0;
389 389
           color: #606266;
390 390
           border-radius: 4px;
391 391
           margin: 0 8px 0 0;
392 392
           font-size: 14px;
393
-          // width: 70px;
393
+          width: 70px;
394 394
           text-align: center;
395 395
           &:hover {
396 396
             background: #f5f7fa;
@@ -412,19 +412,11 @@ code {
412 412
     .cell {
413 413
       margin: 0;
414 414
       padding: 0 12px;
415
-      display: inline-block;
416
-    }
417
-  }
418
-  th{
419
-    .cell{
420
-      color: #999!important;
421
-      
422 415
     }
423 416
   }
424 417
   td {
425 418
     .cell {
426 419
       padding: 0 12px;
427
-      color: #606266;
428 420
     }
429 421
   }
430 422
 }

+ 1 - 1
src/styles/sidebar.scss Parādīt failu

@@ -47,7 +47,7 @@
47 47
     }
48 48
     .el-menu {
49 49
       border: none;
50
-      height: 100%;
50
+      min-height: 100%;
51 51
       width: 100% !important;
52 52
     }
53 53
   }

+ 1 - 1
src/views/layout/components/Navbar.vue Parādīt failu

@@ -127,7 +127,7 @@ export default {
127 127
   top: 0;
128 128
   left: 0;
129 129
   right: 0;
130
-  z-index: 2052;
130
+  // z-index: 2052;
131 131
   .nav-logo {
132 132
     width: 162px;
133 133
     display: flex;

+ 1 - 1
src/views/layout/components/TagsView.vue Parādīt failu

@@ -124,7 +124,7 @@ export default {
124 124
     border-bottom: 1px solid #d8dce5;
125 125
     box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04);
126 126
     position: fixed;
127
-    z-index: 2052;
127
+    // z-index: 2052;
128 128
     top: 60px;
129 129
     .tags-view-item {
130 130
       display: inline-block;

+ 2 - 19
src/xt_pages/dialysis/bulletinBoard.vue Parādīt failu

@@ -1,43 +1,26 @@
1 1
 <template>
2
- <div class="main-contain">
3
-    <div class="position">
4
-      <bread-crumb :crumbs='crumbs'></bread-crumb>
5
-    </div>
6 2
     <div class="app-container" id="dialysis-board-box" >
7 3
         <el-row>
8 4
             <el-button type="primary" @click="fullscreenboard"> 全屏投影</el-button>
9 5
         </el-row>
10 6
         <bulletinboard></bulletinboard>
11 7
     </div>
12
- </div>
13 8
 </template>
14 9
 
15 10
 <script>
16 11
 import { getBoards } from "@/api/board";
17 12
 import bulletinboard from "./components/bulletinboard";
18 13
 import { parseTime } from "@/utils";
19
-import BreadCrumb from "@/xt_pages/components/bread-crumb";
20 14
 
21 15
 export default {
16
+    components: { bulletinboard },
22 17
     name: 'bulletinBoard',
23
-    data() {
24
-        return {
25
-        crumbs:[
26
-            {path:false, name:'透析管理'},
27
-            {path:false, name:'数据看板'},
28
-        ],
29
-        }
30
-    },
31 18
     
32 19
     methods:{
33 20
         fullscreenboard:function(){
34 21
             let routeData = this.$router.resolve({ path: '/fullscreenboard'});
35 22
             window.open(routeData.href, '_blank');
36 23
         },
37
-    },
38
-  components: {
39
-      BreadCrumb,
40
-      bulletinboard
41
-  }
24
+    }
42 25
 }
43 26
 </script>

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1233 - 0
src/xt_pages/user/components/PatientDetail.vue


+ 1 - 1
src/xt_pages/user/components/PatientSidebar.vue Parādīt failu

@@ -202,7 +202,7 @@
202 202
     float: left;
203 203
     bottom: 0;
204 204
     left: 0;
205
-    z-index: 99;
205
+    z-index: 1001;
206 206
     overflow: hidden;
207 207
   }
208 208
 

+ 64 - 5
src/xt_pages/user/doctorAdvice.vue Parādīt failu

@@ -3,10 +3,10 @@
3 3
         <patient-sidebar :id="patientID" defaultActive="1-4" v-on:tran-patient="onTranPatient"></patient-sidebar>
4 4
         <div class="patient-app-container advice-container app-container">
5 5
             <div class="filter-container">
6
-                <el-input  size="small" style="width: 400px;" v-model="listQuery.keywords" class="filter-item" />
7
-                <el-button size="small"  class="filter-item" type="primary" icon="el-icon-search" @click="changeKey" >搜索</el-button>
8
-                <el-button size="small" class="filter-item" style="float:right;" @click="printThisInfo()" :type="adviceType==1 || adviceType == 3?'primary':'warning'" icon="el-icon-printer" >打印医嘱</el-button>
9
-                <el-button size="small" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" class="filter-item" style="float:right;" @click="openNew" type="primary" icon="el-icon-plus" >新增医嘱</el-button>
6
+                <el-input   style="width: 400px;" v-model="listQuery.keywords" class="filter-item" />
7
+                <el-button  class="filter-item" type="primary" icon="el-icon-search" @click="changeKey" >搜索</el-button>
8
+                <el-button  class="filter-item" style="float:right;" @click="printThisInfo()" :type="adviceType==1 || adviceType == 3?'primary':'warning'" icon="el-icon-printer" >打印医嘱</el-button>
9
+                <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" class="filter-item" style="float:right;" @click="openNew" type="primary" icon="el-icon-plus" >新增医嘱</el-button>
10 10
             </div>
11 11
             <div class="cell clearfix">
12 12
                 <label class="title"><span class="name">医嘱类型</span> : </label>
@@ -2839,7 +2839,66 @@ export default {
2839 2839
       cursor: pointer;
2840 2840
     }
2841 2841
   }
2842
-
2842
+  .cell {
2843
+    margin: 0px 0 15px 0;
2844
+    -moz-box-sizing: border-box;
2845
+    -webkit-box-sizing: border-box;
2846
+    -o-box-sizing: border-box;
2847
+    -ms-box-sizing: border-box;
2848
+    box-sizing: border-box;
2849
+    display: -webkit-box;
2850
+    display: -ms-flexbox;
2851
+    // display: flex;
2852
+    -webkit-box-align: flex-start;
2853
+    -ms-flex-align: flex-start;
2854
+    align-items: flex-start;
2855
+    text-align: left;
2856
+    justify-content: flex-start;
2857
+    color: #333;
2858
+    .title {
2859
+      width: 80px;
2860
+      display: inline-block;
2861
+      font-weight: normal;
2862
+      color: #909399;
2863
+      padding: 6px 0;
2864
+      font-weight: 700;
2865
+      .name {
2866
+        width: 60px;
2867
+        text-align: justify;
2868
+        text-justify: distribute-all-lines;
2869
+        text-align-last: justify;
2870
+        -moz-text-align-last: justify;
2871
+        -webkit-text-align-last: justify;
2872
+        display: inline-block;
2873
+      }
2874
+    }
2875
+    .time {
2876
+      -webkit-box-flex: 1;
2877
+      -ms-flex: 1;
2878
+      flex: 1;
2879
+      ul {
2880
+        padding: 0;
2881
+        margin: 0;
2882
+        li {
2883
+          float: left;
2884
+          list-style: none;
2885
+          cursor: pointer;
2886
+          padding: 6px 10px;
2887
+          color: #606266;
2888
+          border-radius: 4px;
2889
+          margin: 0 4px 0 0;
2890
+          &:hover {
2891
+            background: #409eff;
2892
+            color: #fff;
2893
+          }
2894
+        }
2895
+        .active {
2896
+          background: #409eff;
2897
+          color: #fff;
2898
+        }
2899
+      }
2900
+    }
2901
+  }
2843 2902
   .amount {
2844 2903
     font-weight: normal;
2845 2904
     padding: 10px 0 0 0;

+ 1 - 2
src/xt_pages/user/patientInfo.vue Parādīt failu

@@ -11,9 +11,8 @@
11 11
 import PatientSidebar from './components/PatientSidebar'
12 12
 
13 13
 export default {
14
-  name: 'editForm',
14
+   name: 'editForm',
15 15
   components: { PatientDetail, PatientSidebar },
16
-
17 16
   data() {
18 17
     return {
19 18
       patientID: 0,