Browse Source

1、病人管理页面

柳香萍 6 years ago
parent
commit
a34c65f3b3

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


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

47
     }
47
     }
48
     .el-menu {
48
     .el-menu {
49
       border: none;
49
       border: none;
50
-      min-height: 100%;
50
+      min-height: 110%;
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: 1;
131
   .nav-logo {
131
   .nav-logo {
132
     width: 162px;
132
     width: 162px;
133
     display: flex;
133
     display: flex;

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

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

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

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

36
               </el-col> -->
36
               </el-col> -->
37
               <el-col :span="8" :style="isEdit?'width:360px':''">
37
               <el-col :span="8" :style="isEdit?'width:360px':''">
38
                 <el-form-item label="透析号 : " class="is-required">
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
                 </el-form-item>
41
                 </el-form-item>
42
               </el-col>
42
               </el-col>
43
             </template>
43
             </template>
49
                   </el-select>
49
                   </el-select>
50
                 </el-form-item>
50
                 </el-form-item>
51
               </el-col> -->
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
                 <el-form-item label="性别 : " class="is-required" prop="gender" >
53
                 <el-form-item label="性别 : " class="is-required" prop="gender" >
61
                   <el-radio-group v-model="form.gender" @change="changeGender">
54
                   <el-radio-group v-model="form.gender" @change="changeGender">
62
                     <el-radio v-for="item in sexOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
55
                     <el-radio v-for="item in sexOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
63
                   </el-radio-group>
56
                   </el-radio-group>
64
                 </el-form-item>
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
             <el-col :span="8" :style="isEdit?'width:360px':''">
67
             <el-col :span="8" :style="isEdit?'width:360px':''">
67
               <el-form-item label="出生日期 : "  class="is-required" prop="birth" >
68
               <el-form-item label="出生日期 : "  class="is-required" prop="birth" >
68
                   <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>
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
                 <el-input v-model="form.homeTelephone" maxlength="20"></el-input>
79
                 <el-input v-model="form.homeTelephone" maxlength="20"></el-input>
79
               </el-form-item>
80
               </el-form-item>
80
             </el-col>
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
               <el-form-item label="患者来源 : " class="is-required" prop="source" >
83
               <el-form-item label="患者来源 : " class="is-required" prop="source" >
83
                 <el-radio-group v-model="form.source">
84
                 <el-radio-group v-model="form.source">
84
                   <el-radio v-for="item in sourceOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
85
                   <el-radio v-for="item in sourceOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
987
 <style rel="stylesheet/scss" lang="scss" scoped>
988
 <style rel="stylesheet/scss" lang="scss" scoped>
988
 
989
 
989
 .uploadHead {
990
 .uploadHead {
990
-  margin-top: 25%;
991
+  // margin-top: 25%;
991
 }
992
 }
992
 .uploadHeadBtn {
993
 .uploadHeadBtn {
993
   width: 148px;
994
   width: 148px;
995
 }
996
 }
996
 .el-form{
997
 .el-form{
997
     .el-col-6,.el-col-8{
998
     .el-col-6,.el-col-8{
998
-    // width: 430px;
999
+    width: 430px;
999
     }
1000
     }
1000
   .el-form-item {
1001
   .el-form-item {
1001
     // margin-bottom: 17px !important;
1002
     // margin-bottom: 17px !important;

+ 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: 99; */
206
     overflow: hidden;
206
     overflow: hidden;
207
   }
207
   }
208
 
208
 

+ 13 - 13
src/xt_permission.js View File

10
 
10
 
11
 router.beforeEach((to, from, next) => {
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
   NProgress.start()
28
   NProgress.start()