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
|
@@ -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>
|