apply-clients 3.5.4-7 → 3.5.4-71

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.
Files changed (105) hide show
  1. package/build/dev-server.js +7 -11
  2. package/package.json +2 -2
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +2 -3
  5. package/src/applyAndroid.js +2 -0
  6. package/src/assets//344/270/213/350/275/275.png +0 -0
  7. package/src/components/android/AppCheckTakePic.vue +168 -0
  8. package/src/components/android/Process/AppServiceControl.vue +4 -0
  9. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +493 -493
  10. package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
  11. package/src/components/android/Process/Processes/AppInstallationDetails.vue +480 -480
  12. package/src/components/image/dxf.png +0 -0
  13. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -1
  14. package/src/components/product/Material/MaterialDetailed.vue +1 -1
  15. package/src/components/product/MaterialsManage/MaterialsBase.vue +5 -1
  16. package/src/components/product/MaterialsManage/MaterialsManage.vue +2 -2
  17. package/src/components/product/PcZhihuanManagement.vue +160 -0
  18. package/src/components/product/Process/ExplorationSelect.vue +4 -1
  19. package/src/components/product/Process/ExplorationUser.vue +1 -0
  20. package/src/components/product/Process/Processes/addMaterialScience.vue +471 -471
  21. package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
  22. package/src/components/product/ServiceView.vue +22 -1
  23. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -140
  24. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  25. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
  26. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +823 -0
  27. package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
  28. package/src/filiale/baiyin/android.js +8 -0
  29. package/src/filiale/fugou/android/AppAddMaterialScience.vue +442 -0
  30. package/src/filiale/fugou/android/AppChargeManagement.vue +126 -12
  31. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
  32. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
  33. package/src/filiale/fugou/android/AppServiceControl.vue +21 -4
  34. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
  35. package/src/filiale/fugou/android.js +6 -1
  36. package/src/filiale/fugou/pc/ExplorationSelect.vue +515 -0
  37. package/src/filiale/fugou/pc/InstallationDetails.vue +44 -32
  38. package/src/filiale/fugou/pc/ServiceControl.vue +124 -379
  39. package/src/filiale/fugou/pc/addMaterialScience.vue +482 -0
  40. package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
  41. package/src/filiale/fugou/pc.js +4 -1
  42. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +20 -8
  43. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
  44. package/src/filiale/gongyi/android/AppInstallationDetails.vue +15 -10
  45. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
  46. package/src/filiale/gongyi/android/AppSign.vue +16 -3
  47. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
  48. package/src/filiale/gongyi/android.js +3 -0
  49. package/src/filiale/gongyi/pc/ApplyUpload.vue +31 -39
  50. package/src/filiale/gongyi/pc/PcAddLogs.vue +12 -4
  51. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
  52. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
  53. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +1 -1
  54. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
  55. package/src/filiale/gongyi/pc/addMaterialScience.vue +43 -7
  56. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
  57. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
  58. package/src/filiale/gongyi/pc.js +6 -1
  59. package/src/filiale/hongda/pc/SupervisoryList.vue +13 -0
  60. package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
  61. package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
  62. package/src/filiale/jinhuang/pc.js +7 -0
  63. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
  64. package/src/filiale/qianneng/android/AppExplorationUser.vue +38 -0
  65. package/src/filiale/qianneng/android/AppInstallationDetails.vue +20 -11
  66. package/src/filiale/qianneng/android.js +2 -1
  67. package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
  68. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +11 -6
  69. package/src/filiale/qianneng/pc/Applydetail.vue +0 -5
  70. package/src/filiale/qianneng/pc/InstallFunction.vue +2 -2
  71. package/src/filiale/qianneng/pc/InstallationDetails.vue +32 -4
  72. package/src/filiale/qianneng/pc/ServiceControl.vue +1 -0
  73. package/src/filiale/qianneng/pc/printactivatecard.vue +6 -6
  74. package/src/filiale/ruihua/pc/InstallationDetails.vue +610 -610
  75. package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
  76. package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
  77. package/src/filiale/ruihua/pc.js +12 -12
  78. package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
  79. package/src/filiale/shexian/android/AppTakePic.vue +15 -55
  80. package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
  81. package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
  82. package/src/filiale/siyangRH/pc.js +1 -0
  83. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +16 -1
  84. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +32 -2
  85. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +518 -506
  86. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1083 -1092
  87. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +34 -1
  88. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  89. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -136
  90. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +156 -144
  91. package/src/filiale/yangchunboneng/android.js +20 -20
  92. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -375
  93. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +59 -19
  94. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
  95. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  96. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +206 -2
  97. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
  98. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -535
  99. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
  100. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
  101. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
  102. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
  103. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +111 -13
  104. package/src/filiale/yangchunboneng/pc.js +24 -18
  105. package/src/main.js +1 -1
