Przeglądaj źródła

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

csx 5 lat temu
rodzic
commit
d05d017650

+ 2 - 2
config/dev.env.js Wyświetl plik

@@ -12,5 +12,5 @@ module.exports = {
12 12
   SRCM_HOST: '"http://test1.sgjyun.com"',
13 13
   XT_HOST: '"http://xt.test.sgjyun.com"',
14 14
   MIRCO_MALL_HOST: '"http://mall.test.sgjyun.com"',
15
-  CDM_HOST: '"http://cdm.test.sgjyun.com"',
16
-}
15
+  CDM_HOST: '"http://cdm.test.sgjyun.com"'
16
+};

+ 2 - 2
config/index.js Wyświetl plik

@@ -19,8 +19,8 @@ module.exports = {
19 19
 
20 20
     // host: 'xt.test.sgjyun.com',
21 21
     // host: 'xt.kuyicloud.com',
22
-    // host: 'xt.test.sgjyun.com',
23
-    host:'localhost',
22
+    host: 'xt.test.sgjyun.com',
23
+    //host:'localhost',
24 24
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
25 25
     autoOpenBrowser: true,
26 26
     errorOverlay: true,

+ 10 - 7
src/views/layout/components/Sidebar/SidebarItem.vue Wyświetl plik

@@ -207,13 +207,16 @@ export default {
207 207
     }
208 208
   }
209 209
 }
