telephone-clients 3.0.78 → 3.0.80

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.78",
3
+ "version": "3.0.80",
4
4
  "description": "呼叫模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -125,7 +125,11 @@
125
125
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>派单时间:</b></p>
126
126
  <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_created_date }}</p>
127
127
  </div>
128
- <div class="col-xs-12">
128
+ <div class="col-xs-6">
129
+ <p class="panel-title col-xs-5 text-left font" style="float: left"><b>派单员:</b></p>
130
+ <p class="panel-title col-xs-7 text-left input-font">{{row.f_attendant}} </p>
131
+ </div>
132
+ <div class="col-xs-6">
129
133
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
130
134
  <p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_name }}
131
135
  </p>
@@ -134,7 +138,10 @@
134
138
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
135
139
  <p class="panel-title col-xs-7 text-left input-font">{{ row.f_address }} &nbsp;&nbsp; {{row.f_contact_name}} </p>
136
140
  </div>
137
-
141
+ <div class="col-xs-12">
142
+ <failure-show :value='row.failure'>
143
+ </failure-show>
144
+ </div>
138
145
  <div class="col-xs-12">
139
146
  <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" @click="$parent.$parent.$parent.inspect(row)">接单</button>
140
147
  </div>
@@ -41,7 +41,7 @@
41
41
  <label class="font_normal_body" style="width: 30%">联系电话</label>
42
42
  <input type="text" name="" v-model='model.f_contact_phone' class="form-control" style="width: 60%">
43
43
  </div>
44
- <div class="col-sm-6 form-group form-fix-width">
44
+ <div class="col-sm-6 form-group form-fix-width" v-if="dotype">
45
45
  <label class=" font_normal_body" style="width: 30%">处理方式</label>
46
46
  <v-select :value="picked1" :value-single="true"
47
47
  v-model="picked1"
@@ -125,6 +125,8 @@ export default {
125
125
  },
126
126
  data () {
127
127
  return {
128
+ // 咨询投诉处理方式是否显示
129
+ dotype: this.$appdata.getSingleValue('咨询投诉处理方式')?this.$appdata.getSingleValue('咨询投诉处理方式'):false,
128
130
  saveing:false,
129
131
  picked: 'done', //待办/已办
130
132
  picked1:'处理',
@@ -47,7 +47,7 @@
47
47
  <label class="font_normal_body" for="two" style="width: 35%">处理</label>
48
48
  <input class="" type="radio" id="two" value="done" style="margin-top: 15px" v-model="picked">
49
49
  </div>-->
50
- <div class="col-sm-6 form-group form-fix-width">
50
+ <div class="col-sm-6 form-group form-fix-width" v-if="dotype">
51
51
  <label class=" font_normal_body" style="width: 30%">处理方式</label>
52
52
  <v-select :value="picked1" :value-single="true"
53
53
  v-model="picked1"
@@ -112,6 +112,8 @@ export default {
112
112
  },
113
113
  data () {
114
114
  return {
115
+ // 咨询投诉处理方式是否显示
116
+ dotype: this.$appdata.getSingleValue('咨询投诉处理方式')?this.$appdata.getSingleValue('咨询投诉处理方式'):false,
115
117
  saveing:false,
116
118
  model: {
117
119
  // 一次派单
@@ -68,7 +68,7 @@
68
68
  <script>
69
69
  import { PagedList, HttpResetClass } from 'vue-client'
70
70
  export default {
71
- title: '话务员统计',
71
+ title: '维修员统计',
72
72
  data () {
73
73
  return {
74
74
  model: new PagedList('rs/sql/getTelByOrderMan', 20, {},{telcount:'',wccount:'',wwccount:''}),
@@ -235,6 +235,14 @@
235
235
  title: '维修员平板首页',
236
236
  data () {
237
237
  return {
238
+ backservice:'是',
239
+ // 单条记录
240
+ sendbackmodel:{
241
+ f_service_id:'',
242
+ f_user_name:''
243
+ },
244
+ // 退回原因
245
+ f_site_back_reason:'',
238
246
  model: {
239
247
  serviceacitivity: [{
240
248
  f_site_back_date: '',
@@ -306,8 +314,7 @@
306
314
  serviceid: '',
307
315
  f_site_back_reason:this.f_site_back_reason,
308
316
  f_service_acitivity_type: ''
309
- }
310
- ]
317
+ }]
311
318
  if(!this.f_site_back_reason){
312
319
  return this.$showMessage('请填写退回内容!')
313
320
  }
@@ -443,15 +450,8 @@
443
450
  }
444
451
  },
445
452
  sendback(row){
446
- this.$showMessage('退回后数据不可恢复,确认退回操作吗?', ['confirm', 'cancel'],{resolveMsg: null, rejectMsg: null}).then((res) => {
447
- if (res === 'confirm') {
448
- this.editflag = true
449
- this.sendbackmodel = row
450
- console.log("需要的参数"+JSON.stringify( this.sendbackmodel))
451
- }else {
452
- this.editflag = false
453
- }
454
- })
453
+ this.editflag = true
454
+ this.sendbackmodel = row
455
455
  },
456
456
  moveservice(row){
457
457
  this.moveselected = row
@@ -68,12 +68,11 @@
68
68
  // 可用故障类型列表
69
69
  failuresAll: [
70
70
  {f_failure_type: '安检', f_equipment: '安检'},
71
- {f_failure_type: '抢险抢修'},
72
- {f_failure_type: '故障维修'},
73
- {f_failure_type: '不着火'},
74
- {f_failure_type: '报警器', f_equipment: '报警器'},
75
- {f_failure_type: '燃气表', f_equipment: '燃气表'},
76
- {f_failure_type: '用户改管'}
71
+ {f_failure_type: '抢险抢修',f_equipment:'抢险抢修'},
72
+ {f_failure_type: '故障维修',f_equipment:'故障维修'},
73
+ {f_failure_type: '置换开通',f_equipment:'置换开通'},
74
+ {f_failure_type: '用户改管',f_equipment:'用户改管'},
75
+ {f_failure_type: '其他'}
77
76
  ]
78
77
  }
79
78
  },