system-clients 3.1.108-aode → 3.1.109-aodeToV4

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.
@@ -1,38 +1,38 @@
1
- import Vue from 'vue'
2
-
3
- let GetAppDataService = {
4
- install(Vue, options) {
5
- // 给vue增添对话框显示方法
6
-
7
- Vue.$appdata = Vue.prototype.$appdata = GetAppDataService
8
- },
9
-
10
- // 开启卡监听
11
- load () {
12
- return Vue.resetpost('rs/logic/getInitData', {data: {f_filialeids: Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
13
- res.data.singleValues.forEach((item) => {
14
- this.singleValues[item.name] = item.value
15
- })
16
- res.data.params.forEach((item) => {
17
- let value = []
18
- item.f_paramvalues.forEach((item, index) => {
19
- value[index] = {}
20
- value[index].label = item.name
21
- value[index].value = item.name
22
- })
23
- this.params[item.name] = value
24
- })
25
- })
26
- },
27
-
28
- params: {},
29
- singleValues: {},
30
-
31
- getParam(key) {
32
- return this.params[key]
33
- },
34
- getSingleValue(key) {
35
- return this.singleValues[key]
36
- }
37
- }
38
- export default GetAppDataService
1
+ import Vue from 'vue'
2
+
3
+ let GetAppDataService = {
4
+ install(Vue, options) {
5
+ // 给vue增添对话框显示方法
6
+
7
+ Vue.$appdata = Vue.prototype.$appdata = GetAppDataService
8
+ },
9
+
10
+ // 开启卡监听
11
+ load () {
12
+ return Vue.resetpost('api/af-system/logic/getInitData', {data: {f_filialeids: Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
13
+ res.data.singleValues.forEach((item) => {
14
+ this.singleValues[item.name] = item.value
15
+ })
16
+ res.data.params.forEach((item) => {
17
+ let value = []
18
+ item.f_paramvalues.forEach((item, index) => {
19
+ value[index] = {}
20
+ value[index].label = item.name
21
+ value[index].value = item.name
22
+ })
23
+ this.params[item.name] = value
24
+ })
25
+ })
26
+ },
27
+
28
+ params: {},
29
+ singleValues: {},
30
+
31
+ getParam(key) {
32
+ return this.params[key]
33
+ },
34
+ getSingleValue(key) {
35
+ return this.singleValues[key]
36
+ }
37
+ }
38
+ export default GetAppDataService
package/src/system.js CHANGED
@@ -26,6 +26,7 @@ import ResSelectGroup from './components/server/ResSelectGroup'
26
26
  //资源选择测试
27
27
  import TestResSelect from './components/server/TestResSelect'
28
28
  import RoleSelector from "./components/server/RoleSelector";
29
+ import NewResSelectGroup from "./components/server/NewResSelectGroup.vue";
29
30
  export default function (val) {
30
31
  //验证码开关赋值
31
32
  if(val!=null){
@@ -50,6 +51,7 @@ export default function (val) {
50
51
  //资源选择
51
52
  Vue.component('res-select', ResSelect)
52
53
  Vue.component('res-select-group', ResSelectGroup)
54
+ Vue.component('new-select-group', NewResSelectGroup)
53
55
  //资源选择测试
54
56
  Vue.component('test-res-select', TestResSelect)
55
57