apply-clients 3.3.68 → 3.3.71-2

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 (46) hide show
  1. package/build/dev-server-app.js +2 -2
  2. package/build/dev-server.js +127 -133
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/App.vue +20 -20
  6. package/src/apply.js +92 -89
  7. package/src/applyAndroid.js +31 -31
  8. package/src/components/android/AppOnetomany.vue +301 -301
  9. package/src/components/android/AppServiceView.vue +36 -0
  10. package/src/components/android/AppSign.vue +142 -142
  11. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  12. package/src/components/android/Process/AppExplorationUser.vue +177 -27
  13. package/src/components/android/Process/AppServiceControl.vue +228 -1
  14. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  15. package/src/components/android/Process/Processes/AppInstallationDetails.vue +473 -471
  16. package/src/components/android/Supervisory/AppProcessSupervisory.vue +311 -300
  17. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  18. package/src/components/image/dwg.jpg +0 -0
  19. package/src/components/image/txt.jpg +0 -0
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
  21. package/src/components/product/Business/BusinessApply.vue +242 -242
  22. package/src/components/product/Function/InstallFunction.vue +132 -132
  23. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  24. package/src/components/product/Material/MaterialDetailed.vue +252 -235
  25. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  26. package/src/components/product/OldApply/OldApply.vue +150 -150
  27. package/src/components/product/Onetomany.vue +377 -377
  28. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  29. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  30. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  31. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  32. package/src/components/product/Process/ExplorationSelect.vue +452 -457
  33. package/src/components/product/Process/ExplorationUser.vue +189 -147
  34. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  35. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  36. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  37. package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
  38. package/src/components/product/ServiceView.vue +631 -631
  39. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
  40. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  41. package/src/components/product/Supervisory/SupervisoryList.vue +5 -0
  42. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  43. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  44. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  45. package/src/main.js +27 -23
  46. package/yarn.lock +9013 -0
@@ -34,6 +34,7 @@
34
34
  :placeholder="item.placeholder"
35
35
  :search="item.search"
36
36
  close-on-select value-single
37
+ @select-search="selectSearch($arguments,index)"
37
38
  :options="data.fields[index].options"
38
39
  v-model="data.fields[index].value"
39
40
  :value.sync="data.fields[index].value"
@@ -374,6 +375,34 @@ export default {
374
375
  },
375
376
  // 点击按钮组按钮
376
377
  async click_but (button) {
378
+ if (this.data.defname === '通气点火') {
379
+
380
+ this.$showMessage(`请确认表号是否正确`).then((res) => {
381
+
382
+
383
+ this.disable_button = true
384
+
385
+ this.data.fields.forEach(item => {
386
+ this.data[item.field] = item.value
387
+ })
388
+
389
+ this.data.button = button
390
+
391
+ if (button.button_fields && button.button_fields.length > 0) {
392
+ this.showButModal = true
393
+ return
394
+ }
395
+
396
+ if (this.data.button.event) {
397
+ this.$dispatch(this.data.button.event)
398
+ } else {
399
+ this.$dispatch('button')
400
+ }
401
+
402
+ })
403
+
404
+ }
405
+ else{
377
406
  this.disable_button = true
378
407
 
379
408
  this.data.fields.forEach(item => {
@@ -392,6 +421,7 @@ export default {
392
421
  } else {
393
422
  this.$dispatch('button')
394
423
  }
424
+ }
395
425
  },
396
426
  confirmModal () {
397
427
  this.closeModal()
@@ -490,6 +520,12 @@ export default {
490
520
  }
491
521
  }
492
522
  }
523
+ },
524
+ selectSearch(event, index) {
525
+ if (this.data.fields[index].selectSearch) {
526
+ this.$dispatch(this.data.fields[index].selectSearch, event[0], index)
527
+ }
528
+ this.$dispatch('selectSearch', event[0], index)
493
529
  }
494
530
  },
495
531
  events: {
@@ -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>