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
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
<div class="bq-parent" v-if="shutype == 'heng'">
|
|
7
7
|
<blockquote class="blockquote">
|
|
8
|
-
<p>费用<a
|
|
8
|
+
<p>费用<a @click="mute()" style="float:right" href="javascript:void(0)" class="repair-mute-class"><img
|
|
9
|
+
src="../../../assets/novoice.png" width="25px;" alt=""><span
|
|
10
|
+
style="margin-left:10px;color: #304A66">关闭声音</span></a></p>
|
|
9
11
|
</blockquote>
|
|
10
12
|
</div>
|
|
11
13
|
<div class="auto repair-info-content compatible" v-if="materialsumshow">
|
|
@@ -40,22 +42,34 @@
|
|
|
40
42
|
<!--</div>-->
|
|
41
43
|
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
|
|
42
44
|
<label class="text-justify lb-left">维修内容:</label>
|
|
43
|
-
<span v-if="show" style="font-weight:bold">{{model.f_remarks}}</span>
|
|
44
|
-
<textarea class="form-control" cols="30" rows="4" style="resize: vertical;" v-model="model.f_remarks"
|
|
45
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_remarks }}</span>
|
|
46
|
+
<textarea class="form-control" cols="30" rows="4" style="resize: vertical;" v-model="model.f_remarks"
|
|
47
|
+
v-if="!show" :disabled="issee"></textarea>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
|
|
50
|
+
<label class="text-justify lb-left">维修内容:</label>
|
|
51
|
+
<v-select
|
|
52
|
+
:value.sync="model.f_failure"
|
|
53
|
+
:options='failure_list'
|
|
54
|
+
placeholder='请选择'
|
|
55
|
+
close-on-select
|
|
56
|
+
:multiple="true"
|
|
57
|
+
:value-single="false"
|
|
58
|
+
></v-select>
|
|
45
59
|
</div>
|
|
46
60
|
</div>
|
|
47
61
|
<div class="row auto" v-if="imgtpe">
|
|
48
|
-
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group"
|
|
49
|
-
<label class="text-justify lb-left">{{row.title}}</label>
|
|
50
|
-
<img-area
|
|
62
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group" v-for="row in imgstype">
|
|
63
|
+
<label class="text-justify lb-left">{{ row.title }}</label>
|
|
64
|
+
<img-area :model="model.imgs" :sutitle="getsutitle(row.title)"></img-area>
|
|
51
65
|
</div>
|
|
52
66
|
</div>
|
|
53
|
-
<img-area
|
|
67
|
+
<img-area :model="model.imgs" :sutitle="'总体照片'" v-if="!imgtpe"></img-area>
|
|
54
68
|
<div v-if="check" style="margin: 15px 10px; display: flex; flex-direction: column; gap: 10px">
|
|
55
69
|
<div style="border-left: 5px solid #a9beeb;padding-left: 10px;">请确认并勾选以下事项然后进行签名</div>
|
|
56
70
|
<div>
|
|
57
71
|
<input style="margin-right: 5px" type="checkbox" v-model="isCheck" :value.sync="isCheck">
|
|
58
|
-
{{check}}
|
|
72
|
+
{{ check }}
|
|
59
73
|
</div>
|
|
60
74
|
</div>
|
|
61
75
|
<p style="font-size: 15px;font-weight: bold" v-if="model.f_sign_imgid">客户签名:</p>
|
|
@@ -66,184 +80,187 @@
|
|
|
66
80
|
<new-sign :value="model.f_signname" @input="getSignValue"></new-sign>
|
|
67
81
|
</div>
|
|
68
82
|
<div v-if="show && model.f_sign_imgid">
|
|
69
|
-
<img :src="'rs/file/getfile/' + model.f_sign_imgid" :width="150" :height="200"
|
|
83
|
+
<img :src="'rs/file/getfile/' + model.f_sign_imgid" :width="150" :height="200">
|
|
70
84
|
</div>
|
|
71
85
|
</div>
|
|
72
86
|
<material-sum v-if="!materialsumshow" v-on:sumchange="sumchange"
|
|
73
|
-
v-on:back="showchenge" :material="model.material" :f_cost_material="model.f_cost_material"
|
|
87
|
+
v-on:back="showchenge" :material="model.material" :f_cost_material="model.f_cost_material"
|
|
88
|
+
:show="show">
|
|
74
89
|
</material-sum>
|
|
75
90
|
</validator>
|
|
76
91
|
</div>
|
|
77
92
|
</template>
|
|
78
93
|
|
|
79
94
|
<script>
|
|
80
|
-
import Vue from 'vue'
|
|
81
|
-
import * as Util from '../../../components/Util'
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
show: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: false
|
|
95
|
-
},
|
|
96
|
-
f_single_man: {
|
|
97
|
-
type: Object
|
|
98
|
-
},
|
|
99
|
-
system: '',
|
|
100
|
-
shutype: 'heng',
|
|
101
|
-
issee:''
|
|
102
|
-
},
|
|
103
|
-
data () {
|
|
104
|
-
return {
|
|
105
|
-
signType:{
|
|
106
|
-
type: Boolean,
|
|
107
|
-
default: true
|
|
95
|
+
import Vue from 'vue'
|
|
96
|
+
import * as Util from '../../../components/Util'
|
|
97
|
+
|
|
98
|
+
export default {
|
|
99
|
+
title: '费用',
|
|
100
|
+
props: {
|
|
101
|
+
// 本次维修, 包含照片数组 材料数组
|
|
102
|
+
model: {
|
|
103
|
+
type: Object
|
|
104
|
+
},
|
|
105
|
+
service: {
|
|
106
|
+
type: Object
|
|
108
107
|
},
|
|
109
|
-
|
|
110
|
-
imgurl: 'http://192.168.2.77:8081',
|
|
111
|
-
fileName: '',
|
|
112
|
-
materialsumshow: { // 控制明细组件和费用层的 显示 fasle 明细组建显示
|
|
108
|
+
show: {
|
|
113
109
|
type: Boolean,
|
|
114
|
-
default:
|
|
110
|
+
default: false
|
|
115
111
|
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
methods: {
|
|
123
|
-
getSignValue(fileName){
|
|
124
|
-
//tag
|
|
125
|
-
//tag
|
|
126
|
-
this.model.f_signname = fileName
|
|
127
|
-
this.model.f_sign_path = this.$androidUtil.getFullFileName(fileName)
|
|
128
|
-
},
|
|
129
|
-
getsutitle(val){
|
|
130
|
-
return val
|
|
131
|
-
},
|
|
132
|
-
mute () {
|
|
133
|
-
HostApp.mute()
|
|
134
|
-
},
|
|
135
|
-
// 签名回调
|
|
136
|
-
signCallback(prop, fileName) {
|
|
137
|
-
// HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
|
|
138
|
-
HostApp.__this__.$set('model.f_signname', fileName)
|
|
139
|
-
HostApp.__callback__ = null
|
|
140
|
-
HostApp.__this__ = null
|
|
141
|
-
},
|
|
142
|
-
// 用户签名
|
|
143
|
-
sign() {
|
|
144
|
-
this.delAudioFile('f_signname', this.model.f_signname)
|
|
145
|
-
let prop = 'f_signname'
|
|
146
|
-
let idx = 'aofeng'
|
|
147
|
-
let fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
|
|
148
|
-
HostApp.__callback__ = this.signCallback
|
|
149
|
-
HostApp.__this__ = this
|
|
150
|
-
HostApp.getSignature({
|
|
151
|
-
file: fileName,
|
|
152
|
-
requestCode: 111,
|
|
153
|
-
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
|
|
154
|
-
})
|
|
112
|
+
f_single_man: {
|
|
113
|
+
type: Object
|
|
114
|
+
},
|
|
115
|
+
system: '',
|
|
116
|
+
shutype: 'heng',
|
|
117
|
+
issee: ''
|
|
155
118
|
},
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
119
|
+
data() {
|
|
120
|
+
return {
|
|
121
|
+
signType: {
|
|
122
|
+
type: Boolean,
|
|
123
|
+
default: true
|
|
124
|
+
},
|
|
125
|
+
// 拍照时的文件名
|
|
126
|
+
imgurl: 'http://192.168.2.77:8081',
|
|
127
|
+
fileName: '',
|
|
128
|
+
materialsumshow: { // 控制明细组件和费用层的 显示 fasle 明细组建显示
|
|
129
|
+
type: Boolean,
|
|
130
|
+
default: true
|
|
131
|
+
},
|
|
132
|
+
failure_list: [{label: "请选择", value: ""}, ...this.$appdata.getParam('表具故障原因')],
|
|
133
|
+
imgtpe: false,
|
|
134
|
+
imgstype: [],
|
|
135
|
+
check: '',
|
|
136
|
+
isCheck: false
|
|
162
137
|
}
|
|
163
138
|
},
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
//
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
139
|
+
methods: {
|
|
140
|
+
getSignValue(fileName) {
|
|
141
|
+
//tag
|
|
142
|
+
//tag
|
|
143
|
+
this.model.f_signname = fileName
|
|
144
|
+
this.model.f_sign_path = this.$androidUtil.getFullFileName(fileName)
|
|
145
|
+
},
|
|
146
|
+
getsutitle(val) {
|
|
147
|
+
return val
|
|
148
|
+
},
|
|
149
|
+
mute() {
|
|
150
|
+
HostApp.mute()
|
|
151
|
+
},
|
|
152
|
+
// 签名回调
|
|
153
|
+
signCallback(prop, fileName) {
|
|
154
|
+
// HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
|
|
155
|
+
HostApp.__this__.$set('model.f_signname', fileName)
|
|
156
|
+
HostApp.__callback__ = null
|
|
157
|
+
HostApp.__this__ = null
|
|
158
|
+
},
|
|
159
|
+
// 用户签名
|
|
160
|
+
sign() {
|
|
161
|
+
this.delAudioFile('f_signname', this.model.f_signname)
|
|
162
|
+
let prop = 'f_signname'
|
|
163
|
+
let idx = 'aofeng'
|
|
164
|
+
let fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
|
|
165
|
+
HostApp.__callback__ = this.signCallback
|
|
166
|
+
HostApp.__this__ = this
|
|
167
|
+
HostApp.getSignature({
|
|
168
|
+
file: fileName,
|
|
169
|
+
requestCode: 111,
|
|
170
|
+
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
|
|
171
|
+
})
|
|
172
|
+
},
|
|
173
|
+
delAudioFile(prop, fileName) {
|
|
174
|
+
if (!fileName)
|
|
175
|
+
return
|
|
176
|
+
else {
|
|
177
|
+
HostApp.delfile(fileName)
|
|
178
|
+
this.model[prop] = null
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
// 从图片中删除
|
|
182
|
+
remove(row) {
|
|
183
|
+
this.$androidUtil.delfile(row.android_file)
|
|
184
|
+
let pos = this.model.imgs.findIndex((value) => {
|
|
185
|
+
return value === row
|
|
186
|
+
})
|
|
187
|
+
this.model.imgs.splice(pos, 1)
|
|
188
|
+
},
|
|
189
|
+
// fileName: 回传文件名,传入的带安卓路径url
|
|
190
|
+
// prop: 传入的字段名,没做改动
|
|
191
|
+
cameraCallBack(prop, fileName) {
|
|
192
|
+
// 当前this只能通过HostApp.__tis__获取
|
|
193
|
+
let self = this.$androidUtil.getCallBack(this)
|
|
194
|
+
// 添加新图片
|
|
195
|
+
self.model.imgs.push({
|
|
196
|
+
android_file: self.fileName,
|
|
197
|
+
path: fileName
|
|
198
|
+
})
|
|
199
|
+
},
|
|
200
|
+
takePic() {
|
|
201
|
+
let prop = 'repair'
|
|
202
|
+
let idx = 'aofeng'
|
|
203
|
+
this.fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
|
|
204
|
+
this.$androidUtil.takePic(this, this.cameraCallBack, this.fileName)
|
|
205
|
+
},
|
|
206
|
+
// 明细组件显示
|
|
207
|
+
sumshow() {
|
|
208
|
+
this.materialsumshow = false
|
|
209
|
+
},
|
|
210
|
+
// 当材料明细发生变化 材料费随之变化
|
|
211
|
+
sumchange(val) {
|
|
201
212
|
this.model.f_cost_material = val
|
|
213
|
+
},
|
|
214
|
+
// 返回 总材料费 关闭材料费详情界面
|
|
215
|
+
showchenge(val) {
|
|
216
|
+
this.materialsumshow = true
|
|
217
|
+
if (!isNaN(val)) {
|
|
218
|
+
this.model.f_cost_material = val
|
|
219
|
+
}
|
|
202
220
|
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
221
|
+
},
|
|
222
|
+
ready() {
|
|
223
|
+
if (Vue.config.telephone.Outlay.data != undefined) {
|
|
224
|
+
this.check = Vue.config.telephone.Outlay.data.check
|
|
225
|
+
if (!this.check) {
|
|
226
|
+
this.isCheck = true
|
|
227
|
+
}
|
|
228
|
+
//tag
|
|
229
|
+
//tag)
|
|
230
|
+
if (this.service.f_user_type == '民用') {
|
|
231
|
+
this.imgstype = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.Outlay.data[this.service.f_workorder_type].civil)))
|
|
232
|
+
} else {
|
|
233
|
+
this.imgstype = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.Outlay.data[this.service.f_workorder_type].nocivil)))
|
|
234
|
+
}
|
|
235
|
+
if (this.imgstype.length > 0) {
|
|
236
|
+
this.imgtpe = true
|
|
237
|
+
}
|
|
210
238
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
if(this.service.f_user_type == '民用'){
|
|
214
|
-
this.imgstype = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.Outlay.data[this.service.f_workorder_type].civil)))
|
|
215
|
-
}else{
|
|
216
|
-
this.imgstype = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.Outlay.data[this.service.f_workorder_type].nocivil)))
|
|
239
|
+
if (navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')) {
|
|
240
|
+
this.signType = false
|
|
217
241
|
}
|
|
218
|
-
if(this.
|
|
219
|
-
this.
|
|
242
|
+
if (this.model && this.model.f_single_man) {
|
|
243
|
+
this.model.f_single_man = this.f_single_man
|
|
220
244
|
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
Detail(){
|
|
240
|
-
if (this.model.imgs && this.model.servicerepair.length > 0) {
|
|
241
|
-
let result = this.model.servicerepair.find((row) => {
|
|
242
|
-
return row.f_type === this.repairitem.header
|
|
243
|
-
})
|
|
244
|
-
return result
|
|
245
|
+
if (!this.show && this.model) {
|
|
246
|
+
if (Vue.user == undefined)
|
|
247
|
+
return
|
|
248
|
+
this.model.f_order_man = Vue.user.name
|
|
249
|
+
this.model.f_order_man_id = Vue.user.id
|
|
250
|
+
}
|
|
251
|
+
//tag
|
|
252
|
+
//tag
|
|
253
|
+
//tag
|
|
254
|
+
},
|
|
255
|
+
computed: {
|
|
256
|
+
Detail() {
|
|
257
|
+
if (this.model.imgs && this.model.servicerepair.length > 0) {
|
|
258
|
+
let result = this.model.servicerepair.find((row) => {
|
|
259
|
+
return row.f_type === this.repairitem.header
|
|
260
|
+
})
|
|
261
|
+
return result
|
|
262
|
+
}
|
|
245
263
|
}
|
|
246
264
|
}
|
|
247
265
|
}
|
|
248
|
-
}
|
|
249
266
|
</script>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div style="height: auto;width: 100%" class="repair-bg">
|
|
3
|
+
<work-busy :is-busy="saveing" v-show="saveing"></work-busy>
|
|
3
4
|
<div class="bq-parent">
|
|
4
5
|
<blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
5
6
|
<p>
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
104
105
|
用户姓名: {{ row.f_user_name }}
|
|
105
106
|
</div>
|
|
106
|
-
<div
|
|
107
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
107
108
|
来电电话: {{ row.f_phone }}
|
|
108
109
|
<img src="../../../assets/telphonesend.png" style="width: 12px;"
|
|
109
110
|
@click.stop.prevent='makeAPhoneCall(row.f_phone)'>
|
|
@@ -257,6 +258,7 @@
|
|
|
257
258
|
<script>
|
|
258
259
|
import FailureShow from '../../../components/pc/FailureShow'
|
|
259
260
|
import {HttpResetClass} from 'vue-client'
|
|
261
|
+
import * as Util from '../../../components/Util'
|
|
260
262
|
import Vue from 'vue'
|
|
261
263
|
// 工作类型对应的各项设置
|
|
262
264
|
const config = {
|
|
@@ -283,7 +285,8 @@ export default {
|
|
|
283
285
|
}
|
|
284
286
|
]
|
|
285
287
|
},
|
|
286
|
-
|
|
288
|
+
saveing:false,
|
|
289
|
+
sendbackmodel:{},
|
|
287
290
|
// rows: Object
|
|
288
291
|
rows: [{
|
|
289
292
|
f_user_name: '',
|
|
@@ -349,10 +352,12 @@ export default {
|
|
|
349
352
|
methods: {
|
|
350
353
|
// 结案确认
|
|
351
354
|
caseok(){
|
|
355
|
+
this.saveing = true
|
|
352
356
|
let info = {
|
|
353
357
|
id:this.selectone.id_back,
|
|
354
358
|
f_state : '',
|
|
355
359
|
f_processid: this.selectone.f_processid,
|
|
360
|
+
f_closing_time: Util.toStandardTimeString(),
|
|
356
361
|
f_orderstatus:'无法处理'
|
|
357
362
|
}
|
|
358
363
|
// 工单结案操作
|
|
@@ -362,11 +367,15 @@ export default {
|
|
|
362
367
|
resolveMsg: null,
|
|
363
368
|
rejectMsg: null
|
|
364
369
|
}).then(() => {
|
|
370
|
+
this.saveing = false
|
|
365
371
|
this.$showMessage('结案成功!')
|
|
366
372
|
this.endshow = false
|
|
367
373
|
this.f_caseremarks = ''
|
|
368
374
|
// 刷新界面
|
|
369
375
|
this.getNewOrder()
|
|
376
|
+
}).catch((error)=>{
|
|
377
|
+
this.saveing=false
|
|
378
|
+
this.$showMessage('网络异常,结案失败!')
|
|
370
379
|
})
|
|
371
380
|
},
|
|
372
381
|
// 结案返回
|
|
@@ -380,6 +389,7 @@ export default {
|
|
|
380
389
|
this.endshow = true
|
|
381
390
|
},
|
|
382
391
|
WorkBack() {
|
|
392
|
+
this.saveing=true
|
|
383
393
|
this.model = this.sendbackmodel
|
|
384
394
|
this.model.serviceacitivity = [{
|
|
385
395
|
f_site_back_date: '',
|
|
@@ -403,10 +413,14 @@ export default {
|
|
|
403
413
|
resolveMsg: null,
|
|
404
414
|
rejectMsg: null
|
|
405
415
|
}).then(() => {
|
|
416
|
+
this.saveing=false
|
|
406
417
|
this.$showMessage('退回成功!!!')
|
|
407
418
|
this.f_site_back_reason = ''
|
|
408
419
|
this.editflag = false
|
|
409
420
|
this.getNewOrder()
|
|
421
|
+
}).catch((error)=>{
|
|
422
|
+
this.saveing=false
|
|
423
|
+
this.$showMessage('网络异常,退回失败!!!')
|
|
410
424
|
})
|
|
411
425
|
},
|
|
412
426
|
WorkBackclose() {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
<!--<p>生成时间: {{service.f_created_date}}</p>-->
|
|
17
17
|
<!--<p>预约时间: {{service.f_repair_date}}</p>-->
|
|
18
18
|
<p>来电电话: {{service.f_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
|
|
19
|
+
<p>联系电话: {{service.f_contact_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_contact_phone)'></p>
|
|
19
20
|
<p>开启录音:<button type="button" class="btn btn-default" @click="openRecord()">开启</button>
|
|
20
21
|
</p>
|
|
21
22
|
<!--<p>用户姓名: {{service.f_user_name}}</p>-->
|
|
@@ -46,8 +46,10 @@
|
|
|
46
46
|
<th><nobr>产品安装</nobr></th>
|
|
47
47
|
<th><nobr>抢险维修</nobr></th>
|
|
48
48
|
<th><nobr>换表</nobr></th>
|
|
49
|
+
<th><nobr>整改</nobr></th>
|
|
49
50
|
<th><nobr>合计</nobr></th>
|
|
50
|
-
|
|
51
|
+
<th><nobr>无法处理</nobr></th>
|
|
52
|
+
<th><nobr>未完成</nobr></th>
|
|
51
53
|
</tr>
|
|
52
54
|
</template>
|
|
53
55
|
<template partial='body'>
|
|
@@ -59,7 +61,10 @@
|
|
|
59
61
|
<td style="text-align: center">{{row.chanpinanzhuang}}</td>
|
|
60
62
|
<td style="text-align: center">{{row.qiangxianweixiu}}</td>
|
|
61
63
|
<td style="text-align: center">{{row.huanbiao}}</td>
|
|
64
|
+
<td style="text-align: center">{{row.zhenggai}}</td>
|
|
62
65
|
<td style="text-align: center">{{row.total}}</td>
|
|
66
|
+
<td style="text-align: center">{{row.wufachuli}}</td>
|
|
67
|
+
<td style="text-align: center">{{row.weiwancheng}}</td>
|
|
63
68
|
</template>
|
|
64
69
|
</data-grid>
|
|
65
70
|
</criteria-paged>
|
|
@@ -90,7 +95,10 @@
|
|
|
90
95
|
'chanpinanzhuang': '产品安装',
|
|
91
96
|
'qiangxianweixiu': '抢险维修',
|
|
92
97
|
'huanbiao': '换表',
|
|
93
|
-
'
|
|
98
|
+
'zhenggai': '整改',
|
|
99
|
+
'total': '合计',
|
|
100
|
+
'wufachuli': '无法处理',
|
|
101
|
+
'weiwancheng': '未完成',
|
|
94
102
|
},
|
|
95
103
|
}
|
|
96
104
|
},
|
|
@@ -120,9 +120,18 @@
|
|
|
120
120
|
<th>
|
|
121
121
|
用户信息
|
|
122
122
|
</th>
|
|
123
|
+
<th>
|
|
124
|
+
来电电话
|
|
125
|
+
</th>
|
|
126
|
+
<th>
|
|
127
|
+
联系电话
|
|
128
|
+
</th>
|
|
123
129
|
<th>
|
|
124
130
|
工单状态
|
|
125
131
|
</th>
|
|
132
|
+
<th>
|
|
133
|
+
备注
|
|
134
|
+
</th>
|
|
126
135
|
<th>
|
|
127
136
|
操作
|
|
128
137
|
</th>
|
|
@@ -146,10 +155,22 @@
|
|
|
146
155
|
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
147
156
|
{{ row.f_user_name }} {{ row.f_address }} {{ row.f_contact_name }}
|
|
148
157
|
</td>
|
|
158
|
+
<td
|
|
159
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
160
|
+
{{ row.f_phone }}
|
|
161
|
+
</td>
|
|
162
|
+
<td
|
|
163
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
164
|
+
{{ row.f_contact_phone }}
|
|
165
|
+
</td>
|
|
149
166
|
<td
|
|
150
167
|
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
151
168
|
{{ row.defname }}
|
|
152
169
|
</td>
|
|
170
|
+
<td
|
|
171
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
172
|
+
{{ row.f_remarks }}
|
|
173
|
+
</td>
|
|
153
174
|
<td
|
|
154
175
|
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}"
|
|
155
176
|
style="text-align: center;">
|
|
@@ -395,7 +416,10 @@ export default {
|
|
|
395
416
|
'f_created_date': '派单时间',
|
|
396
417
|
'f_user_name': '用户姓名',
|
|
397
418
|
'f_address': '用户地址',
|
|
398
|
-
'f_contact_name': '联系人'
|
|
419
|
+
'f_contact_name': '联系人',
|
|
420
|
+
'f_phone': '来电电话',
|
|
421
|
+
'f_contact_phone': '联系电话',
|
|
422
|
+
'f_remarks':'备注'
|
|
399
423
|
},
|
|
400
424
|
//投诉单在modal框显示的信息
|
|
401
425
|
showModalComplan: {
|