openatc-components 0.0.90 → 0.0.91

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/config/index.js CHANGED
@@ -15,8 +15,9 @@ module.exports = {
15
15
  // target: 'http://192.168.13.103:8012/openatc',//'http://172.16.239.139:8080/',//设置你调用的接口域名和端口号
16
16
  // target: 'http://192.168.14.2:8012/openatc',//'http://172.16.239.139:8080/',//设置你调用的接口域名和端口号
17
17
  // target: 'https://dolphin-test.kedacom.com/openatc',
18
- // target: 'http://192.168.13.105:11003/openatc',
19
- target: 'http://192.168.13.103:10003/openatc',
18
+ target: 'http://192.168.13.105:11003/openatc',
19
+ // target: 'http://192.168.13.103:10003/openatc',
20
+ // target: 'http://192.168.13.103:10003/openatc',
20
21
  // target: 'http://192.168.13.103:9999',//'http://172.16.239.139:8080/',//设置你调用的接口域名和端口号
21
22
  // target: 'http://192.168.13.103:9999/kissapi',//'http://172.16.239.139:8080/',//设置你调用的接口域名和端口号
22
23
  changeOrigin: true, //跨域
@@ -50,8 +50,7 @@ export default {
50
50
  },
51
51
  computed: {
52
52
  ...mapState({
53
- channelizationPageIndex: state => state.globalParam.channelizationPageIndex,
54
- curOpenatcAgentid: state => state.globalParam.curOpenatcAgentid
53
+ channelizationPageIndex: state => state.globalParam.channelizationPageIndex
55
54
  })
56
55
  },
57
56
  watch: {
@@ -22,6 +22,7 @@ import ExpendConfig from './components/ExpendConfig/index'
22
22
  import PatternWalkSvg from './components/PatternWalkSvg/index'
23
23
  import tentativeplancontrolmodal from './components/SchemeConfig/tentativeplancontrolmodal/index'
24
24
  import { setToken, setHost } from '../utils/auth.js'
25
+ import componentsGlobalParam from '../store/modules/globalParam'
25
26
 
26
27
  import en from '../i18n/language/en'
27
28
  import zh from '../i18n/language/zh'
@@ -63,6 +64,10 @@ const func = {
63
64
  setToken
64
65
  }
65
66
 
67
+ const Store = {
68
+ componentsGlobalParam
69
+ }
70
+
66
71
  const requireAll = requireContext => requireContext.keys().map(requireContext)
67
72
  const install = function (Vue) {
68
73
  if (install.installed) return
@@ -90,7 +95,8 @@ const API = {
90
95
  install,
91
96
  ...components,
92
97
  language,
93
- func
98
+ func,
99
+ Store
94
100
  }
95
101
 
96
102
  export default API