telephone-clients 3.0.103 → 3.0.104-1
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 +7 -9
- 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/VisitInfo.vue +0 -11
- package/src/components/pc/NewRepairPaper.vue +3 -3
- package/src/components/pc/RepairsWork.vue +22 -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 +0 -10
- 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 +712 -706
- 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 +2 -2
- 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/furuike/pc/WorkHistory.vue +576 -576
- package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
- 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 +537 -512
- package/src/filiale/qianneng/android/chargesList.vue +161 -161
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -248
- package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
- 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/pc/changetable.vue +273 -0
- package/src/filiale/qianneng/telephone.js +22 -20
- 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 +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/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/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/telephone.js +4 -6
- package/src/filiale/wenxi/telephoneAndroid.js +4 -1
- package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
- 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 +16 -0
- package/src/weinan.js +6 -0
- package/src/filiale/wenxi/pc/WorkListAll.vue +0 -647
|
@@ -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>-->
|