telephone-clients 3.0.104-10 → 3.0.104-101
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 -54
- package/src/components/android/ImgArea.vue +80 -0
- package/src/components/guoxin/Console.vue +42 -14
- package/src/components/guoxin/call.state.api.js +3 -1
- package/src/components/pc/ComplainWork.vue +3 -0
- package/src/components/pc/NewRepairPaper.vue +378 -370
- package/src/components/pc/RecordListLeft.vue +80 -10
- package/src/components/pc/RepairsWork.vue +33 -3
- package/src/components/pc/RoleSelector.vue +7 -1
- package/src/components/pc/Seekwork.vue +3 -0
- package/src/components/pc/SiteSend.vue +38 -1
- package/src/components/pc/TelLossList.vue +20 -3
- package/src/components/pc/WorkHistory.vue +1 -1
- package/src/components/pc/WorkList.vue +4 -3
- package/src/components/pc/WorkListAllNew.vue +16 -8
- package/src/components/pc/WorkListNew.vue +722 -712
- package/src/components/sendsingle/onlinequeryuser.vue +1 -1
- package/src/components/telcount/TelByOrderMan.vue +22 -4
- package/src/components/telreport/RepairsDetailsReport.vue +2 -2
- package/src/components/telreport/TrafficClassificationReport.vue +13 -13
- package/src/components/telreport/Trafficassess.vue +2 -2
- package/src/components/temp/HandplanInfo.vue +5 -1
- package/src/components/temp/InstructInfo.vue +1 -1
- package/src/components/temp/SecuritycheckInfo.vue +14 -0
- package/src/components/workorder/RepairDetails.vue +8 -2
- package/src/components/workorder/RepairInfo.vue +3 -3
- package/src/components/workorder/RepairPaperAndroid.vue +351 -0
- package/src/components/workorder/ServiceOnlineQuery.vue +306 -0
- package/src/components/workorder/TemporarySingle.vue +346 -302
- package/src/filiale/furuike/pc/QueryVisitHistory.vue +14 -1
- package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
- package/src/filiale/hanzhong/telephone.js +1 -1
- package/src/filiale/jiaocheng/android/createQRcode.vue +204 -0
- package/src/filiale/jiaocheng/android/onlineBuyGas.vue +637 -0
- package/src/filiale/jiaocheng/telephone.js +8 -0
- package/src/filiale/jiaocheng/telephoneAndroid.js +15 -0
- package/src/filiale/lixian/onlineChangeMeter.vue +481 -0
- package/src/filiale/lixian/onlineoperation.vue +606 -0
- package/src/filiale/lixian/onlinequeryuser.vue +509 -0
- package/src/filiale/lixian/telephoneAndroid.js +23 -0
- package/src/filiale/qianneng/android/AppInstallationMaterial.vue +880 -845
- package/src/filiale/qianneng/android/TemporarySingle.vue +537 -537
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -260
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
- package/src/filiale/qianneng/pc/RepairsWork.vue +992 -992
- package/src/filiale/qianneng/pc/WorkListAllNew.vue +757 -757
- package/src/filiale/qianneng/pc/changetable.vue +273 -273
- package/src/filiale/qianneng/telephone.js +22 -22
- package/src/filiale/rizhao/pc/IgnitionVentilation.vue +0 -1
- package/src/filiale/rizhao/pc/RepairsWork.vue +0 -1
- package/src/filiale/rizhao/pc/WorkListAllNew.vue +11 -5
- package/src/filiale/rizhao/telephone.js +1 -1
- package/src/filiale/shanxian/android/RepairFirstV.vue +3 -0
- package/src/filiale/shanxian/pc/TelFindUser.vue +310 -0
- package/src/filiale/shanxian/pc/WorkList.vue +2 -2
- package/src/filiale/shanxian/telephone.js +1 -0
- package/src/filiale/shexian/android/AddMyTask.vue +7 -0
- package/src/filiale/shexian/android/RepairFirstV.vue +5 -0
- package/src/filiale/shexian/android/RepairInfo.vue +1 -0
- package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +9 -9
- package/src/filiale/shexian/pc/TelByRepairType.vue +3 -3
- package/src/filiale/shexian/pc/WorkList.vue +4 -1
- package/src/filiale/shexian/pc/WorkListAllNew.vue +14 -1
- package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
- package/src/filiale/tongchuan/pc/AnalysisMain.vue +7 -7
- package/src/filiale/tongchuan/pc/RepairsWork.vue +8 -0
- package/src/filiale/tongchuan/pc/UserWork.vue +8 -0
- package/src/filiale/tongchuan/telephoneAndroid.js +1 -0
- package/src/filiale/wenxi/android/FaultAll.vue +710 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +73 -162
- package/src/filiale/wenxi/android/RepairOrderV.vue +1 -1
- package/src/filiale/wenxi/android/ZHihuanFirst.vue +149 -129
- package/src/filiale/wenxi/pc/DistributeWork.vue +1 -1
- package/src/filiale/wenxi/pc/RecordListLeft.vue +272 -0
- package/src/filiale/wenxi/pc/RepairsWork.vue +143 -64
- package/src/filiale/wenxi/pc/TelAgentVoiceReport.vue +290 -0
- package/src/filiale/wenxi/pc/TelLossList.vue +272 -0
- package/src/filiale/wenxi/telephone.js +4 -0
- package/src/filiale/wenxi/telephoneAndroid.js +2 -1
- package/src/filiale/wuhai/telephone.js +1 -1
- package/src/filiale/yuncheng/android/LdapHelper.js +75 -0
- package/src/filiale/yuncheng/android/Outlay.vue +201 -0
- package/src/filiale/yuncheng/android/RepairInfo.vue +163 -0
- package/src/filiale/yuncheng/android/RepairOrderV.vue +1483 -0
- package/src/filiale/yuncheng/android/RepairUserInfo.vue +390 -0
- package/src/filiale/yuncheng/android/RightTree.vue +218 -0
- package/src/filiale/yuncheng/android/TemporarySingle.vue +522 -0
- package/src/filiale/yuncheng/android/ZHihuanFirst.vue +541 -0
- package/src/filiale/yuncheng/pc/DistributeWork.vue +199 -0
- package/src/filiale/yuncheng/pc/GasWork.vue +773 -0
- package/src/filiale/yuncheng/pc/TelFindUser.vue +31 -11
- package/src/filiale/yuncheng/pc/WorkList.vue +823 -0
- package/src/filiale/yuncheng/pc/WorkListAllNew.vue +781 -0
- package/src/filiale/yuncheng/telephone.js +5 -1
- package/src/filiale/yuncheng/telephoneAndroid.js +19 -0
- package/src/filiale/zhongyi/pc/WorkListAllNew.vue +2 -1
- package/src/main.js +22 -22
- package/src/telephone-android.js +7 -0
- package/src/telephone.js +1 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="select-overspread repair-bg auto" style="padding-bottom:5px;">
|
|
3
|
+
<validator name="v">
|
|
4
|
+
<div class="bq-parent" v-if="shutype == 'heng'">
|
|
5
|
+
<blockquote class="blockquote">
|
|
6
|
+
<p>费用<a @click="mute()" style="float:right" href="javascript:void(0)" class="repair-mute-class"><img
|
|
7
|
+
src="../../../assets/novoice.png" width="25px;" alt=""><span
|
|
8
|
+
style="margin-left:10px;color: #304A66">关闭声音</span></a></p>
|
|
9
|
+
</blockquote>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="auto repair-info-content compatible" v-if="materialsumshow">
|
|
12
|
+
<div class="row auto">
|
|
13
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
|
|
14
|
+
<label class="text-justify lb-left">备注:</label>
|
|
15
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_remarks }}</span>
|
|
16
|
+
<textarea class="form-control" cols="30" rows="4" style="resize: vertical;" v-model="model.f_remarks"
|
|
17
|
+
v-if="!show" :disabled="issee"></textarea>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row auto" v-if="imgtpe">
|
|
21
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group" v-for="row in imgstype">
|
|
22
|
+
<label class="text-justify lb-left">{{ row.title }}</label>
|
|
23
|
+
<img-area :model="model.imgs" :sutitle="getsutitle(row.title)"></img-area>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<img-area :model="model.imgs" :sutitle="'总体照片'" v-if="!imgtpe"></img-area>
|
|
27
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group"
|
|
28
|
+
v-show="service.f_user_type == '民用' && service.f_workorder_type == '置换通气单'">
|
|
29
|
+
<label class="text-justify lb-left">安全告知:</label>
|
|
30
|
+
<span style="font-weight:bold">已告知气密5000Pa15分钟合格、安全提示贴已张贴、安全宣传页已发放、安全用气常识已讲解、保持24小时开窗通风、通气后严禁拆卸推拉门</span>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group"
|
|
33
|
+
v-show="service.f_user_type == '非民用' && service.f_workorder_type == '置换通气单'">
|
|
34
|
+
<label class="text-justify lb-left">安全告知:</label>
|
|
35
|
+
<span style="font-weight:bold">岗位职责、阀门开关巡检登记表</span>
|
|
36
|
+
</div>
|
|
37
|
+
<p style="font-size: 15px;font-weight: bold" v-if="model.f_sign_imgid">客户签名:</p>
|
|
38
|
+
<div v-if="!show && signType">
|
|
39
|
+
<Sign :signname="model.f_signname" @input="getSignValue"></Sign>
|
|
40
|
+
</div>
|
|
41
|
+
<div v-if="!show && !signType">
|
|
42
|
+
<new-sign :value="model.f_signname" @input="getSignValue"></new-sign>
|
|
43
|
+
</div>
|
|
44
|
+
<div v-if="show && model.f_sign_imgid">
|
|
45
|
+
<img :src="'rs/file/getfile/' + model.f_sign_imgid" :width="150" :height="200">
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<material-sum v-if="!materialsumshow" v-on:sumchange="sumchange"
|
|
49
|
+
v-on:back="showchenge" :material="model.material" :f_cost_material="model.f_cost_material"
|
|
50
|
+
:show="show">
|
|
51
|
+
</material-sum>
|
|
52
|
+
</validator>
|
|
53
|
+
</div>
|
|
54
|
+
</template>
|
|
55
|
+
|
|
56
|
+
<script>
|
|
57
|
+
import Vue from 'vue'
|
|
58
|
+
import * as Util from '../../../components/Util'
|
|
59
|
+
|
|
60
|
+
export default {
|
|
61
|
+
title: '费用',
|
|
62
|
+
props: {
|
|
63
|
+
model: {
|
|
64
|
+
type: Object
|
|
65
|
+
},
|
|
66
|
+
service: {
|
|
67
|
+
type: Object
|
|
68
|
+
},
|
|
69
|
+
show: {
|
|
70
|
+
type: Boolean,
|
|
71
|
+
default: false
|
|
72
|
+
},
|
|
73
|
+
f_single_man: {
|
|
74
|
+
type: Object
|
|
75
|
+
},
|
|
76
|
+
system: '',
|
|
77
|
+
shutype: 'heng',
|
|
78
|
+
issee: ''
|
|
79
|
+
},
|
|
80
|
+
data() {
|
|
81
|
+
return {
|
|
82
|
+
signType: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: true
|
|
85
|
+
},
|
|
86
|
+
imgurl: 'http://192.168.2.77:8081',
|
|
87
|
+
fileName: '',
|
|
88
|
+
materialsumshow: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: true
|
|
91
|
+
},
|
|
92
|
+
imgtpe: false,
|
|
93
|
+
imgstype: []
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
methods: {
|
|
97
|
+
getSignValue(fileName) {
|
|
98
|
+
this.model.f_signname = fileName
|
|
99
|
+
this.model.f_sign_path = this.$androidUtil.getFullFileName(fileName)
|
|
100
|
+
},
|
|
101
|
+
getsutitle(val) {
|
|
102
|
+
return val
|
|
103
|
+
},
|
|
104
|
+
mute() {
|
|
105
|
+
HostApp.mute()
|
|
106
|
+
},
|
|
107
|
+
signCallback(prop, fileName) {
|
|
108
|
+
HostApp.__this__.$set('model.f_signname', fileName)
|
|
109
|
+
HostApp.__callback__ = null
|
|
110
|
+
HostApp.__this__ = null
|
|
111
|
+
},
|
|
112
|
+
sign() {
|
|
113
|
+
this.delAudioFile('f_signname', this.model.f_signname)
|
|
114
|
+
let prop = 'f_signname'
|
|
115
|
+
let idx = 'aofeng'
|
|
116
|
+
let fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
|
|
117
|
+
HostApp.__callback__ = this.signCallback
|
|
118
|
+
HostApp.__this__ = this
|
|
119
|
+
HostApp.getSignature({
|
|
120
|
+
file: fileName,
|
|
121
|
+
requestCode: 111,
|
|
122
|
+
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
|
|
123
|
+
})
|
|
124
|
+
},
|
|
125
|
+
delAudioFile(prop, fileName) {
|
|
126
|
+
if (!fileName)
|
|
127
|
+
return
|
|
128
|
+
else {
|
|
129
|
+
HostApp.delfile(fileName)
|
|
130
|
+
this.model[prop] = null
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
remove(row) {
|
|
134
|
+
this.$androidUtil.delfile(row.android_file)
|
|
135
|
+
let pos = this.model.imgs.findIndex((value) => {
|
|
136
|
+
return value === row
|
|
137
|
+
})
|
|
138
|
+
this.model.imgs.splice(pos, 1)
|
|
139
|
+
},
|
|
140
|
+
cameraCallBack(prop, fileName) {
|
|
141
|
+
let self = this.$androidUtil.getCallBack(this)
|
|
142
|
+
self.model.imgs.push({
|
|
143
|
+
android_file: self.fileName,
|
|
144
|
+
path: fileName
|
|
145
|
+
})
|
|
146
|
+
},
|
|
147
|
+
takePic() {
|
|
148
|
+
let prop = 'repair'
|
|
149
|
+
let idx = 'aofeng'
|
|
150
|
+
this.fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
|
|
151
|
+
this.$androidUtil.takePic(this, this.cameraCallBack, this.fileName)
|
|
152
|
+
},
|
|
153
|
+
sumshow() {
|
|
154
|
+
this.materialsumshow = false
|
|
155
|
+
},
|
|
156
|
+
sumchange(val) {
|
|
157
|
+
this.model.f_cost_material = val
|
|
158
|
+
},
|
|
159
|
+
showchenge(val) {
|
|
160
|
+
this.materialsumshow = true
|
|
161
|
+
if (!isNaN(val)) {
|
|
162
|
+
this.model.f_cost_material = val
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
ready() {
|
|
167
|
+
if (Vue.config.telephone.Outlay.data != undefined) {
|
|
168
|
+
if (this.service.f_user_type == '民用') {
|
|
169
|
+
this.imgstype = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.Outlay.data[this.service.f_workorder_type].civil)))
|
|
170
|
+
} else {
|
|
171
|
+
this.imgstype = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.Outlay.data[this.service.f_workorder_type].nocivil)))
|
|
172
|
+
}
|
|
173
|
+
if (this.imgstype.length > 0) {
|
|
174
|
+
this.imgtpe = true
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
if (navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')) {
|
|
178
|
+
this.signType = false
|
|
179
|
+
}
|
|
180
|
+
if (this.model && this.model.f_single_man) {
|
|
181
|
+
this.model.f_single_man = this.f_single_man
|
|
182
|
+
}
|
|
183
|
+
if (!this.show && this.model) {
|
|
184
|
+
if (Vue.user == undefined)
|
|
185
|
+
return
|
|
186
|
+
this.model.f_order_man = Vue.user.name
|
|
187
|
+
this.model.f_order_man_id = Vue.user.id
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
computed: {
|
|
191
|
+
Detail() {
|
|
192
|
+
if (this.model.imgs && this.model.servicerepair.length > 0) {
|
|
193
|
+
let result = this.model.servicerepair.find((row) => {
|
|
194
|
+
return row.f_type === this.repairitem.header
|
|
195
|
+
})
|
|
196
|
+
return result
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
</script>
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="repair-bg" id="work-history">
|
|
3
|
+
<div class="bq-parent" v-if="shutype == 'heng'">
|
|
4
|
+
<blockquote class="blockquote">
|
|
5
|
+
<p>工单基本信息</p>
|
|
6
|
+
</blockquote>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="panel panel-default auto repair-info-content">
|
|
9
|
+
<div class="panel-body">
|
|
10
|
+
<p v-if="service.f_userinfo_id" >用户编号: <span style="text-decoration:underline">{{service.f_userinfo_code}}</span>
|
|
11
|
+
<button style="float: right" type="button" name="button" class="btn btn-primary" @click='openRecord()' :disabled="recordButtonDisable">开启录音</button></p>
|
|
12
|
+
<p>来电电话: {{service.f_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)' alt=""></p>
|
|
13
|
+
<failure-show :value='service.failure'>
|
|
14
|
+
</failure-show>
|
|
15
|
+
<div style="clear:both;">
|
|
16
|
+
<phone-sell-info-lite v-if="showSellInfo" :user="{}" :f_userinfo_id="service.f_userinfo_id"></phone-sell-info-lite>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="from-group">
|
|
19
|
+
<img-self style="float: left;margin: 2px" v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
|
|
20
|
+
<img-self style="float: left;margin: 2px" v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
|
|
21
|
+
<img-self style="float: left;margin: 2px" v-if="service.f_singleb_path" :src="imgfilenameb" width="200" height="200"></img-self>
|
|
22
|
+
</div>
|
|
23
|
+
<route name="info-route" ></route>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
<script>
|
|
29
|
+
import FailureShow from '../../../components/pc/FailureShow'
|
|
30
|
+
import {HttpResetClass} from "vue-client";
|
|
31
|
+
import Vue from "vue";
|
|
32
|
+
|
|
33
|
+
export default {
|
|
34
|
+
title: '工单历史记录',
|
|
35
|
+
data () {
|
|
36
|
+
return {
|
|
37
|
+
// service: null
|
|
38
|
+
imgfilename:'',
|
|
39
|
+
recordButtonDisable:false,
|
|
40
|
+
imgfilenamea:'',
|
|
41
|
+
imgfilenameb:'',
|
|
42
|
+
f_recording1_path:'',
|
|
43
|
+
f_userinfo_code : '测试文本',
|
|
44
|
+
showSellInfo: false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
props: {
|
|
48
|
+
|
|
49
|
+
service: { // 传入一条报修单信息
|
|
50
|
+
type: Object
|
|
51
|
+
},
|
|
52
|
+
issee:'',
|
|
53
|
+
worktype:{
|
|
54
|
+
type: String,
|
|
55
|
+
default: '报修单'
|
|
56
|
+
},
|
|
57
|
+
// userinfo: {
|
|
58
|
+
// type: Object
|
|
59
|
+
// },
|
|
60
|
+
// 维修对应的用户数据收集
|
|
61
|
+
model: {
|
|
62
|
+
type: Object
|
|
63
|
+
},
|
|
64
|
+
// 工单信息
|
|
65
|
+
repair:{
|
|
66
|
+
type: Object
|
|
67
|
+
},
|
|
68
|
+
savevalid:{
|
|
69
|
+
|
|
70
|
+
},
|
|
71
|
+
sum:{
|
|
72
|
+
|
|
73
|
+
},
|
|
74
|
+
user:{
|
|
75
|
+
type: Object
|
|
76
|
+
},
|
|
77
|
+
show: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: false
|
|
80
|
+
},
|
|
81
|
+
// 本次维修, 用于编辑
|
|
82
|
+
data: {
|
|
83
|
+
type: Object
|
|
84
|
+
},
|
|
85
|
+
shutype:'heng'
|
|
86
|
+
},
|
|
87
|
+
ready () {
|
|
88
|
+
this.imgfilename=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_single_path
|
|
89
|
+
this.imgfilenamea=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singlea_path
|
|
90
|
+
this.imgfilenameb=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singleb_path
|
|
91
|
+
if (this.$parent.$parent.model.f_recording1_path){
|
|
92
|
+
this.recordButtonDisable = true
|
|
93
|
+
}
|
|
94
|
+
this.$goto('repair-user-info',{
|
|
95
|
+
model: this.model,
|
|
96
|
+
data: this.data,
|
|
97
|
+
savevalid: this.savevalid,
|
|
98
|
+
repair: this.repair,
|
|
99
|
+
show: this.show,
|
|
100
|
+
shutype:this.shutype,
|
|
101
|
+
worktype:this.worktype,
|
|
102
|
+
issee:this.issee},'info-route')
|
|
103
|
+
},
|
|
104
|
+
methods: {
|
|
105
|
+
openRecord(){
|
|
106
|
+
this.recordButtonDisable = true
|
|
107
|
+
if (this.$parent.$parent.model.f_recording1_path){
|
|
108
|
+
return
|
|
109
|
+
}
|
|
110
|
+
if (this.$parent.$parent.record()) {
|
|
111
|
+
this.$showMessage("已开启录音!")
|
|
112
|
+
} else {
|
|
113
|
+
this.recordButtonDisable = false
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
makeAPhoneCall(phoneNumber) {
|
|
117
|
+
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
118
|
+
},
|
|
119
|
+
goOtherCharge(userinfoid){
|
|
120
|
+
//tag
|
|
121
|
+
new HttpResetClass().load("POST",`${this.$androidUtil.getProxyUrl()}/rs/sql/onlinequeryuser`,{data:{condition : ` uf.f_orgid = '${Vue.user.orgid}' and (ui.f_user_state = '正常' or ui.f_user_state = '预备') and ui.f_userinfo_id = '${userinfoid}'`}}).then((res)=>{
|
|
122
|
+
//tag)
|
|
123
|
+
if(res.data.length==1){
|
|
124
|
+
let _this = this
|
|
125
|
+
var pardate = {
|
|
126
|
+
_this:_this,
|
|
127
|
+
title:'其他收费',
|
|
128
|
+
safe:false
|
|
129
|
+
}
|
|
130
|
+
_this.$dispatch('gotoson',pardate)
|
|
131
|
+
//tag
|
|
132
|
+
_this.$parent.$goto('other_charge', {row: res.data[0]}, 'self')
|
|
133
|
+
}else if(res.data.length>1){
|
|
134
|
+
this.$showMessage('查询到了多条用户表信息,请让管理员核实用户信息是否正常!')
|
|
135
|
+
}else{
|
|
136
|
+
this.$showMessage('未查询到用户有正常状态的表具信息,请让管理员核实用户表档案信息是否正常!')
|
|
137
|
+
}
|
|
138
|
+
}).catch((msg)=>{
|
|
139
|
+
this.$showMessage('获取用户信息失败,请检查手机网络!')
|
|
140
|
+
})
|
|
141
|
+
},
|
|
142
|
+
selfSearch () {
|
|
143
|
+
if(!this.rowOne) {
|
|
144
|
+
return
|
|
145
|
+
}
|
|
146
|
+
// let gen = getGen(this)
|
|
147
|
+
// co(gen)
|
|
148
|
+
},
|
|
149
|
+
searchHistory() {
|
|
150
|
+
this.showSellInfo = !this.showSellInfo
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
watch: {
|
|
154
|
+
'rowOne' () {
|
|
155
|
+
this.selfSearch()
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
components: {
|
|
159
|
+
FailureShow,
|
|
160
|
+
'failure-show': FailureShow
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
</script>
|