safecheck-client 3.0.35-6 → 3.0.35-61

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +31 -31
  3. package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
  4. package/src/components/Util/SafecheckUpload.vue +4 -0
  5. package/src/components/android/AddPlanItemYy.vue +451 -451
  6. package/src/components/android/CheckPlanDown.vue +1 -1
  7. package/src/components/android/CivilCurrentCreate.vue +56 -41
  8. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +7 -9
  9. package/src/components/android/NoCivilCurrentCreate.vue +10 -0
  10. package/src/components/android/PaperFeedback.vue +1 -1
  11. package/src/components/android/PhoneSellInfo.vue +100 -65
  12. package/src/components/android/PhoneUpUserinfo.vue +25 -6
  13. package/src/components/android/PhoneotherInfo.vue +0 -14
  14. package/src/components/android/PhoneotherInfov3.vue +118 -0
  15. package/src/components/android/SafecheckDevices.vue +2 -2
  16. package/src/components/android/SafecheckOrderV.vue +2 -529
  17. package/src/components/android/examples/SafeListExamples.vue +296 -296
  18. package/src/components/pc/AddPlanItemYyChange.vue +743 -0
  19. package/src/components/pc/NewCheckpaper.vue +58 -3
  20. package/src/components/pc/SecurityCheckLedger.vue +143 -0
  21. package/src/components/pc/SecurityCheckList.vue +160 -0
  22. package/src/components/pc/SecurityCheckManage.vue +113 -0
  23. package/src/components/pc/SecurityCheckUser.vue +440 -0
  24. package/src/components/planmanage/PlanManage.vue +47 -1
  25. package/src/components/report/CheckPlanAreaList.vue +25 -5
  26. package/src/components/rongcheng/AddPlanItem.vue +1 -1
  27. package/src/components/rongcheng/AspiratedAreaPlan.vue +575 -574
  28. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
  29. package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
  30. package/src/components/rongcheng/CheckSearchUser.vue +1 -1
  31. package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1236
  32. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  33. package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
  34. package/src/components/userfile/InfoModifyModal.vue +1 -0
  35. package/src/components/userfile/UserInfoAudit.vue +2 -0
  36. package/src/components/userfile/UserinfoModify.vue +6 -0
  37. package/src/filiale/bayan/android/AddPlanItem.vue +450 -430
  38. package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
  39. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1380 -1380
  40. package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -0
  41. package/src/filiale/bayan/android/SafecheckUserInfo.vue +882 -868
  42. package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
  43. package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
  44. package/src/filiale/bayan/pc/usergashistory.vue +149 -0
  45. package/src/filiale/bayan/pc/usergashistorynian.vue +149 -0
  46. package/src/filiale/bayan/pc.js +24 -22
  47. package/src/filiale/dexin/android/SafecheckOrderV.vue +7 -11
  48. package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
  49. package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
  50. package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
  51. package/src/filiale/dexin/pc.js +1 -0
  52. package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
  53. package/src/filiale/huaran/android.js +1 -0
  54. package/src/filiale/huaran/pc/PaperList.vue +22 -1
  55. package/src/filiale/huaran/pc/PlanManage.vue +66 -7
  56. package/src/filiale/huaran/pc/checkUserList.vue +55 -22
  57. package/src/filiale/huaran/pc.js +1 -0
  58. package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +21 -1
  59. package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
  60. package/src/filiale/rizhao/pc/NewCheckpaper.vue +10 -5
  61. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  62. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
  63. package/src/filiale/shanxian/pc/checkUserList.vue +1 -1
  64. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  65. package/src/filiale/siyang/android/PaperFeedback.vue +1514 -0
  66. package/src/filiale/siyang/android.js +1 -0
  67. package/src/filiale/siyang/pc/PlanManage.vue +26 -16
  68. package/src/filiale/siyang/pc/checkUserList.vue +123 -148
  69. package/src/filiale/tianke/pc/DefectListNew.vue +10 -3
  70. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
  71. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
  72. package/src/filiale/weinan/android/PaperFeedback.vue +34 -8
  73. package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
  74. package/src/filiale/weinan/android/SafecheckUserInfo.vue +14 -0
  75. package/src/filiale/weinan/pc/NewCheckpaper.vue +20 -0
  76. package/src/filiale/weinan/pc/PaperList.vue +14 -1
  77. package/src/filiale/xilan/android/CurrentCreate.vue +0 -14
  78. package/src/filiale/xilan/android.js +10 -11
  79. package/src/filiale/xilan/pc/PaperList.vue +795 -0
  80. package/src/filiale/xilan/pc.js +1 -0
  81. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +1 -1
  82. package/src/filiale/zhongsheng/android/SafecheckDevices.vue +4 -4
  83. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +33 -1
  84. package/src/main.js +1 -1
  85. package/src/safecheck-android.js +303 -307
  86. package/src/safecheck.js +15 -0
  87. package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
