apply-clients 7.1.36-yuchuan-12 → 7.1.36-yuchuan-13

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 (77) hide show
  1. package/android.html +28 -28
  2. package/build/dev-server.js +28 -10
  3. package/index.html +39 -39
  4. package/package.json +3 -4
  5. package/src/apply.js +162 -161
  6. package/src/applyAndroid.js +97 -97
  7. package/src/components/android/AppSign.vue +235 -235
  8. package/src/components/android/AppUpload.vue +275 -275
  9. package/src/components/android/Ignition/VentilationIgnition.vue +408 -408
  10. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +462 -462
  11. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  12. package/src/components/android/Process/AppServiceControl.vue +1437 -1437
  13. package/src/components/android/Process/Processes/AppInstallationDetails.vue +980 -980
  14. package/src/components/android/Sign/AppSignTask.vue +183 -183
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  16. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  17. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  18. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  19. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  20. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  21. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  22. package/src/components/android/newPackage/projectPrice.vue +218 -218
  23. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1 -1
  24. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  25. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  26. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -324
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -144
  28. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  29. package/src/components/product/ApplyMap/AMapLocation.vue +870 -0
  30. package/src/components/product/ApplyMap/AmapUtil.js +37 -0
  31. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  32. package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -212
  33. package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -82
  34. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  35. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  36. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +415 -415
  37. package/src/components/product/Function/InstallFunction.vue +133 -133
  38. package/src/components/product/Function/InstallInfoSelect.vue +371 -371
  39. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  40. package/src/components/product/GongJianPush/ApplyPushDispose.vue +162 -72
  41. package/src/components/product/GongJianPush/ApplyPushList.vue +47 -52
  42. package/src/components/product/GongJianPush/ApplyPushManage.vue +4 -3
  43. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  44. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  45. package/src/components/product/InsuranceApply/InsuranceReport.vue +3 -4
  46. package/src/components/product/List/OldShowDevices.vue +271 -271
  47. package/src/components/product/List/ShowAllActivity.vue +540 -540
  48. package/src/components/product/List/ShowDevices.vue +279 -279
  49. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  50. package/src/components/product/Process/ExplorationSelect.vue +597 -597
  51. package/src/components/product/Process/ExplorationUser.vue +158 -158
  52. package/src/components/product/Process/New1ExplorationUser.vue +201 -201
  53. package/src/components/product/Process/NewExplorationSelect.vue +586 -586
  54. package/src/components/product/Process/NewExplorationUser.vue +219 -219
  55. package/src/components/product/Process/Processes/InstallationDetails.vue +1159 -1159
  56. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  57. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  58. package/src/components/product/Process/Processes/chargeManagement.vue +704 -704
  59. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  60. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  61. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  62. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  63. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  64. package/src/components/product/Process/Service/ServiceControl.vue +2205 -2205
  65. package/src/components/product/ServiceView.vue +644 -644
  66. package/src/components/product/Stop/StopApplyList.vue +224 -224
  67. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  68. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +592 -592
  69. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  70. package/src/components/product/Supervisory/SupervisoryList.vue +557 -557
  71. package/src/components/product/Supervisory/SupervisoryhCart.vue +119 -119
  72. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
  73. package/src/components/product/VueUtils/ApplyUpload.vue +294 -285
  74. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
  75. package/src/main.js +27 -27
  76. package/static/marker-default.png +0 -0
  77. package/static/myLocationIcon.png +0 -0