@@ -486,6 +486,43 @@
486
486
  }
487
487
  })
488
488
  },
489
+ /*获取街道和乡镇*/
490
+ async getStreet() {
491
+ let data = {
492
+ tablename: 't_street',
493
+ condition: `f_filialeid = '${this.$login.f.orgid}' and f_iscity in ('市区','乡镇')`
494
+ }
495
+ let http = new HttpResetClass()
496
+ let res = await http.load(
497
+ 'POST',
498
+ `rs/sql/apply_singleTable`,
499
+ {data: data},
500
+ {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
501
+ )
502
+ return res.data.map(item => {
503
+ return {
504
+ label: item.f_street,
505
+ value: item.f_street
506
+ }
507
+ })
508
+ },
509
+ async streetChangeNew() {
510
+ if (isEmpty(this.show_data.f_street)) {
511
+ return
512
+ }
513
+ //设置区县和地址类型
514
+ let data = {
515
+ tablename: 't_street',
516
+ condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
517
+ }
518
+ let http = new HttpResetClass()
519
+ let res = await http.load(
520
+ 'POST',
521
+ `rs/sql/apply_singleTable`,
522
+ {data: data},
523
+ {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
524
+ )
525
+ },
489
526
  // 获取区县
490
527
  async getPcd () {
491
528
  let data = {
@@ -528,6 +565,22 @@
528
565
  }
529
566
  })
530
567
  },
568
+ //通气前置,添加设备
569
+ async addDeviceBefore () {
570
+ let http = new HttpResetClass()
571
+ var condition1=`f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
572
+ let data = {
573
+ condition: condition1
574
+ }
575
+ let res = await http.load('POST', 'rs/sql/getUserFilesAndDevicesAmount', {data:data}, {
576
+ resolveMsg: null,
577
+ rejectMsg: '获取表具失败!!!'
578
+ })
579
+ if (res.data.amount===0) {
580
+ this.$showMessage('请添加设备!!!', 'warning', 3000)
581
+ throw null
582
+ }
583
+ },
531
584
  // 缴费前置
532
585
  async chargeBefore () {
533
586
  if (Number(this.show_data.f_due_money) > Number(this.show_data.f_cumulative_payment_money) || Number(this.show_data.f_surplus_money) > 0) {
@@ -551,6 +604,23 @@
551
604
  this.$showMessage(`还有${res.data[0].num}户表具未安装,无法提交`, 'warning', 3000)
552
605
  throw `还有${res.data[0].num}户表具未安装,无法提交`
553
606
  }
607
+ let condition1=''
608
+ if(this.selectdata.f_sub_state ==='完工'){
609
+ condition1=`f_userinfo_id = '${this.selectdata.f_userinfo_id}' and f_table_state='正常'`
610
+ }else{
611
+ condition1=`f_userinfo_id = '${this.selectdata.f_userinfo_id}' and f_table_state='待开通'`
612
+ }
613
+ data = {
614
+ condition: condition1
615
+ }
616
+ let res1 = await http.load('POST', 'rs/sql/getUserFilesAndDevicesAmount', {data:data}, {
617
+ resolveMsg: null,
618
+ rejectMsg: '获取设备失败!!!'
619
+ })
620
+ if (res1.data[0].amount < 2) {
621
+ this.$showMessage(`设备必须添加2个,否则无法提交`, 'warning', 3000)
622
+ throw `设备必须添加2个,否则无法提交`
623
+ }
554
624
  }
555
625
  },
556
626
  //收费时添加 预算的 流程节点,如果 当前节点费用未 缴清, 不能进行下一步流程
@@ -778,6 +848,7 @@
778
848
  }
779
849
  }
780
850
  },
851
+
781
852
  async streetChange () {
782
853
  if (isEmpty(this.show_data.f_street)) {
783
854
  return
@@ -1149,6 +1220,7 @@
1149
1220
  },
1150
1221
  // 搜索小区
1151
1222
  async 'searchArea' (area, index) {
1223
+ debugger
1152
1224
  let data = {
1153
1225
  tablename: 't_area',
1154
1226
  condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}' and f_residential_area like '%${area}%'`
@@ -1338,6 +1410,12 @@
1338
1410
  this.setLabelValue('证件类型', row.f_credentials)
1339
1411
  this.setLabelValue('证件号码', row.f_idnumber)
1340
1412
  this.setLabelValue('地址', row.f_address)
1413
+ this.setLabelValue('气价名称', row.f_price_name)
1414
+ this.setLabelValue('气价类型', row.f_price_type)
1415
+ this.setLabelValue('用气性质', row.f_gasproperties)
1416
+ this.setLabelValue('价格', row.f_detailprice)
1417
+ this.setLabelValue(' 抵扣单价', row.f_gas_type)
1418
+ this.setLabelValue('抵扣总额', row.f_project_money)
1341
1419
 
1342
1420
  this.show_data.f_userinfo_id = row.f_userinfo_id
1343
1421
  this.show_data.f_userinfo_code = row.f_userinfo_code
@@ -1471,6 +1549,70 @@
1471
1549
  }
