safecheck-client 3.0.35-4 → 3.0.35-41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/package.json +1 -1
  2. package/src/bootstrap/less/pager.less +76 -76
  3. package/src/components/NewDefectList/DefectListNew.vue +617 -617
  4. package/src/components/Util/SafecheckUpload.vue +4 -0
  5. package/src/components/android/CheckPlanDown.vue +1 -1
  6. package/src/components/android/CivilCurrentCreate.vue +56 -41
  7. package/src/components/android/NoCivilCurrentCreate.vue +10 -0
  8. package/src/components/android/PhoneUpUserinfo.vue +25 -6
  9. package/src/components/android/SafecheckDevices.vue +1298 -1298
  10. package/src/components/android/SafecheckOrderV.vue +2 -529
  11. package/src/components/pc/AddPlanItemYyChange.vue +743 -0
  12. package/src/components/pc/NewCheckpaper.vue +1998 -1943
  13. package/src/components/pc/SecurityCheckLedger.vue +133 -0
  14. package/src/components/pc/SecurityCheckList.vue +144 -0
  15. package/src/components/pc/SecurityCheckManage.vue +106 -0
  16. package/src/components/planmanage/PlanManage.vue +47 -2
  17. package/src/components/report/CheckPlanAreaList.vue +25 -5
  18. package/src/components/rongcheng/AddPlanItem.vue +1 -1
  19. package/src/components/rongcheng/AspiratedAreaPlan.vue +1 -0
  20. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
  21. package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
  22. package/src/components/rongcheng/CheckSearchUser.vue +1 -1
  23. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  24. package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
  25. package/src/filiale/bayan/android/AddPlanItem.vue +22 -2
  26. package/src/filiale/bayan/android/CheckPlanDown.vue +2 -2
  27. package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
  28. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +908 -905
  29. package/src/filiale/bayan/android/SafecheckOrderV.vue +76 -20
  30. package/src/filiale/bayan/android/SafecheckUserInfo.vue +4 -0
  31. package/src/filiale/bayan/pc/PlanManage.vue +2 -0
  32. package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
  33. package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
  34. package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
  35. package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
  36. package/src/filiale/dexin/pc.js +1 -0
  37. package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
  38. package/src/filiale/huaran/android.js +1 -0
  39. package/src/filiale/huaran/pc/PaperList.vue +22 -1
  40. package/src/filiale/huaran/pc/PlanManage.vue +53 -6
  41. package/src/filiale/huaran/pc/checkUserList.vue +55 -22
  42. package/src/filiale/huaran/pc.js +1 -0
  43. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  44. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  45. package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
  46. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -447
  47. package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -2979
  48. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  49. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
  50. package/src/filiale/siyang/pc/checkUserList.vue +108 -133
  51. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
  52. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
  53. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  54. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
  55. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  56. package/src/filiale/weinan/pc/checkUserList.vue +712 -712
  57. package/src/filiale/xilan/android/CurrentCreate.vue +1053 -1067
  58. package/src/filiale/xilan/android.js +0 -1
  59. package/src/filiale/xilan/pc/PaperList.vue +795 -0
  60. package/src/filiale/xilan/pc.js +13 -12
  61. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
  62. package/src/safecheck.js +12 -0
  63. package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
@@ -172,6 +172,10 @@ export default {
172
172
  }
173
173
  let temp = getFile.data[i].f_downloadpath
174
174
  let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
175
+ if (temp.startsWith('E:')){
176
+ URL = `rs/image/file/${getFile.data[i].f_filename}`
177
+ }
178
+ console.log(URL)
175
179
  getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
176
180
  }
177
181
  this.fileInfoData = []
