apply-clients 3.2.32 → 3.2.37

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 (37) hide show
  1. package/package.json +1 -1
  2. package/src/AndroidApp.vue +26 -26
  3. package/src/App.vue +20 -20
  4. package/src/apply.js +67 -67
  5. package/src/applyAndroid.js +24 -24
  6. package/src/components/Util.js +359 -359
  7. package/src/components/app_apply/AppOnetomany.vue +90 -90
  8. package/src/components/app_apply/AppServiceView.vue +664 -664
  9. package/src/components/app_apply/AppTakePic.vue +112 -112
  10. package/src/components/app_apply/Process/AppExplorationUser.vue +310 -310
  11. package/src/components/app_apply/Process/AppServiceControl.vue +409 -409
  12. package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +456 -456
  13. package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +300 -300
  14. package/src/components/app_apply/Supervisory/AppSupervisoryCart.vue +121 -121
  15. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  16. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -107
  17. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  18. package/src/components/product/Function/InstallFunction.vue +147 -147
  19. package/src/components/product/Function/InstallInfoSelect.vue +281 -281
  20. package/src/components/product/Function/Service/FunctionServiceControl.vue +245 -245
  21. package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
  22. package/src/components/product/Function/functions/StopInstall.vue +106 -106
  23. package/src/components/product/Process/ExplorationSelect.vue +346 -346
  24. package/src/components/product/Process/ExplorationUser.vue +134 -134
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +243 -233
  26. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +201 -201
  27. package/src/components/product/Process/Processes/chargeManagement.vue +555 -555
  28. package/src/components/product/Process/Processes/printCharge.vue +133 -133
  29. package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -297
  30. package/src/components/product/Process/ShowBackReason.vue +32 -32
  31. package/src/components/product/ServiceView.vue +759 -759
  32. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -199
  33. package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
  34. package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
  35. package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
  36. package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
  37. package/src/main.js +23 -23