@@ -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>-->
@@ -165,18 +165,16 @@
165
165
  ready() {
166
166
  new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
167
167
  data: {
168
- items: '*',
169
- tablename: 't_userinfo',
170
- condition: `f_userinfo_id = '${this.model.f_userinfo_id}'`,
168
+ items: 'tu.*',
169
+ tablename: 't_userinfo ui left join t_userfees tu on tu.f_userinfo_id=ui.f_userinfo_id and tu.f_state = \'有效\'',
170
+ condition: `ui.f_userinfo_id = '${this.model.f_userinfo_id}'`,
171
171
  orderitem: '1'
172
172
  }
173
173
  }).then(response => {
174
- this.model = Object.assign({}, this.model, response.data[0])
175
- // if(response.data[0].f_ins_stop_date && new Date(response.data[0].f_ins_stop_date) >= new Date() && response.data[0].f_ins_stop_date != Util.toStandardDateString()){
176
- // this.$showMessage('当前保险未过期,请核验后再处理。')
177
- // this.isCommit = true
178
- // }
179
- this.model.f_last_insexpiration_date = response.data[0].f_ins_stop_date
174
+ if (response.data.length > 0) {
175
+ this.model = Object.assign({}, this.model, response.data[0])
176
+ this.model.f_last_insexpiration_date = response.data[0].f_expiration_date
177
+ }
180
178
  })
181
179
  this.model.f_money = ''
182
180
  this.model.f_fee_type = ''
@@ -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="">
@@ -125,7 +125,7 @@
125
125
  <input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label class="text-left font" >限制该用户购气</label>
126
126
  </div>
127
127
  <div class="col-xs-6 col-sm-6">
128
- <input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消该用户购气</label>
128
+ <input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消限制该用户购气</label>
129
129
  </div>
130
130
  </div>
131
131
  <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__" v-if="Vue.$appdata.getParam('安检天然气安全使用须知检查')=='是'">
@@ -1,6 +1,25 @@
1
1
  <template >
2
2
  <div class="panel panel-default auto repair-info-content">
3
- <div class="panel-body">
3
+ <div class="panel-body" v-show="show">
4
+ <div className="panel panel-default well">
5
+ <div className="bg-info">
6
+ <div className="row form-group">
7
+ <div className="col-xs-12 col-sm-12 col-md-12">
8
+ <div className="row">
9
+ <div className="col-xs-6 col-sm-6 col-md-6">
10
+ 总购气量: {{ f_pregas_count }}
11
+ </div>
12
+ <div className="col-xs-6 col-sm-6 col-md-6">
13
+ 总购气金额: {{ f_preamount_count }}
14
+ </div>
15
+ <div className="col-xs-6 col-sm-6 col-md-6">
16
+ 购气次数: {{ model.length }}
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
4
23
  <div class="panel panel-default well" v-for="row in model">
5
24
  <div class="bg-info">
6
25
  <div class="row form-group">
@@ -13,13 +32,22 @@
13
32
  购气金额: {{row.f_preamount}}
14
33
  </div>
15
34
  <div class="col-xs-6 col-sm-6 col-md-6">
16
- 收费状态: {{row.f_charge_state}}
35
+ 收费状态: {{row.f_state}}
17
36
  </div>
18
37
  <div class="col-xs-6 col-sm-6 col-md-6">
38
+ 收款: {{row.f_collection}}
39
+ </div>
40
+ <div class="col-xs-12 col-sm-12 col-md-12">
19
41
  缴费方式: {{row.f_payment}}
20
42
  </div>
21
43
  <div class="col-xs-12 col-sm-12 col-md-12">
22
- 购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}}
44
+ 营业网点: {{row.f_depname}}
45
+ </div>
46
+ <div class="col-xs-12 col-sm-12 col-md-12">
47
+ 操作员: {{row.f_operator}}
48
+ </div>
49
+ <div class="col-xs-12 col-sm-12 col-md-12">
50
+ 购气时间: {{row.f_operate_date}}
23
51
  </div>
24
52
 
25
53
  </div>
@@ -33,81 +61,88 @@
33
61
  </template>
34
62
 
35
63
  <script>
