Browse Source

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

zhengchengwu 6 years ago
parent
commit
11f8030236

+ 9 - 8
package-lock.json View File

5216
       }
5216
       }
5217
     },
5217
     },
5218
     "fstream": {
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
       "dev": true,
5222
       "dev": true,
5223
       "requires": {
5223
       "requires": {
5224
         "graceful-fs": "^4.1.2",
5224
         "graceful-fs": "^4.1.2",
6538
     },
6538
     },
6539
     "js-yaml": {
6539
     "js-yaml": {
6540
       "version": "3.7.0",
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
       "dev": true,
6543
       "dev": true,
6543
       "requires": {
6544
       "requires": {
6544
         "argparse": "^1.0.7",
6545
         "argparse": "^1.0.7",
13344
       "dev": true
13345
       "dev": true
13345
     },
13346
     },
13346
     "tar": {
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
       "dev": true,
13351
       "dev": true,
13351
       "requires": {
13352
       "requires": {
13352
         "block-stream": "*",
13353
         "block-stream": "*",
13353
-        "fstream": "^1.0.12",
13354
+        "fstream": "^1.0.2",
13354
         "inherits": "2"
13355
         "inherits": "2"
13355
       }
13356
       }
13356
     },
13357
     },

+ 3 - 3
src/components/Hamburger/index.vue View File

1
 <template>
1
 <template>
2
   <div>
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
       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">
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
       <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"
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
         p-id="1692"></path>
6
         p-id="1692"></path>
32
 .hamburger {
32
 .hamburger {
33
   display: inline-block;
33
   display: inline-block;
34
   cursor: pointer;
34
   cursor: pointer;
35
-  width: 16px;
36
-  height: 16px;
35
+  width: 20px;
36
+  height: 20px;
37
   transform: rotate(90deg);
37
   transform: rotate(90deg);
38
   transition: .38s;
38
   transition: .38s;
39
   transform-origin: 50% 50%;
39
   transform-origin: 50% 50%;

+ 3 - 11
src/styles/index.scss View File

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

+ 1 - 1
src/styles/sidebar.scss View File

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

+ 1 - 1
src/views/layout/components/Navbar.vue View File

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

+ 1 - 1
src/views/layout/components/TagsView.vue View File

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

+ 2 - 19
src/xt_pages/dialysis/bulletinBoard.vue View File

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

File diff suppressed because it is too large
+ 1233 - 0
src/xt_pages/user/components/PatientDetail.vue


+ 1 - 1
src/xt_pages/user/components/PatientSidebar.vue View File

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

+ 64 - 5
src/xt_pages/user/doctorAdvice.vue View File

3
         <patient-sidebar :id="patientID" defaultActive="1-4" v-on:tran-patient="onTranPatient"></patient-sidebar>
3
         <patient-sidebar :id="patientID" defaultActive="1-4" v-on:tran-patient="onTranPatient"></patient-sidebar>
4
         <div class="patient-app-container advice-container app-container">
4
         <div class="patient-app-container advice-container app-container">
5
             <div class="filter-container">
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
             </div>
10
             </div>
11
             <div class="cell clearfix">
11
             <div class="cell clearfix">
12
                 <label class="title"><span class="name">医嘱类型</span> : </label>
12
                 <label class="title"><span class="name">医嘱类型</span> : </label>
2839
       cursor: pointer;
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
   .amount {
2902
   .amount {
2844
     font-weight: normal;
2903
     font-weight: normal;
2845
     padding: 10px 0 0 0;
2904
     padding: 10px 0 0 0;

+ 1 - 2
src/xt_pages/user/patientInfo.vue View File

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