telephone-clients 3.0.103-9 → 3.0.103-90
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.
- package/package.json +3 -3
- package/src/App.vue +5 -3
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/Util/RightTreeSafe.vue +2 -2
- package/src/components/Util/RightTreeSafeDep.vue +350 -0
- package/src/components/android/AddMyTask.vue +7 -0
- package/src/components/pc/NewRepairPaper.vue +2 -2
- package/src/components/pc/RepairsWork.vue +19 -0
- package/src/components/pc/RoleSelectorDep.vue +158 -0
- package/src/components/pc/TelFindUser.vue +1 -1
- package/src/components/pc/TelListener.vue +47 -16
- package/src/components/pc/WorkCenter.vue +1 -1
- package/src/components/pc/WorkCenterList.vue +1 -1
- package/src/components/pc/WorkHistory.vue +14 -2
- package/src/components/pc/WorkListAllNew.vue +1 -1
- package/src/components/pc/WorkListNew.vue +9 -3
- package/src/components/telreport/RepairsDetailsReport.vue +98 -0
- package/src/components/telreport/TableFaultReport.vue +96 -0
- package/src/components/telreport/Traffic.vue +3 -3
- package/src/components/temp/ChangemeterInfo.vue +4 -16
- package/src/components/temp/DeviceInfo.vue +2 -4
- package/src/components/temp/InfoTable.vue +5 -2
- package/src/components/temp/OldRepairList.vue +100 -0
- package/src/components/temp/RepairList.vue +2 -2
- package/src/components/weinan/RecordList.vue +2 -2
- package/src/components/weinan/SiteSend.vue +2 -2
- package/src/components/weinan/SiteSendWeixiu.vue +7 -16
- package/src/components/weinan/StandWorkWeixiu.vue +1 -1
- package/src/components/weinan/WorkList.vue +73 -0
- package/src/components/weinan/WorkListAll.vue +90 -14
- package/src/components/weinan/WorkListWeixiu.vue +1 -1
- package/src/components/workorder/CompletedRepair.vue +269 -183
- package/src/components/workorder/FaultAll.vue +9 -9
- package/src/components/workorder/PhoneUpDetail.vue +3 -0
- package/src/components/workorder/RepairDetails.vue +12 -2
- package/src/components/workorder/RepairFirstV.vue +1 -1
- package/src/filiale/kelai/android/AppTakePic.vue +143 -0
- package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
- package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
- package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
- package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
- package/src/filiale/kelai/telephone.js +9 -8
- package/src/filiale/kelai/telephoneAndroid.js +3 -1
- package/src/filiale/qianneng/android/FaultAll.vue +1 -1
- package/src/filiale/qianneng/android/TemporarySingle.vue +25 -0
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +10 -0
- package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
- package/src/filiale/qianneng/pc/RepairsWork.vue +12 -2
- package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
- package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
- package/src/filiale/qianneng/pc/changetable.vue +273 -0
- package/src/filiale/qianneng/telephone.js +2 -0
- package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
- package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
- package/src/filiale/rizhao/pc/Traffic.vue +3 -3
- package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
- package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
- package/src/filiale/rongcheng/FaultAll.vue +3 -3
- package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
- package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
- package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
- package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
- package/src/filiale/shanxian/telephone.js +2 -1
- package/src/filiale/shexian/android/AddMyTask.vue +7 -0
- package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
- package/src/filiale/shexian/android/FaultAll.vue +16 -0
- package/src/filiale/shexian/android/Outlay.vue +182 -165
- package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
- package/src/filiale/shexian/android/RepairInfo.vue +1 -0
- package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
- package/src/filiale/shexian/pc/WorkList.vue +25 -1
- package/src/filiale/shexian/pc/WorkListAllNew.vue +21 -15
- package/src/filiale/shexian/telephoneAndroid.js +3 -0
- package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
- package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
- package/src/filiale/wenxi/android/FailureShow.vue +61 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1047 -0
- package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
- package/src/filiale/wenxi/android/RepairOrderV.vue +1 -9
- package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
- package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
- package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
- package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
- package/src/filiale/wenxi/pc/GasWork.vue +747 -0
- package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
- package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
- package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
- package/src/filiale/wenxi/pc/WorkListAll.vue +5 -2
- package/src/filiale/wenxi/telephone.js +4 -6
- package/src/filiale/wenxi/telephoneAndroid.js +4 -1
- package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
- package/src/filiale/yuncheng/telephone.js +12 -0
- package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
- package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
- package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
- package/src/telephone.js +10 -0
- package/src/weinan.js +6 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<template >
|
|
2
|
+
<div id="pc-finduser-page">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged :simple="true">
|
|
4
|
+
<!-- <criteria partial='criteria'>
|
|
5
|
+
</criteria> -->
|
|
6
|
+
<data-grid :model="model" partial='list' v-ref:grid
|
|
7
|
+
class="list_area table_sy">
|
|
8
|
+
<template partial='head'>
|
|
9
|
+
<tr>
|
|
10
|
+
<th><nobr>表号</nobr></th>
|
|
11
|
+
<!--<th><nobr>气表厂家</nobr></th>-->
|
|
12
|
+
<th><nobr>上报日期</nobr></th>
|
|
13
|
+
<th><nobr>本次抄表底数</nobr></th>
|
|
14
|
+
<th><nobr>表内剩余金额</nobr></th>
|
|
15
|
+
<th><nobr>阀门状态</nobr></th>
|
|
16
|
+
</tr>
|
|
17
|
+
</template>
|
|
18
|
+
<template partial='body'>
|
|
19
|
+
<td style="text-align: center">{{row.f_meternumber}}</td>
|
|
20
|
+
<!--<td>{{row.f_manufacturers}}</td>-->
|
|
21
|
+
<td style="text-align: center">{{row.f_hand_date}}</td>
|
|
22
|
+
<td style="text-align: center">{{row.f_tablebase}}</td>
|
|
23
|
+
<td style="text-align: center">{{row.f_jval}}</td>
|
|
24
|
+
<td style="text-align: center">{{row.f_valvestate == '0' ? '开阀' : '关阀'}}</td>
|
|
25
|
+
</template>
|
|
26
|
+
</data-grid>
|
|
27
|
+
</criteria-paged>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
import { PagedList } from 'vue-client'
|
|
33
|
+
import co from 'co'
|
|
34
|
+
let getmodelGen = function * (self, val) {
|
|
35
|
+
yield self.model.search((`f_userinfo_id = '${self.user.f_userinfo_id}'`))
|
|
36
|
+
.then(() => {
|
|
37
|
+
// self.getdata()
|
|
38
|
+
})
|
|
39
|
+
}
|
|
40
|
+
export default {
|
|
41
|
+
title: '上报查询',
|
|
42
|
+
data () {
|
|
43
|
+
return {
|
|
44
|
+
model: new PagedList('rs/sql/tel_singleTable_OrderBy', 8, {items: '"f_valveState,f_jval,f_tablebase,f_meternumber,f_manufacturers,f_hand_date"', tablename: '"t_meteread with (nolock)"', orderitem: '"f_hand_date desc"'}),
|
|
45
|
+
show: false,
|
|
46
|
+
row: Object
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
props: {
|
|
50
|
+
user: {
|
|
51
|
+
type: Object
|
|
52
|
+
},
|
|
53
|
+
clearflg:0
|
|
54
|
+
},
|
|
55
|
+
methods: {
|
|
56
|
+
getmodel () {
|
|
57
|
+
let gen = getmodelGen(this)
|
|
58
|
+
co(gen)
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
watch: {
|
|
62
|
+
'user' (val) {
|
|
63
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
64
|
+
if(this.user){
|
|
65
|
+
if (!(this.user.isNuN)) {
|
|
66
|
+
this.model.rows = []
|
|
67
|
+
this.getmodel()
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
'clearflg'(){
|
|
72
|
+
this.model.rows = []
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
ready () {
|
|
76
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
77
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
78
|
+
this.getmodel()
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
</script>
|
|
@@ -229,6 +229,7 @@ import * as Util from '../../../components/Util'
|
|
|
229
229
|
serviceacitivity: [{
|
|
230
230
|
f_service_acitivity_type: '派单'
|
|
231
231
|
}],
|
|
232
|
+
failure_str:'',
|
|
232
233
|
f_finish_date:'',
|
|
233
234
|
f_source:'用户来电',
|
|
234
235
|
f_service_id: '',
|
|
@@ -442,6 +443,7 @@ import * as Util from '../../../components/Util'
|
|
|
442
443
|
},
|
|
443
444
|
assignObj() {
|
|
444
445
|
if (this.data) {
|
|
446
|
+
this.model.failure_str = ''
|
|
445
447
|
this.model.f_address = this.data.f_address
|
|
446
448
|
this.model.f_user_name = this.data.f_user_name
|
|
447
449
|
this.model.f_user_type = this.data.f_user_type
|
|
@@ -493,6 +495,7 @@ import * as Util from '../../../components/Util'
|
|
|
493
495
|
f_card_id: '',
|
|
494
496
|
f_remarks: '',
|
|
495
497
|
f_user_type: '',
|
|
498
|
+
failure_str:'',
|
|
496
499
|
f_area: '',
|
|
497
500
|
f_street: '',
|
|
498
501
|
f_residential_area: '',
|
|
@@ -545,6 +548,18 @@ import * as Util from '../../../components/Util'
|
|
|
545
548
|
this.model.f_outlets = this.$login.f.deps
|
|
546
549
|
this.model.f_filiale_id = this.$login.f.orgid
|
|
547
550
|
}
|
|
551
|
+
let failureStr = ''
|
|
552
|
+
if(this.model.failure.startsWith("[")){
|
|
553
|
+
const failureData = JSON.parse(this.model.failure)
|
|
554
|
+
failureData.forEach(item=>{
|
|
555
|
+
if (item.failurecase.length>0){
|
|
556
|
+
failureStr+=item.f_failure_type+":"+item.failurecase.toString()+";"
|
|
557
|
+
}else {
|
|
558
|
+
failureStr+=item.f_failure_type+";"
|
|
559
|
+
}
|
|
560
|
+
})
|
|
561
|
+
this.model.failure_str = failureStr
|
|
562
|
+
}
|
|
548
563
|
let data = {
|
|
549
564
|
model: this.model, loginUser: {
|
|
550
565
|
name: this.loginUser.name,
|
|
@@ -4,38 +4,81 @@
|
|
|
4
4
|
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
6
|
<div class="row" style="margin:10px 10px 0 10px">
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
condition="ti.f_user_name like '%{}%'"
|
|
24
|
-
:size="model.f_user_name ? model.f_user_name.length * 2 : 4" style="height: 95%;width: 90%"></input>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="form-group col-sm-4" >
|
|
27
|
-
<label class="font_normal_body" style="width:55%">用户地址:</label>
|
|
28
|
-
<input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
|
|
29
|
-
condition="ta.f_address like '%{}%'"
|
|
30
|
-
:size="model.f_address ? model.f_address.length * 2 : 4" style="height: 95%;width: 90%" ></input>
|
|
31
|
-
</div>
|
|
7
|
+
<div class="form-group col-sm-4" >
|
|
8
|
+
<label class="font_normal_body" style="width:55%">电话号码:</label>
|
|
9
|
+
<input type="text" class="input_search" v-model="model.f_user_phone" placeholder='电话号码'
|
|
10
|
+
condition="ti.f_user_phone like '%{}%'"
|
|
11
|
+
:size="model.f_user_phone ? model.f_user_phone.length : 8" style="height: 95%;width: 90%"></input>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="form-group col-sm-4" >
|
|
14
|
+
<label class="font_normal_body" style="width:55%">用户编号:</label>
|
|
15
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='用户编号'
|
|
16
|
+
condition="ti.f_userinfo_code like '%{}%'"
|
|
17
|
+
:size="model.f_userinfo_code ? model.f_userinfo_code.length : 8" style="height: 95%;width: 90%"></input>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-sm-4">
|
|
20
|
+
<button type="button" name="button" class="button_spacing button_search" style="float: right" @click="search()">查询</button>
|
|
21
|
+
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;" class="button_spacing button_search" @click="$parent.$parent.clear()">清空</button>
|
|
22
|
+
</div>
|
|
32
23
|
<div class="form-group col-sm-4">
|
|
33
|
-
<
|
|
24
|
+
<label class="font_normal_body" style="width:55%">表号:</label>
|
|
25
|
+
<input type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
|
|
26
|
+
condition="tu.f_meternumber like '%{}%'"
|
|
27
|
+
:size="model.f_meternumber ? model.f_meternumber.length : 8" style="height: 95%;width: 90%"></input>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="form-group col-sm-4" >
|
|
30
|
+
<label class="font_normal_body" style="width:55%">用户名称:</label>
|
|
31
|
+
<input type="text" class="input_search" v-model="model.f_user_name" placeholder='姓名'
|
|
32
|
+
condition="ti.f_user_name like '%{}%'"
|
|
33
|
+
:size="model.f_user_name ? model.f_user_name.length * 2 : 4" style="height: 95%;width: 90%"></input>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="form-group col-sm-4" >
|
|
36
|
+
<label class="font_normal_body" style="width:55%">用户地址:</label>
|
|
37
|
+
<input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
|
|
38
|
+
condition="ta.f_address like '%{}%'"
|
|
39
|
+
:size="model.f_address ? model.f_address.length * 2 : 4" style="height: 95%;width: 90%" ></input>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.enter_number_show">
|
|
42
|
+
<label class="font_normal_body" style="width:55%">入户证号:</label>
|
|
43
|
+
<input type="text" class="input_search" v-model="model.f_enter_number" placeholder='入户证号'
|
|
44
|
+
condition="ta.f_enter_number like '%{}%'"
|
|
45
|
+
style="height: 95%;width: 90%"></input>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.residential_area_show">
|
|
48
|
+
<label class="font_normal_body" style="width:55%">小区:</label>
|
|
49
|
+
<input type="text" class="input_search" v-model="model.f_residential_area" placeholder='小区'
|
|
50
|
+
condition="ta.f_residential_area like '%{}%'"
|
|
51
|
+
style="height: 95%;width: 90%"></input>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.building_show">
|
|
54
|
+
<label class="font_normal_body" style="width:55%">楼栋:</label>
|
|
55
|
+
<input type="text" class="input_search" v-model="model.f_building" placeholder='楼栋'
|
|
56
|
+
condition="ta.f_building = '{}'"
|
|
57
|
+
style="height: 95%;width: 90%"></input>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.unit_show">
|
|
60
|
+
<label class="font_normal_body" style="width:55%">单元:</label>
|
|
61
|
+
<input type="text" class="input_search" v-model="model.f_unit" placeholder='单元'
|
|
62
|
+
condition="ta.f_unit = '{}'"
|
|
63
|
+
style="height: 95%;width: 90%"></input>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.floor_show">
|
|
66
|
+
<label class="font_normal_body" style="width:55%">楼层:</label>
|
|
67
|
+
<input type="text" class="input_search" v-model="model.f_floor" placeholder='楼层'
|
|
68
|
+
condition="ta.f_floor = '{}'"
|
|
69
|
+
style="height: 95%;width: 90%"></input>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.room_show">
|
|
72
|
+
<label class="font_normal_body" style="width:55%">房间号:</label>
|
|
73
|
+
<input type="text" class="input_search" v-model="model.f_room" placeholder='房间号'
|
|
74
|
+
condition="ta.f_room = '{}'"
|
|
75
|
+
style="height: 95%;width: 90%"></input>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="form-group col-sm-4" >
|
|
78
|
+
<label class="font_normal_body" style="width:55%">是否预备:</label>
|
|
79
|
+
<v-select :value.sync="model.is_prepare" :options='$parent.$parent.is_prepares' placeholder='是否预备' close-on-select width="60%"
|
|
80
|
+
class="select select_list form-group" v-model='model.is_prepare' :search='true'></v-select>
|
|
34
81
|
</div>
|
|
35
|
-
<!-- <div class="form-group col-sm-2" >-->
|
|
36
|
-
<!-- <v-select :value.sync="model.f_residential_area" :options='$parent.$parent.areaselected' placeholder='小区' close-on-select width="90%"-->
|
|
37
|
-
<!-- :size="model.f_residential_area?model.f_residential_area.length * 2 : 4" class="select select_list form-group" v-model='model.f_residential_area' condition="ta.f_residential_area like '%{}%'" :search='true'></v-select>-->
|
|
38
|
-
<!-- </div>-->
|
|
39
82
|
|
|
40
83
|
</div>
|
|
41
84
|
</div>
|
|
@@ -67,6 +110,9 @@
|
|
|
67
110
|
</div>
|
|
68
111
|
</div>
|
|
69
112
|
<div class="row">
|
|
113
|
+
<div class="col-sm-6" v-if="$parent.$parent.$parent.enter_number_show">
|
|
114
|
+
<label style="color: #666666">入户证号: </label>{{row.f_enter_number}}
|
|
115
|
+
</div>
|
|
70
116
|
<div class="col-sm-6">
|
|
71
117
|
<label style="color: #666666">详细地址: </label>{{row.f_address}}
|
|
72
118
|
</div>
|
|
@@ -88,106 +134,157 @@
|
|
|
88
134
|
</template>
|
|
89
135
|
|
|
90
136
|
<script>
|
|
91
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
92
|
-
export default {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
callObj:{
|
|
110
|
-
type: Object
|
|
137
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
138
|
+
export default {
|
|
139
|
+
title: '查询用户',
|
|
140
|
+
data () {
|
|
141
|
+
return {
|
|
142
|
+
model: new PagedList('rs/sql/tel_getUserInfoAdress', 10),
|
|
143
|
+
show: false,
|
|
144
|
+
is_prepares:[{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
145
|
+
row: Object,
|
|
146
|
+
tempnumber: '',
|
|
147
|
+
rows:[],
|
|
148
|
+
enter_number_show:true,
|
|
149
|
+
residential_area_show:true,
|
|
150
|
+
building_show:true,
|
|
151
|
+
unit_show:true,
|
|
152
|
+
room_show:true,
|
|
153
|
+
floor_show:true
|
|
154
|
+
}
|
|
111
155
|
},
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
156
|
+
props: {
|
|
157
|
+
isText: {
|
|
158
|
+
type: Boolean,
|
|
159
|
+
default: false
|
|
160
|
+
},
|
|
161
|
+
user: {},
|
|
162
|
+
callObj:{
|
|
163
|
+
type: Object
|
|
164
|
+
},
|
|
117
165
|
},
|
|
118
|
-
|
|
119
|
-
|
|
166
|
+
methods: {
|
|
167
|
+
clear(){
|
|
168
|
+
//清空查询条件
|
|
169
|
+
this.$refs.paged.$refs.criteria.model={}
|
|
170
|
+
},
|
|
171
|
+
// 获取该组件配置文件
|
|
172
|
+
getTelFindUserConfig(){
|
|
173
|
+
let http = new HttpResetClass()
|
|
174
|
+
http.load('GET', `/phone/rs/vue`, {}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
175
|
+
if(res.data.telephone){
|
|
176
|
+
if (res.data.telephone.TelFindUser){
|
|
177
|
+
let telconfig = res.data.telephone.TelFindUser.data
|
|
178
|
+
if(telconfig.criteria){
|
|
179
|
+
telconfig.criteria.forEach((item)=>{
|
|
180
|
+
if(item.name =='入户证号'){
|
|
181
|
+
this.enter_number_show = item.ifshow
|
|
182
|
+
}
|
|
183
|
+
if(item.name =='小区'){
|
|
184
|
+
this.residential_area_show = item.ifshow
|
|
185
|
+
}
|
|
186
|
+
if(item.name =='楼栋'){
|
|
187
|
+
this.building_show = item.ifshow
|
|
188
|
+
}
|
|
189
|
+
if(item.name =='单元'){
|
|
190
|
+
this.unit_show = item.ifshow
|
|
191
|
+
}
|
|
192
|
+
if(item.name =='房间号'){
|
|
193
|
+
this.room_show = item.ifshow
|
|
194
|
+
}
|
|
195
|
+
if(item.name =='楼层'){
|
|
196
|
+
this.floor_show = item.ifshow
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
})
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
})
|
|
204
|
+
},
|
|
205
|
+
search (args) {
|
|
206
|
+
if(args.model.is_prepare && args.model.is_prepare.length>0 && args.model.is_prepare[0]=='是'){
|
|
207
|
+
args.condition += ` and ti.f_filialeid = '${this.$login.f.orgid}' and ti.f_user_state = '预备' and tu.f_table_state = '待开通'`
|
|
208
|
+
}else if(args.model.is_prepare && args.model.is_prepare.length>0 && args.model.is_prepare[0]=='否'){
|
|
209
|
+
args.condition += ` and ti.f_filialeid = '${this.$login.f.orgid}' and ti.f_user_state in('正常','停用') and tu.f_table_state = '正常'`
|
|
210
|
+
}else {
|
|
211
|
+
args.condition += ` and ti.f_filialeid = '${this.$login.f.orgid}' and ti.f_user_state in('正常','停用','预备')`
|
|
212
|
+
}
|
|
213
|
+
this.model.search(args.condition, args.model)
|
|
214
|
+
},
|
|
215
|
+
bind (row) {
|
|
216
|
+
//tag
|
|
217
|
+
},
|
|
218
|
+
teleNoQuery (teleNo) {
|
|
219
|
+
this.$refs.paged.$refs.criteria.model.f_user_phone = teleNo
|
|
220
|
+
this.$refs.paged.$refs.criteria.search()
|
|
221
|
+
}
|
|
120
222
|
},
|
|
121
|
-
|
|
122
|
-
this
|
|
223
|
+
ready(){
|
|
224
|
+
this.getTelFindUserConfig()
|
|
123
225
|
this.$refs.paged.$refs.criteria.search()
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
ready(){
|
|
127
|
-
this.$refs.paged.$refs.criteria.search()
|
|
128
|
-
//this.model.search(`ti.f_filialeid = '${this.$login.f.orgid}'`)
|
|
129
226
|
|
|
130
|
-
},
|
|
131
|
-
watch: {
|
|
132
|
-
'callObj.callNum' () {
|
|
133
|
-
// 查找用户的 业务逻辑
|
|
134
|
-
let http = new HttpResetClass()
|
|
135
|
-
http.load('POST', 'rs/sql/tel_getUserInfoAdress', {data: {
|
|
136
|
-
condition: `(f_user_phone = '${this.callObj.callNum}' or f_rent_phone = '${this.callObj.callNum}') and ti.f_user_state = '正常' `,
|
|
137
|
-
}},{resolveMsg: null, rejectMsg: null}).then((req) => {
|
|
138
|
-
this.model.rows = req.data
|
|
139
|
-
this.model.state = '正确'
|
|
140
|
-
})
|
|
141
227
|
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
this
|
|
228
|
+
watch: {
|
|
229
|
+
'callObj.callNum' () {
|
|
230
|
+
// 查找用户的 业务逻辑
|
|
231
|
+
let http = new HttpResetClass()
|
|
232
|
+
http.load('POST', 'rs/sql/tel_getUserInfoAdress', {data: {
|
|
233
|
+
condition: `(f_user_phone = '${this.callObj.callNum}' or f_zuhu_phone = '${this.callObj.callNum}' or f_rent_phone = '${this.callObj.callNum}') and ti.f_user_state = '正常' `,
|
|
234
|
+
}},{resolveMsg: null, rejectMsg: null}).then((req) => {
|
|
235
|
+
this.model.rows = req.data
|
|
236
|
+
this.model.state = '正确'
|
|
150
237
|
})
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
this.
|
|
154
|
-
this
|
|
155
|
-
|
|
238
|
+
},
|
|
239
|
+
'user' (val) {
|
|
240
|
+
// this.$resetpost('rs/sql/singleTable', {data: { tablename: 't_userinfo', condition: "f_user_name='" + this.user.name + "' and f_userinfo_id=" + this.user.userId }}).then((req) => {
|
|
241
|
+
// this.row = req.data
|
|
242
|
+
// })
|
|
243
|
+
if (val.name === '' && val.userId === '') { // 用户未绑定
|
|
244
|
+
// 清空查询条件
|
|
245
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
246
|
+
this.$refs.paged.$refs.criteria.model[key] = ''
|
|
247
|
+
})
|
|
248
|
+
this.model.rows = []
|
|
249
|
+
this.model.state = '错误'
|
|
250
|
+
this.model.error = '未找到用户或用户未绑定'
|
|
251
|
+
this.$emit('find-error', '未找到用户或用户未绑定')
|
|
252
|
+
return
|
|
253
|
+
}
|
|
254
|
+
this.$refs.paged.$refs.criteria.model.f_user_name = this.user.name
|
|
255
|
+
this.$refs.paged.$refs.criteria.model.f_userinfo_id = this.user.userId
|
|
256
|
+
this.$refs.paged.$refs.criteria.search()
|
|
257
|
+
// this.model.search(`f_user_name = '${this.user.name}' and f_userinfo_id = ${this.user.userId}`, this.model)
|
|
258
|
+
},
|
|
259
|
+
'model.state' (val) {
|
|
260
|
+
if (val === '正确' && this.model.rows.length === 1) {
|
|
261
|
+
this.$emit('find-one', this.model.rows[0])
|
|
262
|
+
}
|
|
156
263
|
}
|
|
157
|
-
this.$refs.paged.$refs.criteria.model.f_user_name = this.user.name
|
|
158
|
-
this.$refs.paged.$refs.criteria.model.f_userinfo_id = this.user.userId
|
|
159
|
-
this.$refs.paged.$refs.criteria.search()
|
|
160
|
-
// this.model.search(`f_user_name = '${this.user.name}' and f_userinfo_id = ${this.user.userId}`, this.model)
|
|
161
264
|
},
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
265
|
+
events: {
|
|
266
|
+
//点击用户信息后变色
|
|
267
|
+
'select-changed' :function (val) {
|
|
268
|
+
this.tempnumber = val.val.f_userinfo_code
|
|
165
269
|
}
|
|
166
270
|
}
|
|
167
|
-
},
|
|
168
|
-
events: {
|
|
169
|
-
//点击用户信息后变色
|
|
170
|
-
'select-changed' :function (val) {
|
|
171
|
-
this.tempnumber = val.val.f_userinfo_code
|
|
172
|
-
}
|
|
173
271
|
}
|
|
174
|
-
}
|
|
175
272
|
</script>
|
|
176
273
|
<style scoped>
|
|
177
|
-
label {
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
#pc-finduser-page .form-input-group {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
.themeOne .span{
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
.pager{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
274
|
+
label {
|
|
275
|
+
width: 80px;
|
|
276
|
+
}
|
|
277
|
+
#pc-finduser-page .form-input-group {
|
|
278
|
+
margin: 5px 0px;
|
|
279
|
+
height: auto;
|
|
280
|
+
}
|
|
281
|
+
.themeOne .span{
|
|
282
|
+
overflow-y: scroll;
|
|
283
|
+
}
|
|
284
|
+
.pager{
|
|
285
|
+
margin: 5px 0px !important;
|
|
286
|
+
background-color: #f8f8f8;
|
|
287
|
+
}
|
|
191
288
|
.inbg{
|
|
192
289
|
font-family: PingFang-SC-Medium;
|
|
193
290
|
font-size: 14px;
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
<nobr>{{ row.f_contact_phone }}</nobr>
|
|
270
270
|
</td>
|
|
271
271
|
<td style="text-align: center;">
|
|
272
|
-
<nobr>{{ $parent.$parent.$parent.trouble(row.
|
|
272
|
+
<nobr>{{ $parent.$parent.$parent.trouble(row.failure_str) }}</nobr>
|
|
273
273
|
</td>
|
|
274
274
|
<td style="text-align: center;">
|
|
275
275
|
<nobr>{{ row.f_remarks }}</nobr>
|
|
@@ -414,7 +414,7 @@ export default {
|
|
|
414
414
|
'f_result_status': '工单结果',
|
|
415
415
|
'f_date': '上传时间',
|
|
416
416
|
'f_remarks': '派单备注',
|
|
417
|
-
'
|
|
417
|
+
'failure_str':'故障明细',
|
|
418
418
|
'f_remar': '工单完成备注'
|
|
419
419
|
},
|
|
420
420
|
criteriaShow: false
|
|
@@ -547,6 +547,9 @@ export default {
|
|
|
547
547
|
// 是否可以退回
|
|
548
548
|
|
|
549
549
|
trouble (val) {
|
|
550
|
+
if (!val.startsWith('[')){
|
|
551
|
+
return val
|
|
552
|
+
}
|
|
550
553
|
let failureall=''
|
|
551
554
|
// val=[{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""},{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""},{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""}]
|
|
552
555
|
|
|
@@ -3,13 +3,11 @@ import Vue from "vue";
|
|
|
3
3
|
|
|
4
4
|
//pc和手机分别注册到两个文件中
|
|
5
5
|
let specialComp = {
|
|
6
|
-
// 工单详情子组件
|
|
7
|
-
'voice-server':(resolve) => { require(['./pc/VoiceServer'], resolve) },
|
|
8
|
-
'distribute-work': (resolve) => { require(['./pc/DistributeWork'], resolve) },
|
|
9
|
-
'repairs-work':(resolve) => { require(['./pc/RepairsWork'], resolve) },
|
|
10
|
-
'tel-find-user':(resolve) => { require(['./pc/TelFindUser'], resolve) },
|
|
11
|
-
'failure-edit':(resolve) => { require(['./pc/FailureEdit'], resolve) },
|
|
12
6
|
'work-listall':(resolve) => { require(['./pc/WorkListAll'], resolve) },
|
|
7
|
+
'tel-find-user':(resolve) => { require(['./pc/TelFindUser'], resolve) },
|
|
8
|
+
'gas-work':(resolve) => { require(['./pc/GasWork'], resolve) },
|
|
9
|
+
'distribute-work':(resolve) => { require(['./pc/DistributeWork'], resolve) },
|
|
10
|
+
'tel-meteread-info':(resolve) => { require(['./pc/MetereadInfo'], resolve) },
|
|
13
11
|
}
|
|
14
12
|
exports.specialComp = specialComp
|
|
15
13
|
|
|
@@ -7,7 +7,10 @@ let specialComp = {
|
|
|
7
7
|
//
|
|
8
8
|
'repair-first': (resolve) => { require(['./android/RepairFirstV'], resolve) },
|
|
9
9
|
'repair-orderV': (resolve) => { require(['./android/RepairOrderV'], resolve) },
|
|
10
|
-
|
|
10
|
+
'zhihuan-first': (resolve) => { require(['./android/ZHihuanFirst'], resolve) },
|
|
11
|
+
'PhoneUpUserinfoTel': (resolve) => { require(['./android/PhoneUpUserinfo'], resolve) },
|
|
12
|
+
'repair-info': (resolve) => { require(['./android/RepairInfo'], resolve) },
|
|
13
|
+
'repair-user-info': (resolve) => { require(['./android/RepairUserInfo.vue'], resolve) },
|
|
11
14
|
}
|
|
12
15
|
exports.specialComp = specialComp
|
|
13
16
|
|