telephone-clients 3.0.105-17 → 3.0.105-18

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telephone-clients",
3
- "version": "3.0.105-17",
3
+ "version": "3.0.105-18",
4
4
  "description": "呼叫模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,354 +1,355 @@
1
- <template>
2
- <div style="height: auto;width: 100%" class="repair-bg">
3
- <div class="bq-parent">
4
- <blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
5
- <p>
6
- 待派发工单<span v-if="rows">({{rows.length}}单)</span>
7
- <span v-if="!rows">(暂无待派发工单)</span>
8
- </p>
9
- </blockquote>
10
- </div>
11
-
12
- <div>
13
- <form>
14
- <!-- 查询条件-->
15
- <div class="row app-row">
16
- <div class="col-xs-4">
17
- <img src="../../assets/用户姓名-蓝色.png" style="width: 20px;margin-bottom: 5px" alt="">
18
- <label for="f_userinfo_code" class="font text-left">用户姓名:</label>
19
- </div>
20
- <div class="col-xs-8" >
21
- <input type="text" v-model="username" placeholder='用户姓名'
22
- class="search_input input-font" />
23
- </div>
24
- </div>
25
- <div class="row app-row">
26
- <div class="col-xs-4">
27
- <img src="../../assets/小区蓝色.png" style="width: 20px;margin-bottom: 5px" alt="">
28
- <label for="f_userinfo_code" class="font text-left">用户地址:</label>
29
- </div>
30
- <div class="col-xs-8" >
31
- <input type="text" id="f_userinfo_code" class="search_input input-font"
32
- v-model="address" placeholder='用户地址' />
33
- </div>
34
- </div>
35
- <!-- 分割按钮和条件的高度 -->
36
- <div class="row app-row" style="height: 10px;"></div>
37
- <!-- 按钮 -->
38
- <div class="row text-center app-row">
39
- <button type="button" class="btn btn-lg btn-font btn-color" @click="ifsearch()" style="min-width: 25%;">查询</button>
40
- </div>
41
- <div style="height:30px;" class="app-row"></div>
42
- </form>
43
- </div>
44
- <!-- 列表 -->
45
- <div class="panel panel-default repair-info-content auto">
46
- <div class="panel-body">
47
- <div class="panel panel-default well panel-blue-border" :class="row.failure.indexOf('漏气') !== -1 ? 'class-a':''" v-for="row in listData.list" >
48
- <div class="panel-body" style="padding: 10px">
49
- <div class="row form-group">
50
- <div class="col-sm-12 col-xs-12 col-md-12">
51
- <div class="row" >
52
- <div :class="{'text-danger': row.f_remindersign}" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
53
- 工单编号: {{row.f_service_id}}<span v-if="row.f_remindersign">(催单 {{row.f_reminderdata}}) </span>
54
- </div>
55
- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
56
- 派发时间: {{row.f_created_date}}
57
- </div>
58
- <div v-show="false" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="worktype == '置换通气单'||worktype == '安装单'">
59
- 预约时间: {{row.f_yuyue_date}}
60
- </div>
61
- <!-- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="worktype == '报修单'">
62
- 报修类型: {{row.f_servicerepair_type}}
63
- </div>-->
64
- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="row.f_repairtype">
65
- 报修类型: {{row.f_repairtype}}
66
- </div>
67
- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="row.f_userinfo_code">
68
- 用户编号: {{row.f_userinfo_code}}
69
- </div>
70
- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="row.f_enter_number">
71
- 用户证号: {{row.f_enter_number}}
72
- </div>
73
- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
74
- 用户姓名: {{row.f_user_name}}
75
- </div>
76
- <div v-show="false" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
77
- 来电电话: {{row.f_phone}}
78
- <img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(row.f_phone)'>
79
- </div>
80
- <div class="col-sm-12 col-xs-12 col-md-12">
81
- 联系电话: {{row.f_contact_phone}}
82
- <img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(row.f_contact_phone)'>
83
- </div>
84
- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
85
- 用户地址: {{row.f_address}}
86
- </div>
87
- <div v-show="row.f_remarks" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
88
- 备注信息: {{row.f_remarks}}
89
- </div>
90
- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="row.failure">
91
- <failure-show :value='row.failure'>
92
- </failure-show>
93
- </div>
94
- </div>
95
- </div>
96
- <div class="col-sm-12 col-xs-12 col-md-12">
97
- <button type="button" name="button" class="btn btn-primary btn-sm" style="float: right" @click="selected(row)">下派</button>
98
- </div>
99
- </div>
100
- </div>
101
- </div>
102
- <div style="height:auto;width: 100%;text-align: center">
103
- <a v-if="!listData.isEnd" @click="showMore()">展开更多......</a>
104
- <span v-if="listData.isEnd">到底了......</span>
105
- </div>
106
- </div>
107
- <modal :show.sync="sendshow" v-ref:modal :backdrop="false">
108
- <div slot="modal-header" class="modal-header">
109
- <h4 class="modal-title">
110
- 派发工单
111
- </h4>
112
- </div>
113
- <div slot="modal-body" class="modal-body">
114
- <div class="row" style="margin-top: 6px">
115
- <label class="col-xs-4 col-md-4 control-label font text-left">接单人</label>
116
- <div class="col-xs-8">
117
- <v-select :value="sendselected.serviceacitivity[0].f_reciever" :value-single="true"
118
- :options='repairers' placeholder='请选择接单人'
119
- close-on-select v-on:change="repiarmancg"></v-select>
120
- </div>
121
- </div>
122
- <div class="row" style="margin-top: 6px">
123
- <label class="control-label font text-left col-md-4 col-xs-4">备注</label>
124
- <div class="col-xs-8 col-md-8">
125
- <input type="text" v-model="sendselected.f_advice"/>
126
- </div>
127
- </div>
128
- </div>
129
- <div slot="modal-footer" class="modal-footer">
130
- <button type="button" class="btn btn-default" @click="worksend()">确定</button>
131
- <button type="button" class="btn btn-default" @click="undo()">取消</button>
132
- </div>
133
- </modal>
134
- </div>
135
- </div>
136
- </template>
137
- <script>
138
- import FailureShow from '../pc/FailureShow'
139
- import { HttpResetClass } from 'vue-client'
140
- import Vue from 'vue'
141
- import * as Util from "../Util";
142
-
143
- export default{
144
- title: '移动端站点派发',
145
- data () {
146
- return {
147
- // rows: Object
148
- rows: [],
149
- username:'',
150
- address:'',
151
- sendshow:false,
152
- repairers: [],
153
- sendselected:{
154
- serviceacitivity:[
155
- {
156
- f_service_acitivity_type: '派单',
157
- f_reciever:''
158
- }
159
- ],
160
- f_advice:''
161
- },
162
- number:0,
163
- listData: {
164
- list: [],
165
- isEnd: true,
166
- index: 0
167
- }
168
- }
169
- },
170
- props: {
171
- },
172
- methods: {
173
- worksend () {
174
- if (!this.sendselected.serviceacitivity[0].f_reciever) {
175
- this.$showMessage(`请选择接单人员!`, ['confirm'])
176
- return
177
- }
178
- let data = {
179
- model: this.sendselected,
180
- loginUser: {name: Vue.user.name, ename: Vue.user.ename}
181
- }
182
- let HttpReset = new HttpResetClass()
183
- // 将数据发送给业务逻辑
184
- HttpReset.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/siteSend`, data).then((res) => {
185
- if (res.data.code == 300) {
186
- this.sendshow = false
187
- this.sendselected ={
188
- serviceacitivity:[
189
- {
190
- f_service_acitivity_type: '派单',
191
- f_reciever:''
192
- }
193
- ],
194
- f_advice:''
195
- }
196
- this.ifsearch()
197
- this.$showMessage(`该单已被派发!`, ['confirm'])
198
- return
199
- } else {
200
- this.sendshow = false
201
- this.sendselected ={
202
- serviceacitivity:[
203
- {
204
- f_service_acitivity_type: '派单',
205
- f_reciever:''
206
- }
207
- ],
208
- f_advice:''
209
- }
210
- this.ifsearch()
211
- this.$showMessage(`派发成功!`, ['confirm'])
212
- return
213
- }
214
- })
215
- },
216
- repiarmancg(val){
217
- this.sendselected.serviceacitivity[0].f_reciever = val
218
- },
219
- // 获取维修员
220
- getEmp () {
221
- // 获取接单人数组
222
- let http = new HttpResetClass()
223
- var val = {source: `this.getParentByType($organization$).getChildByName($维修员$).getUsers()`, userid: `${Vue.user.id}`}
224
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
225
- res.data.forEach((item) => {
226
- this.repairers.push({label: `${item.name}`, value: item.name})
227
- })
228
- })
229
- },
230
- ifsearch(){
231
- this.listData.list = []
232
- this.listData.index = 0
233
- this.listData.isEnd = true
234
- var condition = `1 = 1 and f_workorder_type = '报修单'`
235
- if(this.username != ''){
236
- condition += " and f_user_name like '%" + this.username + "%'"
237
- }
238
- if(this.address != ''){
239
- condition += " and f_address like '%" + this.address + "%'"
240
- }
241
- var val = {
242
- condition:{
243
- condition:condition,
244
- sign:'1 = 1'
245
- },
246
- userid:Vue.user.name
247
- }
248
- //tag
249
- //tag
250
- let http = new HttpResetClass()
251
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/path/operatorService`, {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
252
- this.rows = res.data
253
- this.showMore()
254
- })
255
- },
256
- selected (row) {
257
- this.sendselected = Object.assign({}, this.sendselected, row)
258
- this.sendshow =true
259
- },
260
- undo(){
261
- this.sendselected ={
262
- serviceacitivity:[
263
- {
264
- f_service_acitivity_type: '派单',
265
- f_reciever:''
266
- }
267
- ],
268
- f_advice:''
269
- }
270
- this.sendshow = false
271
- this.ifsearch()
272
- },
273
- makeAPhoneCall(phoneNumber) {
274
- this.$androidUtil.makeAPhoneCall(phoneNumber)
275
- },
276
- showMore() {
277
- if (!this.rows) {
278
- return
279
- }
280
- let endIndex = this.listData.index + 10
281
- if (endIndex > this.rows.length) {
282
- endIndex = this.rows.length
283
- }
284
- for (; this.listData.index < endIndex; this.listData.index++) {
285
- this.listData.list.push(this.rows[this.listData.index])
286
- }
287
- if(this.listData.index == this.rows.length){
288
- this.listData.isEnd = true
289
- }else {
290
- this.listData.isEnd = false
291
- }
292
- }
293
- },
294
- ready () {
295
- this.getEmp()
296
- this.ifsearch()
297
- },
298
- components: {
299
- FailureShow,
300
- 'failure-show': FailureShow
301
- }
302
- }
303
- </script>
304
- <style scoped>
305
- .searBtn {
306
- background: #FFFFFF;
307
- color: #0096fb;
308
- border: 1px solid #0096fb;
309
- border-radius: 5px;
310
- padding: 8px;
311
- text-align: center;
312
- font-size: 1.2em;
313
- z-index: 10;
314
- opacity:0.5;
315
- bottom: 50px;
316
- margin-top: -10px;
317
- height: 40px;
318
- }
319
- .bg {
320
- background-color: #499edf;
321
- height: 1px;
322
- border: 0;
323
- }
324
- .app-row {
325
- background-color: white;
326
- padding: 10px 10px 0 10px;
327
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
328
- }
329
- .search_input {
330
- border: 0;
331
- outline: none;
332
- }
333
- .font{
334
- font: 15px PingFang-SC-Medium;
335
- color: #666666;
336
- }
337
- .input-font{
338
- font: 15px PingFang-SC-Medium;
339
- color: #333333;
340
- }
341
- .btn-font{
342
- font:600 16px PingFang-SC-Bold;
343
- color: #499EDF;
344
- }
345
- .btn-color{
346
- background-color: #FFFFFF;
347
- border-radius: 10px ;
348
- border: 1px solid #499EDF;
349
- }
350
- .panel-blue-border {
351
- border: 1px solid #499edf;
352
- border-radius: 5px;
353
- }
354
- </style>
1
+ <template>
2
+ <div style="height: auto;width: 100%" class="repair-bg">
3
+ <div class="bq-parent">
4
+ <blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
5
+ <p>
6
+ 待派发工单<span v-if="rows">({{rows.length}}单)</span>
7
+ <span v-if="!rows">(暂无待派发工单)</span>
8
+ </p>
9
+ </blockquote>
10
+ </div>
11
+
12
+ <div>
13
+ <form>
14
+ <!-- 查询条件-->
15
+ <div class="row app-row">
16
+ <div class="col-xs-4">
17
+ <img src="../../assets/用户姓名-蓝色.png" style="width: 20px;margin-bottom: 5px" alt="">
18
+ <label for="f_userinfo_code" class="font text-left">用户姓名:</label>
19
+ </div>
20
+ <div class="col-xs-8" >
21
+ <input type="text" v-model="username" placeholder='用户姓名'
22
+ class="search_input input-font" />
23
+ </div>
24
+ </div>
25
+ <div class="row app-row">
26
+ <div class="col-xs-4">
27
+ <img src="../../assets/小区蓝色.png" style="width: 20px;margin-bottom: 5px" alt="">
28
+ <label for="f_userinfo_code" class="font text-left">用户地址:</label>
29
+ </div>
30
+ <div class="col-xs-8" >
31
+ <input type="text" id="f_userinfo_code" class="search_input input-font"
32
+ v-model="address" placeholder='用户地址' />
33
+ </div>
34
+ </div>
35
+ <!-- 分割按钮和条件的高度 -->
36
+ <div class="row app-row" style="height: 10px;"></div>
37
+ <!-- 按钮 -->
38
+ <div class="row text-center app-row">
39
+ <button type="button" class="btn btn-lg btn-font btn-color" @click="ifsearch()" style="min-width: 25%;">查询</button>
40
+ </div>
41
+ <div style="height:30px;" class="app-row"></div>
42
+ </form>
43
+ </div>
44
+ <!-- 列表 -->
45
+ <div class="panel panel-default repair-info-content auto">
46
+ <div class="panel-body">
47
+ <div class="panel panel-default well panel-blue-border" :class="row.failure.indexOf('漏气') !== -1 ? 'class-a':''" v-for="row in listData.list" >
48
+ <div class="panel-body" style="padding: 10px">
49
+ <div class="row form-group">
50
+ <div class="col-sm-12 col-xs-12 col-md-12">
51
+ <div class="row" >
52
+ <div :class="{'text-danger': row.f_remindersign}" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
53
+ 工单编号: {{row.f_service_id}}<span v-if="row.f_remindersign">(催单 {{row.f_reminderdata}}) </span>
54
+ </div>
55
+ <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
56
+ 派发时间: {{row.f_created_date}}
57
+ </div>
58
+ <div v-show="false" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="worktype == '置换通气单'||worktype == '安装单'">
59
+ 预约时间: {{row.f_yuyue_date}}
60
+ </div>
61
+ <!-- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="worktype == '报修单'">
62
+ 报修类型: {{row.f_servicerepair_type}}
63
+ </div>-->
64
+ <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="row.f_repairtype">
65
+ 报修类型: {{row.f_repairtype}}
66
+ </div>
67
+ <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="row.f_userinfo_code">
68
+ 用户编号: {{row.f_userinfo_code}}
69
+ </div>
70
+ <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="row.f_enter_number">
71
+ 用户证号: {{row.f_enter_number}}
72
+ </div>
73
+ <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
74
+ 用户姓名: {{row.f_user_name}}
75
+ </div>
76
+ <div v-show="false" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
77
+ 来电电话: {{row.f_phone}}
78
+ <img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(row.f_phone)'>
79
+ </div>
80
+ <div class="col-sm-12 col-xs-12 col-md-12">
81
+ 联系电话: {{row.f_contact_phone}}
82
+ <img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(row.f_contact_phone)'>
83
+ </div>
84
+ <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
85
+ 用户地址: {{row.f_address}}
86
+ </div>
87
+ <div v-show="row.f_remarks" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
88
+ 备注信息: {{row.f_remarks}}
89
+ </div>
90
+ <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="row.failure">
91
+ <failure-show :value='row.failure'>
92
+ </failure-show>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ <div class="col-sm-12 col-xs-12 col-md-12">
97
+ <button type="button" name="button" class="btn btn-primary btn-sm" style="float: right" @click="selected(row)">下派</button>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </div>
102
+ <div style="height:auto;width: 100%;text-align: center">
103
+ <a v-if="!listData.isEnd" @click="showMore()">展开更多......</a>
104
+ <span v-if="listData.isEnd">到底了......</span>
105
+ </div>
106
+ </div>
107
+ <modal :show.sync="sendshow" v-ref:modal :backdrop="false">
108
+ <div slot="modal-header" class="modal-header">
109
+ <h4 class="modal-title">
110
+ 派发工单
111
+ </h4>
112
+ </div>
113
+ <div slot="modal-body" class="modal-body">
114
+ <div class="row" style="margin-top: 6px">
115
+ <label class="col-xs-4 col-md-4 control-label font text-left">接单人</label>
116
+ <div class="col-xs-8">
117
+ <v-select :value="sendselected.serviceacitivity[0].f_reciever" :value-single="true"
118
+ :options='repairers' placeholder='请选择接单人'
119
+ close-on-select v-on:change="repiarmancg"></v-select>
120
+ </div>
121
+ </div>
122
+ <div class="row" style="margin-top: 6px">
123
+ <label class="control-label font text-left col-md-4 col-xs-4">备注</label>
124
+ <div class="col-xs-8 col-md-8">
125
+ <input type="text" v-model="sendselected.f_advice"/>
126
+ </div>
127
+ </div>
128
+ </div>
129
+ <div slot="modal-footer" class="modal-footer">
130
+ <button type="button" class="btn btn-default" @click="worksend()">确定</button>
131
+ <button type="button" class="btn btn-default" @click="undo()">取消</button>
132
+ </div>
133
+ </modal>
134
+ </div>
135
+ </div>
136
+ </template>
137
+ <script>
138
+ import FailureShow from '../pc/FailureShow'
139
+ import { HttpResetClass } from 'vue-client'
140
+ import Vue from 'vue'
141
+ import * as Util from "../Util";
142
+
143
+ export default{
144
+ title: '移动端站点派发',
145
+ data () {
146
+ return {
147
+ // rows: Object
148
+ rows: [],
149
+ username:'',
150
+ address:'',
151
+ sendshow:false,
152
+ repairers: [],
153
+ sendselected:{
154
+ serviceacitivity:[
155
+ {
156
+ f_service_acitivity_type: '派单',
157
+ f_reciever:''
158
+ }
159
+ ],
160
+ f_advice:''
161
+ },
162
+ number:0,
163
+ listData: {
164
+ list: [],
165
+ isEnd: true,
166
+ index: 0
167
+ }
168
+ }
169
+ },
170
+ props: {
171
+ },
172
+ methods: {
173
+ worksend () {
174
+ if (!this.sendselected.serviceacitivity[0].f_reciever) {
175
+ this.$showMessage(`请选择接单人员!`, ['confirm'])
176
+ return
177
+ }
178
+ let data = {
179
+ model: this.sendselected,
180
+ loginUser: {name: Vue.user.name, ename: Vue.user.ename},
181
+ f_handlingtype:'转维修员'
182
+ }
183
+ let HttpReset = new HttpResetClass()
184
+ // 将数据发送给业务逻辑
185
+ HttpReset.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/siteSend`, data).then((res) => {
186
+ if (res.data.code == 300) {
187
+ this.sendshow = false
188
+ this.sendselected ={
189
+ serviceacitivity:[
190
+ {
191
+ f_service_acitivity_type: '派单',
192
+ f_reciever:''
193
+ }
194
+ ],
195
+ f_advice:''
196
+ }
197
+ this.ifsearch()
198
+ this.$showMessage(`该单已被派发!`, ['confirm'])
199
+ return
200
+ } else {
201
+ this.sendshow = false
202
+ this.sendselected ={
203
+ serviceacitivity:[
204
+ {
205
+ f_service_acitivity_type: '派单',
206
+ f_reciever:''
207
+ }
208
+ ],
209
+ f_advice:''
210
+ }
211
+ this.ifsearch()
212
+ this.$showMessage(`派发成功!`, ['confirm'])
213
+ return
214
+ }
215
+ })
216
+ },
217
+ repiarmancg(val){
218
+ this.sendselected.serviceacitivity[0].f_reciever = val
219
+ },
220
+ // 获取维修员
221
+ getEmp () {
222
+ // 获取接单人数组
223
+ let http = new HttpResetClass()
224
+ var val = {source: `this.getParentByType($organization$).getChildByName($维修员$).getUsers()`, userid: `${Vue.user.id}`}
225
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
226
+ res.data.forEach((item) => {
227
+ this.repairers.push({label: `${item.name}`, value: item.name})
228
+ })
229
+ })
230
+ },
231
+ ifsearch(){
232
+ this.listData.list = []
233
+ this.listData.index = 0
234
+ this.listData.isEnd = true
235
+ var condition = `1 = 1 and f_workorder_type = '报修单'`
236
+ if(this.username != ''){
237
+ condition += " and f_user_name like '%" + this.username + "%'"
238
+ }
239
+ if(this.address != ''){
240
+ condition += " and f_address like '%" + this.address + "%'"
241
+ }
242
+ var val = {
243
+ condition:{
244
+ condition:condition,
245
+ sign:'1 = 1'
246
+ },
247
+ userid:Vue.user.name
248
+ }
249
+ //tag
250
+ //tag
251
+ let http = new HttpResetClass()
252
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/path/operatorService`, {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
253
+ this.rows = res.data
254
+ this.showMore()
255
+ })
256
+ },
257
+ selected (row) {
258
+ this.sendselected = Object.assign({}, this.sendselected, row)
259
+ this.sendshow =true
260
+ },
261
+ undo(){
262
+ this.sendselected ={
263
+ serviceacitivity:[
264
+ {
265
+ f_service_acitivity_type: '派单',
266
+ f_reciever:''
267
+ }
268
+ ],
269
+ f_advice:''
270
+ }
271
+ this.sendshow = false
272
+ this.ifsearch()
273
+ },
274
+ makeAPhoneCall(phoneNumber) {
275
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
276
+ },
277
+ showMore() {
278
+ if (!this.rows) {
279
+ return
280
+ }
281
+ let endIndex = this.listData.index + 10
282
+ if (endIndex > this.rows.length) {
283
+ endIndex = this.rows.length
284
+ }
285
+ for (; this.listData.index < endIndex; this.listData.index++) {
286
+ this.listData.list.push(this.rows[this.listData.index])
287
+ }
288
+ if(this.listData.index == this.rows.length){
289
+ this.listData.isEnd = true
290
+ }else {
291
+ this.listData.isEnd = false
292
+ }
293
+ }
294
+ },
295
+ ready () {
296
+ this.getEmp()
297
+ this.ifsearch()
298
+ },
299
+ components: {
300
+ FailureShow,
301
+ 'failure-show': FailureShow
302
+ }
303
+ }
304
+ </script>
305
+ <style scoped>
306
+ .searBtn {
307
+ background: #FFFFFF;
308
+ color: #0096fb;
309
+ border: 1px solid #0096fb;
310
+ border-radius: 5px;
311
+ padding: 8px;
312
+ text-align: center;
313
+ font-size: 1.2em;
314
+ z-index: 10;
315
+ opacity:0.5;
316
+ bottom: 50px;
317
+ margin-top: -10px;
318
+ height: 40px;
319
+ }
320
+ .bg {
321
+ background-color: #499edf;
322
+ height: 1px;
323
+ border: 0;
324
+ }
325
+ .app-row {
326
+ background-color: white;
327
+ padding: 10px 10px 0 10px;
328
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
329
+ }
330
+ .search_input {
331
+ border: 0;
332
+ outline: none;
333
+ }
334
+ .font{
335
+ font: 15px PingFang-SC-Medium;
336
+ color: #666666;
337
+ }
338
+ .input-font{
339
+ font: 15px PingFang-SC-Medium;
340
+ color: #333333;
341
+ }
342
+ .btn-font{
343
+ font:600 16px PingFang-SC-Bold;
344
+ color: #499EDF;
345
+ }
346
+ .btn-color{
347
+ background-color: #FFFFFF;
348
+ border-radius: 10px ;
349
+ border: 1px solid #499EDF;
350
+ }
351
+ .panel-blue-border {
352
+ border: 1px solid #499edf;
353
+ border-radius: 5px;
354
+ }
355
+ </style>