apply-clients 3.3.110-228 → 3.3.110-229

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": "apply-clients",
3
- "version": "3.3.110-228",
3
+ "version": "3.3.110-229",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -300,10 +300,16 @@ export default {
300
300
  {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
301
301
  )
302
302
  console.log('打印查询的内容',restp2)
303
+ if(restp2.length>0){
304
+ this.$dispatch('gotoson',restp2.data[0])
305
+ this.$goto('app-service-control', {selectdata: restp2.data[0]}, 'self',restp2.data[0])
306
+ }else{
307
+ debugger
308
+ this.$dispatch('confirm')
309
+ }
303
310
  // restp2.data[0].processname = '散户报建流程'
304
311
  // restp2.data[0].defname = '工程派工'
305
- this.$dispatch('gotoson',restp2.data[0])
306
- this.$goto('app-service-control', {selectdata: restp2.data[0]}, 'self',restp2.data[0])
312
+
307
313
  }
308
314
  else{
309
315
  // console.log('-----')
@@ -1599,7 +1599,7 @@ export default {
1599
1599
  restgg.data[0].processname = '改管报建流程'
1600
1600
  restgg.data[0].defname = '报装缴费'
1601
1601
  }else{
1602
- restgg.data[0].processname = '增容报建'
1602
+ restgg.data[0].processname = '增容报建流程'
1603
1603
  restgg.data[0].defname = '报装缴费'
1604
1604
  }
1605
1605
 
@@ -1682,9 +1682,12 @@ export default {
1682
1682
  )
1683
1683
  debugger
1684
1684
  console.log('打印查询的内容',restp2)
1685
- // restp2.data[0].processname = '散户报建流程'
1686
- // restp2.data[0].defname = '工程派工'
1687
- this.$dispatch('apply',restp2.data[0])
1685
+ if(restp2.length>0){
1686
+ this.$dispatch('apply',restp2.data[0])
1687
+ }else{
1688
+ debugger
1689
+ this.$dispatch('loadPage')
1690
+ }
1688
1691
  }
1689
1692
  else{
1690
1693
  this.$dispatch('loadPage')