telephone-clients 3.0.104-1 → 3.0.104-100

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.
Files changed (102) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +54 -54
  3. package/src/components/android/ImgArea.vue +80 -0
  4. package/src/components/guoxin/Console.vue +42 -5
  5. package/src/components/guoxin/call.state.api.js +3 -1
  6. package/src/components/pc/ComplainWork.vue +3 -0
  7. package/src/components/pc/NewRepairPaper.vue +370 -370
  8. package/src/components/pc/RecordListLeft.vue +80 -10
  9. package/src/components/pc/RepairsWork.vue +33 -3
  10. package/src/components/pc/RoleSelector.vue +7 -1
  11. package/src/components/pc/Seekwork.vue +3 -0
  12. package/src/components/pc/SiteSend.vue +38 -1
  13. package/src/components/pc/TelLossList.vue +20 -3
  14. package/src/components/pc/VisitInfo.vue +44 -7
  15. package/src/components/pc/WorkHistory.vue +1 -1
  16. package/src/components/pc/WorkList.vue +4 -3
  17. package/src/components/pc/WorkListAllNew.vue +16 -8
  18. package/src/components/pc/WorkListNew.vue +722 -712
  19. package/src/components/sendsingle/onlinequeryuser.vue +1 -1
  20. package/src/components/telcount/TelByOrderMan.vue +22 -4
  21. package/src/components/telreport/RepairsDetailsReport.vue +2 -2
  22. package/src/components/telreport/TrafficClassificationReport.vue +13 -13
  23. package/src/components/telreport/Trafficassess.vue +2 -2
  24. package/src/components/temp/HandplanInfo.vue +16 -1
  25. package/src/components/temp/InstructInfo.vue +1 -1
  26. package/src/components/temp/SecuritycheckInfo.vue +14 -0
  27. package/src/components/workorder/RepairDetails.vue +8 -2
  28. package/src/components/workorder/RepairInfo.vue +3 -3
  29. package/src/components/workorder/RepairPaperAndroid.vue +351 -0
  30. package/src/components/workorder/ServiceOnlineQuery.vue +306 -0
  31. package/src/components/workorder/TemporarySingle.vue +346 -302
  32. package/src/filiale/furuike/pc/QueryVisitHistory.vue +14 -1
  33. package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
  34. package/src/filiale/hanzhong/telephone.js +1 -1
  35. package/src/filiale/jiaocheng/android/createQRcode.vue +204 -0
  36. package/src/filiale/jiaocheng/android/onlineBuyGas.vue +637 -0
  37. package/src/filiale/jiaocheng/telephone.js +8 -0
  38. package/src/filiale/jiaocheng/telephoneAndroid.js +15 -0
  39. package/src/filiale/lixian/onlineChangeMeter.vue +481 -0
  40. package/src/filiale/lixian/onlineoperation.vue +606 -0
  41. package/src/filiale/lixian/onlinequeryuser.vue +509 -0
  42. package/src/filiale/lixian/telephoneAndroid.js +23 -0
  43. package/src/filiale/qianneng/android/AppInstallationMaterial.vue +880 -845
  44. package/src/filiale/qianneng/android/TemporarySingle.vue +537 -537
  45. package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -260
  46. package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
  47. package/src/filiale/qianneng/pc/RepairsWork.vue +992 -992
  48. package/src/filiale/qianneng/pc/WorkListAllNew.vue +11 -3
  49. package/src/filiale/qianneng/pc/changetable.vue +273 -273
  50. package/src/filiale/qianneng/telephone.js +22 -22
  51. package/src/filiale/rizhao/pc/IgnitionVentilation.vue +0 -1
  52. package/src/filiale/rizhao/pc/RepairsWork.vue +0 -1
  53. package/src/filiale/rizhao/pc/WorkListAllNew.vue +11 -5
  54. package/src/filiale/rizhao/telephone.js +1 -1
  55. package/src/filiale/shanxian/android/RepairFirstV.vue +3 -0
  56. package/src/filiale/shanxian/pc/TelFindUser.vue +310 -0
  57. package/src/filiale/shanxian/pc/WorkList.vue +2 -2
  58. package/src/filiale/shanxian/telephone.js +1 -0
  59. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  60. package/src/filiale/shexian/android/RepairFirstV.vue +5 -0
  61. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  62. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +9 -9
  63. package/src/filiale/shexian/pc/TelByRepairType.vue +3 -3
  64. package/src/filiale/shexian/pc/WorkList.vue +4 -1
  65. package/src/filiale/shexian/pc/WorkListAllNew.vue +14 -1
  66. package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
  67. package/src/filiale/tongchuan/pc/AnalysisMain.vue +7 -7
  68. package/src/filiale/tongchuan/pc/RepairsWork.vue +8 -0
  69. package/src/filiale/tongchuan/pc/UserWork.vue +8 -0
  70. package/src/filiale/tongchuan/telephoneAndroid.js +1 -0
  71. package/src/filiale/wenxi/android/FaultAll.vue +710 -0
  72. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +73 -162
  73. package/src/filiale/wenxi/android/RepairOrderV.vue +1 -1
  74. package/src/filiale/wenxi/android/ZHihuanFirst.vue +149 -129
  75. package/src/filiale/wenxi/pc/DistributeWork.vue +1 -1
  76. package/src/filiale/wenxi/pc/RecordListLeft.vue +272 -0
  77. package/src/filiale/wenxi/pc/RepairsWork.vue +143 -64
  78. package/src/filiale/wenxi/pc/TelAgentVoiceReport.vue +290 -0
  79. package/src/filiale/wenxi/pc/TelLossList.vue +272 -0
  80. package/src/filiale/wenxi/pc/WorkListAll.vue +698 -0
  81. package/src/filiale/wenxi/telephone.js +5 -0
  82. package/src/filiale/wenxi/telephoneAndroid.js +2 -1
  83. package/src/filiale/wuhai/telephone.js +1 -1
  84. package/src/filiale/yuncheng/android/LdapHelper.js +75 -0
  85. package/src/filiale/yuncheng/android/Outlay.vue +201 -0
  86. package/src/filiale/yuncheng/android/RepairInfo.vue +163 -0
  87. package/src/filiale/yuncheng/android/RepairOrderV.vue +1483 -0
  88. package/src/filiale/yuncheng/android/RepairUserInfo.vue +390 -0
  89. package/src/filiale/yuncheng/android/RightTree.vue +218 -0
  90. package/src/filiale/yuncheng/android/TemporarySingle.vue +522 -0
  91. package/src/filiale/yuncheng/android/ZHihuanFirst.vue +541 -0
  92. package/src/filiale/yuncheng/pc/DistributeWork.vue +199 -0
  93. package/src/filiale/yuncheng/pc/GasWork.vue +773 -0
  94. package/src/filiale/yuncheng/pc/TelFindUser.vue +31 -11
  95. package/src/filiale/yuncheng/pc/WorkList.vue +823 -0
  96. package/src/filiale/yuncheng/pc/WorkListAllNew.vue +781 -0
  97. package/src/filiale/yuncheng/telephone.js +5 -1
  98. package/src/filiale/yuncheng/telephoneAndroid.js +19 -0
  99. package/src/filiale/zhongyi/pc/WorkListAllNew.vue +2 -1
  100. package/src/main.js +1 -1
  101. package/src/telephone-android.js +7 -0
  102. package/src/telephone.js +1 -1