@@ -86,7 +86,7 @@ export default {
86
86
  title: '共享计划下载',
87
87
  data () {
88
88
  return {
89
- model: new PagedList( `${this.$androidUtil.getProxyUrl()}/rs/sql/getShareCheckPlan`,5,{f_fengongsi:`'${Vue.user.orgid}'`}),
89
+ model: new PagedList( `${this.$androidUtil.getProxyUrl()}/rs/sql/getShareCheckPlan`,5,{f_fengongsi:`'${Vue.user.orgid}'`,checkerid:`'${Vue.user.id}'`}),
90
90
  checkPlanInfo: [],
91
91
  localcheckPlanInfo:[]
92
92
  }
@@ -104,6 +104,16 @@
104
104
  close-on-select clear-button>
105
105
  </v-select>
106
106
  </div>
107
+ <div class="row app-row">
108
+ <div class="col-xs-4">
109
+ <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
110
+ <label for="f_area_period" class="font text-left">区/期:</label>
111
+ </div>
112
+ <div class="col-xs-8" >
113
+ <input id="f_area_period" class="search_input input-font"
114
+ v-model=model.f_area_period condition="f_area_period like '%{}%'" />
115
+ </div>
116
+ </div>
107
117
  <div class="row app-row">
108
118
  <div class="col-xs-4">
109
119
  <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
@@ -253,26 +263,26 @@
253
263
  <div class="panel" style="padding: 10px 10px 5px 10px;">
254
264
  <div class="panel-body panel-self">
255
265
 
256
- <div class="col-xs-12">
257
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
258
- <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
259
- <p class="panel-title col-xs-2 text-left input-font" style="width: 5%;float:right">
260
- <input type="checkbox" @click="$parent.$parent.$parent.setPlanParam(row.id, $event)"/>
261
- </p>
262
- </div>
266
+ <!-- <div class="col-xs-12">-->
267
+ <!-- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>-->
268
+ <!-- <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>-->
269
+ <!-- <p class="panel-title col-xs-2 text-left input-font" style="width: 5%;float:right">-->
270
+ <!-- <input type="checkbox" @click="$parent.$parent.$parent.setPlanParam(row.id, $event)"/>-->
271
+ <!-- </p>-->
272
+ <!-- </div>-->
263
273
  <div class="col-xs-12">
264
274
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
265
275
  <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
266
276
  </div>
267
- <div class="col-xs-6">
268
- <p class="panel-title col-xs-5 text-left font"><b>用户类型:</b></p>
269
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_type }}
270
- </p>
271
- </div>
272
- <div class="col-xs-6">
273
- <p class="panel-title col-xs-5 text-left font"><b>计划名称:</b></p>
274
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_plan_name }}</p>
275
- </div>
277
+ <!-- <div class="col-xs-6">-->
278
+ <!-- <p class="panel-title col-xs-5 text-left font"><b>用户类型:</b></p>-->
279
+ <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_type }}-->
280
+ <!-- </p>-->
281
+ <!-- </div>-->
282
+ <!-- <div class="col-xs-6">-->
283
+ <!-- <p class="panel-title col-xs-5 text-left font"><b>计划名称:</b></p>-->
284
+ <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_plan_name }}</p>-->
285
+ <!-- </div>-->
276
286
  <!-- <div class="col-xs-6">-->
277
287
  <!-- <p class="panel-title col-xs-5 text-left font"><b>小区名称:</b></p>-->
278
288
  <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_residential_area }}</p>-->
@@ -289,7 +299,12 @@
289
299
  <img src="../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_zuhu_phone)'></img>
290
300
  </p>
291
301
  </div>
292
-
302
+ <div class="col-xs-12">
303
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>临时联系电话:</b></p>
304
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_rent_phone }}
305
+ <img src="../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_rent_phone)'></img>
306
+ </p>
307
+ </div>
293
308
  <div class="col-xs-12">
294
309
  <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
295
310
  <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
@@ -311,30 +326,30 @@
311
326
  <!--<p class="panel-title col-xs-4 text-left font">上次安检状态</p>-->
312
327
  <!--<p class="panel-title col-xs-8 text-left input-font">{{ row.f_last_check_state }}</p>-->
313
328
  <!--</div>-->
314
- <div class="col-xs-6">
315
- <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
316
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_state == '已检'?'临时保存':row.f_state }}</p>
317
- </div>
318
- <div class="col-xs-6">
319
- <p class="panel-title col-xs-5 text-left font"><b>上传状态:</b></p>
320
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_upload_state }}</p>
321
- </div>
322
- <div class="col-xs-12" v-if="row.f_prearranged_date !=null">
323
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>预约时间:</b></p>
324
- <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_prearranged_date }}</p>
325
- </div>
326
- <div class="col-xs-6">
327
- <p class="panel-title col-xs-5 text-left font"><b>安检类型:</b></p>
328
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_safecheck_type }}</p>
329
- </div>
330
- <div class="col-xs-12">
331
- <p class="panel-title col-xs-5 text-left font"><b>预约日期:</b></p>
332
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_prearranged_date }}</p>
333
- </div>
334
- <div class="col-xs-12">
335
- <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
336
- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_remark }}</p>
337
- </div>
329
+ <!-- <div class="col-xs-6">-->
330
+ <!-- <p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>-->
331
+ <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_state == '已检'?'临时保存':row.f_state }}</p>-->
332
+ <!-- </div>-->
333
+ <!-- <div class="col-xs-6">-->
334
+ <!-- <p class="panel-title col-xs-5 text-left font"><b>上传状态:</b></p>-->
335
+ <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_upload_state }}</p>-->
336
+ <!-- </div>-->
337
+ <!-- <div class="col-xs-12" v-if="row.f_prearranged_date !=null">-->
338
+ <!-- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>预约时间:</b></p>-->
339
+ <!-- <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_prearranged_date }}</p>-->
340
+ <!-- </div>-->
341
+ <!-- <div class="col-xs-6">-->
342
+ <!-- <p class="panel-title col-xs-5 text-left font"><b>安检类型:</b></p>-->
343
+ <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_safecheck_type }}</p>-->
344
+ <!-- </div>-->
345
+ <!-- <div class="col-xs-12">-->
346
+ <!-- <p class="panel-title col-xs-5 text-left font"><b>预约日期:</b></p>-->
347
+ <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_prearranged_date }}</p>-->
348
+ <!-- </div>-->
349
+ <!-- <div class="col-xs-12">-->
350
+ <!-- <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>-->
351
+ <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_remark }}</p>-->
352
+ <!-- </div>-->
338
353
  <!--<div class="col-xs-12">-->