36
- import { PagedList } from 'vue-client'
37
- import co from 'co'
38
- export default {
39
- title: '查询用户',
40
- data () {
41
- return {
42
- model: [],
43
- show: false,
44
- row: Object
45
- }
46
- },
47
- props: {
48
- user: {
49
- type: Object
50
- },
51
- f_userinfo_id:''
64
+ import { PagedList } from 'vue-client'
65
+ import co from 'co'
66
+ export default {
67
+ title: '查询用户',
68
+ data () {
69
+ return {
70
+ model: [],
71
+ f_pregas_count: 0,
72
+ f_preamount_count: 0,
73
+ show: false,
74
+ row: Object
75
+ }
76
+ },
77
+ props: {
78
+ user: {
79
+ type: Object
52
80
  },
53
- methods: {
54
- getmodel () {
55
- let userinfoid
56
- if(this.f_userinfo_id){
57
- userinfoid = this.f_userinfo_id
58
- }else{
59
- userinfoid = this.user.f_userinfo_id
60
- //tag
61
- }
62
- //tag
63
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_delivery_date desc', condition:`f_userinfo_id = '${userinfoid}'`}}).then((row) => {
64
- this.model = row.data
65
- })
66
- },
67
- back(){
68
-
81
+ f_userinfo_id:''
82
+ },
83
+ methods: {
84
+ getmodel () {
85
+ let userinfoid
86
+ if(this.f_userinfo_id){
87
+ userinfoid = this.f_userinfo_id
88
+ }else{
89
+ userinfoid = this.user.f_userinfo_id
90
+ console.log(this.user.f_userinfo_id)
69
91
  }
92
+ console.log(userinfoid)
93
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_operate_date desc', condition:`f_state = ‘有效’ and f_userinfo_id = '${userinfoid}'`}},{resolveMsg : null,rejectMsg :null}).then((row) => {
94
+ this.model = row.data
95
+ row.data.forEach(item => {
96
+ this.f_pregas_count += item.f_pregas
97
+ this.f_preamount_count += item.f_preamount
98
+ })
99
+ this.show=true
100
+ })
70
101
  },
71
- watch: {
72
- 'user' (val) {
73
- // this.model.search(`card_id = ${this.user.card_id}`)
74
- if(this.user){
75
- if (!(this.user.isNuN)) {
76
- this.model= []
77
- this.getmodel()
78
- }
79
- }
80
- },
81
- 'f_userinfo_id'(){
82
- if(this.f_userinfo_id){
102
+ back(){
103
+
104
+ }
105
+ },
106
+ watch: {
107
+ 'user' (val) {
108
+ // this.model.search(`card_id = ${this.user.card_id}`)
109
+ if(this.user){
110
+ if (!(this.user.isNuN)) {
83
111
  this.model= []
84
112
  this.getmodel()
85
113
  }
86
114
  }
87
115
  },
88
- ready () {
89
- if (this.user && this.user.f_userinfo_id) {
90
- // this.model.search(`card_id = ${this.user.card_id}`)
91
- this.getmodel()
92
- }
116
+ 'f_userinfo_id'(){
93
117
  if(this.f_userinfo_id){
118
+ this.model= []
94
119
  this.getmodel()
95
120
  }
96
121
  }
122
+ },
123
+ ready () {
124
+ if (this.user && this.user.f_userinfo_id) {
125
+ // this.model.search(`card_id = ${this.user.card_id}`)
126
+ this.getmodel()
127
+ }
128
+ if(this.f_userinfo_id){
129
+ this.getmodel()
130
+ }
97
131
  }
132
+ }
98
133
  </script>
99
134
  <style>
100
- .app-botton {
101
- position:fixed;
102
- background: #87b2dd;
103
- color: #FFF;
104
- padding: 8px;
105
- text-align: center;
106
- font-size: 1.2em;
107
- z-index: 10;
108
- opacity:0.5;
109
- bottom: 50px;
110
- margin-top: -10px;
111
- height: 40px;
112
- }
135
+ .app-botton {
136
+ position:fixed;
137
+ background: #87b2dd;
138
+ color: #FFF;
139
+ padding: 8px;
140
+ text-align: center;
141
+ font-size: 1.2em;
142
+ z-index: 10;
143
+ opacity:0.5;
144
+ bottom: 50px;
145
+ margin-top: -10px;
146
+ height: 40px;
147
+ }
113
148
  </style>
@@ -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) => {
@@ -90,14 +90,6 @@
90
90
  }
91
91
  },
92
92
  watch: {
93
- 'user' (val) {
94
- if(this.user){
95
- if (!(this.user.isNuN)) {
96
- this.model= []
97
- this.getmodel()
98
- }
99
- }
100
- },
101
93
  'f_userinfo_id'(){
102
94
  if(this.f_userinfo_id){
103
95
  this.model= []
@@ -106,12 +98,6 @@
106
98
  }
107
99
  },
108
100
  ready () {
109
- if (this.user && this.user.f_userinfo_id) {
110
- this.getmodel()
111
- }
112
- if(this.f_userinfo_id){
113
- this.getmodel()
114
- }
115
101
  }
116
102
  }
117
103
  </script>
@@ -0,0 +1,118 @@
1
+ <template >
2
+ <div class="panel panel-default auto repair-info-content">
3
+ <div class="panel-body">
4
+ <div class="panel panel-default well" v-for="row in model">
5
+ <div class="bg-info">
6
+ <div class="row form-group">
7
+ <div class="col-xs-12 col-sm-12 col-md-12">
8
+ <div class="row">
9
+ <div class="col-xs-6 col-sm-6 col-md-6">
10
+ 收费类型: {{row.f_brand_spec}}
11
+ </div>
12
+ <div class="col-xs-6 col-sm-6 col-md-6">
13
+ 品名规格: {{row.f_typename}}
14
+ </div>
15
+ <div class="col-xs-6 col-sm-6 col-md-6">
16
+ 单价: {{row.f_collection}}
17
+ </div>
18
+ <div class="col-xs-6 col-sm-6 col-md-6">
19
+ 数量: {{row.f_number}}
20
+ </div>
21
+ <div class="col-xs-6 col-sm-6 col-md-6">
22
+ 收款: {{row.f_money}}
23
+ </div>
24
+ <div class="col-xs-6 col-sm-6 col-md-6">
25
+ 付款方式: {{row.f_payment}}
26
+ </div>
27
+ <div class="col-xs-6 col-sm-6 col-md-6">
28
+ 状态: {{row.f_state}}
29
+ </div>
30
+ <div class="col-xs-6 col-sm-6 col-md-6">
31
+ 收费日期: {{row.f_operate_date}}
32
+ </div>
33
+ <div class="col-xs-6 col-sm-6 col-md-6">
34
+ 服务人员: {{row.f_operator}}
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <p v-show="model.length == 0 && noExp ">此用户暂无其他收费记录</p>
42
+ <p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
43
+ </div>
44
+ </div>
45
+ </template>
46
+
47
+ <script>
48
+ import { PagedList } from 'vue-client'
49
+ import co from 'co'
50
+ import Vue from 'vue'
51
+ export default {
52
+ title: '查询其他收费记录',
53
+ data () {
54
+ return {
55
+ model: [],
56
+ show: false,
57
+ row: Object,
58
+ noExp: false,
59
+ expMsg: '查询中......'
60
+ }
61
+ },
62
+ props: {
63
+ user: {
64
+ type: Object
65
+ },
66
+ f_userinfo_id:''
67
+ },
68
+ methods: {
69
+ getmodel () {
70
+ let userinfoid
71
+ if(this.f_userinfo_id){
72
+ userinfoid = this.f_userinfo_id
73
+ }else{
74
+ userinfoid = this.user.f_userinfoid
75
+ console.log(this.user.f_userinfo_id)
76
+ }
77
+ console.log(userinfoid)
78
+ this.noExp = false
79
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/otherChargeQuery`, {data: {
80
+ condition: ` f_orgid in ('${Vue.user.orgid}') and f_userinfo_id = '${userinfoid}' and f_state = '有效'`,
81
+ orderitem: "f_operate_date desc"
82
+ }
83
+ }).then((row) => {
84
+ this.model = row.data
85
+ this.noExp = true
86
+ })
87
+ },
88
+ back(){
89
+
90
+ }
91
+ },
92
+ watch: {
93
+ 'f_userinfo_id'(){
94
+ if(this.f_userinfo_id){
95
+ this.model= []
96
+ this.getmodel()
97
+ }
98
+ }
99
+ },
100
+ ready () {
101
+ }
102
+ }
103
+ </script>
104
+ <style>
105
+ .app-botton {
106
+ position:fixed;
107
+ background: #87b2dd;
108
+ color: #FFF;
109
+ padding: 8px;
110
+ text-align: center;
111
+ font-size: 1.2em;
112
+ z-index: 10;
113
+ opacity:0.5;
114
+ bottom: 50px;
115
+ margin-top: -10px;
116
+ height: 40px;
117
+ }
118
+ </style>
@@ -929,8 +929,8 @@ export default {
929
929
  if(Vue.config.safecheck.ApproveConfig.showtorepair) {
930
930
  }
931
931
  if(Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
932
- if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 3) {
933
- this.hiddenDangerImgNumber = 3
932
+ if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 5) {
933
+ this.hiddenDangerImgNumber = 5
934
934
  }else {
935
935
  this.hiddenDangerImgNumber = parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger)
936
936
  }