telephone-clients 3.0.104-1 → 3.0.104-100
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 -54
- package/src/components/android/ImgArea.vue +80 -0
- package/src/components/guoxin/Console.vue +42 -5
- package/src/components/guoxin/call.state.api.js +3 -1
- package/src/components/pc/ComplainWork.vue +3 -0
- package/src/components/pc/NewRepairPaper.vue +370 -370
- package/src/components/pc/RecordListLeft.vue +80 -10
- package/src/components/pc/RepairsWork.vue +33 -3
- package/src/components/pc/RoleSelector.vue +7 -1
- package/src/components/pc/Seekwork.vue +3 -0
- package/src/components/pc/SiteSend.vue +38 -1
- package/src/components/pc/TelLossList.vue +20 -3
- package/src/components/pc/VisitInfo.vue +44 -7
- package/src/components/pc/WorkHistory.vue +1 -1
- package/src/components/pc/WorkList.vue +4 -3
- package/src/components/pc/WorkListAllNew.vue +16 -8
- package/src/components/pc/WorkListNew.vue +722 -712
- package/src/components/sendsingle/onlinequeryuser.vue +1 -1
- package/src/components/telcount/TelByOrderMan.vue +22 -4
- package/src/components/telreport/RepairsDetailsReport.vue +2 -2
- package/src/components/telreport/TrafficClassificationReport.vue +13 -13
- package/src/components/telreport/Trafficassess.vue +2 -2
- package/src/components/temp/HandplanInfo.vue +16 -1
- package/src/components/temp/InstructInfo.vue +1 -1
- package/src/components/temp/SecuritycheckInfo.vue +14 -0
- package/src/components/workorder/RepairDetails.vue +8 -2
- package/src/components/workorder/RepairInfo.vue +3 -3
- package/src/components/workorder/RepairPaperAndroid.vue +351 -0
- package/src/components/workorder/ServiceOnlineQuery.vue +306 -0
- package/src/components/workorder/TemporarySingle.vue +346 -302
- package/src/filiale/furuike/pc/QueryVisitHistory.vue +14 -1
- package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
- package/src/filiale/hanzhong/telephone.js +1 -1
- package/src/filiale/jiaocheng/android/createQRcode.vue +204 -0
- package/src/filiale/jiaocheng/android/onlineBuyGas.vue +637 -0
- package/src/filiale/jiaocheng/telephone.js +8 -0
- package/src/filiale/jiaocheng/telephoneAndroid.js +15 -0
- package/src/filiale/lixian/onlineChangeMeter.vue +481 -0
- package/src/filiale/lixian/onlineoperation.vue +606 -0
- package/src/filiale/lixian/onlinequeryuser.vue +509 -0
- package/src/filiale/lixian/telephoneAndroid.js +23 -0
- package/src/filiale/qianneng/android/AppInstallationMaterial.vue +880 -845
- package/src/filiale/qianneng/android/TemporarySingle.vue +537 -537
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -260
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
- package/src/filiale/qianneng/pc/RepairsWork.vue +992 -992
- package/src/filiale/qianneng/pc/WorkListAllNew.vue +11 -3
- package/src/filiale/qianneng/pc/changetable.vue +273 -273
- package/src/filiale/qianneng/telephone.js +22 -22
- package/src/filiale/rizhao/pc/IgnitionVentilation.vue +0 -1
- package/src/filiale/rizhao/pc/RepairsWork.vue +0 -1
- package/src/filiale/rizhao/pc/WorkListAllNew.vue +11 -5
- package/src/filiale/rizhao/telephone.js +1 -1
- package/src/filiale/shanxian/android/RepairFirstV.vue +3 -0
- package/src/filiale/shanxian/pc/TelFindUser.vue +310 -0
- package/src/filiale/shanxian/pc/WorkList.vue +2 -2
- package/src/filiale/shanxian/telephone.js +1 -0
- package/src/filiale/shexian/android/AddMyTask.vue +7 -0
- package/src/filiale/shexian/android/RepairFirstV.vue +5 -0
- package/src/filiale/shexian/android/RepairInfo.vue +1 -0
- package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +9 -9
- package/src/filiale/shexian/pc/TelByRepairType.vue +3 -3
- package/src/filiale/shexian/pc/WorkList.vue +4 -1
- package/src/filiale/shexian/pc/WorkListAllNew.vue +14 -1
- package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
- package/src/filiale/tongchuan/pc/AnalysisMain.vue +7 -7
- package/src/filiale/tongchuan/pc/RepairsWork.vue +8 -0
- package/src/filiale/tongchuan/pc/UserWork.vue +8 -0
- package/src/filiale/tongchuan/telephoneAndroid.js +1 -0
- package/src/filiale/wenxi/android/FaultAll.vue +710 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +73 -162
- package/src/filiale/wenxi/android/RepairOrderV.vue +1 -1
- package/src/filiale/wenxi/android/ZHihuanFirst.vue +149 -129
- package/src/filiale/wenxi/pc/DistributeWork.vue +1 -1
- package/src/filiale/wenxi/pc/RecordListLeft.vue +272 -0
- package/src/filiale/wenxi/pc/RepairsWork.vue +143 -64
- package/src/filiale/wenxi/pc/TelAgentVoiceReport.vue +290 -0
- package/src/filiale/wenxi/pc/TelLossList.vue +272 -0
- package/src/filiale/wenxi/pc/WorkListAll.vue +698 -0
- package/src/filiale/wenxi/telephone.js +5 -0
- package/src/filiale/wenxi/telephoneAndroid.js +2 -1
- package/src/filiale/wuhai/telephone.js +1 -1
- package/src/filiale/yuncheng/android/LdapHelper.js +75 -0
- package/src/filiale/yuncheng/android/Outlay.vue +201 -0
- package/src/filiale/yuncheng/android/RepairInfo.vue +163 -0
- package/src/filiale/yuncheng/android/RepairOrderV.vue +1483 -0
- package/src/filiale/yuncheng/android/RepairUserInfo.vue +390 -0
- package/src/filiale/yuncheng/android/RightTree.vue +218 -0
- package/src/filiale/yuncheng/android/TemporarySingle.vue +522 -0
- package/src/filiale/yuncheng/android/ZHihuanFirst.vue +541 -0
- package/src/filiale/yuncheng/pc/DistributeWork.vue +199 -0
- package/src/filiale/yuncheng/pc/GasWork.vue +773 -0
- package/src/filiale/yuncheng/pc/TelFindUser.vue +31 -11
- package/src/filiale/yuncheng/pc/WorkList.vue +823 -0
- package/src/filiale/yuncheng/pc/WorkListAllNew.vue +781 -0
- package/src/filiale/yuncheng/telephone.js +5 -1
- package/src/filiale/yuncheng/telephoneAndroid.js +19 -0
- package/src/filiale/zhongyi/pc/WorkListAllNew.vue +2 -1
- package/src/main.js +1 -1
- package/src/telephone-android.js +7 -0
- package/src/telephone.js +1 -1
|
@@ -1,72 +1,88 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="repair-bg auto" id="zhihuan-first" style="padding-bottom:5px;overflow:auto">
|
|
3
3
|
<div class="bq-parent">
|
|
4
|
-
<blockquote
|
|
4
|
+
<blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
5
5
|
<p>
|
|
6
|
-
待办工单<span v-if="rows">({{rows.length}}单)</span>
|
|
6
|
+
待办工单<span v-if="rows">({{ rows.length }}单)</span>
|
|
7
7
|
<span v-if="!rows">(暂无待处理工单)</span>
|
|
8
|
-
<img @click="getNewOrder" src="../../../assets/shuaxindaiban1.png"
|
|
8
|
+
<img @click="getNewOrder" src="../../../assets/shuaxindaiban1.png"
|
|
9
|
+
style="width: 40px;padding: 5px; float:right" alt="">
|
|
9
10
|
</p>
|
|
10
11
|
</blockquote>
|
|
11
12
|
</div>
|
|
12
13
|
<div class="panel panel-default repair-info-content auto">
|
|
13
14
|
<div class="panel-body">
|
|
14
15
|
<div class="row">
|
|
15
|
-
<input
|
|
16
|
+
<input type="text" v-model="username" placeholder='用户姓名' style="width: 30%;float: left" />
|
|
16
17
|
<div class="col-sm-7" style="float: left;margin-left: 3%;margin-bottom: 3%">
|
|
17
|
-
<button type="button" name="button" class="btn btn-primary" @click='ifsearch("")'
|
|
18
|
-
<!-- <button type="button" name="button" class="btn btn-primary" @click='ifsearch(" and f_orderstatus!=null ")' >查询临时保存</button>-->
|
|
18
|
+
<button type="button" name="button" class="btn btn-primary" @click='ifsearch("")'>查询</button>
|
|
19
|
+
<!-- <button type="button" name="button" class="btn btn-primary" @click='ifsearch(" and f_orderstatus!=null ")' >查询临时保存</button>-->
|
|
19
20
|
</div>
|
|
20
21
|
</div>
|
|
21
22
|
<div class="row">
|
|
22
23
|
<div class="col-sm-12" style="margin-bottom: 3%">
|
|
23
|
-
<input style="width:
|
|
24
|
+
<input style="width: 30%" type="text" v-model="userinfo_code" placeholder='用户编号' />
|
|
24
25
|
</div>
|
|
25
26
|
</div>
|
|
26
|
-
<div class="
|
|
27
|
+
<div class="row">
|
|
28
|
+
<div class="col-sm-12" style="margin-bottom: 3%">
|
|
29
|
+
<input style="width: 100%" type="text" v-model="address" placeholder='用户地址' />
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="panel panel-default well" :class="row.failure.indexOf('漏气') !== -1 ? 'class-a' : ''"
|
|
33
|
+
v-for="row in listData.list">
|
|
27
34
|
<div class="panel-body bg-info" style="padding: 10px">
|
|
28
35
|
<div class="row form-group">
|
|
29
36
|
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
30
|
-
<div class="row"
|
|
31
|
-
<span v-if="row.state==='延期申请'" style="color: darkred">该工单已提交延期处理请勿操作</span>
|
|
32
|
-
<div :class="{'text-danger': row.f_remindersign}" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
33
|
-
工单编号: {{row.f_service_id}}<span v-if="row.f_remindersign">(催单 {{row.f_reminderdata}}) </span>
|
|
37
|
+
<div class="row">
|
|
38
|
+
<span v-if="row.state === '延期申请'" style="color: darkred">该工单已提交延期处理请勿操作</span>
|
|
39
|
+
<div :class="{ 'text-danger': row.f_remindersign }" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
40
|
+
工单编号: {{ row.f_service_id }}<span v-if="row.f_remindersign">(催单 {{ row.f_reminderdata }}) </span>
|
|
34
41
|
</div>
|
|
35
42
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
36
|
-
派发时间: {{row.f_created_date}}
|
|
43
|
+
派发时间: {{ row.f_created_date }}
|
|
37
44
|
</div>
|
|
38
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu"
|
|
39
|
-
|
|
45
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu"
|
|
46
|
+
v-if="worktype == '置换通气单' && row.f_yuyue_date != '1900-01-01 00:00:00'">
|
|
47
|
+
预约时间: {{ row.f_yuyue_date }}
|
|
40
48
|
</div>
|
|
41
49
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="worktype == '报修单'">
|
|
42
|
-
报修类型: {{row.f_repairtype}}
|
|
50
|
+
报修类型: {{ row.f_repairtype }}
|
|
43
51
|
</div>
|
|
44
52
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
45
|
-
用户姓名: {{row.f_user_name}}
|
|
53
|
+
用户姓名: {{ row.f_user_name }}
|
|
46
54
|
</div>
|
|
47
|
-
<div
|
|
48
|
-
来电电话: {{row.f_phone}}
|
|
49
|
-
<img src="../../../assets/telphonesend.png" style="width: 12px;"
|
|
55
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
56
|
+
来电电话: {{ row.f_phone }}
|
|
57
|
+
<img src="../../../assets/telphonesend.png" style="width: 12px;"
|
|
58
|
+
@click.stop.prevent='makeAPhoneCall(row.f_phone)'>
|
|
50
59
|
</div>
|
|
51
60
|
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
52
|
-
联系电话: {{row.f_contact_phone}}
|
|
53
|
-
<img src="../../../assets/telphonesend.png" style="width: 12px;"
|
|
61
|
+
联系电话: {{ row.f_contact_phone }}
|
|
62
|
+
<img src="../../../assets/telphonesend.png" style="width: 12px;"
|
|
63
|
+
@click.stop.prevent='makeAPhoneCall(row.f_contact_phone)'>
|
|
54
64
|
</div>
|
|
55
65
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
56
|
-
用户地址: {{row.f_address}}
|
|
66
|
+
用户地址: {{ row.f_address }}
|
|
57
67
|
</div>
|
|
58
|
-
<div class="col-sm-12 col-xs-12 col-md-12" v-if="worktype == '报修单'||worktype == '置换通气单'">
|
|
59
|
-
指导建议: {{row.f_advice}}
|
|
68
|
+
<div class="col-sm-12 col-xs-12 col-md-12" v-if="worktype == '报修单' || worktype == '置换通气单'">
|
|
69
|
+
指导建议: {{ row.f_advice }}
|
|
60
70
|
</div>
|
|
61
71
|
<div v-show="row.f_remarks" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
62
|
-
备注信息: {{row.f_remarks}}
|
|
72
|
+
备注信息: {{ row.f_remarks }}
|
|
73
|
+
</div>
|
|
74
|
+
<div v-show="row.f_single_man" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
75
|
+
派单人: {{ row.f_single_man }}
|
|
63
76
|
</div>
|
|
64
77
|
</div>
|
|
65
78
|
</div>
|
|
66
79
|
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
67
|
-
<button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right"
|
|
68
|
-
|
|
69
|
-
<button type="button" name="button" class="btn btn-primary"
|
|
80
|
+
<button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right"
|
|
81
|
+
@click="selected(row)">处理</button>
|
|
82
|
+
<button type="button" name="button" class="btn btn-primary"
|
|
83
|
+
style="background-color:#499edf;float: right;margin-right:10px;" @click="moveservice(row)">转单</button>
|
|
84
|
+
<button type="button" name="button" class="btn btn-primary"
|
|
85
|
+
style="background-color:#499edf;float: right;margin-right:10px;" @click="showshutdown(row)">结案</button>
|
|
70
86
|
</div>
|
|
71
87
|
</div>
|
|
72
88
|
</div>
|
|
@@ -86,15 +102,14 @@
|
|
|
86
102
|
<div class="row" style="margin-top: 6px">
|
|
87
103
|
<label class="col-xs-4 col-md-4 control-label font text-left">接单人</label>
|
|
88
104
|
<div class="col-xs-8">
|
|
89
|
-
<v-select :value="orderman" :value-single="true"
|
|
90
|
-
:
|
|
91
|
-
close-on-select v-on:change="repiarmancg"></v-select>
|
|
105
|
+
<v-select :value="orderman" :value-single="true" :options='repairers' placeholder='请选择接单人' close-on-select
|
|
106
|
+
v-on:change="repiarmancg"></v-select>
|
|
92
107
|
</div>
|
|
93
108
|
</div>
|
|
94
109
|
<div class="row" style="margin-top: 6px">
|
|
95
110
|
<label class="control-label font text-left col-md-4 col-xs-4">备注</label>
|
|
96
111
|
<div class="col-xs-8 col-md-8">
|
|
97
|
-
<input type="text" v-model="moveselected.f_remarks"/>
|
|
112
|
+
<input type="text" v-model="moveselected.f_remarks" />
|
|
98
113
|
</div>
|
|
99
114
|
</div>
|
|
100
115
|
</div>
|
|
@@ -113,7 +128,7 @@
|
|
|
113
128
|
<div class="row" style="margin-top: 6px">
|
|
114
129
|
<label class="control-label font text-left col-md-4 col-xs-4">备注</label>
|
|
115
130
|
<div class="col-xs-8 col-md-8">
|
|
116
|
-
<input type="text" v-model="shutrow.f_remarks"/>
|
|
131
|
+
<input type="text" v-model="shutrow.f_remarks" />
|
|
117
132
|
</div>
|
|
118
133
|
</div>
|
|
119
134
|
</div>
|
|
@@ -127,7 +142,7 @@
|
|
|
127
142
|
</template>
|
|
128
143
|
<script>
|
|
129
144
|
import FailureShow from '../../../components/pc/FailureShow'
|
|
130
|
-
import {HttpResetClass} from 'vue-client'
|
|
145
|
+
import { HttpResetClass } from 'vue-client'
|
|
131
146
|
import Vue from 'vue'
|
|
132
147
|
import * as Util from "../../../components/Util";
|
|
133
148
|
// 工作类型对应的各项设置
|
|
@@ -139,35 +154,36 @@
|
|
|
139
154
|
path: 'getSubstitMobile'
|
|
140
155
|
}
|
|
141
156
|
}
|
|
142
|
-
export default{
|
|
157
|
+
export default {
|
|
143
158
|
title: '维修员平板首页',
|
|
144
|
-
data
|
|
159
|
+
data() {
|
|
145
160
|
return {
|
|
161
|
+
userinfo_code: '',
|
|
146
162
|
// rows: Object
|
|
147
163
|
rows: [{
|
|
148
|
-
f_user_name:'',
|
|
149
|
-
f_contact_phone:'',
|
|
150
|
-
failure:''
|
|
164
|
+
f_user_name: '',
|
|
165
|
+
f_contact_phone: '',
|
|
166
|
+
failure: ''
|
|
151
167
|
}],
|
|
152
|
-
editshow:false,
|
|
153
|
-
row:{
|
|
154
|
-
type:Object,
|
|
155
|
-
default:{
|
|
156
|
-
f_user_name:'',
|
|
157
|
-
f_contact_phone:'',
|
|
158
|
-
failure:''
|
|
168
|
+
editshow: false,
|
|
169
|
+
row: {
|
|
170
|
+
type: Object,
|
|
171
|
+
default: {
|
|
172
|
+
f_user_name: '',
|
|
173
|
+
f_contact_phone: '',
|
|
174
|
+
failure: ''
|
|
159
175
|
}
|
|
160
176
|
},
|
|
161
|
-
username:'',
|
|
162
|
-
address:'',
|
|
163
|
-
moveshow:false,
|
|
164
|
-
moveselected:'',
|
|
165
|
-
orderman:'',
|
|
166
|
-
number:0,
|
|
167
|
-
savebutten:true, // 工单保存按钮
|
|
168
|
-
wwcbutten:true, // 未完成按钮
|
|
169
|
-
wwxbutten:true, // 未维修按钮
|
|
170
|
-
jabutten:true, //结案按钮
|
|
177
|
+
username: '',
|
|
178
|
+
address: '',
|
|
179
|
+
moveshow: false,
|
|
180
|
+
moveselected: '',
|
|
181
|
+
orderman: '',
|
|
182
|
+
number: 0,
|
|
183
|
+
savebutten: true, // 工单保存按钮
|
|
184
|
+
wwcbutten: true, // 未完成按钮
|
|
185
|
+
wwxbutten: true, // 未维修按钮
|
|
186
|
+
jabutten: true, //结案按钮
|
|
171
187
|
imgurl: 'http://192.168.2.77:8081',
|
|
172
188
|
fileName: '',
|
|
173
189
|
datajson: '',
|
|
@@ -175,8 +191,8 @@
|
|
|
175
191
|
showNorepair: false,
|
|
176
192
|
showCannotrepair: false,
|
|
177
193
|
showhead: true,
|
|
178
|
-
repairers
|
|
179
|
-
config:{},
|
|
194
|
+
repairers: [],
|
|
195
|
+
config: {},
|
|
180
196
|
shutshow: false,
|
|
181
197
|
shutrow: {},
|
|
182
198
|
listData: {
|
|
@@ -187,16 +203,16 @@
|
|
|
187
203
|
}
|
|
188
204
|
},
|
|
189
205
|
props: {
|
|
190
|
-
worktype:{
|
|
191
|
-
type:String,
|
|
192
|
-
default:'置换通气单'
|
|
206
|
+
worktype: {
|
|
207
|
+
type: String,
|
|
208
|
+
default: '置换通气单'
|
|
193
209
|
},
|
|
194
|
-
sourcet:{
|
|
195
|
-
type:String,
|
|
196
|
-
default:'横屏'
|
|
210
|
+
sourcet: {
|
|
211
|
+
type: String,
|
|
212
|
+
default: '横屏'
|
|
197
213
|
},
|
|
198
|
-
tabname:{
|
|
199
|
-
type:String
|
|
214
|
+
tabname: {
|
|
215
|
+
type: String
|
|
200
216
|
},
|
|
201
217
|
msg: {
|
|
202
218
|
type: Object
|
|
@@ -214,17 +230,17 @@
|
|
|
214
230
|
system: ''
|
|
215
231
|
},
|
|
216
232
|
methods: {
|
|
217
|
-
repiarmancg(val){
|
|
233
|
+
repiarmancg(val) {
|
|
218
234
|
this.orderman = val
|
|
219
235
|
},
|
|
220
|
-
movedo(){
|
|
221
|
-
if(this.orderman == undefined || this.orderman == ''
|
|
236
|
+
movedo() {
|
|
237
|
+
if (this.orderman == undefined || this.orderman == '') {
|
|
222
238
|
this.$showMessage(`请先选择接单人!`, ['confirm'])
|
|
223
239
|
return
|
|
224
240
|
}
|
|
225
241
|
//tag
|
|
226
242
|
//tag)
|
|
227
|
-
let result = this.$androidUtil.bzLogic('androidMoveService', {id_back: this.moveselected.id_back, f_reciever: this.orderman,worktype:this.worktype, f_remarks: this.moveselected.f_remarks})
|
|
243
|
+
let result = this.$androidUtil.bzLogic('androidMoveService', { id_back: this.moveselected.id_back, f_reciever: this.orderman, worktype: this.worktype, f_remarks: this.moveselected.f_remarks })
|
|
228
244
|
if (result.result === '成功') {
|
|
229
245
|
this.$showMessage(`向 ${this.orderman} 转单成功!`, ['confirm'])
|
|
230
246
|
this.orderman = ''
|
|
@@ -236,25 +252,25 @@
|
|
|
236
252
|
}
|
|
237
253
|
|
|
238
254
|
},
|
|
239
|
-
undo(){
|
|
255
|
+
undo() {
|
|
240
256
|
this.orderman = ''
|
|
241
257
|
this.moveselected = ''
|
|
242
258
|
this.moveshow = false
|
|
243
259
|
this.shutshow = false
|
|
244
260
|
},
|
|
245
|
-
getEmp
|
|
261
|
+
getEmp() {
|
|
246
262
|
// 获取接单人数组
|
|
247
263
|
let val = ''
|
|
248
|
-
var worktypew = this.worktype == '报修单' ? '维修员':'置换员'
|
|
264
|
+
var worktypew = this.worktype == '报修单' ? '维修员' : '置换员'
|
|
249
265
|
let http = new HttpResetClass()
|
|
250
|
-
val = {source: 'tool.getChildrenOfResName($置换员$)', userid: `${Vue.user.id}`}
|
|
251
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
266
|
+
val = { source: 'tool.getChildrenOfResName($置换员$)', userid: `${Vue.user.id}` }
|
|
267
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, { data: val }, { resolveMsg: null, rejectMsg: null }).then((res) => {
|
|
252
268
|
res.data.forEach((item) => {
|
|
253
|
-
this.repairers.push({label: `${item.name}`, value: item.name})
|
|
269
|
+
this.repairers.push({ label: `${item.name}`, value: item.name })
|
|
254
270
|
})
|
|
255
271
|
})
|
|
256
272
|
},
|
|
257
|
-
ifsearch(condition){
|
|
273
|
+
ifsearch(condition) {
|
|
258
274
|
this.listData.list = []
|
|
259
275
|
this.listData.index = 0
|
|
260
276
|
this.listData.isEnd = true
|
|
@@ -262,19 +278,22 @@
|
|
|
262
278
|
condition = ''
|
|
263
279
|
}
|
|
264
280
|
condition = '1 = 1 ' + condition
|
|
265
|
-
if(this.username != ''){
|
|
281
|
+
if (this.username != '') {
|
|
266
282
|
condition += " and f_user_name like '%" + this.username + "%'"
|
|
267
283
|
}
|
|
268
|
-
if(this.address != ''){
|
|
284
|
+
if (this.address != '') {
|
|
269
285
|
condition += " and f_address like '%" + this.address + "%'"
|
|
270
286
|
}
|
|
287
|
+
if (this.userinfo_code) {
|
|
288
|
+
condition += " and f_userinfo_code like '%" + this.userinfo_code + "%'"
|
|
289
|
+
}
|
|
271
290
|
// 测试环境异步,真实环境同步
|
|
272
291
|
if (this.$androidUtil.isTest) {
|
|
273
|
-
return this.$androidUtil.path({'alias'
|
|
292
|
+
return this.$androidUtil.path({ 'alias': `${config[this.worktype].path}`, 'data': { condition: condition } }).then((ret) => {
|
|
274
293
|
this.rows = ret.data
|
|
275
294
|
})
|
|
276
295
|
} else {
|
|
277
|
-
let result = this.$androidUtil.path({'alias'
|
|
296
|
+
let result = this.$androidUtil.path({ 'alias': `${config[this.worktype].path}`, 'data': { condition: condition } })
|
|
278
297
|
if (result.code === 200) {
|
|
279
298
|
this.rows = result.data
|
|
280
299
|
} else {
|
|
@@ -283,35 +302,35 @@
|
|
|
283
302
|
}
|
|
284
303
|
this.showMore()
|
|
285
304
|
},
|
|
286
|
-
selected
|
|
305
|
+
selected(row) {
|
|
287
306
|
var prpdata = {
|
|
288
|
-
_this:this,
|
|
289
|
-
title:'入户置换',
|
|
290
|
-
safe:true
|
|
307
|
+
_this: this,
|
|
308
|
+
title: '入户置换',
|
|
309
|
+
safe: true
|
|
291
310
|
}
|
|
292
|
-
this.$dispatch('gotoson',prpdata)
|
|
293
|
-
if(this.sourcet == '横屏'){
|
|
294
|
-
this.$goto('repair-order', {row: row,worktype:this.worktype},'self',this.ifsearch)
|
|
295
|
-
}else{
|
|
296
|
-
this.$goto('repair-orderV', {row: row,worktype:this.worktype},'self',this.ifsearch)
|
|
311
|
+
this.$dispatch('gotoson', prpdata)
|
|
312
|
+
if (this.sourcet == '横屏') {
|
|
313
|
+
this.$goto('repair-order', { row: row, worktype: this.worktype }, 'self', this.ifsearch)
|
|
314
|
+
} else {
|
|
315
|
+
this.$goto('repair-orderV', { row: row, worktype: this.worktype }, 'self', this.ifsearch)
|
|
297
316
|
}
|
|
298
317
|
},
|
|
299
|
-
moveservice(row){
|
|
318
|
+
moveservice(row) {
|
|
300
319
|
this.moveselected = row
|
|
301
320
|
this.moveshow = true
|
|
302
321
|
},
|
|
303
|
-
delayedit
|
|
322
|
+
delayedit(row) {
|
|
304
323
|
row.state = '延期申请'
|
|
305
|
-
this.$goto('delay-apply', {row:row})
|
|
324
|
+
this.$goto('delay-apply', { row: row })
|
|
306
325
|
},
|
|
307
|
-
search
|
|
326
|
+
search() {
|
|
308
327
|
var condition = '1 = 1'
|
|
309
328
|
if (this.$androidUtil.isTest) {
|
|
310
|
-
return this.$androidUtil.path({'alias'
|
|
329
|
+
return this.$androidUtil.path({ 'alias': `${config[this.worktype].path}`, 'data': { condition: condition } }).then((ret) => {
|
|
311
330
|
this.rows = ret.data
|
|
312
331
|
})
|
|
313
332
|
} else {
|
|
314
|
-
let result = this.$androidUtil.path({'alias'
|
|
333
|
+
let result = this.$androidUtil.path({ 'alias': `${config[this.worktype].path}`, 'data': { condition: condition } })
|
|
315
334
|
if (result.code === 200) {
|
|
316
335
|
//tag)
|
|
317
336
|
this.rows = result.data
|
|
@@ -320,25 +339,25 @@
|
|
|
320
339
|
}
|
|
321
340
|
}
|
|
322
341
|
},
|
|
323
|
-
sumsearch
|
|
342
|
+
sumsearch() {
|
|
324
343
|
// 测试环境异步,真实环境同步
|
|
325
344
|
var condition = '1 = 1'
|
|
326
345
|
if (this.$androidUtil.isTest) {
|
|
327
|
-
return this.$androidUtil.path({'alias'
|
|
346
|
+
return this.$androidUtil.path({ 'alias': `${config[this.worktype].path}`, 'data': { condition: condition } }).then((ret) => {
|
|
328
347
|
var crv = {
|
|
329
|
-
title:this.tabname,
|
|
330
|
-
sum:ret.data.length
|
|
348
|
+
title: this.tabname,
|
|
349
|
+
sum: ret.data.length
|
|
331
350
|
}
|
|
332
|
-
this.$emit('changesum',crv)
|
|
351
|
+
this.$emit('changesum', crv)
|
|
333
352
|
})
|
|
334
353
|
} else {
|
|
335
|
-
let result = this.$androidUtil.path({'alias'
|
|
354
|
+
let result = this.$androidUtil.path({ 'alias': `${config[this.worktype].path}`, 'data': { condition: condition } })
|
|
336
355
|
if (result.code === 200) {
|
|
337
356
|
var crv = {
|
|
338
|
-
title:this.tabname,
|
|
339
|
-
sum:result.data.length
|
|
357
|
+
title: this.tabname,
|
|
358
|
+
sum: result.data.length
|
|
340
359
|
}
|
|
341
|
-
this.$emit('changesum',crv)
|
|
360
|
+
this.$emit('changesum', crv)
|
|
342
361
|
} else {
|
|
343
362
|
this.$showMessage(`加载数据失败, 返回码: ${result.code}, 错误信息:${result.data}`)
|
|
344
363
|
}
|
|
@@ -347,22 +366,22 @@
|
|
|
347
366
|
makeAPhoneCall(phoneNumber) {
|
|
348
367
|
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
349
368
|
},
|
|
350
|
-
upload
|
|
369
|
+
upload() {
|
|
351
370
|
this.$goto('up-load')
|
|
352
371
|
},
|
|
353
|
-
back
|
|
372
|
+
back() {
|
|
354
373
|
this.$back()
|
|
355
374
|
},
|
|
356
375
|
async showshutdown(row) {
|
|
357
376
|
this.shutrow = row
|
|
358
377
|
this.shutshow = true
|
|
359
378
|
},
|
|
360
|
-
async shutdown(row){
|
|
379
|
+
async shutdown(row) {
|
|
361
380
|
this.shutshow = false
|
|
362
381
|
let repairdetails = []
|
|
363
|
-
if(Vue.config.telephone.RepairsConfig.data != undefined){
|
|
382
|
+
if (Vue.config.telephone.RepairsConfig.data != undefined) {
|
|
364
383
|
repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.RepairsConfig.data)))
|
|
365
|
-
}else{
|
|
384
|
+
} else {
|
|
366
385
|
this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
|
|
367
386
|
return
|
|
368
387
|
}
|
|
@@ -392,12 +411,12 @@
|
|
|
392
411
|
}
|
|
393
412
|
if (repairdetails.length > 0) {
|
|
394
413
|
let repairlist = []
|
|
395
|
-
for (let j = 0;j< repairdetails.length;j++) {
|
|
414
|
+
for (let j = 0; j < repairdetails.length; j++) {
|
|
396
415
|
let repairitem = []
|
|
397
|
-
for (let i = 0;i< repairdetails[j].details.length;i++) {
|
|
398
|
-
repairitem.push({f_project:repairdetails[j].details[i].f_project,type:repairdetails[j].details[i].type,f_status:'',f_content:'',f_is_must:repairdetails[j].details[i].f_is_must ? 'true':'false'})
|
|
416
|
+
for (let i = 0; i < repairdetails[j].details.length; i++) {
|
|
417
|
+
repairitem.push({ f_project: repairdetails[j].details[i].f_project, type: repairdetails[j].details[i].type, f_status: '', f_content: '', f_is_must: repairdetails[j].details[i].f_is_must ? 'true' : 'false' })
|
|
399
418
|
}
|
|
400
|
-
repairlist.push({f_type: repairdetails[j].f_type, details: repairitem,imgs:[],f_remarks:repairdetails[j].f_remarks})
|
|
419
|
+
repairlist.push({ f_type: repairdetails[j].f_type, details: repairitem, imgs: [], f_remarks: repairdetails[j].f_remarks })
|
|
401
420
|
}
|
|
402
421
|
data.model.serviceacitivity[0].servicerepair = Object.assign([], repairlist)
|
|
403
422
|
}
|
|
@@ -422,13 +441,13 @@
|
|
|
422
441
|
for (; this.listData.index < endIndex; this.listData.index++) {
|
|
423
442
|
this.listData.list.push(this.rows[this.listData.index])
|
|
424
443
|
}
|
|
425
|
-
if(this.listData.index == this.rows.length){
|
|
444
|
+
if (this.listData.index == this.rows.length) {
|
|
426
445
|
this.listData.isEnd = true
|
|
427
|
-
}else {
|
|
446
|
+
} else {
|
|
428
447
|
this.listData.isEnd = false
|
|
429
448
|
}
|
|
430
449
|
},
|
|
431
|
-
deleteEmptyProperty(object){
|
|
450
|
+
deleteEmptyProperty(object) {
|
|
432
451
|
for (var i in object) {
|
|
433
452
|
var value = object[i];
|
|
434
453
|
if (typeof value === 'object') {
|
|
@@ -456,20 +475,20 @@
|
|
|
456
475
|
}
|
|
457
476
|
return true;
|
|
458
477
|
},
|
|
459
|
-
getNewOrder(){
|
|
478
|
+
getNewOrder() {
|
|
460
479
|
HostApp.__this__ = this
|
|
461
480
|
HostApp.logicWithHint({
|
|
462
481
|
'logic': 'TelServiceTimeOut',
|
|
463
482
|
'callback': 'javascript:HostApp.__this__.getNewCallBack()',
|
|
464
|
-
'data': {params: ''},
|
|
483
|
+
'data': { params: '' },
|
|
465
484
|
'backresult': 1
|
|
466
485
|
})
|
|
467
486
|
},
|
|
468
|
-
getNewCallBack(obj){
|
|
487
|
+
getNewCallBack(obj) {
|
|
469
488
|
this.ifsearch()
|
|
470
489
|
}
|
|
471
490
|
},
|
|
472
|
-
ready
|
|
491
|
+
ready() {
|
|
473
492
|
this.getEmp()
|
|
474
493
|
this.ifsearch()
|
|
475
494
|
},
|
|
@@ -480,23 +499,24 @@
|
|
|
480
499
|
}
|
|
481
500
|
</script>
|
|
482
501
|
<style>
|
|
483
|
-
.class-a{
|
|
484
|
-
border:1px solid red;
|
|
502
|
+
.class-a {
|
|
503
|
+
border: 1px solid red;
|
|
485
504
|
}
|
|
486
|
-
|
|
505
|
+
|
|
506
|
+
.padd-div-shu {
|
|
487
507
|
padding-bottom: 5px;
|
|
488
508
|
}
|
|
509
|
+
|
|
489
510
|
.app-botton {
|
|
490
|
-
position:fixed;
|
|
511
|
+
position: fixed;
|
|
491
512
|
background: #87b2dd;
|
|
492
513
|
color: #FFF;
|
|
493
514
|
padding: 8px;
|
|
494
515
|
text-align: center;
|
|
495
516
|
font-size: 1.2em;
|
|
496
517
|
z-index: 10;
|
|
497
|
-
opacity:0.5;
|
|
518
|
+
opacity: 0.5;
|
|
498
519
|
bottom: 50px;
|
|
499
520
|
margin-top: -10px;
|
|
500
521
|
height: 40px;
|
|
501
|
-
}
|
|
502
|
-
</style>
|
|
522
|
+
}</style>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<complain-work v-show="worktype === '投诉单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart"
|
|
26
26
|
:call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></complain-work>
|
|
27
27
|
<repairs-work v-show="worktype === '报修单'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj"
|
|
28
|
-
:login-user="loginUser" :meading="'转维修员'" v-on:commitsus="commit"></repairs-work>
|
|
28
|
+
:login-user="loginUser" :meading="'转维修员'" :telsource="meading" v-on:commitsus="commit"></repairs-work>
|
|
29
29
|
<gas-work v-show="worktype === '置换通气'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj"
|
|
30
30
|
:login-user="loginUser" :meading="'转维修员'" v-on:saveend="saveend" v-on:saveing="savestart"
|
|
31
31
|
v-on:commitsus="commit"></gas-work>
|