Sfoglia il codice sorgente

1、病人管理页面

柳香萍 6 anni fa
parent
commit
a34c65f3b3

File diff suppressed because it is too large
+ 521 - 521
src/router/index.js


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

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

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

@@ -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: 1;
131 131
   .nav-logo {
132 132
     width: 162px;
133 133
     display: flex;

+ 0 - 1
src/views/layout/components/Sidebar/index.vue Vedi File

@@ -12,7 +12,6 @@
12 12
       background-color="#304156"
13 13
       text-color="#bfcbd9"
14 14
       active-text-color="#409EFF"
15
-
16 15
     >
17 16
       <sidebar-item v-for="route in permission_routers" :key="route.name" :item="route" :base-path="route.path"></sidebar-item>
18 17
     </el-menu>

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

@@ -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: 2;
128 128
     top: 60px;
129 129
     .tags-view-item {
130 130
       display: inline-block;

+ 15 - 14
src/xt_pages/user/components/PatientForm.vue Vedi File

@@ -36,8 +36,8 @@
36 36
               </el-col> -->
37 37
               <el-col :span="8" :style="isEdit?'width:360px':''">
38 38
                 <el-form-item label="透析号 : " class="is-required">
39
-                    <el-input disabled v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 1%;" ></el-input> 
40
-                    <el-button style="width:70px;padding:10px 0;" disabled type="primary">自动生成</el-button>
39
+                    <el-input disabled v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input> 
40
+                    <el-button style="width:36%;padding:10px 0;" disabled type="primary">自动生成</el-button>
41 41
                 </el-form-item>
42 42
               </el-col>
43 43
             </template>
@@ -49,20 +49,21 @@
49 49
                   </el-select>
50 50
                 </el-form-item>
51 51
               </el-col> -->
52
-              <el-col :span="8" >
53
-                <el-form-item label="透析号 : " class="is-required" prop="dialysisNo" >
54
-                    <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 1%;" ></el-input> 
55
-                    <el-button style="width:70px;padding:10px 0;" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" @click="generatedialysisno">自动生成</el-button>
56
-                </el-form-item>
57
-              </el-col>
58
-            </template>
59
-            <el-col :span="8" :style="isEdit?'width:360px':''">
52
+              <el-col :span="8" :style="isEdit?'width:360px':''" style="height:59px;" >
60 53
                 <el-form-item label="性别 : " class="is-required" prop="gender" >
61 54
                   <el-radio-group v-model="form.gender" @change="changeGender">
62 55
                     <el-radio v-for="item in sexOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
63 56
                   </el-radio-group>
64 57
                 </el-form-item>
65
-            </el-col>
58
+              </el-col>
59
+              <el-col :span="8" >
60
+                <el-form-item label="透析号 : " class="is-required" prop="dialysisNo" >
61
+                    <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input> 
62
+                    <el-button style="width:36%;padding:10px 0;" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" @click="generatedialysisno">自动生成</el-button>
63
+                </el-form-item>
64
+              </el-col>
65
+            </template>
66
+            
66 67
             <el-col :span="8" :style="isEdit?'width:360px':''">
67 68
               <el-form-item label="出生日期 : "  class="is-required" prop="birth" >
68 69
                   <el-date-picker v-model="form.birth" type="date" placeholder="选择日期" :suffix-icon="'el-icon-menu'" @change="hadSelectBirth" format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker>
@@ -78,7 +79,7 @@
78 79
                 <el-input v-model="form.homeTelephone" maxlength="20"></el-input>
79 80
               </el-form-item>
80 81
             </el-col>
81
-            <el-col :span="8" :style="isEdit?'width:360px':''">
82
+            <el-col :span="8" :style="isEdit?'width:360px':''" style="height:59px;" >
82 83
               <el-form-item label="患者来源 : " class="is-required" prop="source" >
83 84
                 <el-radio-group v-model="form.source">
84 85
                   <el-radio v-for="item in sourceOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
@@ -987,7 +988,7 @@ export default {
987 988
 <style rel="stylesheet/scss" lang="scss" scoped>
988 989
 
989 990
 .uploadHead {
990
-  margin-top: 25%;
991
+  // margin-top: 25%;
991 992
 }
992 993
 .uploadHeadBtn {
993 994
   width: 148px;
@@ -995,7 +996,7 @@ export default {
995 996
 }
996 997
 .el-form{
997 998
     .el-col-6,.el-col-8{
998
-    // width: 430px;
999
+    width: 430px;
999 1000
     }
1000 1001
   .el-form-item {
1001 1002
     // margin-bottom: 17px !important;

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

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

+ 13 - 13
src/xt_permission.js Vedi File

@@ -10,19 +10,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
10 10
 
11 11
 router.beforeEach((to, from, next) => {
12 12
   // 线上注释
13
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
14
-  //   store.dispatch('VerifyConfigList', []).then(() => {
15
-  //     next()
16
-  //   })
17
-  // }
18
-  // if (store.getters.permission_routers === undefined) {
19
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
20
-  //     next()
21
-  //   })
22
-  // } else {
23
-  //   next()
24
-  // }
25
-  // return
13
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
14
+    store.dispatch('VerifyConfigList', []).then(() => {
15
+      next()
16
+    })
17
+  }
18
+  if (store.getters.permission_routers === undefined) {
19
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
20
+      next()
21
+    })
22
+  } else {
23
+    next()
24
+  }
25
+  return
26 26
   // 线上注释
27 27
 
28 28
   NProgress.start()