telephone-clients 3.0.103-7 → 3.0.103-71
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/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/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 +560 -548
- package/src/components/pc/WorkListAllNew.vue +1 -1
- 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/temp/InfoTable.vue +5 -2
- package/src/components/temp/OldRepairList.vue +100 -0
- 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/RepairFirstV.vue +1 -1
- 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/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 +2 -2
- 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/telephone.js +1 -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 +440 -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 +65 -61
- 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/pc/FailureEdit.vue +1 -1
- package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
- package/src/filiale/wenxi/pc/WorkListAll.vue +5 -2
- package/src/filiale/wenxi/telephone.js +1 -7
- package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
- package/src/filiale/yuncheng/telephone.js +12 -0
- package/src/filiale/zhongsheng/android/FaultAll.vue +830 -0
- package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
- package/src/main.js +1 -1
- package/src/telephone.js +746 -733
- package/src/weinan.js +6 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="repair-bg" id="repair-first">
|
|
3
3
|
<!--<div class="app-botton" @click="back()">-->
|
|
4
|
-
|
|
4
|
+
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
5
5
|
<!--</div>-->
|
|
6
6
|
<div class="bq-parent">
|
|
7
7
|
<blockquote class="blockquote">
|
|
@@ -13,53 +13,109 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
<div class="panel panel-default repair-info-content auto">
|
|
15
15
|
<div class="panel-body">
|
|
16
|
-
<div class="row">
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
16
|
+
<!-- <div class="row">
|
|
17
|
+
<input type="text" v-model="username" placeholder='用户姓名' :size="username ? username.length : 6"/>
|
|
18
|
+
<input type="text" v-model="address" placeholder='用户地址' :size="address ? address.length : 12"/>
|
|
19
|
+
<br>
|
|
20
|
+
<datepicker
|
|
21
|
+
placeholder="开始时间"
|
|
22
|
+
:value.sync="f_start_date"
|
|
23
|
+
v-model="f_start_date"
|
|
24
|
+
:format="'yyyy-MM-dd'"
|
|
25
|
+
></datepicker>
|
|
26
|
+
<datepicker
|
|
27
|
+
placeholder="结束时间"
|
|
28
|
+
:value.sync="f_finish_date"
|
|
29
|
+
v-model="f_finish_date"
|
|
30
|
+
:format="'yyyy-MM-dd'"
|
|
31
|
+
></datepicker>
|
|
32
|
+
<button type="button" name="button" class="btn btn-primary" @click="init()">重置</button>
|
|
33
|
+
<button type="button" name="button" class="btn btn-primary" @click='ifsearch()' >查询</button>
|
|
34
|
+
</div>-->
|
|
35
|
+
<form>
|
|
36
|
+
<div class="row app-row">
|
|
37
|
+
<div class="col-xs-4">
|
|
38
|
+
<img src="../../assets/用户姓名-蓝色.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
39
|
+
<label class="font text-left">用户姓名:</label>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-xs-8">
|
|
42
|
+
<input class="search_input input-font"
|
|
43
|
+
v-model="username" condition="f_user_name like '{}%'" placeholder=" 请输入用户姓名" />
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row app-row">
|
|
47
|
+
<div class="col-xs-4">
|
|
48
|
+
<img src="../../assets/小区蓝色.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
49
|
+
<label class="font text-left">用户地址:</label>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-xs-8">
|
|
52
|
+
<input type="text" class="search_input input-font" v-model="address"
|
|
53
|
+
style="width: 60%" placeholder=" 请输入用户地址" condition="f_address like '{}%'">
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="row app-row">
|
|
57
|
+
<div class="col-xs-4">
|
|
58
|
+
<img src="../../assets/开始时间.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
59
|
+
<label class="font text-left">开始日期:</label>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-xs-8">
|
|
62
|
+
<datepicker
|
|
63
|
+
class="select_list select"
|
|
64
|
+
placeholder='开始日期' style="width: 60%"
|
|
65
|
+
:format="'yyyy-MM-dd'"
|
|
66
|
+
:value.sync="f_start_date"
|
|
67
|
+
v-model="f_start_date">
|
|
68
|
+
</datepicker>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="row app-row">
|
|
72
|
+
<div class="col-xs-4">
|
|
73
|
+
<img src="../../assets/结束时间.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
74
|
+
<label class="font text-left">结束日期:</label>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="col-xs-8">
|
|
77
|
+
<datepicker
|
|
78
|
+
class="select_list select"
|
|
79
|
+
placeholder='结束日期' style="width: 60%"
|
|
80
|
+
:format="'yyyy-MM-dd'"
|
|
81
|
+
:value.sync="f_finish_date"
|
|
82
|
+
v-model="f_finish_date">
|
|
83
|
+
</datepicker>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="row app-row" style="height: 10px;"></div>
|
|
87
|
+
<div class="row text-center app-row">
|
|
88
|
+
<button type="button" class="btn btn-lg btn-font btn-color" @click="ifsearch()" style="min-width: 25%;">查询</button>
|
|
89
|
+
<button type="button" class="btn btn-lg btn-font btn-color" @click="init()" style="min-width: 25%;">重置</button>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="row app-row" style="height: 10px;"></div>
|
|
92
|
+
</form>
|
|
35
93
|
<!--<div class="media-right">-->
|
|
36
|
-
|
|
37
|
-
|
|
94
|
+
<!--<img @click="search" src="../../assets/shuaxindaiban.png" class="img-responsive media-object"-->
|
|
95
|
+
<!--style="width: 40px;padding: 5px;">-->
|
|
38
96
|
<!--</div>-->
|
|
39
97
|
<div class="panel panel-default well" v-for="row in rows">
|
|
40
98
|
<div class="panel-body bg-info">
|
|
41
99
|
<div class="row form-group">
|
|
42
|
-
<div class="
|
|
43
|
-
<div class="
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
客户地址: {{row.f_address}}
|
|
58
|
-
</div>
|
|
100
|
+
<div class="row">
|
|
101
|
+
<div class="col-sm-6">
|
|
102
|
+
工单编号: {{row.f_service_id}}
|
|
103
|
+
</div>
|
|
104
|
+
<div class="col-sm-6">
|
|
105
|
+
工单时间: {{row.f_created_date}}
|
|
106
|
+
</div>
|
|
107
|
+
<div class="col-sm-6">
|
|
108
|
+
客户姓名: {{row.f_user_name}}
|
|
109
|
+
</div>
|
|
110
|
+
<div class="col-sm-6">
|
|
111
|
+
联系电话: {{row.f_contact_phone}} <span class="glyphicon glyphicon-earphone" v-on:click.stop.prevent='makeAPhoneCall(row.f_contact_phone)'></span>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="col-sm-6">
|
|
114
|
+
客户地址: {{row.f_address}}
|
|
59
115
|
</div>
|
|
60
116
|
</div>
|
|
61
|
-
<div class="
|
|
62
|
-
<button type="button" name="button" class="btn btn-primary" @click="selected(row)">查看</button>
|
|
117
|
+
<div class="row">
|
|
118
|
+
<button type="button" name="button" class="btn btn-primary" style="float: right" @click="selected(row)">查看</button>
|
|
63
119
|
</div>
|
|
64
120
|
</div>
|
|
65
121
|
</div>
|
|
@@ -71,165 +127,195 @@
|
|
|
71
127
|
</div>
|
|
72
128
|
</template>
|
|
73
129
|
<script>
|
|
74
|
-
|
|
130
|
+
import * as Util from "../Util";
|
|
75
131
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
132
|
+
export default {
|
|
133
|
+
title: '已办工单',
|
|
134
|
+
data() {
|
|
135
|
+
return {
|
|
136
|
+
// rows: Object
|
|
137
|
+
rows: [],
|
|
138
|
+
editshow: false,
|
|
139
|
+
row: {
|
|
140
|
+
type: Object
|
|
141
|
+
},
|
|
142
|
+
address:'',
|
|
143
|
+
username:'',
|
|
144
|
+
f_start_date:Util.toStandardDateString(),
|
|
145
|
+
f_finish_date:Util.toStandardDateString()
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
props: {
|
|
149
|
+
// 控制工单类型,进行各自工作
|
|
150
|
+
worktype:{
|
|
151
|
+
type:String,
|
|
152
|
+
default:'报修单'
|
|
153
|
+
},
|
|
154
|
+
sourcet:{
|
|
155
|
+
type:String,
|
|
156
|
+
default:'横屏'
|
|
157
|
+
},
|
|
158
|
+
tabname:{
|
|
159
|
+
type:String
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
methods: {
|
|
163
|
+
ifsearch(){
|
|
164
|
+
let condition = `1 = 1 and tsw.f_workorder_type = '${this.worktype}'`
|
|
165
|
+
if(this.username != ''){
|
|
166
|
+
condition += " and tsw.f_user_name like '%" + this.username + "%'"
|
|
167
|
+
}
|
|
168
|
+
if(this.address != ''){
|
|
169
|
+
condition += " and tsw.f_address like '%" + this.address + "%'"
|
|
170
|
+
}
|
|
171
|
+
if(this.f_start_date != ''){
|
|
172
|
+
condition += `and ts.f_date >='${this.f_start_date} 00:00:00'`
|
|
173
|
+
}
|
|
174
|
+
if(this.f_finish_date != ''){
|
|
175
|
+
condition += `and ts.f_date <='${this.f_finish_date} 23:59:59'`
|
|
176
|
+
}
|
|
177
|
+
let result = this.$androidUtil.bzLogic('searchRepairDone', {condition})
|
|
178
|
+
if (result.code === 200) {
|
|
179
|
+
this.rows = result.data
|
|
90
180
|
}
|
|
91
181
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
182
|
+
selected(rowOne) {
|
|
183
|
+
var prpdata = {
|
|
184
|
+
_this:this,
|
|
185
|
+
title:'内容查看',
|
|
186
|
+
safe:false
|
|
187
|
+
}
|
|
188
|
+
this.$dispatch('gotoson',prpdata)
|
|
189
|
+
let condition = `id='${rowOne.id}'`
|
|
190
|
+
let result = this.$androidUtil.path({'alias': 'getCompletedInfo', 'data': {f_workorder_type: this.worktype,condition:condition}})
|
|
191
|
+
let row = result.data[0]
|
|
192
|
+
if(this.sourcet == '横屏'){
|
|
193
|
+
this.$goto('repair-order', {row: row, repair: row,worktype:this.worktype,issee:true})
|
|
194
|
+
}else{
|
|
195
|
+
this.$goto('repair-orderV', {row: row, repair: row,worktype:this.worktype,issee:true})
|
|
104
196
|
}
|
|
105
197
|
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
let result =
|
|
198
|
+
closeEdit() {
|
|
199
|
+
this.editshow = false
|
|
200
|
+
},
|
|
201
|
+
editsuccess() {
|
|
202
|
+
this.editshow = false
|
|
203
|
+
|
|
204
|
+
},
|
|
205
|
+
search() {
|
|
206
|
+
// 测试环境异步,真实环境同步
|
|
207
|
+
var condition = '1 = 1'
|
|
208
|
+
if (this.$androidUtil.isTest) {
|
|
209
|
+
this.$androidUtil.path({'alias': 'getCompletedInfo','data': {f_workorder_type: this.worktype,condition:condition}}).then((ret) => {
|
|
210
|
+
this.rows = ret.data
|
|
211
|
+
})
|
|
212
|
+
} else {
|
|
213
|
+
let result = this.$androidUtil.path({'alias': 'getCompletedInfo', 'data': {f_workorder_type: this.worktype,condition:condition}})
|
|
214
|
+
//tag
|
|
122
215
|
if (result.code === 200) {
|
|
123
216
|
this.rows = result.data
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
selected(rowOne) {
|
|
127
|
-
var prpdata = {
|
|
128
|
-
_this:this,
|
|
129
|
-
title:'内容查看',
|
|
130
|
-
safe:false
|
|
131
|
-
}
|
|
132
|
-
this.$dispatch('gotoson',prpdata)
|
|
133
|
-
let condition = `id='${rowOne.id}'`
|
|
134
|
-
let result = this.$androidUtil.path({'alias': 'getCompletedInfo', 'data': {f_workorder_type: this.worktype,condition:condition}})
|
|
135
|
-
let row = result.data[0]
|
|
136
|
-
if(this.sourcet == '横屏'){
|
|
137
|
-
this.$goto('repair-order', {row: row, repair: row,worktype:this.worktype,issee:true})
|
|
138
|
-
}else{
|
|
139
|
-
this.$goto('repair-orderV', {row: row, repair: row,worktype:this.worktype,issee:true})
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
closeEdit() {
|
|
143
|
-
this.editshow = false
|
|
144
|
-
},
|
|
145
|
-
editsuccess() {
|
|
146
|
-
this.editshow = false
|
|
147
|
-
|
|
148
|
-
},
|
|
149
|
-
search() {
|
|
150
|
-
// 测试环境异步,真实环境同步
|
|
151
|
-
var condition = '1 = 1'
|
|
152
|
-
if (this.$androidUtil.isTest) {
|
|
153
|
-
this.$androidUtil.path({'alias': 'getCompletedInfo','data': {f_workorder_type: this.worktype,condition:condition}}).then((ret) => {
|
|
154
|
-
this.rows = ret.data
|
|
155
|
-
})
|
|
156
217
|
} else {
|
|
157
|
-
|
|
158
|
-
//tag
|
|
159
|
-
if (result.code === 200) {
|
|
160
|
-
this.rows = result.data
|
|
161
|
-
} else {
|
|
162
|
-
//tag)
|
|
163
|
-
}
|
|
218
|
+
//tag)
|
|
164
219
|
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
sumsearch() {
|
|
223
|
+
// 测试环境异步,真实环境同步
|
|
224
|
+
var condition = '1 = 1'
|
|
225
|
+
if (this.$androidUtil.isTest) {
|
|
226
|
+
this.$androidUtil.path({'alias': 'getCompletedInfo','data': {f_workorder_type: this.worktype,condition:condition}}).then((ret) => {
|
|
227
|
+
for(var i = 0;i<this.$parent.tabs.length;i++){
|
|
228
|
+
if(this.$parent.tabs[i].name == this.tabname){
|
|
229
|
+
this.$parent.tabs[i].servicesum = ret.data.length
|
|
230
|
+
return
|
|
176
231
|
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
232
|
+
}
|
|
233
|
+
})
|
|
234
|
+
} else {
|
|
235
|
+
let result = this.$androidUtil.path({'alias': 'getCompletedInfo', 'data': {f_workorder_type: this.worktype,condition:condition}})
|
|
236
|
+
//tag
|
|
237
|
+
if (result.code === 200) {
|
|
238
|
+
for(var i = 0;i<this.$parent.tabs.length;i++){
|
|
239
|
+
if(this.$parent.tabs[i].name == this.tabname){
|
|
240
|
+
this.$parent.tabs[i].servicesum = result.data.length
|
|
241
|
+
return
|
|
187
242
|
}
|
|
188
|
-
} else {
|
|
189
|
-
//tag)
|
|
190
243
|
}
|
|
244
|
+
} else {
|
|
245
|
+
//tag)
|
|
191
246
|
}
|
|
192
|
-
},
|
|
193
|
-
upload() {
|
|
194
|
-
this.$goto('up-load')
|
|
195
|
-
},
|
|
196
|
-
back () {
|
|
197
|
-
this.$back()
|
|
198
|
-
},
|
|
199
|
-
init () {
|
|
200
|
-
this.address = ''
|
|
201
|
-
this.username = ''
|
|
202
|
-
this.f_finish_date = ''
|
|
203
|
-
this.f_start_date = ''
|
|
204
247
|
}
|
|
205
248
|
},
|
|
206
|
-
|
|
207
|
-
this
|
|
208
|
-
// var _this = this;
|
|
209
|
-
// this.timeoutHandle = window.setInterval(function() {
|
|
210
|
-
// _this.sumsearch()
|
|
211
|
-
// }, 60000)
|
|
249
|
+
upload() {
|
|
250
|
+
this.$goto('up-load')
|
|
212
251
|
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
252
|
+
back () {
|
|
253
|
+
this.$back()
|
|
254
|
+
},
|
|
255
|
+
init () {
|
|
256
|
+
this.address = ''
|
|
257
|
+
this.username = ''
|
|
258
|
+
this.f_finish_date = ''
|
|
259
|
+
this.f_start_date = ''
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
ready() {
|
|
263
|
+
this.ifsearch()
|
|
264
|
+
// var _this = this;
|
|
265
|
+
// this.timeoutHandle = window.setInterval(function() {
|
|
266
|
+
// _this.sumsearch()
|
|
267
|
+
// }, 60000)
|
|
268
|
+
},
|
|
269
|
+
components: {
|
|
270
|
+
'delay-apply': (resolve) => {
|
|
271
|
+
require(['./DelayApply'], resolve)
|
|
217
272
|
}
|
|
218
|
-
|
|
219
273
|
}
|
|
274
|
+
|
|
275
|
+
}
|
|
220
276
|
</script>
|
|
221
|
-
<style lang="less">
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
277
|
+
<style lang="less" scoped>
|
|
278
|
+
.app-botton {
|
|
279
|
+
position:fixed;
|
|
280
|
+
background: #87b2dd;
|
|
281
|
+
color: #FFF;
|
|
282
|
+
padding: 8px;
|
|
283
|
+
text-align: center;
|
|
284
|
+
font-size: 1.2em;
|
|
285
|
+
z-index: 10;
|
|
286
|
+
opacity:0.5;
|
|
287
|
+
bottom: 50px;
|
|
288
|
+
margin-top: -10px;
|
|
289
|
+
height: 40px;
|
|
290
|
+
}
|
|
291
|
+
.app-row {
|
|
292
|
+
background-color: white;
|
|
293
|
+
padding: 5px 10px 0 10px;
|
|
294
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
295
|
+
}
|
|
296
|
+
.search_input {
|
|
297
|
+
border: 0;
|
|
298
|
+
outline: none;
|
|
299
|
+
}
|
|
300
|
+
.font{
|
|
301
|
+
font: 15px PingFang-SC-Medium;
|
|
302
|
+
color: #666666;
|
|
303
|
+
}
|
|
304
|
+
.input-font{
|
|
305
|
+
font: 15px PingFang-SC-Medium;
|
|
306
|
+
color: #333333;
|
|
307
|
+
}
|
|
308
|
+
.btn-font{
|
|
309
|
+
font:600 16px PingFang-SC-Bold;
|
|
310
|
+
color: #499EDF;
|
|
311
|
+
}
|
|
312
|
+
.btn-color{
|
|
313
|
+
background-color: #FFFFFF;
|
|
314
|
+
border-radius: 10px ;
|
|
315
|
+
border: 1px solid #499EDF;
|
|
316
|
+
}
|
|
317
|
+
.panel-blue-border {
|
|
318
|
+
border: 1px solid #499edf;
|
|
319
|
+
border-radius: 5px;
|
|
320
|
+
}
|
|
235
321
|
</style>
|
|
@@ -428,15 +428,15 @@ export default {
|
|
|
428
428
|
this.$showMessage(`请录入${isfinish.msg}信息!`, ['confirm'])
|
|
429
429
|
return
|
|
430
430
|
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
431
|
+
if(!(this.msg.serviceacitivity[0].f_signname) && Vue.config.telephone.FaultAll.signature?Vue.config.telephone.FaultAll.signature:false) {
|
|
432
|
+
this.$showMessage(`请完成客户签名!`, ['confirm'])
|
|
433
|
+
return
|
|
434
|
+
}
|
|
435
|
+
let imgflag = this.checkzhihuanimg()
|
|
436
|
+
if(!(imgflag.check) && Vue.config.telephone.FaultAll.photograph?Vue.config.telephone.FaultAll.photograph:false){
|
|
437
|
+
this.$showMessage(`${imgflag.title}未拍照!`, ['confirm'])
|
|
438
|
+
return
|
|
439
|
+
}
|
|
440
440
|
}
|
|
441
441
|
// }
|
|
442
442
|
// 用户基本信息转字符串
|
|
@@ -571,6 +571,9 @@
|
|
|
571
571
|
// this.$showMessage(checked.msg)
|
|
572
572
|
// return
|
|
573
573
|
// }
|
|
574
|
+
for (let i = 0; i < this.model.length; i++) {
|
|
575
|
+
this.model[i].f_user_id = this.userinfo.meterinfo[0].f_user_id
|
|
576
|
+
}
|
|
574
577
|
this.$showMessage('确定是否修改上传设备信息?', ['confirm', 'cancel']).then((res) => {
|
|
575
578
|
if (res === 'confirm') {
|
|
576
579
|
this.excessive = true
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
95
95
|
用户姓名: {{row.f_user_name}}
|
|
96
96
|
</div>
|
|
97
|
-
<div
|
|
97
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
98
98
|
来电电话: {{row.f_phone}}
|
|
99
99
|
<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(row.f_phone)'>
|
|
100
100
|
</div>
|
|
@@ -81,6 +81,13 @@
|
|
|
81
81
|
:size="model.f_attendant ? model.f_order_man.length : 6" style="width: 80%;">
|
|
82
82
|
</div>
|
|
83
83
|
|
|
84
|
+
<div class="col-sm-3">
|
|
85
|
+
<v-select :value.sync="model.f_state"
|
|
86
|
+
v-model="model.f_state"
|
|
87
|
+
:width="'80%'"
|
|
88
|
+
:options='$parent.$parent.states' placeholder='是否退单'
|
|
89
|
+
close-on-select style="width: 80%;"></v-select>
|
|
90
|
+
</div>
|
|
84
91
|
<!-- <div class="form-group" style="float: left;margin-right: 3px">
|
|
85
92
|
<datepicker id="endDate" placeholder="接单日期"
|
|
86
93
|
v-model="model.f_order_date"
|
|
@@ -122,15 +129,15 @@
|
|
|
122
129
|
<button type="button" class="btn btn-link"
|
|
123
130
|
@click.stop="$parent.$parent.$parent.$emit('do', 'serviceDelete',row)" style="min-width: 30px;">撤销</button>
|
|
124
131
|
</div>
|
|
125
|
-
<div v-show="
|
|
132
|
+
<div v-show="row.f_state =='撤销' && row.f_workorder_type == '报修单'">
|
|
126
133
|
<button type="button" class="btn btn-link"
|
|
127
134
|
@click.stop="$parent.$parent.$parent.$emit('do', 'resend', row)" style="min-width: 30px;">重派</button>
|
|
128
135
|
</div>
|
|
129
|
-
<div v-show="
|
|
136
|
+
<div v-show="row.f_state =='撤销' && row.f_workorder_type == '置换通气单' ">
|
|
130
137
|
<button type="button" class="btn btn-link"
|
|
131
138
|
@click.stop="$parent.$parent.$parent.$emit('do', 'resendzhihuan', row)" style="min-width: 30px;">重派</button>
|
|
132
139
|
</div>
|
|
133
|
-
<div v-show="
|
|
140
|
+
<div v-show="row.f_state =='撤销' && row.f_workorder_type == '安装单' ">
|
|
134
141
|
<button type="button" class="btn btn-link"
|
|
135
142
|
@click.stop="$parent.$parent.$parent.$emit('do', 'resendinstall', row)" style="min-width: 30px;">重派</button>
|
|
136
143
|
</div>
|
|
@@ -170,6 +177,7 @@ export default {
|
|
|
170
177
|
return {
|
|
171
178
|
model: new PagedList('rs/path/allService', 20),
|
|
172
179
|
row: null,
|
|
180
|
+
states:[{label: '全部', value: ''}, {label: '是', value: '是'},{label: '否', value: '否'}],
|
|
173
181
|
modifyOrder: null
|
|
174
182
|
// defname: [{label: '全部', value: ''}, ...this.$appdata.getParam('工单状态')]
|
|
175
183
|
}
|
|
@@ -201,6 +209,15 @@ export default {
|
|
|
201
209
|
data.condition = this.$refs.paged.$refs.criteria.condition?this.$refs.paged.$refs.criteria.condition:'1=1'
|
|
202
210
|
// data.condition += `and f_filiale_id = '${this.$login.f.orgid}'`
|
|
203
211
|
data.sign = this.$refs.paged.$refs.criteria.select.defname[0]?`defname = '${this.$refs.paged.$refs.criteria.select.defname[0]}'`:'1=1'
|
|
212
|
+
|
|
213
|
+
if (this.$refs.paged.$refs.criteria.model.f_state.length > 0){
|
|
214
|
+
if (this.$refs.paged.$refs.criteria.model.f_state[0] == '是'){
|
|
215
|
+
data.condition += ` and f_state = '撤销' `
|
|
216
|
+
}else {
|
|
217
|
+
data.condition += ` and f_state = null `
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
204
221
|
return this.model.search(data)
|
|
205
222
|
},
|
|
206
223
|
selfsearch(){
|