apply-clients 3.5.5-7 → 3.5.5-70

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 (92) hide show
  1. package/build/dev-server.js +7 -19
  2. package/package.json +5 -3
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/QXClient.js +333 -0
  6. package/src/components/SignTools.js +65 -0
  7. package/src/components/android/Process/AppChargeList.vue +391 -383
  8. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  9. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  10. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  11. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  12. package/src/components/product/Process/Processes/contractModel.vue +436 -454
  13. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  14. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  15. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +860 -858
  16. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  18. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  19. package/src/filiale/fugou/android/AppExplorationUser.vue +2 -2
  20. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  21. package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
  22. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  23. package/src/filiale/fugou/pc/ApplyChargeList.vue +4 -0
  24. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  25. package/src/filiale/fugou/pc/ServiceControl.vue +19 -10
  26. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  27. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  28. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  29. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  30. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  31. package/src/filiale/fugou/pc.js +3 -1
  32. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  33. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  34. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  35. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  36. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  37. package/src/filiale/gongyi/android.js +18 -18
  38. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  39. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  40. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  41. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  42. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  43. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  44. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  45. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  46. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  47. package/src/filiale/gongyi/pc.js +24 -24
  48. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  49. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  50. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  51. package/src/filiale/jinhuang/android.js +6 -0
  52. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  53. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +497 -0
  54. package/src/filiale/jinhuang/pc/ServiceControl.vue +1932 -1925
  55. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  56. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  57. package/src/filiale/jinhuang/pc.js +3 -0
  58. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  59. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  60. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  61. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  62. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  63. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  64. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +6 -2
  65. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +585 -518
  66. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
  67. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  68. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +217 -43
  69. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  70. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  71. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  72. package/src/filiale/yangchunboneng/android.js +2 -1
  73. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  74. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  75. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +114 -49
  76. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  77. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  78. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2 -2
  79. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  80. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  81. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +617 -605
  82. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  83. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  84. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  85. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  86. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +337 -0
  87. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  88. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  89. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  90. package/src/filiale/yangchunboneng/pc.js +28 -24
  91. package/src/main.js +1 -1
  92. package/~/chatbot/main.py +0 -57
@@ -30,6 +30,7 @@
30
30
  @click="$parent.$parent.$parent.showFileModal()">导入</button>
31
31
  <a type="button" class="btn btn-info head-but"
32
32
  href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
33
+ <button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.$parent.add('民用')">添加地址</button>
33
34
  </th>
34
35
  </tr>
35
36
  </template>
@@ -99,13 +100,39 @@
99
100
  </article>
100
101
  <footer slot="modal-footer" class="modal-footer"></footer>
101
102
  </modal>
103
+
104
+ <!-- 添加民用弹窗 -->
105
+ <modal :show.sync="showUserAddress" large backdrop="false" :width="900">
106
+ <header slot="modal-header" class="modal-header">
107
+ <button type="button" class="close" @click="closeUserAddress"><span>&times;</span></button>
108
+ <h4 class="modal-title">添加民用地址</h4>
109
+ </header>
110
+ <article slot="modal-body" class="modal-body">
111
+ <user-address
112
+ :f_filialeids="selectdata.f_filialeid || this.$login.f.orgid"
113
+ :usertype="false"
114
+ :onedata="'more'"
115
+ :row="{}"
116
+ :operation="'add'"
117
+ :selectdata="selectdata"
118
+ :user="this.$login.f"
119
+ @cancel="closeUserAddress"
120
+ @confirm="closeUserAddress"
121
+ ></user-address>
122
+ </article>
123
+ <footer slot="modal-footer" class="modal-footer" style="display: none"></footer>
124
+ </modal>
102
125
  </template>
103
126
  <script>
104
127
  import {PagedList} from 'vue-client'
105
128
  import {HttpResetClass} from 'vue-client'
129
+ import UserAddress from 'address-client/src/components/UserAddress.vue'
106
130
 
107
131
  export default {
108
132
  title: '地址管理',
133
+ components: {
134
+ UserAddress
135
+ },
109
136
  props: {
110
137
  selectdata: {
111
138
  type: Object
@@ -124,13 +151,23 @@
124
151
  f_process_id: this.selectdata.f_process_id
125
152
  }
126
153
  }),
127
- showWork: false
154
+ showWork: false,
155
+ showUserAddress: false
128
156
  }