@@ -8,6 +8,11 @@ let specialComp = {
8
8
  'gas-work':(resolve) => { require(['./pc/GasWork'], resolve) },
9
9
  'distribute-work':(resolve) => { require(['./pc/DistributeWork'], resolve) },
10
10
  'tel-meteread-info':(resolve) => { require(['./pc/MetereadInfo'], resolve) },
11
+ 'work-listall':(resolve) => { require(['./pc/WorkListAll'], resolve) },
12
+ 'record-list-left':(resolve) => { require(['./pc/RecordListLeft'], resolve) },
13
+ 'telloss-list':(resolve) => { require(['./pc/TelLossList'], resolve) },
14
+ // 'repairs-work':(resolve) => { require(['./pc/RepairsWork'], resolve) },
15
+ 'tel-agentvoice-report':(resolve) => { require(['./pc/TelAgentVoiceReport'], resolve) }
11
16
  }
12
17
  exports.specialComp = specialComp
13
18
 
@@ -10,7 +10,8 @@ let specialComp = {
10
10
  'zhihuan-first': (resolve) => { require(['./android/ZHihuanFirst'], resolve) },
11
11
  'PhoneUpUserinfoTel': (resolve) => { require(['./android/PhoneUpUserinfo'], resolve) },
12
12
  'repair-info': (resolve) => { require(['./android/RepairInfo'], resolve) },
13
- 'repair-user-info': (resolve) => { require(['./android/RepairUserInfo.vue'], resolve) },
13
+ 'repair-user-info': (resolve) => { require(['./android/RepairUserInfo'], resolve) },
14
+ 'fault-all': (resolve) => { require(['./android/FaultAll'], resolve) },
14
15
  }