@@ -1,112 +1,112 @@
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
- <div class="col-xs-4 col-sm-3 col-md-2 col-xs-offset-1 col-sm-offset-1 col-md-offset-1" v-for="(index,file) in fileList">
6
- <img-self :src="file.f_downloadURL" :width="120" :height="170"></img-self>
7
- <img v-if="isdelete" src="../../assets/删除.png" style="width: 15px;margin-top: -80px" @click.prevent="delfile(file, index)">
8
- </div>
9
- </div>
10
- <div class="row text-right form-group" v-if="istakepic">
11
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic( `台账${type}照片`)">拍照</button>
12
- </div>
13
- </div>
14
- </div>
15
- </template>
16
-
17
- <script>
18
- import {HttpResetClass} from 'vue-client'
19
- import {guid, toStandardTimeString} from '../Util'
20
- import Vue from 'vue'
21
- export default {
22
- title: '附件',
23
- props: ['blobid', 'type', 'defname', 'isdelete', 'istakepic'],
24
- data () {
25
- return {
26
- fileList: []
27
- }
28
- },
29
- ready () {
30
- this.getFiles()
31
- },
32
- methods: {
33
- async getFiles () {
34
- this.fileList = []
35
-
36
- let http = new HttpResetClass()
37
-
38
- let data = {
39
- tablename: 't_files',
40
- condition: `f_blobid = '${this.blobid}' and fusetype = '${this.type}' order by f_uploaddate desc `
41
- }
42
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
43
- // let res = await http.load('POST', `rs/sql/singleTable`, {data: data}, {
44
- warnMsg: null,
45
- resolveMsg: null
46
- })
47
-
48
- for (var i = 0; i < res.data.length; i++) {
49
- console.log('-----------地址----------------')
50
- console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
51
- res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
52
- }
53
-
54
- this.fileList = res.data
55
- },
56
- delfile (file, index) {
57
- this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
58
- this.$dispatch("delResid", file.id)
59
- this.getFiles()
60
- })
61
- },
62
- takePic (title) {
63
- // 拍照成功回调
64
- HostApp.__callback__ = this.cameraCallBack
65
- HostApp.__this__ = this
66
- let fileName = guid() + '.jpg'
67
- // 打开相机
68
- HostApp._open_a_page({
69
- type: 'boomerang',
70
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
71
- param: {
72
- file: fileName,
73
- requestCode: 200,
74
- callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
75
- watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
76
- }
77
- })
78
- },
79
- cameraCallBack (fileName, fileUrl) {
80
- console.log('-----------cameraCallBack-----------------')
81
-
82
- let data = {
83
- blodid: HostApp.__this__.blobid,
84
- type: HostApp.__this__.type,
85
- defname: HostApp.__this__.defname,
86
- username: Vue.user.name,
87
- fileName: fileName,
88
- fileUrl: fileUrl
89
- }
90
-
91
- console.log('-----------bzLogic-----------------')
92
- HostApp.bzLogic({
93
- 'logic': 'appFileUpload',
94
- 'data': data
95
- })
96
-
97
- HostApp.__this__.getFiles()
98
-
99
- HostApp.__callback__ = null
100
- HostApp.__this__ = null
101
- }
102
- },
103
- computed: {
104
- },
105
- events: {
106
- }
107
- }
108
- </script>
109
-
110
- <style scoped>
111
-
112
- </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
+ <div class="col-xs-4 col-sm-3 col-md-2 col-xs-offset-1 col-sm-offset-1 col-md-offset-1" v-for="(index,file) in fileList">
6
+ <img-self :src="file.f_downloadURL" :width="120" :height="170"></img-self>
7
+ <img v-if="isdelete" src="../../assets/删除.png" style="width: 15px;margin-top: -80px" @click.prevent="delfile(file, index)">
8
+ </div>
9
+ </div>
10
+ <div class="row text-right form-group" v-if="istakepic">
11
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic( `台账${type}照片`)">拍照</button>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </template>
16
+
17
+ <script>
18
+ import {HttpResetClass} from 'vue-client'
19
+ import {guid, toStandardTimeString} from '../Util'
20
+ import Vue from 'vue'
21
+ export default {
22
+ title: '附件',
23
+ props: ['blobid', 'type', 'defname', 'isdelete', 'istakepic'],
24
+ data () {
25
+ return {
26
+ fileList: []
27
+ }
28
+ },
29
+ ready () {
30
+ this.getFiles()
31
+ },
32
+ methods: {
33
+ async getFiles () {
34
+ this.fileList = []
35
+
36
+ let http = new HttpResetClass()
37
+
38
+ let data = {
39
+ tablename: 't_files',
40
+ condition: `f_blobid = '${this.blobid}' and fusetype = '${this.type}' order by f_uploaddate desc `
41
+ }
42
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
43
+ // let res = await http.load('POST', `rs/sql/singleTable`, {data: data}, {
44
+ warnMsg: null,
45
+ resolveMsg: null
46
+ })
47
+
48
+ for (var i = 0; i < res.data.length; i++) {
49
+ console.log('-----------地址----------------')
50
+ console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
51
+ res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
52
+ }
53
+
54
+ this.fileList = res.data
55
+ },
56
+ delfile (file, index) {
57
+ this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
58
+ this.$dispatch("delResid", file.id)
59
+ this.getFiles()
60
+ })
61
+ },
62
+ takePic (title) {
63
+ // 拍照成功回调
64
+ HostApp.__callback__ = this.cameraCallBack
65
+ HostApp.__this__ = this
66
+ let fileName = guid() + '.jpg'
67
+ // 打开相机
68
+ HostApp._open_a_page({
69
+ type: 'boomerang',
70
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
71
+ param: {
72
+ file: fileName,
73
+ requestCode: 200,
74
+ callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
75
+ watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
76
+ }
77
+ })
78
+ },
79
+ cameraCallBack (fileName, fileUrl) {
80
+ console.log('-----------cameraCallBack-----------------')
81
+
82
+ let data = {
83
+ blodid: HostApp.__this__.blobid,
84
+ type: HostApp.__this__.type,
85
+ defname: HostApp.__this__.defname,
86
+ username: Vue.user.name,
87
+ fileName: fileName,
88
+ fileUrl: fileUrl
89
+ }
90
+
91
+ console.log('-----------bzLogic-----------------')
92
+ HostApp.bzLogic({
93
+ 'logic': 'appFileUpload',
94
+ 'data': data
95
+ })
96
+
97
+ HostApp.__this__.getFiles()
98
+
99
+ HostApp.__callback__ = null
100
+ HostApp.__this__ = null
101
+ }
102
+ },
103
+ computed: {
104
+ },
105
+ events: {
106
+ }
107
+ }
108
+ </script>
109
+
110
+ <style scoped>
111
+
112
+ </style>