apply-clients 3.4.11 → 3.4.13

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.
@@ -8,8 +8,8 @@ var compiler = webpack(config)
8
8
  // var proxy = httpProxy.createProxyServer()
9
9
  // var ldap = 'http://121.36.79.201:8400'
10
10
  // var applyinstall = 'http://121.36.79.201:8400'
11
- var ldap = 'http://117.33.181.102:8401/'
12
- var applyinstall = 'http://117.33.181.102:8401/'
11
+ var ldap = 'http://121.36.106.17:8400/'
12
+ var applyinstall = 'http://121.36.106.17:8400/'
13
13
 
14
14
  var proxyTable = {
15
15
  '/rs/logic/getSaleInitData': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.4.11",
3
+ "version": "3.4.13",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1627,115 +1627,115 @@
1627
1627
  if (this.show_data.button.after) {
1628
1628
  this[this.show_data.button.after]()
1629
1629
  }
1630
- // 改管报建 增容报建 优化
1631
- if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
1632
- let datagg = {
1633
- condition: `t.f_process_id='${this.show_data.f_process_id}'`,
1634
- }
1635
- let http = new HttpResetClass()
1636
- let restgg = await http.load(
1637
- 'POST',
1638
- `rs/sql/checkusertwo`,
1639
- {data: datagg},
1640
- {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1641
- )
1642
- debugger
1643
- if(this.show_data.f_apply_type === '改管报建'){
1644
- restgg.data[0].processname = '改管报建流程'
1645
- restgg.data[0].defname = '报装缴费'
1646
- }else{
1647
- restgg.data[0].processname = '增容报建流程'
1648
- restgg.data[0].defname = '报装缴费'
1649
- }
1650
- restgg.data[0].actid = restgg.data[0].actid + 1
1651
- this.$dispatch('apply',restgg.data[0])
1652
-
1653
- }
1654
-
1655
- // 退款报建 优化
1656
- if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
1657
- let datatk = {
1658
- condition: `t.f_process_id='${this.show_data.f_process_id}'`,
1659
- }
1660
- let http = new HttpResetClass()
1661
- let resttk = await http.load(
1662
- 'POST',
1663
- `rs/sql/checkusertwo`,
1664
- {data: datatk},
1665
- {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1666
- )
1667
- debugger
1668
- resttk.data[0].processname = '退款报建流程'
1669
- resttk.data[0].defname = '退款'
1670
- this.$dispatch('apply',resttk.data[0])
1671
-
1672
- }
1673
-
1674
-
1675
- if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
1676
- let data = {
1677
- tablename: 't_apply',
1678
- condition: `f_process_id='${this.show_data.f_process_id}'`
1679
- }
1680
- let http = new HttpResetClass()
1681
- let restp = await http.load(
1682
- 'POST',
1683
- `rs/sql/singleTable`,
1684
- {data: data},
1685
- {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1686
- )
1687
- debugger
1688
- restp.data[0].processname = '散户报建流程'
1689
- restp.data[0].defname = '合同签订'
1690
- this.$dispatch('apply',restp.data[0])
1691
-
1692
- } else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
1693
- let data2 = {
1694
- condition: `u.id = ${this.show_data.id}`,
1695
- data: {
1696
- id: this.$login.f.id,
1697
- orgid: this.$login.f.orgid
1698
- }
1699
- }
1700
- let http = new HttpResetClass()
1701
- let restp1 = await http.load(
1702
- 'POST',
1703
- `rs/sql/checkuser`,
1704
- {data: data2},
1705
- {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1706
- )
1707
- debugger
1708
- console.log('有没有发请求打印查询的内容restp1',restp1)
1709
- // restp1.data[0].processname = '散户报建流程'
1710
- // restp1.data[0].defname = '报装缴费'
1711
- this.$dispatch('apply',restp1.data[0])
1712
- }else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
1713
- let data3 = {
1714
- condition: `u.id = ${this.show_data.id}`,
1715
- data: {
1716
- id: this.$login.f.id,
1717
- orgid: this.$login.f.orgid
1718
- }
1719
- }
1720
- let http = new HttpResetClass()
1721
- let restp2 = await http.load(
1722
- 'POST',
1723
- `rs/sql/checkuser`,
1724
- {data: data3},
1725
- {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1726
- )
1727
- debugger
1728
- console.log('打印查询的内容',restp2)
1729
- if(restp2.length>0){
1730
- this.$dispatch('apply',restp2.data[0])
1731
- }else{
1732
- debugger
1733
- this.$dispatch('loadPage')
1734
- }
1735
- }
1736
- else{
1737
- this.$dispatch('loadPage')
1738
- }
1630
+ // // 改管报建 增容报建 优化
1631
+ // if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
1632
+ // let datagg = {
1633
+ // condition: `t.f_process_id='${this.show_data.f_process_id}'`,
1634
+ // }
1635
+ // let http = new HttpResetClass()
1636
+ // let restgg = await http.load(
1637
+ // 'POST',
1638
+ // `rs/sql/checkusertwo`,
1639
+ // {data: datagg},
1640
+ // {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1641
+ // )
1642
+ // debugger
1643
+ // if(this.show_data.f_apply_type === '改管报建'){
1644
+ // restgg.data[0].processname = '改管报建流程'
1645
+ // restgg.data[0].defname = '报装缴费'
1646
+ // }else{
1647
+ // restgg.data[0].processname = '增容报建流程'
1648
+ // restgg.data[0].defname = '报装缴费'
1649
+ // }
1650
+ // restgg.data[0].actid = restgg.data[0].actid + 1
1651
+ // this.$dispatch('apply',restgg.data[0])
1652
+ //
1653
+ // }
1654
+ //
1655
+ // // 退款报建 优化
1656
+ // if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
1657
+ // let datatk = {
1658
+ // condition: `t.f_process_id='${this.show_data.f_process_id}'`,
1659
+ // }
1660
+ // let http = new HttpResetClass()
1661
+ // let resttk = await http.load(
1662
+ // 'POST',
1663
+ // `rs/sql/checkusertwo`,
1664
+ // {data: datatk},
1665
+ // {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1666
+ // )
1667
+ // debugger
1668
+ // resttk.data[0].processname = '退款报建流程'
1669
+ // resttk.data[0].defname = '退款'
1670
+ // this.$dispatch('apply',resttk.data[0])
1671
+ //
1672
+ // }
1673
+ //
1674
+ //
1675
+ // if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
1676
+ // let data = {
1677
+ // tablename: 't_apply',
1678
+ // condition: `f_process_id='${this.show_data.f_process_id}'`
1679
+ // }
1680
+ // let http = new HttpResetClass()
1681
+ // let restp = await http.load(
1682
+ // 'POST',
1683
+ // `rs/sql/singleTable`,
1684
+ // {data: data},
1685
+ // {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1686
+ // )
1687
+ // debugger
1688
+ // restp.data[0].processname = '散户报建流程'
1689
+ // restp.data[0].defname = '合同签订'
1690
+ // this.$dispatch('apply',restp.data[0])
1691
+ //
1692
+ // } else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
1693
+ // let data2 = {
1694
+ // condition: `u.id = ${this.show_data.id}`,
1695
+ // data: {
1696
+ // id: this.$login.f.id,
1697
+ // orgid: this.$login.f.orgid
1698
+ // }
1699
+ // }
1700
+ // let http = new HttpResetClass()
1701
+ // let restp1 = await http.load(
1702
+ // 'POST',
1703
+ // `rs/sql/checkuser`,
1704
+ // {data: data2},
1705
+ // {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1706
+ // )
1707
+ // debugger
1708
+ // console.log('有没有发请求打印查询的内容restp1',restp1)
1709
+ // // restp1.data[0].processname = '散户报建流程'
1710
+ // // restp1.data[0].defname = '报装缴费'
1711
+ // this.$dispatch('apply',restp1.data[0])
1712
+ // }else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
1713
+ // let data3 = {
1714
+ // condition: `u.id = ${this.show_data.id}`,
1715
+ // data: {
1716
+ // id: this.$login.f.id,
1717
+ // orgid: this.$login.f.orgid
1718
+ // }
1719
+ // }
1720
+ // let http = new HttpResetClass()
1721
+ // let restp2 = await http.load(
1722
+ // 'POST',
1723
+ // `rs/sql/checkuser`,
1724
+ // {data: data3},
1725
+ // {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1726
+ // )
1727
+ // debugger
1728
+ // console.log('打印查询的内容',restp2)
1729
+ // if(restp2.length>0){
1730
+ // this.$dispatch('apply',restp2.data[0])
1731
+ // }else{
1732
+ // debugger
1733
+ // this.$dispatch('loadPage')
1734
+ // }
1735
+ // }
1736
+ // else{
1737
+ // this.$dispatch('loadPage')
1738
+ // }
1739
1739
 
1740
1740
  },
1741
1741
  // 失去焦点出触发事件
package/src/main.js CHANGED
@@ -6,13 +6,13 @@ import {system} from 'system-clients'
6
6
  import {sale} from 'sale-client'
7
7
  import {material} from 'material-client'
8
8
 
9
- import apply from './apply'
9
+ // import apply from './apply'
10
10
 
11
- // import applyAndroid from './applyAndroid'
11
+ import applyAndroid from './applyAndroid'
12
12
 
13
13
  all()
14
- apply('guangxi')
15
- // applyAndroid()
14
+ // apply('')
15
+ applyAndroid()
16
16
  ldap()
17
17
  sale()
18
18
  material()