telephone-clients 3.0.103 → 3.0.104-11
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 +54 -56
- 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/guoxin/Console.vue +9 -0
- package/src/components/guoxin/VisitInfo.vue +0 -11
- package/src/components/pc/NewRepairPaper.vue +370 -370
- package/src/components/pc/RepairsWork.vue +23 -2
- 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/VisitInfo.vue +44 -17
- package/src/components/pc/WorkCenter.vue +1 -1
- package/src/components/pc/WorkCenterList.vue +1 -1
- package/src/components/pc/WorkHistory.vue +20 -2
- package/src/components/pc/WorkListAll.vue +1 -1
- package/src/components/pc/WorkListAllNew.vue +10 -3
- package/src/components/pc/WorkListNew.vue +9 -3
- package/src/components/pc/olddata/OldWorkList.vue +193 -0
- 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/telreport/TrafficClassificationReport.vue +134 -0
- package/src/components/temp/ChangemeterInfo.vue +75 -87
- package/src/components/temp/DeviceInfo.vue +80 -82
- package/src/components/temp/HandplanInfo.vue +14 -3
- package/src/components/temp/InfoTable.vue +5 -2
- package/src/components/temp/MetereadInfo.vue +1 -4
- package/src/components/temp/OldRepairList.vue +100 -0
- package/src/components/temp/RepairList.vue +2 -2
- package/src/components/weinan/Console.vue +1 -1
- 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 +826 -826
- package/src/components/workorder/PhoneStandWork.vue +354 -354
- 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/components/workorder/RepairOrderV.vue +1446 -1446
- package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
- package/src/filiale/furuike/pc/Seekwork.vue +352 -352
- package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
- package/src/filiale/hanzhong/telephone.js +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/liaoyuan/android/RepairOrderV.vue +831 -831
- package/src/filiale/qianneng/android/FaultAll.vue +883 -883
- package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
- package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
- package/src/filiale/qianneng/android/TemporarySingle.vue +25 -0
- package/src/filiale/qianneng/android/chargesList.vue +161 -161
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +15 -3
- package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
- package/src/filiale/qianneng/pc/RepairsWork.vue +992 -982
- 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/rizhao/telephone.js +1 -1
- 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/pc/WorkList.vue +1 -1
- package/src/filiale/shanxian/telephone.js +13 -12
- 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 +847 -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/QueryVisitHistory.vue +237 -0
- package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
- package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
- package/src/filiale/shexian/pc/WorkList.vue +782 -740
- package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
- package/src/filiale/shexian/telephone.js +21 -18
- package/src/filiale/shexian/telephoneAndroid.js +32 -26
- package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
- package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
- package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
- package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
- package/src/filiale/tongchuan/telephone.js +52 -52
- package/src/filiale/tongchuan/telephoneAndroid.js +23 -22
- package/src/filiale/wenxi/android/FailureShow.vue +61 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
- package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
- package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
- 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 +348 -297
- package/src/filiale/wenxi/telephone.js +4 -5
- package/src/filiale/wenxi/telephoneAndroid.js +4 -1
- package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
- package/src/filiale/wuhai/telephone.js +1 -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/RepairOrderV.vue +1430 -1430
- package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
- package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
- package/src/filiale/zhongsheng/telephone.js +23 -23
- package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
- package/src/main.js +1 -1
- package/src/telephone.js +17 -1
- package/src/weinan.js +6 -0
|
@@ -4,7 +4,7 @@ import Vue from "vue";
|
|
|
4
4
|
//pc和手机分别注册到两个文件中
|
|
5
5
|
let specialComp = {
|
|
6
6
|
// 工单详情子组件
|
|
7
|
-
'console': (resolve) => { require(['./pc/
|
|
7
|
+
'console': (resolve) => { require(['./pc/Console'], resolve) },
|
|
8
8
|
'distribute-work': (resolve) => { require(['./pc/DistributeWork'], resolve) },
|
|
9
9
|
'seek-work': (resolve) => { require(['./pc/Seekwork'], resolve) },
|
|
10
10
|
'complain-work': (resolve) => { require(['./pc/ComplainWork'], resolve) },
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
<template >
|
|
2
|
+
<div id="pc-finduser-page1" class="aaa4" style="background-color: #f8f8f8">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged :simple="true">
|
|
4
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row" style="margin:10px 10px 0 10px">
|
|
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
|
+
:size="model.f_user_phone ? model.f_user_phone.length : 8" style="height: 95%;width: 90%"></input>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-4" >
|
|
13
|
+
<label class="font_normal_body" style="width:55%">用户编号:</label>
|
|
14
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='用户编号'
|
|
15
|
+
condition="ti.f_userinfo_code like '%{}%'"
|
|
16
|
+
:size="model.f_userinfo_code ? model.f_userinfo_code.length : 8" style="height: 95%;width: 90%"></input>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-4">
|
|
19
|
+
<button type="button" name="button" class="button_spacing button_search" style="float: right" @click="search()">查询</button>
|
|
20
|
+
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;" class="button_spacing button_search" @click="$parent.$parent.clear()">清空</button>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-group col-sm-4">
|
|
23
|
+
<label class="font_normal_body" style="width:55%">表号:</label>
|
|
24
|
+
<input type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
|
|
25
|
+
condition="tu.f_meternumber like '%{}%'"
|
|
26
|
+
:size="model.f_meternumber ? model.f_meternumber.length : 8" style="height: 95%;width: 90%"></input>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-4" >
|
|
29
|
+
<label class="font_normal_body" style="width:55%">用户名称:</label>
|
|
30
|
+
<input type="text" class="input_search" v-model="model.f_user_name" placeholder='姓名'
|
|
31
|
+
condition="ti.f_user_name like '%{}%'"
|
|
32
|
+
:size="model.f_user_name ? model.f_user_name.length * 2 : 4" style="height: 95%;width: 90%"></input>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="form-group col-sm-4" >
|
|
35
|
+
<label class="font_normal_body" style="width:55%">用户地址:</label>
|
|
36
|
+
<input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
|
|
37
|
+
condition="ta.f_address like '%{}%'"
|
|
38
|
+
:size="model.f_address ? model.f_address.length * 2 : 4" style="height: 95%;width: 90%" ></input>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.enter_number_show">
|
|
41
|
+
<label class="font_normal_body" style="width:55%">入户证号:</label>
|
|
42
|
+
<input type="text" class="input_search" v-model="model.f_enter_number" placeholder='入户证号'
|
|
43
|
+
condition="ta.f_enter_number like '%{}%'"
|
|
44
|
+
style="height: 95%;width: 90%"></input>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.residential_area_show">
|
|
47
|
+
<label class="font_normal_body" style="width:55%">小区:</label>
|
|
48
|
+
<input type="text" class="input_search" v-model="model.f_residential_area" placeholder='小区'
|
|
49
|
+
condition="ta.f_residential_area like '%{}%'"
|
|
50
|
+
style="height: 95%;width: 90%"></input>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.building_show">
|
|
53
|
+
<label class="font_normal_body" style="width:55%">楼栋:</label>
|
|
54
|
+
<input type="text" class="input_search" v-model="model.f_building" placeholder='楼栋'
|
|
55
|
+
condition="ta.f_building = '{}'"
|
|
56
|
+
style="height: 95%;width: 90%"></input>
|
|
57
|
+
</div>
|
|
58
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.unit_show">
|
|
59
|
+
<label class="font_normal_body" style="width:55%">单元:</label>
|
|
60
|
+
<input type="text" class="input_search" v-model="model.f_unit" placeholder='单元'
|
|
61
|
+
condition="ta.f_unit = '{}'"
|
|
62
|
+
style="height: 95%;width: 90%"></input>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.floor_show">
|
|
65
|
+
<label class="font_normal_body" style="width:55%">楼层:</label>
|
|
66
|
+
<input type="text" class="input_search" v-model="model.f_floor" placeholder='楼层'
|
|
67
|
+
condition="ta.f_floor = '{}'"
|
|
68
|
+
style="height: 95%;width: 90%"></input>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="form-group col-sm-4" v-if="$parent.$parent.room_show">
|
|
71
|
+
<label class="font_normal_body" style="width:55%">房间号:</label>
|
|
72
|
+
<input type="text" class="input_search" v-model="model.f_room" placeholder='房间号'
|
|
73
|
+
condition="ta.f_room = '{}'"
|
|
74
|
+
style="height: 95%;width: 90%"></input>
|
|
75
|
+
</div>
|
|
76
|
+
<!-- <div class="form-group col-sm-2" >-->
|
|
77
|
+
<!-- <v-select :value.sync="model.f_residential_area" :options='$parent.$parent.areaselected' placeholder='小区' close-on-select width="90%"-->
|
|
78
|
+
<!-- :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>-->
|
|
79
|
+
<!-- </div>-->
|
|
80
|
+
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</criteria>
|
|
84
|
+
<list :model='model' partial='list' style="background-color: #f8f8f8;overflow: auto;">
|
|
85
|
+
<div partial class="panel panel-default well" style="margin: 15px 10px 0 10px;background-color: #ffffff;border-radius: 8px;border: solid 1px #dddddd;">
|
|
86
|
+
<div class="panel-body inbg" :class="{aaa: $parent.$parent.$parent.tempnumber === row.f_userinfo_code}">
|
|
87
|
+
<div class="row">
|
|
88
|
+
<div class="col-sm-4">
|
|
89
|
+
<label style="color: #666666"> 用户编号:</label> {{row.f_userinfo_code}}
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-4">
|
|
92
|
+
<label style="color: #666666">用户姓名:</label> {{row.f_user_name}}
|
|
93
|
+
</div>
|
|
94
|
+
<div class="col-sm-4">
|
|
95
|
+
<label style="color: #666666">用户状态: </label>{{row.f_user_state}}
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
</div>
|
|
99
|
+
<div class="row">
|
|
100
|
+
<div class="col-sm-4">
|
|
101
|
+
<label style="color: #666666">用户电话:</label> {{row.f_user_phone}}
|
|
102
|
+
</div>
|
|
103
|
+
<div class="col-sm-4">
|
|
104
|
+
<label style="color: #666666">用户类别: </label>{{row.f_user_type}}
|
|
105
|
+
</div>
|
|
106
|
+
<div class="col-sm-4">
|
|
107
|
+
<label style="color: #666666">账户结余: </label>{{row.f_balance}}
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="row">
|
|
111
|
+
<div class="col-sm-6" v-if="$parent.$parent.$parent.enter_number_show">
|
|
112
|
+
<label style="color: #666666">入户证号: </label>{{row.f_enter_number}}
|
|
113
|
+
</div>
|
|
114
|
+
<div class="col-sm-6">
|
|
115
|
+
<label style="color: #666666">详细地址: </label>{{row.f_address}}
|
|
116
|
+
</div>
|
|
117
|
+
<div class="col-sm-6">
|
|
118
|
+
<label style="color: #666666">区域信息: </label>{{row.f_slice_area}}
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="row">
|
|
122
|
+
<div class="col-sm-6" v-if="$parent.$parent.$parent.isText">
|
|
123
|
+
<button type="button" name="button" class="btn btn-link"
|
|
124
|
+
@click.stop="$parent.$parent.$parent.bind(row)">绑定</button>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
</list>
|
|
130
|
+
</criteria-paged>
|
|
131
|
+
</div>
|
|
132
|
+
</template>
|
|
133
|
+
|
|
134
|
+
<script>
|
|
135
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
136
|
+
export default {
|
|
137
|
+
title: '查询用户',
|
|
138
|
+
data () {
|
|
139
|
+
return {
|
|
140
|
+
model: new PagedList('rs/sql/tel_getUserInfoAdressNew', 10,{phone:'this.phone'}),
|
|
141
|
+
show: false,
|
|
142
|
+
row: Object,
|
|
143
|
+
tempnumber: '',
|
|
144
|
+
rows:[],
|
|
145
|
+
enter_number_show:true,
|
|
146
|
+
residential_area_show:true,
|
|
147
|
+
building_show:true,
|
|
148
|
+
unit_show:true,
|
|
149
|
+
room_show:true,
|
|
150
|
+
floor_show:true
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
props: {
|
|
154
|
+
isText: {
|
|
155
|
+
type: Boolean,
|
|
156
|
+
default: false
|
|
157
|
+
},
|
|
158
|
+
user: {},
|
|
159
|
+
callObj:{
|
|
160
|
+
type: Object
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
methods: {
|
|
164
|
+
clear(){
|
|
165
|
+
//清空查询条件
|
|
166
|
+
this.$refs.paged.$refs.criteria.model={}
|
|
167
|
+
},
|
|
168
|
+
// 获取该组件配置文件
|
|
169
|
+
getTelFindUserConfig(){
|
|
170
|
+
let http = new HttpResetClass()
|
|
171
|
+
http.load('GET', `/phone/rs/vue`, {}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
172
|
+
if(res.data.telephone){
|
|
173
|
+
if (res.data.telephone.TelFindUser){
|
|
174
|
+
let telconfig = res.data.telephone.TelFindUser.data
|
|
175
|
+
if(telconfig.criteria){
|
|
176
|
+
telconfig.criteria.forEach((item)=>{
|
|
177
|
+
if(item.name =='入户证号'){
|
|
178
|
+
this.enter_number_show = item.ifshow
|
|
179
|
+
}
|
|
180
|
+
if(item.name =='小区'){
|
|
181
|
+
this.residential_area_show = item.ifshow
|
|
182
|
+
}
|
|
183
|
+
if(item.name =='楼栋'){
|
|
184
|
+
this.building_show = item.ifshow
|
|
185
|
+
}
|
|
186
|
+
if(item.name =='单元'){
|
|
187
|
+
this.unit_show = item.ifshow
|
|
188
|
+
}
|
|
189
|
+
if(item.name =='房间号'){
|
|
190
|
+
this.room_show = item.ifshow
|
|
191
|
+
}
|
|
192
|
+
if(item.name =='楼层'){
|
|
193
|
+
this.floor_show = item.ifshow
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
})
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
})
|
|
201
|
+
},
|
|
202
|
+
search (args) {
|
|
203
|
+
this.model.phone = args.model.f_user_phone
|
|
204
|
+
if(args.model.f_user_phone){
|
|
205
|
+
args.condition += ` and (f_user_phone = '${args.model.f_user_phone}' or f_zuhu_phone = '${args.model.f_user_phone}' or f_rent_phone = '${args.model.f_user_phone}' or tp.phonenums > 0)`
|
|
206
|
+
}
|
|
207
|
+
args.condition += ` and ti.f_filialeid = '${this.$login.f.orgid}' and ti.f_user_state in('正常','停用','预备')`
|
|
208
|
+
this.model.search(args.condition, args.model)
|
|
209
|
+
},
|
|
210
|
+
bind (row) {
|
|
211
|
+
//tag
|
|
212
|
+
},
|
|
213
|
+
teleNoQuery (teleNo) {
|
|
214
|
+
this.$refs.paged.$refs.criteria.model.f_user_phone = teleNo
|
|
215
|
+
this.$refs.paged.$refs.criteria.search()
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
ready(){
|
|
219
|
+
this.model.phone = ''
|
|
220
|
+
this.getTelFindUserConfig()
|
|
221
|
+
this.$refs.paged.$refs.criteria.search()
|
|
222
|
+
|
|
223
|
+
},
|
|
224
|
+
watch: {
|
|
225
|
+
'callObj.callNum' () {
|
|
226
|
+
// 查找用户的 业务逻辑
|
|
227
|
+
let http = new HttpResetClass()
|
|
228
|
+
http.load('POST', 'rs/sql/tel_getUserInfoAdressNew', {data: {
|
|
229
|
+
condition: `(f_user_phone = '${this.callObj.callNum}' or f_zuhu_phone = '${this.callObj.callNum}' or f_rent_phone = '${this.callObj.callNum}' or tp.phonenums > 0) and ti.f_user_state = '正常' `,phone:this.callObj.callNum
|
|
230
|
+
}},{resolveMsg: null, rejectMsg: null}).then((req) => {
|
|
231
|
+
this.model.rows = req.data
|
|
232
|
+
this.model.state = '正确'
|
|
233
|
+
})
|
|
234
|
+
},
|
|
235
|
+
'user' (val) {
|
|
236
|
+
// 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) => {
|
|
237
|
+
// this.row = req.data
|
|
238
|
+
// })
|
|
239
|
+
if (val.name === '' && val.userId === '') { // 用户未绑定
|
|
240
|
+
// 清空查询条件
|
|
241
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
242
|
+
this.$refs.paged.$refs.criteria.model[key] = ''
|
|
243
|
+
})
|
|
244
|
+
this.model.rows = []
|
|
245
|
+
this.model.state = '错误'
|
|
246
|
+
this.model.error = '未找到用户或用户未绑定'
|
|
247
|
+
this.$emit('find-error', '未找到用户或用户未绑定')
|
|
248
|
+
return
|
|
249
|
+
}
|
|
250
|
+
this.$refs.paged.$refs.criteria.model.f_user_name = this.user.name
|
|
251
|
+
this.$refs.paged.$refs.criteria.model.f_userinfo_id = this.user.userId
|
|
252
|
+
this.$refs.paged.$refs.criteria.search()
|
|
253
|
+
// this.model.search(`f_user_name = '${this.user.name}' and f_userinfo_id = ${this.user.userId}`, this.model)
|
|
254
|
+
},
|
|
255
|
+
'model.state' (val) {
|
|
256
|
+
if (val === '正确' && this.model.rows.length === 1) {
|
|
257
|
+
this.$emit('find-one', this.model.rows[0])
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
events: {
|
|
262
|
+
//点击用户信息后变色
|
|
263
|
+
'select-changed' :function (val) {
|
|
264
|
+
this.tempnumber = val.val.f_userinfo_code
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
</script>
|
|
269
|
+
<style scoped>
|
|
270
|
+
label {
|
|
271
|
+
width: 80px;
|
|
272
|
+
}
|
|
273
|
+
#pc-finduser-page .form-input-group {
|
|
274
|
+
margin: 5px 0px;
|
|
275
|
+
height: auto;
|
|
276
|
+
}
|
|
277
|
+
.themeOne .span{
|
|
278
|
+
overflow-y: scroll;
|
|
279
|
+
}
|
|
280
|
+
.pager{
|
|
281
|
+
margin: 5px 0px !important;
|
|
282
|
+
background-color: #f8f8f8;
|
|
283
|
+
}
|
|
284
|
+
.inbg{
|
|
285
|
+
font-family: PingFang-SC-Medium;
|
|
286
|
+
font-size: 14px;
|
|
287
|
+
font-weight: normal;
|
|
288
|
+
font-stretch: normal;
|
|
289
|
+
line-height: 18px;
|
|
290
|
+
letter-spacing: 0px;
|
|
291
|
+
color: #333333;
|
|
292
|
+
}
|
|
293
|
+
.aaa{
|
|
294
|
+
background-color: #d8eafb;
|
|
295
|
+
}
|
|
296
|
+
</style>
|
|
297
|
+
<style>
|
|
298
|
+
#pc-finduser-page1 ul{
|
|
299
|
+
margin: 5px 0px !important;
|
|
300
|
+
background-color: #f8f8f8 !important;
|
|
301
|
+
}
|
|
302
|
+
</style>
|