apply-clients 3.3.52 → 3.3.53

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 (38) hide show
  1. package/build/dev-server.js +130 -130
  2. package/package.json +1 -1
  3. package/src/AndroidApp.vue +35 -35
  4. package/src/apply.js +93 -93
  5. package/src/applyAndroid.js +31 -31
  6. package/src/components/android/AppOnetomany.vue +301 -301
  7. package/src/components/android/AppServiceView.vue +566 -566
  8. package/src/components/android/AppSign.vue +142 -142
  9. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  10. package/src/components/android/Process/AppExplorationUser.vue +340 -340
  11. package/src/components/android/Process/AppServiceControl.vue +807 -761
  12. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  13. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  14. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  15. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
  16. package/src/components/product/Function/InstallFunction.vue +132 -132
  17. package/src/components/product/Function/InstallInfoSelect.vue +320 -320
  18. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  19. package/src/components/product/Material/MaterialDetailed.vue +235 -235
  20. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  21. package/src/components/product/OldApply/OldApply.vue +150 -150
  22. package/src/components/product/Onetomany.vue +377 -377
  23. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  24. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  25. package/src/components/product/Process/ExplorationSelect.vue +457 -457
  26. package/src/components/product/Process/ExplorationUser.vue +147 -147
  27. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  28. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  29. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  30. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  31. package/src/components/product/Process/Service/ServiceControl.vue +1311 -1265
  32. package/src/components/product/ServiceView.vue +631 -631
  33. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  34. package/src/components/product/Supervisory/SupervisoryList.vue +296 -296
  35. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  36. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  37. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  38. package/.project +0 -17