@@ -1,235 +1,235 @@
1
- <template>
2
- <div class="panel">
3
- <div class="panel-body panel-self" style="background-color: #F8F8F8;">
4
- <div class="row form-group" style="height: 240px;overflow: scroll;">
5
- <img :src="f_sign_path" width="100%" height="100%" />
6
- </div>
7
- <div class="row text-right form-group">
8
- <button class="btn" style="background-color: #f1e404;border-radius: 5px;margin-right: 10px" @click="clean" v-if="isclean">清除</button>
9
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign" v-if="issign && defname !== '现场勘察'">签名</button>
10
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="show_notification" v-if="issign && defname === '现场勘察'">签名</button>
11
- </div>
12
- </div>
13
- <modal v-if="notification" :show.sync="notification" v-ref:modal :large="true" :backdrop="false">
14
- <article slot="modal-body" class="modal-body clearfix">
15
- <!-- 基本信息 -->
16
- <div class="form-group col-xs-12 panel panel-info">
17
- <div class="panel-heading head col-xs-12" style="background-color: #e8f4ff;margin-bottom: 10px">
18
- <div class="col-xs-6 text-left">用户须知</div>
19
- </div>
20
- <div class="form-group row">
21
- <div class="col-xs-12">
22
- <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '民用报建'" style="align: left">
23
- 我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收和材料供应等相关事宜。
24
- 安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。我单位/本人签字后即认为同意。
25
- 设计员已向我单位/本人说明安装位置及条件,后期不得自行变更。
26
-
27
- </textarea>
28
- <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '非民用报建'">
29
-
30
- 我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收、材料供应和燃气泄露报警器、安全自动切断装置等相关事宜。
31
- 安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。
32
- 设计员己向我单位/本人说明安装位置及条件,后期不得自行变更。我单位/本人签字后即认为同意。
33
- 根据《中华人民共和国安全生产法》第二章三十六条、《陕西省燃气管理条例》 第四章第三十二条:“非居民燃气用户必须安装使用燃气泄露报警器、安全自动切断装置和防暴照明灯。”用户也可自行购买安装,自行购买安装的用户须提供以下资料:
34
- 1、提供产品质量检验报告和产品合格证书;
35
- 2、提供购货发票复印件;
36
- 3、提供产品消防认证;
37
- 4、提供安装单位工程施工资料;
38
- 5、提供安装单位资质;
39
- 6、用户外购安装报警器需在我公司备案(不收取任何费用)。
40
-
41
-
42
- </textarea>
43
- </div>
44
- </div>
45
- <div class="row text-right form-group">
46
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="close_notification" >确认</button>
47
- </div>
48
- </div>
49
- </article>
50
- <footer slot="modal-footer" class="modal-footer">
51
- <template>
52
-
53
- </template>
54
- </footer>
55
- </modal>
56
- </div>
57
- </template>
58
- <script>
59
- import {getNowDate, guid, isEmpty} from '../Util'
60
- import {PagedList} from 'vue-client'
61
- import {HttpResetClass} from 'vue-client'
62
- import QRCode from 'qrcodejs2'
63
- import Vue from "vue";
64
-
65
- export default {
66
- title: '签字',
67
- props: ['blobid', 'defname', 'type', 'filePath', 'isclean', 'issign','selectdata'],
68
- data () {
69
- return {
70
- f_sign_path: null,
71
- fileName: null,
72
- imgid: null,
73
- notification: false
74
- }
75
- },
76
- ready () {
77
- this.getFiles()
78
- this.f_sign_path = this.filePath
79
- },
80
- methods: {
81
- clean () {
82
- this.f_sign_path = null
83
- this.fileName = null
84
- this.$emit('sign-clean')
85
- this.delfile(this.imgid)
86
- },
87
- delfile(file) {
88
- this.f_sign_path = null
89
- this.fileName = null
90
- this.$emit('sign-clean')
91
- this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file}, {
92
- resolveMsg: '删除成功',
93
- rejectMsg: '删除失败'
94
- }).then((res) => {
95
- this.$dispatch("delResid", file)
96
- })
97
- },
98
- show_notification() {
99
- this.notification = true
100
- },
101
- close_notification() {
102
- this.notification = false
103
- this.sign()
104
- },
105
- sign() {
106
- this.delAudioFile(this.f_sign_path)
107
- this.fileName = guid() + '.jpg'
108
- HostApp.__callback__ = this.signCallback
109
- HostApp.__this__ = this
110
- HostApp.getSignature({
111
- file: this.fileName,
112
- requestCode: 111,
113
- callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
114
- })
115
- },
116
- // 签名回调
117
- signCallback (prop, signPath) {
118
- console.log('==============签字回调============')
119
- console.log(signPath)
120
- HostApp.__this__.$set(prop, signPath)
121
-
122
-
123
- console.log(HostApp.__this__.f_sign_path)
124
-
125
- HostApp.__this__.uploadFile()
126
-
127
-
128
- HostApp.__callback__ = null
129
- HostApp.__this__ = null
130
- },
131
- uploadFile () {
132
- console.log('===================签字文件上传==============')
133
- let data = {
134
- blobid: HostApp.__this__.blobid,
135
- type: HostApp.__this__.type,
136
- defname: HostApp.__this__.defname,
137
- username: Vue.user.name,
138
- fremarks: '报装手机签字文件',
139
- fileName: HostApp.__this__.fileName,
140
- fileUrl: HostApp.__this__.f_sign_path,
141
- f_apply_type:HostApp.__this__.selectdata.f_apply_type,
142
- }
143
- console.log('-----------bzLogic-----------------')
144
- console.log(JSON.stringify(data))
145
- let res = HostApp.bzLogic({
146
- 'logic': 'appFileUpload',
147
- 'data': data
148
- })
149
- console.log('===============上传回调=================')
150
- console.log(JSON.stringify(res))
151
- debugger
152
- this.imgid = res.id
153
- HostApp.__this__.getFiles(res.id)
154
- },
155
- async getFiles (fileid) {
156
- console.log("cess",this.selectdata.f_apply_type)
157
- let http = new HttpResetClass()
158
- let data
159
- if (fileid && this.defname.includes('签字')) {
160
- console.log('=========签字回调===============')
161
- data = {
162
- tablename: 't_files',
163
- condition: `id = '${fileid}'`
164
- }
165
- }else if (this.defname.includes('签字')){
166
- data = {
167
- tablename: 't_files',
168
- condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and fusetype = '${this.type}' order by f_uploaddate desc `
169
- }
170
- } else {
171
- console.log('=========签字查看===============')
172
- data = {
173
- tablename: 't_files',
174
- condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and defname = '${this.defname}' order by f_uploaddate desc `
175
- }
176
- }
177
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
178
- // let res = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
179
- warnMsg: null,
180
- resolveMsg: null
181
- })
182
- if(res.data.length > 0){
183
- console.log('=========查询回调===============')
184
- let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
185
- console.log(fileUrl)
186
- // HostApp.__this__.$set('f_sign_path', fileUrl)
187
- // HostApp.__this__.f_sign_path = fileUrl
188
- this.f_sign_path = fileUrl
189
- this.imgid = res.data[0].id
190
- let f_fileUrl = `http://193.168.1.44:8400/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
191
- this.$emit('sign-success', f_fileUrl)
192
- }else {
193
- this.f_sign_path = null
194
- }
195
- },
196
- delAudioFile (signPath) {
197
- if (!signPath) {
198
- return
199
- }
200
- HostApp.delfile(signPath)
201
- this.f_sign_path = null
202
- this.fileName = null
203
- }
204
- },
205
- events: {
206
- },
207
- computed: {
208
- },
209
- watch: {
210
- }
211
- }
212
- </script>
213
- <style scoped lang="less">
214
- .qrcode {
215
- display: inline-block !important;
216
- margin: 10px 0px;
217
- }
218
- .panel-self{
219
- border-radius: 10px;
220
- border:1px solid #499EDF;
221
- background-color: #F8F8F8;
222
- }
223
- .vertical-center {
224
- display: flex;
225
- align-items: center;
226
- text-align: center;
227
- }
228
- /*清除model中的浮动*/
229
- .clearfix:after,.clearfix:before{
230
- display: table;
231
- }
232
- .clearfix:after{
233
- clear: both;
234
- }
235
- </style>
1
+ <template>
2
+ <div class="panel">
3
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;">
4
+ <div class="row form-group" style="height: 240px;overflow: scroll;">
5
+ <img :src="f_sign_path" width="100%" height="100%" />
6
+ </div>
7
+ <div class="row text-right form-group">
8
+ <button class="btn" style="background-color: #f1e404;border-radius: 5px;margin-right: 10px" @click="clean" v-if="isclean">清除</button>
9
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign" v-if="issign && defname !== '现场勘察'">签名</button>
10
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="show_notification" v-if="issign && defname === '现场勘察'">签名</button>
11
+ </div>
12
+ </div>
13
+ <modal v-if="notification" :show.sync="notification" v-ref:modal :large="true" :backdrop="false">
14
+ <article slot="modal-body" class="modal-body clearfix">
15
+ <!-- 基本信息 -->
16
+ <div class="form-group col-xs-12 panel panel-info">
17
+ <div class="panel-heading head col-xs-12" style="background-color: #e8f4ff;margin-bottom: 10px">
18
+ <div class="col-xs-6 text-left">用户须知</div>
19
+ </div>
20
+ <div class="form-group row">
21
+ <div class="col-xs-12">
22
+ <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '民用报建'" style="align: left">
23
+ 我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收和材料供应等相关事宜。
24
+ 安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。我单位/本人签字后即认为同意。
25
+ 设计员已向我单位/本人说明安装位置及条件,后期不得自行变更。
26
+
27
+ </textarea>
28
+ <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '非民用报建'">
29
+
30
+ 我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收、材料供应和燃气泄露报警器、安全自动切断装置等相关事宜。
31
+ 安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。
32
+ 设计员己向我单位/本人说明安装位置及条件,后期不得自行变更。我单位/本人签字后即认为同意。
33
+ 根据《中华人民共和国安全生产法》第二章三十六条、《陕西省燃气管理条例》 第四章第三十二条:“非居民燃气用户必须安装使用燃气泄露报警器、安全自动切断装置和防暴照明灯。”用户也可自行购买安装,自行购买安装的用户须提供以下资料:
34
+ 1、提供产品质量检验报告和产品合格证书;
35
+ 2、提供购货发票复印件;
36
+ 3、提供产品消防认证;
37
+ 4、提供安装单位工程施工资料;
38
+ 5、提供安装单位资质;
39
+ 6、用户外购安装报警器需在我公司备案(不收取任何费用)。
40
+
41
+
42
+ </textarea>
43
+ </div>
44
+ </div>
45
+ <div class="row text-right form-group">
46
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="close_notification" >确认</button>
47
+ </div>
48
+ </div>
49
+ </article>
50
+ <footer slot="modal-footer" class="modal-footer">
51
+ <template>
52
+
53
+ </template>
54
+ </footer>
55
+ </modal>
56
+ </div>
57
+ </template>
58
+ <script>
59
+ import {getNowDate, guid, isEmpty} from '../Util'
60
+ import {PagedList} from 'vue-client'
61
+ import {HttpResetClass} from 'vue-client'
62
+ import QRCode from 'qrcodejs2'
63
+ import Vue from "vue";
64
+
65
+ export default {
66
+ title: '签字',
67
+ props: ['blobid', 'defname', 'type', 'filePath', 'isclean', 'issign','selectdata'],
68
+ data () {
69
+ return {
70
+ f_sign_path: null,
71
+ fileName: null,
72
+ imgid: null,
73
+ notification: false
74
+ }
75
+ },
76
+ ready () {
77
+ this.getFiles()
78
+ this.f_sign_path = this.filePath
79
+ },
80
+ methods: {
81
+ clean () {
82
+ this.f_sign_path = null
83
+ this.fileName = null
84
+ this.$emit('sign-clean')
85
+ this.delfile(this.imgid)
86
+ },
87
+ delfile(file) {
88
+ this.f_sign_path = null
89
+ this.fileName = null
90
+ this.$emit('sign-clean')
91
+ this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file}, {
92
+ resolveMsg: '删除成功',
93
+ rejectMsg: '删除失败'
94
+ }).then((res) => {
95
+ this.$dispatch("delResid", file)
96
+ })
97
+ },
98
+ show_notification() {
99
+ this.notification = true
100
+ },
101
+ close_notification() {
102
+ this.notification = false
103
+ this.sign()
104
+ },
105
+ sign() {
106
+ this.delAudioFile(this.f_sign_path)
107
+ this.fileName = guid() + '.jpg'
108
+ HostApp.__callback__ = this.signCallback
109
+ HostApp.__this__ = this
110
+ HostApp.getSignature({
111
+ file: this.fileName,
112
+ requestCode: 111,
113
+ callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
114
+ })
115
+ },
116
+ // 签名回调
117
+ signCallback (prop, signPath) {
118
+ console.log('==============签字回调============')
119
+ console.log(signPath)
120
+ HostApp.__this__.$set(prop, signPath)
121
+
122
+
123
+ console.log(HostApp.__this__.f_sign_path)
124
+
125
+ HostApp.__this__.uploadFile()
126
+
127
+
128
+ HostApp.__callback__ = null
129
+ HostApp.__this__ = null
130
+ },
131
+ uploadFile () {
132
+ console.log('===================签字文件上传==============')
133
+ let data = {
134
+ blobid: HostApp.__this__.blobid,
135
+ type: HostApp.__this__.type,
136
+ defname: HostApp.__this__.defname,
137
+ username: Vue.user.name,
138
+ fremarks: '报装手机签字文件',
139
+ fileName: HostApp.__this__.fileName,
140
+ fileUrl: HostApp.__this__.f_sign_path,
141
+ f_apply_type:HostApp.__this__.selectdata.f_apply_type,
142
+ }
143
+ console.log('-----------bzLogic-----------------')
144
+ console.log(JSON.stringify(data))
145
+ let res = HostApp.bzLogic({
146
+ 'logic': 'appFileUpload',
147
+ 'data': data
148
+ })
149
+ console.log('===============上传回调=================')
150
+ console.log(JSON.stringify(res))
151
+ debugger
152
+ this.imgid = res.id
153
+ HostApp.__this__.getFiles(res.id)
154
+ },
155
+ async getFiles (fileid) {
156
+ console.log("cess",this.selectdata.f_apply_type)
157
+ let http = new HttpResetClass()
158
+ let data
159
+ if (fileid && this.defname.includes('签字')) {
160
+ console.log('=========签字回调===============')
161
+ data = {
162
+ tablename: 't_files',
163
+ condition: `id = '${fileid}'`
164
+ }
165
+ }else if (this.defname.includes('签字')){
166
+ data = {
167
+ tablename: 't_files',
168
+ condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and fusetype = '${this.type}' order by f_uploaddate desc `
169
+ }
170
+ } else {
171
+ console.log('=========签字查看===============')
172
+ data = {
173
+ tablename: 't_files',
174
+ condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and defname = '${this.defname}' order by f_uploaddate desc `
175
+ }
176
+ }
177
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
178
+ // let res = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
179
+ warnMsg: null,
180
+ resolveMsg: null
181
+ })
182
+ if(res.data.length > 0){
183
+ console.log('=========查询回调===============')
184
+ let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
185
+ console.log(fileUrl)
186
+ // HostApp.__this__.$set('f_sign_path', fileUrl)
187
+ // HostApp.__this__.f_sign_path = fileUrl
188
+ this.f_sign_path = fileUrl
189
+ this.imgid = res.data[0].id
190
+ let f_fileUrl = `http://193.168.1.44:8400/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
191
+ this.$emit('sign-success', f_fileUrl)
192
+ }else {
193
+ this.f_sign_path = null
194
+ }
195
+ },
196
+ delAudioFile (signPath) {
197
+ if (!signPath) {
198
+ return
199
+ }
200
+ HostApp.delfile(signPath)
201
+ this.f_sign_path = null
202
+ this.fileName = null
203
+ }
204
+ },
205
+ events: {
206
+ },
207
+ computed: {
208
+ },
209
+ watch: {
210
+ }
211
+ }
212
+ </script>
213
+ <style scoped lang="less">
214
+ .qrcode {
215
+ display: inline-block !important;
216
+ margin: 10px 0px;
217
+ }
218
+ .panel-self{
219
+ border-radius: 10px;
220
+ border:1px solid #499EDF;
221
+ background-color: #F8F8F8;
222
+ }
223
+ .vertical-center {
224
+ display: flex;
225
+ align-items: center;
226
+ text-align: center;
227
+ }
228
+ /*清除model中的浮动*/
229
+ .clearfix:after,.clearfix:before{
230
+ display: table;
231
+ }
232
+ .clearfix:after{
233
+ clear: both;
234
+ }
235
+ </style>