vue2-client 1.9.19 → 1.9.20

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.9.19",
3
+ "version": "1.9.20",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -1,6 +1,6 @@
1
1
  <script>
2
- import XAddNativeForm from '@/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
3
- import { getConfigByNameAsync } from '@/services/api/common'
2
+ import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
3
+ import { getConfigByNameAsync } from '@vue2-client/services/api/common'
4
4
 
5
5
  export default {
6
6
  name: 'Demo',
@@ -28,11 +28,13 @@ export default {
28
28
  XReport, XAddReport
29
29
  },
30
30
  mounted () {
31
- // this.$refs.xAddReport.init({
32
- // configName: 'skinTestExecuActionCover',
33
- // selectedId: '11111',
34
- // mixinData: {}
35
- // })
31
+ this.$refs.main.openDialog('skinTestExecuActionCover',
32
+ {
33
+ selectedId: 1,
34
+ name: '皮肤测试执行单'
35
+ },
36
+ {}
37
+ )
36
38
  },
37
39
  data () {
38
40
  return {
@@ -83,9 +83,9 @@ routerResource.example = {
83
83
  {
84
84
  path: 'default',
85
85
  name: '示例页面',
86
- component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
86
+ // component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
87
87
  // component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
88
- // component: () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo.vue'),
88
+ component: () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo.vue'),
89
89
  // component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
90
90
  meta: {
91
91
  // 菜单中不显示