@@ -1,142 +1,142 @@
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">清除</button>
9
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign">签名</button>
10
- </div>
11
- </div>
12
- </div>
13
- </template>
14
- <script>
15
- import {getNowDate, guid, isEmpty} from '../Util'
16
- import {PagedList} from 'vue-client'
17
- import {HttpResetClass} from 'vue-client'
18
- import QRCode from 'qrcodejs2'
19
- import Vue from "vue";
20
-
21
- export default {
22
- title: '签字',
23
- props: ['filePath'],
24
- data () {
25
- return {
26
- f_sign_path: null,
27
- fileName: null
28
- }
29
- },
30
- ready () {
31
- this.f_sign_path = this.filePath
32
- },
33
- methods: {
34
- clean () {
35
- this.f_sign_path = null
36
- this.fileName = null
37
- this.$emit('sign-clean')
38
- },
39
- sign () {
40
- this.delAudioFile(this.f_sign_path)
41
- this.fileName = guid() + '.jpg'
42
- HostApp.__callback__ = this.signCallback
43
- HostApp.__this__ = this
44
- HostApp.getSignature({
45
- file: this.fileName,
46
- requestCode: 111,
47
- callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
48
- })
49
- },
50
- // 签名回调
51
- signCallback (prop, signPath) {
52
- console.log('==============签字回调============')
53
- console.log(signPath)
54
- HostApp.__this__.$set(prop, signPath)
55
- console.log(HostApp.__this__.f_sign_path)
56
-
57
- HostApp.__this__.uploadFile()
58
-
59
- HostApp.__callback__ = null
60
- HostApp.__this__ = null
61
- },
62
- uploadFile () {
63
- console.log('===================签字文件上传==============')
64
- let data = {
65
- username: Vue.user.name,
66
- fremarks: '报装手机签字文件',
67
- fileName: HostApp.__this__.fileName,
68
- fileUrl: HostApp.__this__.f_sign_path
69
- }
70
-
71
- console.log('-----------bzLogic-----------------')
72
- console.log(JSON.stringify(data))
73
- let res = HostApp.bzLogic({
74
- 'logic': 'appFileUpload',
75
- 'data': data
76
- })
77
- console.log('===============上传回调=================')
78
- console.log(JSON.stringify(res))
79
- HostApp.__this__.getFiles(res.id)
80
- },
81
- async getFiles (fileid) {
82
- let http = new HttpResetClass()
83
-
84
- let data = {
85
- tablename: 't_files',
86
- condition: `id = '${fileid}'`
87
- }
88
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
89
- // let res = await http.load('POST', `rs/sql/singleTable`, {data: data}, {
90
- warnMsg: null,
91
- resolveMsg: null
92
- })
93
-
94
- console.log('=========查询回调===============')
95
- let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
96
- console.log(fileUrl)
97
- // HostApp.__this__.$set('f_sign_path', fileUrl)
98
- // HostApp.__this__.f_sign_path = fileUrl
99
- this.f_sign_path = fileUrl
100
-
101
- this.$emit('sign-success', fileUrl)
102
- },
103
- delAudioFile (signPath) {
104
- if (!signPath) {
105
- return
106
- }
107
- HostApp.delfile(signPath)
108
- this.f_sign_path = null
109
- this.fileName = null
110
- }
111
- },
112
- events: {
113
- },
114
- computed: {
115
- },
116
- watch: {
117
- }
118
- }
119
- </script>
120
- <style scoped lang="less">
121
- .qrcode {
122
- display: inline-block !important;
123
- margin: 10px 0px;
124
- }
125
- .panel-self{
126
- border-radius: 10px;
127
- border:1px solid #499EDF;
128
- background-color: #F8F8F8;
129
- }
130
- .vertical-center {
131
- display: flex;
132
- align-items: center;
133
- text-align: center;
134
- }
135
- /*清除model中的浮动*/
136
- .clearfix:after,.clearfix:before{
137
- display: table;
138
- }
139
- .clearfix:after{
140
- clear: both;
141
- }
142
- </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">清除</button>
9
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign">签名</button>
10
+ </div>
11
+ </div>
12
+ </div>
13
+ </template>
14
+ <script>
15
+ import {getNowDate, guid, isEmpty} from '../Util'
16
+ import {PagedList} from 'vue-client'
17
+ import {HttpResetClass} from 'vue-client'
18
+ import QRCode from 'qrcodejs2'
19
+ import Vue from "vue";
20
+
21
+ export default {
22
+ title: '签字',
23
+ props: ['filePath'],
24
+ data () {
25
+ return {
26
+ f_sign_path: null,
27
+ fileName: null
28
+ }
29
+ },
30
+ ready () {
31
+ this.f_sign_path = this.filePath
32
+ },
33
+ methods: {
34
+ clean () {
35
+ this.f_sign_path = null
36
+ this.fileName = null
37
+ this.$emit('sign-clean')
38
+ },
39
+ sign () {
40
+ this.delAudioFile(this.f_sign_path)
41
+ this.fileName = guid() + '.jpg'
42
+ HostApp.__callback__ = this.signCallback
43
+ HostApp.__this__ = this
44
+ HostApp.getSignature({
45
+ file: this.fileName,
46
+ requestCode: 111,
47
+ callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
48
+ })
49
+ },
50
+ // 签名回调
51
+ signCallback (prop, signPath) {
52
+ console.log('==============签字回调============')
53
+ console.log(signPath)
54
+ HostApp.__this__.$set(prop, signPath)
55
+ console.log(HostApp.__this__.f_sign_path)
56
+
57
+ HostApp.__this__.uploadFile()
58
+
59
+ HostApp.__callback__ = null
60
+ HostApp.__this__ = null
61
+ },
62
+ uploadFile () {
63
+ console.log('===================签字文件上传==============')
64
+ let data = {
65
+ username: Vue.user.name,
66
+ fremarks: '报装手机签字文件',
67
+ fileName: HostApp.__this__.fileName,
68
+ fileUrl: HostApp.__this__.f_sign_path
69
+ }
70
+
71
+ console.log('-----------bzLogic-----------------')
72
+ console.log(JSON.stringify(data))
73
+ let res = HostApp.bzLogic({
74
+ 'logic': 'appFileUpload',
75
+ 'data': data
76
+ })
77
+ console.log('===============上传回调=================')
78
+ console.log(JSON.stringify(res))
79
+ HostApp.__this__.getFiles(res.id)
80
+ },
81
+ async getFiles (fileid) {
82
+ let http = new HttpResetClass()
83
+
84
+ let data = {
85
+ tablename: 't_files',
86
+ condition: `id = '${fileid}'`
87
+ }
88
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
89
+ // let res = await http.load('POST', `rs/sql/singleTable`, {data: data}, {
90
+ warnMsg: null,
91
+ resolveMsg: null
92
+ })
93
+
94
+ console.log('=========查询回调===============')
95
+ let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
96
+ console.log(fileUrl)
97
+ // HostApp.__this__.$set('f_sign_path', fileUrl)
98
+ // HostApp.__this__.f_sign_path = fileUrl
99
+ this.f_sign_path = fileUrl
100
+
101
+ this.$emit('sign-success', fileUrl)
102
+ },
103
+ delAudioFile (signPath) {
104
+ if (!signPath) {
105
+ return
106
+ }
107
+ HostApp.delfile(signPath)
108
+ this.f_sign_path = null
109
+ this.fileName = null
110
+ }
111
+ },
112
+ events: {
113
+ },
114
+ computed: {
115
+ },
116
+ watch: {
117
+ }
118
+ }
119
+ </script>
120
+ <style scoped lang="less">
121
+ .qrcode {
122
+ display: inline-block !important;
123
+ margin: 10px 0px;
124
+ }
125
+ .panel-self{
126
+ border-radius: 10px;
127
+ border:1px solid #499EDF;
128
+ background-color: #F8F8F8;
129
+ }
130
+ .vertical-center {
131
+ display: flex;
132
+ align-items: center;
133
+ text-align: center;
134
+ }
135
+ /*清除model中的浮动*/
136
+ .clearfix:after,.clearfix:before{
137
+ display: table;
138
+ }
139
+ .clearfix:after{
140
+ clear: both;
141
+ }
142
+ </style>