Преглед на файлове

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

csx преди 4 години
родител
ревизия
a5260c1848

+ 1 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Целия файл

@@ -13,9 +13,7 @@
13 13
           <td style="text-align:center;">
14 14
             姓名:
15 15
             <span style="display:inline-block;margin-left:10px;">
16
-              {{
17
-              patientInfo.name
18
-              }}
16
+              {{patientInfo.name}}
19 17
             </span>
20 18
           </td>
21 19
           <td style="text-align:center;">

+ 4 - 3
src/xt_pages/user/patients.vue Целия файл

@@ -80,10 +80,10 @@
80 80
     <div class="position">
81 81
       <bread-crumb :crumbs="crumbs"></bread-crumb>
82 82
 
83
-      <upload-excel style="float:right;" :on-success='handleSuccess' :before-upload="beforeUpload"></upload-excel>
83
+      
84 84
 
85
-      <div style="float:right;"
86
-      >
85
+      <div style="display:flex;align-items:center">
86
+        <upload-excel :on-success='handleSuccess' :before-upload="beforeUpload"></upload-excel>
87 87
         <el-link target="_blank" href="https://kuyi.shengws.com/patient_template.xlsx" :underline="false"
88 88
                  style="margin-left:15px">
89 89
           <el-button
@@ -96,6 +96,7 @@
96 96
 
97 97
 
98 98
         <el-button
99
+          style="margin-left:10px;"
99 100
           @click="generateLog()"
100 101
           class="filter-item"
101 102
           type="primary"

+ 3 - 8
src/xt_pages/workforce/appointment.vue Целия файл

@@ -50,13 +50,9 @@
50 50
 
51 51
     <div class="position">
52 52
       <bread-crumb :crumbs="crumbs"></bread-crumb>
53
-      <el-col :span="15" style="text-align: right;">
54
-        <div>
55
-          <schedule-upload-excel style="float:left;margin-right: -500px" :on-success='handleSuccess'
56
-                                 :before-upload="beforeUpload"></schedule-upload-excel>
57
-          <el-button v-if="isShow()" type="primary" size="small" @click="export_file()"
58
-                     :loading="downloadLoading"
59
-          >
53
+        <div style="display:flex;align-items:center">
54
+          <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' :before-upload="beforeUpload"></schedule-upload-excel>
55
+          <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
60 56
             导出模版
61 57
           </el-button>
62 58
 
@@ -72,7 +68,6 @@
72 68
           <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
73 69
           </el-button>
74 70
         </div>
75
-      </el-col>
76 71
     </div>
77 72
     <div class="app-container">
78 73
       <!-- <el-row>

+ 17 - 16
src/xt_pages/workforce/template.vue Целия файл

@@ -64,27 +64,28 @@
64 64
 
65 65
     <div class="position">
66 66
       <bread-crumb :crumbs="crumbs"></bread-crumb>
67
+      <div style="display:flex;align-items:center">
68
+        <!-- <el-col :span="3" style="text-align: right;"> -->
69
+        <el-button v-loading="downloadLoading" v-if="template_mode&&(template_mode.mode == 1 || template_mode.mode == 2)"
70
+                  size="small" icon="el-icon-setting" type="primary" @click="import_file()">导出模版
71
+        </el-button>
67 72
 
68
-      <!-- <el-col :span="3" style="text-align: right;"> -->
69
-      <el-button v-loading="downloadLoading" v-if="template_mode&&(template_mode.mode == 1 || template_mode.mode == 2)"
70
-                 size="small" icon="el-icon-setting" type="primary" @click="import_file()">导出模版
71
-      </el-button>
72 73
 
74
+        <el-button
75
+          @click="generateLog()"
76
+          class="filter-item"
77
+          type="primary"
78
+          size="small"
79
+        >下载错误日志
80
+        </el-button>
73 81
 
74
-      <el-button
75
-        @click="generateLog()"
76
-        class="filter-item"
77
-        type="primary"
78
-        size="small"
79
-      >下载错误日志
80
-      </el-button>
82
+        <!--<upload-excel style="float:right;" :on-success='handleSuccess' :before-upload="beforeUpload"></upload-excel>-->
83
+        <schedule-template-upload-excel style="margin-right:10px;" :on-success='handleSuccess'
84
+                                        :before-upload="beforeUpload"></schedule-template-upload-excel>
81 85
 
82
-      <!--<upload-excel style="float:right;" :on-success='handleSuccess' :before-upload="beforeUpload"></upload-excel>-->
83
-      <schedule-template-upload-excel style="float:right;" :on-success='handleSuccess'
84
-                                      :before-upload="beforeUpload"></schedule-template-upload-excel>
85 86
 
86
-
87
-      <el-button size="small" icon="el-icon-setting" type="primary" @click="setScheduleTemplateAction">设置模板</el-button>
87
+        <el-button size="small" icon="el-icon-setting" type="primary" @click="setScheduleTemplateAction">设置模板</el-button>
88
+      </div>
88 89
       <!-- </el-col> -->
89 90
     </div>
90 91
     <div class="app-container">

+ 13 - 13
src/xt_permission.js Целия файл

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