129
157
  },
130
158
  ready () {
131
159
  this.search()
132
160
  },
133
161
  methods: {
162
+ //添加方法
163
+ add(val){
164
+ if(val === '民用') {
165
+ this.showUserAddress = true
166
+ }
167
+ this.$refs.paged.$refs.grid.selectStore.selected = null
168
+ this.$dispatch('add',val)
169
+ this.showrightchange = false;
170
+ },
134
171
  showFileModal() {
135
172
  this.showFile = !this.showFile
136
173
  },
@@ -144,6 +181,9 @@
144
181
  // 将选的文件清空
145
182
  this.$refs.file.$el.querySelector('input').value = ''
146
183
  this.search()
184
+ },
185
+ closeUserAddress() {
186
+ this.showUserAddress = false
147
187
  }
148
188
  },
149
189
  events: {
@@ -3,6 +3,9 @@ import Vue from 'vue'
3
3
  let specialComp = {
4
4
  'apply-charge-management-new': (resolve) => { require(['./pc/chargeManagementNew'], resolve) },
5
5
  'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
6
+ 'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
7
+ 'contract-list': (resolve) => { require(['./pc/ContractList.vue'], resolve) },
8
+ 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
6
9
  'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) }
7
10
  }
8
11
  exports.specialComp = specialComp
@@ -343,24 +343,24 @@
343
343
  </button>
344
344
  </footer>
345
345
  </modal>
346
- <!-- <modal :show.sync="showmaterial" backdrop="false" style="overflow: scroll;height: 100%">-->
347
- <!-- <header slot="modal-header" class="modal-header text-center">-->
348
- <!-- <button type="button" class="close" @click="showmaterial = false"><span>&times;</span></button>-->
349
- <!-- <h4 class="modal-title">材料收费列表</h4>-->
350
- <!-- </header>-->
351
- <!-- <article slot="modal-body">-->
352
- <!-- <charges-list v-if="showmaterial" :selectdata = "selectdata"></charges-list>-->
353
- <!-- </article>-->
354
- <!-- <footer slot="modal-footer"></footer>-->
355
- <!-- </modal>-->
356
- <!--</form>-->
346
+ <modal :show.sync="showmaterial" backdrop="false" style="overflow: scroll;height: 100%">
347
+ <header slot="modal-header" class="modal-header text-center">
348
+ <button type="button" class="close" @click="showmaterial = false"><span>&times;</span></button>
349
+ <h4 class="modal-title">材料收费列表</h4>
350
+ </header>
351
+ <article slot="modal-body">
352
+ <charges-list v-if="showmaterial" :selectdata = "selectdata"></charges-list>
353
+ </article>
354
+ <footer slot="modal-footer"></footer>
355
+ </modal>
356
+ </form>
357
357
  </validator>
358
358
  </div>
359
359
  </template>
360
360
  <script>
361
361
  import Vue from 'vue'
362
362
  import {isEmpty} from "../../../components/Util";
363
- // import chargesList from "telephone-clients/src/filiale/qianneng/android/chargesList";
363
+ import chargesList from "telephone-clients/src/filiale/qianneng/android/chargesList";
364
364
  // Date格式化
365
365
  Date.prototype.Format = function (fmt) {
366
366
  var o = {
@@ -413,7 +413,7 @@ export default {
413
413
 
414
414
  },
415
415
  components: {
416
- // 'charges-list': chargesList
416
+ 'charges-list': chargesList
417
417
  },
418
418
  created () {
419
419
  // 初始化数据
@@ -15,7 +15,7 @@
15
15
  <label class="font_normal_body">操&ensp;作&ensp;人:</label>
16
16
  <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
17
17
  v-on:keyup.enter="$parent.$parent.search()"
18
- condition="a.f_operator like '%{}%'">
18
+ condition="toh.f_operator like '%{}%'">
19
19
  </div>
20
20
  <div class="form-group col-sm-3 button-range">
21
21
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
@@ -167,7 +167,7 @@
167
167
  </datepicker>
168
168
  </div>
169
169
  <div class="form-group col-sm-3">
170
- === <label for="ventilateEndDat' and f_back_reason is not null\'''abel>
170
+ <label for="ventilateEndDate" class="font_normal_body">结束时间:</label>
171
171
  <datepicker id="ventilateEndDate" placeholder="通气验收结束日期"
172
172
  style="width: 60%!important;"
173
173
  v-model="model.ventilateEndDate"
@@ -564,14 +564,21 @@
564
564
  // 搜索楼号
565
565
  async 'searchbuilding' (index) {
566
566
  this.setLabelValue('楼号/组', null)
567
+ this.selectdata.f_residential_area = this.getLableValue('小区')
568
+ this.selectdata.f_street = this.getLableValue('街道/乡镇')
569
+ if (isEmpty(this.selectdata.f_residential_area)){
570
+ return
571
+ }
567
572
  let data = {
568
- tablename: 't_building',
569
- condition: `f_filialeid = '${this.$login.f.orgid}' and f_residential_area like '%${this.selectdata.f_residential_area}%'`
573
+ items:'b.f_building',
574
+ orderitem: 'b.id',
575
+ tablename: 't_building b left join t_area a on b.f_residential_area_id = a.id',
576
+ condition: `b.f_filialeid = '${this.$login.f.orgid}' and b.f_residential_area like '%${this.selectdata.f_residential_area}' and a.f_street = '${this.selectdata.f_street}'`
570
577
  }
571
578
  let http = new HttpResetClass()
572
579
  let res = await http.load(
573
580
  'POST',
574
- `rs/sql/apply_singleTable`,
581
+ `rs/sql/tel_singleTable_OrderBy`,
575
582
  {data: data},
576
583
  {resolveMsg: null, rejectMsg: '楼号查询失败!!!'}
577
584
  )
@@ -1123,14 +1123,19 @@
1123
1123
  // 搜索楼号
1124
1124
  async 'searchbuilding' (index) {
1125
1125
  this.setLabelValue('楼号/组', null)
1126
+ if (isEmpty(this.show_data.f_residential_area)){
1127
+ return
1128
+ }
1126
1129
  let data = {
1127
- tablename: 't_building',
1128
- condition: `f_filialeid = '${this.$login.f.orgid}' and f_residential_area like '%${this.show_data.f_residential_area}%'`
1130
+ items:'b.f_building',
1131
+ orderitem: 'b.id',
1132
+ tablename: 't_building b left join t_area a on b.f_residential_area_id = a.id',
1133
+ condition: `b.f_filialeid = '${this.$login.f.orgid}' and b.f_residential_area like '%${this.show_data.f_residential_area}' and a.f_street = '${this.show_data.f_street}'`
1129
1134
  }
1130
1135
  let http = new HttpResetClass()
1131
1136
  let res = await http.load(
1132
1137
  'POST',
1133
- `rs/sql/apply_singleTable`,
1138
+ `rs/sql/tel_singleTable_OrderBy`,
1134
1139
  {data: data},
1135
1140
  {resolveMsg: null, rejectMsg: '楼号查询失败!!!'}
1136
1141
  )
@@ -1820,7 +1820,8 @@ events: {
1820
1820
  // 失去焦点出触发事件
1821
1821
  'onchange' (index) {
1822
1822
  if (this.show_data.defname === '报装申请' || this.show_data.defname === '信息确认') {
1823
- this.show_data.f_user_name = this.show_data.f_user_name.trim()
1823
+ let f_user_name = this.getLableValue('用户名称')
1824
+ this.setLabelValue("用户名称", f_user_name.trim())
1824
1825
  if (
1825
1826
  this.show_data.fields[index].label === '区/县' ||
1826
1827
  this.show_data.fields[index].label === '街道/乡镇' ||
@@ -452,10 +452,14 @@ export default {
452
452
  }
453
453
  if (flag){
454
454
  let show_data = this.selectdata
455
- show_data.user = this.$login.f
455
+ show_data.user = Vue.user
456
456
  show_data.start_activity ='报装申请'
457
457
  show_data.xmlfilename =this.selectdata.f_apply_type
458
- show_data.button = {button_name:'提交'}
458
+ if (((show_data.f_apply_type == '民用散户报建流程' || show_data.f_apply_type == '民用预留户报建流程') && show_data.defname == '工程审批') || this.show_data.defname === '工程决算'){
459
+ show_data.button = {button_name:'跳过'}
460
+ }else {
461
+ show_data.button = {button_name:'提交'}
462
+ }
459
463
  await this.$resetpost(
460
464
  `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,
461
465
  {data: show_data},