1472
1550
  }))
1473
1551
  },
1552
+ // 街道失去焦点
1553
+ async 'streetChangeNew' (index) {
1554
+ if (isEmpty(this.show_data.f_street)) {
1555
+ return
1556
+ }
1557
+ //设置区县和地址类型
1558
+ let data = {
1559
+ tablename: 't_street',
1560
+ condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
1561
+ }
1562
+ let http = new HttpResetClass()
1563
+ let res = await http.load(
1564
+ 'POST',
1565
+ `rs/sql/apply_singleTable`,
1566
+ {data: data},
1567
+ {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
1568
+ )
1569
+ if(res.data[0].f_iscity==="市区"){
1570
+ this.setLabelValue('地址类型',"民用市区")
1571
+ }else if(res.data[0].f_iscity==="乡镇"){
1572
+ this.setLabelValue('地址类型',"民用乡镇")
1573
+ }else{
1574
+ this.setLabelValue('地址类型', "特殊地址")
1575
+ }
1576
+ this.setLabelValue('区/县',res.data[0].f_pcd)
1577
+ //获取小区
1578
+ let data2 = {
1579
+ tablename: 't_area',
1580
+ condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
1581
+ }
1582
+ let http2 = new HttpResetClass()
1583
+ let res2 = await http2.load(
1584
+ 'POST',
1585
+ `rs/sql/apply_singleTable`,
1586
+ {data: data2},
1587
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
1588
+ )
1589
+
1590
+ this.setLabelOptions('小区', res2.data.map(item => {
1591
+ return {
1592
+ label: item.f_residential_area,
1593
+ value: item.f_residential_area
1594
+ }
1595
+ }))
1596
+ },
1597
+
1598
+ async 'AreaChangeNew' (index) {
1599
+ if (isEmpty(this.show_data.f_residential_area)) {
1600
+ return
1601
+ }
1602
+ //设置区县和地址类型
1603
+ let data = {
1604
+ tablename: 't_area',
1605
+ condition: `f_filialeid = '${this.$login.f.orgid}' and f_residential_area= '${this.show_data.f_residential_area}'`
1606
+ }
1607
+ let http = new HttpResetClass()
1608
+ let res = await http.load(
1609
+ 'POST',
1610
+ `rs/sql/apply_singleTable`,
1611
+ {data: data},
1612
+ {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
1613
+ )
1614
+ this.setLabelValue('片区',res.data[0].f_slice_area)
1615
+ },
1474
1616
  // 区县失去焦点
1475
1617
  async 'pcdChange' (index) {
1476
1618
  if (isEmpty(this.show_data.f_pcd)) {
@@ -1576,6 +1718,67 @@
1576
1718
  }
1577
1719
  }
1578
1720
  },
1721
+ 'addressTypeChangeNew' (index) {
1722
+ let f_address_type = this.show_data.fields[index].value
1723
+ for (const item of this.show_data.fields) {
1724
+ if (f_address_type === '民用市区') {
1725
+ if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '小区' || item.label === '门牌号') {
1726
+ item.hidden = false
1727
+ item.required = true
1728
+ }
1729
+ if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
1730
+ item.hidden = false
1731
+ item.required = false
1732
+ item.value = null
1733
+ }
1734
+ if (item.label === '地址') {
1735
+ item.readonly = true
1736
+ item.value = null
1737
+ }
1738
+ }
1739
+ if (f_address_type === '民用乡镇') {
1740
+ if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '小区' || item.label === '门牌号') {
1741
+ item.hidden = false
1742
+ item.required = true
1743
+ }
1744
+ if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
1745
+ item.hidden = false
1746
+ item.required = false
1747
+ item.value = null
1748
+ }
1749
+ if (item.label === '楼层') {
1750
+ item.hidden = true
1751
+ item.required = false
1752
+ item.value = null
1753
+ }
1754
+ if (item.label === '地址') {
1755
+ item.readonly = true
1756
+ item.value = null
1757
+ }
1758
+ }
1759
+ if (f_address_type === '特殊地址') {
1760
+ if (item.label === '区/县' || item.label === '街道/乡镇') {
1761
+ item.hidden = false
1762
+ item.required = true
1763
+ item.value = null
1764
+ }
1765
+ if (item.label === '小区') {
1766
+ item.hidden = false
1767
+ item.required = false
1768
+ item.value = null
1769
+ }
1770
+ if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
1771
+ item.hidden = true
1772
+ item.required = false
1773
+ item.value = null
1774
+ }
1775
+ if (item.label === '地址') {
1776
+ item.readonly = false
1777
+ item.value = null
1778
+ }
1779
+ }
1780
+ }
1781
+ },
1579
1782
  //报建性质改变合同类型
