apply-clients 3.3.79 → 3.3.84

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 (31) hide show
  1. package/.project +17 -0
  2. package/build/dev-server-app.js +76 -76
  3. package/build/dev-server.js +156 -127
  4. package/package.json +1 -1
  5. package/src/App.vue +22 -20
  6. package/src/apply.js +5 -0
  7. package/src/applyAndroid.js +39 -34
  8. package/src/components/android/AppOnetomany.vue +50 -8
  9. package/src/components/android/AppServiceView.vue +88 -8
  10. package/src/components/android/AppSign.vue +151 -142
  11. package/src/components/android/AppTakePic.vue +144 -143
  12. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  13. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +135 -0
  14. package/src/components/android/Process/AppExplorationUser.vue +495 -492
  15. package/src/components/android/Process/AppServiceControl.vue +64 -1
  16. package/src/components/android/Supervisory/AppProcessSupervisory.vue +311 -311
  17. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  18. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  19. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  20. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  21. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  22. package/src/components/product/Function/InstallInfoSelect.vue +320 -320
  23. package/src/components/product/Onetomany.vue +49 -7
  24. package/src/components/product/Print/BuildOrder/buildOrderList.vue +8 -4
  25. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +4 -0
  26. package/src/components/product/Process/ExplorationSelect.vue +36 -23
  27. package/src/components/product/Process/Service/ServiceControl.vue +62 -0
  28. package/src/components/product/ServiceView.vue +276 -6
  29. package/src/components/product/Supervisory/SupervisoryList.vue +29 -11
  30. package/src/main.js +27 -27
  31. package/yarn.lock +0 -9013
@@ -448,7 +448,7 @@ export default {
448
448
  //this.$getConfig(this, 'UserAddress')
449
449
  //获取地址配置文件
450
450
  try {
451
- let res = await new HttpResetClass().load('get',`${this.$androidUtil.getProxyUrl()}/rs/vue/UserAddress.json`,{resolveMsg: null, rejectMsg: null})
451
+ let res = await new HttpResetClass().load('get',`${this.$androidUtil.getProxyUrl()}/rs/vue/UserAddress.json`,null,{resolveMsg: null, rejectMsg: null})
452
452
  Object.assign(this.config, res.data)
453
453
  } catch (error) {
454
454
  console.log("未获取到地址信息")
@@ -956,6 +956,69 @@ export default {
956
956
  this.show_data.start_activity = this.json_datas.start_activity
957
957
  this.show_data.xmlfilename = this.json_datas.workflow_xmlfilename
958
958
 
959
+
960
+ if (this.show_data.f_apply_type === '报警器报建' && this.show_data.defname === '工程施工' && this.show_data.f_sub_state !='完工'){
961
+ //判断是否添加报警器材料
962
+ let bjqlag = false
963
+ let datatemp = {
964
+ 'bjqid':"",
965
+ 'fprocessid':"",
966
+ 'sqvalue':"",
967
+ 'f_bjq_sid':"",
968
+ 'f_material_code':""
969
+ }
970
+ let numOne = [];
971
+ this.show_data.onetomany.forEach(item=>{
972
+ item.rows.forEach(i=>{
973
+ if (i.f_material_name.substr(0,3) === '报警器'){
974
+ bjqlag = true
975
+ datatemp.bjqid = i.id
976
+ datatemp.fprocessid = i.f_process_id
977
+ datatemp.f_bjq_sid = i.f_bjq_sid
978
+ datatemp.f_material_code = i.f_material_code
979
+ numOne.push(i.f_bjq_sid)
980
+ }
981
+ })
982
+ })
983
+ if (!bjqlag){
984
+ this.$showMessage('请添加报警器物料信息!!!')
985
+ return
986
+ }
987
+ if (numOne.length > 1){
988
+ this.$showMessage("暂时支持单个报警器物料安装!!!")
989
+ return
990
+ }
991
+ datatemp.sqvalue = this.show_data.areaData.sqvalue
992
+ //区域地址存入材料记录表
993
+ let areares = await this.$resetpost(
994
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/saveArea`,
995
+ // `rs/logic/saveArea`,
996
+ {data: datatemp},
997
+ {resolveMsg: null, rejectMsg: '区域地址保存失败'}
998
+ )
999
+
1000
+ // 完工之后推送数据到汉威
1001
+ let adddata = {
1002
+ f_bjq_sid : datatemp.f_bjq_sid,
1003
+ f_material_code : datatemp.f_material_code,
1004
+ f_bjq_address: this.show_data.areaData.sqvalue,
1005
+ f_user_name: this.show_data.f_user_name,
1006
+ f_address: this.show_data.f_address,
1007
+ f_user_phone: this.show_data.f_phone,
1008
+ f_userinfo_code: this.show_data.f_userinfo_code,
1009
+ installtime: this.show_data.f_construction_date,
1010
+ }
1011
+ let res = await this.$resetpost(
1012
+ `${this.$androidUtil.getProxyUrl()}/ncc/rs/logic/bjqadduser`,
1013
+ // `/rs/logic/bjqadduser`,
1014
+ adddata
1015
+ )
1016
+ if (res.data.code != 200){
1017
+ this.$showMessage(res.data.msg)
1018
+ return
1019
+ }
1020
+
1021
+ }
959
1022
  let res = await this.$resetpost(
960
1023
  // `rs/logic/ApplyProductService`,
961
1024
  `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,