Bläddra i källkod

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

csx 5 år sedan
förälder
incheckning
a5260c1848

+ 1 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Visa fil

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

+ 4 - 3
src/xt_pages/user/patients.vue Visa fil

80
     <div class="position">
80
     <div class="position">
81
       <bread-crumb :crumbs="crumbs"></bread-crumb>
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
         <el-link target="_blank" href="https://kuyi.shengws.com/patient_template.xlsx" :underline="false"
87
         <el-link target="_blank" href="https://kuyi.shengws.com/patient_template.xlsx" :underline="false"
88
                  style="margin-left:15px">
88
                  style="margin-left:15px">
89
           <el-button
89
           <el-button
96
 
96
 
97
 
97
 
98
         <el-button
98
         <el-button
99
+          style="margin-left:10px;"
99
           @click="generateLog()"
100
           @click="generateLog()"
100
           class="filter-item"
101
           class="filter-item"
101
           type="primary"
102
           type="primary"

+ 3 - 8
src/xt_pages/workforce/appointment.vue Visa fil

50
 
50
 
51
     <div class="position">
51
     <div class="position">
52
       <bread-crumb :crumbs="crumbs"></bread-crumb>
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
           </el-button>
57
           </el-button>
62
 
58
 
72
           <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
68
           <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
73
           </el-button>
69
           </el-button>
74
         </div>
70
         </div>
75
-      </el-col>
76
     </div>
71
     </div>
77
     <div class="app-container">
72
     <div class="app-container">
78
       <!-- <el-row>
73
       <!-- <el-row>

+ 17 - 16
src/xt_pages/workforce/template.vue Visa fil

64
 
64
 
65
     <div class="position">
65
     <div class="position">
66
       <bread-crumb :crumbs="crumbs"></bread-crumb>
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
       <!-- </el-col> -->
89
       <!-- </el-col> -->
89
     </div>
90
     </div>
90
     <div class="app-container">
91
     <div class="app-container">

+ 13 - 13
src/xt_permission.js Visa fil

12
 
12
 
13
 router.beforeEach((to, from, next) => {
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
   NProgress.start();
30
   NProgress.start();