safecheck-client 3.0.35-5 → 3.0.35-51
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/bootstrap/less/pager.less +76 -76
- package/src/components/NewDefectList/DefectListNew.vue +617 -617
- package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
- package/src/components/Util/SafecheckUpload.vue +4 -0
- package/src/components/android/CheckPlanDown.vue +1 -1
- package/src/components/android/CivilCurrentCreate.vue +56 -41
- package/src/components/android/NoCivilCurrentCreate.vue +10 -0
- package/src/components/android/PaperFeedback.vue +1 -1
- package/src/components/android/PhoneUpUserinfo.vue +25 -6
- package/src/components/android/PhoneotherInfo.vue +0 -14
- package/src/components/android/PhoneotherInfov3.vue +118 -0
- package/src/components/android/SafecheckDevices.vue +1298 -1298
- package/src/components/android/SafecheckOrderV.vue +2 -529
- package/src/components/pc/AddPlanItemYyChange.vue +743 -0
- package/src/components/pc/NewCheckpaper.vue +1998 -1943
- package/src/components/pc/SecurityCheckLedger.vue +133 -0
- package/src/components/pc/SecurityCheckList.vue +160 -0
- package/src/components/pc/SecurityCheckManage.vue +106 -0
- package/src/components/planmanage/PlanManage.vue +47 -2
- package/src/components/report/CheckPlanAreaList.vue +25 -5
- package/src/components/rongcheng/AddPlanItem.vue +1 -1
- package/src/components/rongcheng/AspiratedAreaPlan.vue +1 -0
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
- package/src/components/rongcheng/CheckSearchUser.vue +1 -1
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
- package/src/filiale/bayan/android/AddPlanItem.vue +450 -430
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -249
- package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +908 -905
- package/src/filiale/bayan/android/SafecheckOrderV.vue +76 -20
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
- package/src/filiale/bayan/pc/PlanManage.vue +962 -962
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
- package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
- package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
- package/src/filiale/dexin/pc.js +1 -0
- package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
- package/src/filiale/huaran/android.js +1 -0
- package/src/filiale/huaran/pc/PaperList.vue +22 -1
- package/src/filiale/huaran/pc/PlanManage.vue +66 -7
- package/src/filiale/huaran/pc/checkUserList.vue +55 -22
- package/src/filiale/huaran/pc.js +1 -0
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
- package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +9 -4
- package/src/filiale/shanxian/android/AddPlanItem.vue +447 -447
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -2979
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
- package/src/filiale/siyang/android/PaperFeedback.vue +1514 -0
- package/src/filiale/siyang/android.js +1 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
- package/src/filiale/siyang/pc/checkUserList.vue +123 -148
- package/src/filiale/tianke/pc/DefectListNew.vue +10 -3
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
- package/src/filiale/weinan/android/PaperFeedback.vue +34 -8
- package/src/filiale/weinan/android/SafecheckOrderV.vue +2 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
- package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
- package/src/filiale/weinan/pc/NewCheckpaper.vue +20 -0
- package/src/filiale/weinan/pc/checkUserList.vue +712 -712
- package/src/filiale/xilan/android/CurrentCreate.vue +1053 -1067
- package/src/filiale/xilan/android.js +0 -1
- package/src/filiale/xilan/pc/PaperList.vue +795 -0
- package/src/filiale/xilan/pc.js +13 -12
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
- package/src/filiale/zhongsheng/android/SafecheckDevices.vue +4 -4
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +33 -1
- package/src/safecheck-android.js +1 -0
- package/src/safecheck.js +12 -0
- package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
@@ -213,10 +213,10 @@
|
|
213
213
|
placeholder='完成情况查询'
|
214
214
|
:value-single="true"
|
215
215
|
class="select select_list" style="width: 60%"
|
216
|
-
v-model='model.
|
217
|
-
:value.sync="model.
|
216
|
+
v-model='model.f_is_repair'
|
217
|
+
:value.sync="model.f_is_repair"
|
218
218
|
:options='$parent.$parent.repaired'
|
219
|
-
condition="
|
219
|
+
condition="f_is_repair = '{}'"
|
220
220
|
close-on-select clear-button> </v-select>
|
221
221
|
</div>
|
222
222
|
<div :class="$parent.$parent.style">
|
@@ -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="">
|
@@ -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"
|
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('安检天然气安全使用须知检查')=='是'">
|
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
1095
|
-
|
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
|
-
|
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>
|