210
-.el-menu-item{
210
+.menu-wrapper{
211
+  .el-menu-item{
211 212
    background-color:#1F2D3D !important;
213
+  }
214
+  .el-menu{
215
+    background-color:#1F2D3D !important;
216
+  }
217
+  .el-submenu__title{
218
+    background-color:#1F2D3D !important;
219
+  }
212 220
 }
213
-.el-menu{
214
-  background-color:#1F2D3D !important;
215
-}
216
-.el-submenu__title{
217
-  background-color:#1F2D3D !important;
218
-}
221
+
219 222
 </style>

+ 14 - 14
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Wyświetl plik

@@ -67,20 +67,20 @@
67 67
             </el-form-item>
68 68
           </el-col>
69 69
 
70
-          <el-col :span="8" v-if="isShow('压迫后内瘘震颤')">
71
-            <el-form-item label="压迫后内瘘震颤: ">
72
-              <el-select v-model="form.internal_fistula_tremor_ac">
73
-                <el-option :key="0" label="请选择" :value="0"></el-option>
74
-
75
-                <el-option
76
-                  v-for="item in internalFistulaTremorAcOptions"
77
-                  :label="item.name"
78
-                  :value="item.id"
79
-                  :key="item.id"
80
-                ></el-option>
81
-              </el-select>
82
-            </el-form-item>
83
-          </el-col>
70
+<!--          <el-col :span="8" v-if="isShow('压迫后内瘘震颤')">-->
71
+<!--            <el-form-item label="压迫后内瘘震颤: ">-->
72
+<!--              <el-select v-model="form.internal_fistula_tremor_ac">-->
73
+<!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
74
+
75
+<!--                <el-option-->
76
+<!--                  v-for="item in internalFistulaTremorAcOptions"-->
77
+<!--                  :label="item.name"-->
78
+<!--                  :value="item.id"-->
79
+<!--                  :key="item.id"-->
80
+<!--                ></el-option>-->
81
+<!--              </el-select>-->
82
+<!--            </el-form-item>-->
83
+<!--          </el-col>-->
84 84
 
85 85
           <el-col :span="8" v-if="isShow('并发症')">
86 86
             <el-form-item label="并发症: ">

+ 17 - 17
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Wyświetl plik

@@ -276,18 +276,18 @@
276 276
           </el-col>
277 277
 
278 278
 
279
-          <el-col :span="8">
279
+<!--          <el-col :span="8">-->
280 280
 
281
-            <el-form-item label="位置: " v-if="isShow('位置')">
282
-              <el-select v-model="assessmentBeforeDislysis.venous_catheterization_part">
283
-                <el-option :key="0" label="请选择" :value="0"></el-option>
281
+<!--            <el-form-item label="位置: " v-if="isShow('位置')">-->
282
+<!--              <el-select v-model="assessmentBeforeDislysis.venous_catheterization_part">-->
283
+<!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
284 284
 
285
-                <el-option v-for="item in this.$store.getters.venous_catheterization_part" :label="item.name"
286
-                           :value="item.id"
287
-                           :key="item.id"></el-option>
288
-              </el-select>
289
-            </el-form-item>
290
-          </el-col>
285
+<!--                <el-option v-for="item in this.$store.getters.venous_catheterization_part" :label="item.name"-->
286
+<!--                           :value="item.id"-->
287
+<!--                           :key="item.id"></el-option>-->
288
+<!--              </el-select>-->
289
+<!--            </el-form-item>-->
290
+<!--          </el-col>-->
291 291
 
292 292
           <el-col :span="8">
293 293
             <el-form-item label="其他位置:" v-if="isShow('其他位置')">
@@ -296,13 +296,13 @@
296 296
           </el-col>
297 297
 
298 298
 
299
-          <el-col :span="8" v-if="isShow('导管')">
300
-            <el-form-item label="导管:">
301
-              <div>
302
-                <el-input v-model="assessmentBeforeDislysis.ductus_arantii" @focus="showInnerDialog('10')"></el-input>
303
-              </div>
304
-            </el-form-item>
305
-          </el-col>
299
+<!--          <el-col :span="8" v-if="isShow('导管')">-->
300
+<!--            <el-form-item label="导管:">-->
301
+<!--              <div>-->
302
+<!--                <el-input v-model="assessmentBeforeDislysis.ductus_arantii" @focus="showInnerDialog('10')"></el-input>-->
303
+<!--              </div>-->
304
+<!--            </el-form-item>-->
305
+<!--          </el-col>-->
306 306
 
307 307
 
308 308
           <el-col :span="8" v-if="isShow('其他中心静脉导管')">

+ 23 - 16
src/xt_permission.js Wyświetl plik

@@ -1,12 +1,14 @@
1
-import router from "./router";
2
-import store from "./store";
3
-import NProgress from "nprogress"; // progress bar
4
-import "nprogress/nprogress.css"; // progress bar style
1
+import router from './router'
2
+import store from './store'
3
+import NProgress from 'nprogress' // progress bar
4
+import 'nprogress/nprogress.css' // progress bar style
5 5
 
6
-NProgress.configure({ showSpinner: false }); // NProgress Configuration
6
+NProgress.configure({
7
+  showSpinner: false
8
+}) // NProgress Configuration
7 9
 
8
-const loginWhiteList = ["/token/verify", "/401", "/404"]; // 登录验证白名单
9
-const permissionWhiteList = loginWhiteList.concat(["/"]); // 权限验证白名单
10
+const loginWhiteList = ['/token/verify', '/401', '/404'] // 登录验证白名单
11
+const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名单
10 12
 
11 13
 router.beforeEach((to, from, next) => {
12 14
   // 线上注释
@@ -25,28 +27,33 @@ router.beforeEach((to, from, next) => {
25 27
   // return
26 28
   // 线上注释
27 29
 
28
-  NProgress.start();
30
+  NProgress.start()
29 31
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30 32
   // alert('path:' + to.path)
31 33
   // 如果 url 带有 lt (login_token)参数,则跳转到验证 token 时等待的页面
32 34
   if (to.query.lt != null && to.query.lt.length > 0) {
33 35
     // alert('will go to verify token: ' + to.query.lt)
34
-    next({ path: "/token/verify", query: { token: to.query.lt } });
36
+    next({
37
+      path: '/token/verify',
38
+      query: {
39
+        token: to.query.lt
40
+      }
41
+    })
35 42
 
36 43
     // 否则 如果没有 user 信息,则前往 sso 登录
37 44
   } else if (store.getters.xt_user.user.id === 0) {
38 45
     if (loginWhiteList.indexOf(to.path) !== -1) {
39 46
       // alert('登录白名单内,跳过登录')
40
-      next();
47
+      next()
41 48
     } else {
42 49
       // alert('前往登录')
43
-      window.location.href = process.env.BASE_API + "/login"; // sso 地址
50
+      window.location.href = process.env.BASE_API + '/login' // sso 地址
44 51
     }
45 52
 
46 53
     // 否则 如果当前 url 不需要验证访问权限,则通过
47 54
   } else if (permissionWhiteList.indexOf(to.path) !== -1) {
48 55
     // alert('权限验证白名单内,直接进入')
49
-    next();
56
+    next()
50 57
 
51 58
     // 否则 如果拥有当前 url 的权限,则通过
52 59
     // } else if (store.getters.current_role_urls.indexOf(to.path) !== -1) {
@@ -58,11 +65,11 @@ router.beforeEach((to, from, next) => {
58 65
     // console.log(store.getters.current_role_urls)
59 66
     // console.log(store.getters.current_role_urls.indexOf(to.path))
60 67
     // alert('401')
61
-    next();
68
+    next()
62 69
     // next({ path: '/404' })
63 70
   }
64
-});
71
+})
65 72
 
66 73
 router.afterEach(() => {
67
-  NProgress.done();
68
-});
74
+  NProgress.done()
75
+})