vue2-client 1.8.443 → 1.8.444

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.443",
3
+ "version": "1.8.444",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -18,7 +18,7 @@
18
18
  </template>
19
19
 
20
20
  <script>
21
- import XReport from '@vue2-client/base-client/components/common/XReport'
21
+ import XReport from '@vue2-client/base-client/components/common/XReportGrid/XReport.vue'
22
22
 
23
23
  export default {
24
24
  name: 'GridView',
@@ -7,8 +7,9 @@ const view = {
7
7
  import('@vue2-client/layouts/BlankView'),
8
8
  page: () =>
9
9
  import('@vue2-client/layouts/PageView'),
10
+ // his-web$ceshiGrid?type=GridView&configName=RxPreparedMed
10
11
  gridView: () =>
11
- import('@vue2-client/layouts/gridView'),
12
+ import('@vue2-client/layouts/GridView'),
12
13
  login: () =>
13
14
  import('@vue2-client/pages/login/Login'),
14
15
  loginv3: () =>
@@ -84,7 +84,7 @@ function parseRoutes (routesConfig, routerMap) {
84
84
  if (item.meta && item.meta.type) {
85
85
  if (item.meta.type === 'GridView') {
86
86
  router = routerMap.gridView
87
- item.path = encodeURI(item.name)
87
+ item.path = encodeURI(item.router) || encodeURI(item.name)
88
88
  }
89
89
  }
90
90
  // 当没在动态路由对象中找到时, 不添加到路由