339
354
  <!--<p class="panel-title col-xs-5 text-left font"><b>送气期限:</b></p>-->
340
355
  <!--<p class="panel-title col-xs-7 text-left input-font">{{timeSet(row.f_issue_time)}}</p>-->
@@ -104,6 +104,16 @@
104
104
  close-on-select clear-button>
105
105
  </v-select>
106
106
  </div>
107
+ <div class="row app-row">
108
+ <div class="col-xs-4">
109
+ <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
110
+ <label for="f_area_period" class="font text-left">区/期:</label>
111
+ </div>
112
+ <div class="col-xs-8" >
113
+ <input id="f_area_period" class="search_input input-font"
114
+ v-model=model.f_area_period condition="f_area_period like '%{}%'" />
115
+ </div>
116
+ </div>
107
117
  <div class="row app-row">
108
118
  <div class="col-xs-4">
109
119
  <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
@@ -641,7 +641,11 @@
641
641
  userinfoms.userfiles = []
642
642
  this.userinfo_old.meterinfo[0].devicesinfo = this.model
643
643
  userinfoms.userfiles.push(this.userinfo_old.meterinfo[0])
644
- new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/filemanage_fileSave`, {
644
+ let url = 'rs/logic/filemanage_fileSave'
645
+ if(Vue.isv4){
646
+ url ='api/af-revenue/logic/openapi/filemanage_fileSave'
647
+ }
648
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/${url}`, {
645
649
  data: {
646
650
  userinfo: userinfoms,
647
651
  modifyReason: this.f_source ? `${this.f_source}维护档案信息` : '',
@@ -657,7 +661,11 @@
657
661
  data.f_address = this.userinfo.addressinfo.f_address? this.userinfo.addressinfo.f_address : this.userinfo_old.addressinfo.f_address
658
662
  //
659
663
  data.f_operator = Vue.user.name
660
- new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/address_updateuseraddress`, {data: data}).then((res2) => {
664
+ let url1 = 'rs/logic/address_updateuseraddress'
665
+ if(Vue.isv4){
666
+ url1 ='api/af-revenue/logic/openapi/address_updateuseraddress'
667
+ }
668
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/${url1}`, {data: data}).then((res2) => {
661
669
  this.$showMessage("修改用户地址信息成功!")
662
670
  }).catch(error => {
663
671
  this.$showMessage("修改用户地址信息!")
@@ -708,7 +716,11 @@
708
716
  this.userinfo_old.meterinfo[0].devicesinfo = this.model
709
717
  userinfoms.userfiles.push(this.userinfo_old.meterinfo[0])
710
718
  //tag)
711
- new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/filemanage_fileSave`, {
719
+ let url = 'rs/logic/filemanage_fileSave'
720
+ if(Vue.isv4){
721
+ url ='api/af-revenue/logic/openapi/filemanage_fileSave'
722
+ }
723
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/${url}`, {
712
724
  data: {
713
725
  userinfo: userinfoms,
714
726
  modifyReason: this.f_source ? `${this.f_source}维护档案信息` : '',
@@ -1091,8 +1103,11 @@
1091
1103
  pcdlist.data.forEach((result) => {
1092
1104
  this.pcds.push({label: result.f_pcd, value: result})
1093
1105
  })
1094
- ////tag)
1095
- let res = await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/logic/filemanage_getFilesDetail`, {
1106
+ let url = 'rs/logic/filemanage_getFilesDetail'
1107
+ if(Vue.isv4){
1108
+ url ='api/af-revenue/logic/openapi/filemanage_getFilesDetail'
1109
+ }
1110
+ let res = await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/${url}`, {
1096
1111
  //f_userinfo_code:'12381344',
1097
1112
  f_userinfo_id: this.f_userinfo_id
1098
1113
  }, {resolveMsg: null, rejectMsg: null})
@@ -1136,7 +1151,11 @@
1136
1151
  console.log(this.showBox)
1137
1152
  if (this.showBox) {
1138
1153
  // 获取调压箱
1139
- new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/sql/adjustableboxQuery`, {data: {condition: '1 = 1'}}, {
1154
+ let url = 'rs/sql/adjustableboxQuery'
1155
+ if(Vue.isv4){
1156
+ url ='api/af-revenue/sql/adjustableboxQuery'
1157
+ }
1158
+ new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/${url}`, {data: {condition: '1 = 1'}}, {
1140
1159
  resolveMsg: null,
1141
1160
  rejectMsg: null
1142
1161
  }).then((res) => {