apply-clients 3.3.58 → 3.3.59

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.
@@ -11,8 +11,8 @@ var compiler = webpack(config)
11
11
  // var ldap = 'http://192.168.50.4:8400'
12
12
  var ldap = 'http://192.168.20.28:8400'
13
13
  // var ldap = 'http://192.168.20.27:8400'
14
- var applyinstall = 'http://192.168.20.28:8400'
15
- // var applyinstall = 'http://127.0.0.1:8080'
14
+ // var applyinstall = 'http://192.168.20.27:8400'
15
+ var applyinstall = 'http://127.0.0.1:8080'
16
16
 
17
17
  var proxyTable = {
18
18
  '/wx': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.58",
3
+ "version": "3.3.59",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -477,6 +477,27 @@ export default {
477
477
  value: item
478
478
  }
479
479
  })
480
+ },
481
+ async getDesignerPeople () {
482
+ let data = {
483
+ source: 'this.getParentByType($organization$).getChildByName($设计部报装$).getChildren()',
484
+ userid: this.$login.f.id
485
+ }
486
+
487
+ let http = new HttpResetClass()
488
+ let res = await http.load(
489
+ 'POST',
490
+ `rs/search`,
491
+ {data: data},
492
+ {resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
493
+ )
494
+
495
+ return res.data.map(item => {
496
+ return {
497
+ label: item.name,
498
+ value: item.id
499
+ }
500
+ })
480
501
  }
481
502
  },
482
503
  events: {
@@ -660,6 +660,27 @@ export default {
660
660
  return
661
661
  }
662
662
  throw '用户信息确认!!!'
663
+ },
664
+ async getDesignerPeople () {
665
+ let data = {
666
+ source: 'this.getParentByType($organization$).getChildByName($设计部报装$).getChildren()',
667
+ userid: this.$login.f.id
668
+ }
669
+
670
+ let http = new HttpResetClass()
671
+ let res = await http.load(
672
+ 'POST',
673
+ `rs/search`,
674
+ {data: data},
675
+ {resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
676
+ )
677
+
678
+ return res.data.map(item => {
679
+ return {
680
+ label: item.name,
681
+ value: item.id
682
+ }
683
+ })
663
684
  }
664
685
  },
665
686
  events: {