apply-clients 3.3.66 → 3.3.71

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 (42) hide show
  1. package/.project +17 -0
  2. package/build/dev-server.js +133 -133
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/apply.js +92 -89
  6. package/src/applyAndroid.js +31 -31
  7. package/src/components/android/AppOnetomany.vue +301 -301
  8. package/src/components/android/AppServiceView.vue +595 -566
  9. package/src/components/android/AppSign.vue +142 -142
  10. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  11. package/src/components/android/Process/AppExplorationUser.vue +396 -340
  12. package/src/components/android/Process/AppServiceControl.vue +865 -865
  13. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  14. package/src/components/android/Process/Processes/AppInstallationDetails.vue +4 -2
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  16. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  17. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
  18. package/src/components/product/Business/BusinessApply.vue +242 -242
  19. package/src/components/product/Function/InstallFunction.vue +132 -132
  20. package/src/components/product/Function/InstallInfoSelect.vue +320 -320
  21. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  22. package/src/components/product/Material/MaterialDetailed.vue +252 -235
  23. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  24. package/src/components/product/OldApply/OldApply.vue +150 -150
  25. package/src/components/product/Onetomany.vue +377 -377
  26. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  27. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  28. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  29. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  30. package/src/components/product/Process/ExplorationSelect.vue +452 -457
  31. package/src/components/product/Process/ExplorationUser.vue +189 -147
  32. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  33. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  34. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  35. package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
  36. package/src/components/product/ServiceView.vue +631 -631
  37. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
  38. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  39. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  40. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  41. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  42. package/src/main.js +3 -0
@@ -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>