1580
1783
  'changehetong'(index){
1581
1784
  let nextindex = parseInt(index) + 1
@@ -1693,13 +1896,14 @@
1693
1896
  {data: this.show_data},
1694
1897
  {resolveMsg: null, rejectMsg: '数据保存失败'}
1695
1898
  )
1696
- if(this.show_data.f_apply_type == '验收审批' && this.show_data.defname === '验收审批' && this.show_data.button.button_name === '提交'){
1899
+ if((this.show_data.f_apply_type == '验收审批' && this.show_data.defname === '验收审批' && this.show_data.button.button_name === '提交') ||(this.show_data.f_apply_type === '工程施工' && this.show_data.defname === '工程施工' && this.show_data.button.button_name === '提交' )){
1697
1900
  const http = new HttpResetClass()
1698
1901
  let data = {
1699
1902
  tablename: 't_apply',
1700
- condition: `f_parent_process_id = '${this.show_data.f_parent_process_id}' and f_apply_type = '验收审批' and f_sub_state != '完工'`
1903
+ condition: `f_parent_process_id = '${this.show_data.f_parent_process_id}' and f_apply_type in ('验收审批','工程施工') and f_sub_state != '完工'`
1701
1904
  }
1702
1905
  await http.load('post',`rs/sql/apply_singleTable`,{data: data},{rejectMsg:null,resolveMsg:null}).then( res=>{
1906
+ //判断res.data.length == 0,则子流程已经完工,然后将付流程进行到下一步
1703
1907
  if (res.data.length == 0){
1704
1908
  http.load('post',`rs/sql/checkuser`,{data: {condition:` f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: this.$login.f.id,orgid: this.$login.f.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
1705
1909
  const show_data = row.data[0]
@@ -0,0 +1,142 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <supervisory-list-new v-ref:query :show-data="showData"></supervisory-list-new>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10" style="margin-top: 20px">
12
+ <tabset v-ref:tabs :close="false">
13
+ <tab :header='selectdata.defname'>
14
+ <supervisory-service-control-new :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control-new>
15
+ </tab>
16
+ <tab header='附件'>
17
+ <apply-upload
18
+ :blodid="selectdata.f_process_id"
19
+ :pblobid="selectdata.f_parent_process_id"
20
+ :isupload = "false"
21
+ :isdelete="false"
22
+ :isusetype="true"
23
+ :isremark = "true"
24
+ :takeimg="false"
25
+ :issearch="true"
26
+ :defname="selectdata.defname">
27
+ </apply-upload>
28
+ </tab>
29
+ </tabset>
30
+ </div>
31
+ <div style="height: 1%">
32
+
33
+ </div>
34
+ </div>
35
+ </div>
36
+ </div>
37
+
38
+ </template>
39
+ <script>
40
+ import Vue from 'vue'
41
+ import {HttpResetClass} from 'vue-client'
42
+ export default {
43
+ title: '流程监控',
44
+ data () {
45
+ return {
46
+ showtotal: false, // 控制详细信息显示
47
+ showData: true,
48
+ selectdata: {},
49
+ xmlname: '' // 配置文件名称
50
+ }
51
+ },
52
+ created () {
53
+ },
54
+ methods: {
55
+ // 获取页面配置json文件
56
+ async loadName () {
57
+ let data = {
58
+ workname: this.selectdata.processname
59
+ }
60
+
61
+ let res = await this.$resetpost(
62
+ 'rs/logic/ApplyGetConfigs',
63
+ {data: data},
64
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
65
+ )
66
+
67
+ Vue.prototype.$workflow_vue = res.data
68
+ }
69
+ },
70
+ events: {
71
+ // 刷新控制层
72
+ async 'breakControl' (servicedata) {
73
+
74
+ if (servicedata.id) {
75
+ let data = {
76
+ condition: `u.id = ${servicedata.id}`,
77
+ data: {
78
+ orgid: this.$login.f.orgid
79
+ }
80
+ }
81
+ let res = await this.$resetpost(
82
+ 'rs/sql/supervisory',
83
+ {data: data},
84
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
85
+ )
86
+ this.selectdata = Object.assign({}, this.selectdata, res.data[0])
87
+ } else {
88
+ this.selectdata = servicedata
89
+ }
90
+
91
+ this.showtotal = false
92
+ this.$nextTick(() => {
93
+ this.showtotal = true
94
+ })
95
+
96
+ },
97
+ 'onMessage' (data) {
98
+ console.log('接收消息')
99
+ console.log(data)
100
+ if (data.type === 'apply-task') {
101
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
102
+ }
103
+ },
104
+ async 'apply' (val) {
105
+ this.selectdata = null
106
+ this.selectdata = val
107
+ this.showtotal = false
108
+
109
+ // 获取配置文件
110
+ await this.loadName()
111
+
112
+ this.$refs.query.$refs.cp.pager = false
113
+ this.showData = false
114
+
115
+ this.showtotal = true
116
+ },
117
+ 'search' () {
118
+ // 关闭详细
119
+ this.showtotal = false
120
+ // 显示列表数据
121
+ this.showData = true
122
+ // 显示分页
123
+ this.$refs.query.$refs.cp.pager = true
124
+ // 调用查询
125
+ this.$refs.query.$refs.cp.$refs.cri.search()
126
+ },
127
+ 'loadPage' () {
128
+ // 关闭详细
129
+ this.showtotal = false
130
+ // 显示列表数据
131
+ this.showData = true
132
+ // 显示分页
133
+ this.$refs.query.$refs.cp.pager = true
134
+ // 调用查询
135
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
136
+ }
137
+ },
138
+
139
+ watch: {
140
+ }
141
+ }
142
+ </script>