15
16
  exports.specialComp = specialComp
16
17
 
@@ -4,7 +4,7 @@ import Vue from "vue";
4
4
  //pc和手机分别注册到两个文件中
5
5
  let specialComp = {
6
6
  // 工单详情子组件
7
- 'console': (resolve) => { require(['./pc/console'], resolve) },
7
+ 'console': (resolve) => { require(['./pc/Console'], resolve) },
8
8
  'distribute-work': (resolve) => { require(['./pc/DistributeWork'], resolve) },
9
9
  'seek-work': (resolve) => { require(['./pc/Seekwork'], resolve) },
10
10
  'complain-work': (resolve) => { require(['./pc/ComplainWork'], resolve) },
@@ -0,0 +1,75 @@
1
+ /**
2
+ * 获得给定资源的名称全路径
3
+ * @param res: 资源
4
+ * @param name: 全路径字段
5
+ */
6
+ export function getFullName (res, name) {
7
+ let result = ''
8
+ while (res != null) {
9
+ if (result === '') {
10
+ result = res[name]
11
+ } else {
12
+ result = res[name] + '.' + result
13
+ }
14
+ res = res.parent
15
+ }
16
+ return result
17
+ }
18
+
19
+ /**
20
+ * 给拿到的资源添加父关系
21
+ * @param res
22
+ */
23
+ export function procParent (reses) {
24
+ for (let value of reses) {
25
+ procInnerParent(value)
26
+ }
27
+ }
28
+
29
+ // 给资源res的所有子,添加父关系
30
+ function procInnerParent (res) {
31
+ for (let value of res.children) {
32
+ value.parent = res
33
+ procInnerParent(value)
34
+ }
35
+ }
36
+
37
+ /**
38
+ * 从给定一批资源中,递归找到给定号码的资源
39
+ * @param model:给定的一批资源
40
+ * @param id:要查找的资源id串
41
+ */
42
+ export function find (model, id) {
43
+ // 返回最后一个id信息
44
+ let index = id.lastIndexOf('.')
45
+ if (index !== -1) {
46
+ id = id.substr(index + 1)
47
+ }
48
+
49
+ // 子中有,返回子里的
50
+ for (let value of model) {
51
+ let ret = getInnerResourceById(value, id)
52
+ if (ret) {
53
+ return ret
54
+ }
55
+ }
56
+
57
+ return null
58
+ }
59
+
60
+ // 根据id号取资源,自己不是,递归从子中找
61
+ function getInnerResourceById (res, id) {
62
+ if (res.id === id) {
63
+ return res
64
+ }
65
+
66
+ // 子中有,返回子里的
67
+ for (let value of res.children) {
68
+ let ret = getInnerResourceById(value, id)
69
+ if (ret) {
70
+ return ret
71
+ }
72
+ }
73
+
74
+ return null
75
+ }
@@ -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>