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
@@ -1,208 +1,208 @@
1
- <template>
2
- <modal :show.sync="show" v-ref:modal backdrop="false">
3
- <header slot="modal-header" class="modal-header">
4
- <button type="button" class="close" @click="show = !show"><span class="glyphicon glyphicon-remove"></span></button>
5
- <h4 class="modal-title" style="text-align: center">高拍仪</h4>
6
- </header>
7
- <article slot="modal-body" class="modal-body form-horizontal">
8
- <div class="form-group" v-if="isusetype">
9
- <label class="col-sm-2 control-label">文件类型:</label>
10
- <div class="col-sm-10">
11
- <input-select
12
- class="select select_list"
13
- :value.sync="fusetype"
14
- v-model="fusetype"
15
- :options="$appdata.getParam('使用类型')"
16
- :valueSingle="true"></input-select>
17
- </div>
18
- </div>
19
- <div class="form-group" v-if="isremark">
20
- <label class="col-sm-2 control-label">文件说明:</label>
21
- <div class="col-sm-10">
22
- <input class="form-control input_view" style=""
23
- v-model="fremarks"
24
- :value="fremarks"/>
25
- </div>
26
- </div>
27
- <div class="form-group">
28
- <img id="cam" :src="cameraurl" style="height: 100%;width: 100%">
29
- </div>
30
- </article>
31
- <footer slot="modal-footer" class="modal-footer">
32
- <button type="button" class="btn btn-primary" @click="photo()">确认</button>
33
- </footer>
34
- </modal>
35
- </template>
36
-
37
- <script>
38
- export default {
39
- title: '高拍仪',
40
- data () {
41
- return {
42
- cameraurl: null,
43
- fusetype: null,
44
- fremarks: null
45
- }
46
- },
47
- props: ['show', 'isusetype', 'isremark'],
48
- methods: {
49
- // 打开视频
50
- cam_switch (capID) {
51
- if (capID === 1) {
52
- this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=0'
53
- }
54
- if (capID === 2) {
55
- this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=1'
56
- }
57
- },
58
- async photo () {
59
- let camidx = 0
60
- if (this.cameraurl === 'http://127.0.0.1:38088/video=stream&camidx=0') {
61
- camidx = 0
62
- } else if (this.cameraurl === 'http://127.0.0.1:38088/video=stream&camidx=1') {
63
- camidx = 1
64
- } else {
65
- this.$showAlert('请先打开视频', 'warning', 2000)
66
- return
67
- }
68
- let param = {
69
- camidx: camidx
70
- }
71
- let res = await this.$resetpost(
72
- 'http://127.0.0.1:38088/video=grabimage',
73
- param,
74
- {warnMsg: null, resolveMsg: null}
75
- )
76
- if (res.data.code != '0') {
77
- this.$showAlert(res.data.message, 'warning', 2000)
78
- return
79
- }
80
- this.$dispatch('photo-finish', res.data.photoBase64, this.fusetype, this.fremarks)
81
- }
82
- },
83
- ready () {
84
- this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=0'
85
- }
86
- }
87
- </script>
88
-
89
- <style scoped>
90
- .modal-bk{
91
- border-radius:18px 0;
92
- }
93
- .header{
94
- background-color: #d8e9f3;
95
- height: 88px;
96
- }
97
- .title{
98
- position: absolute;
99
- font-family:PingFang-SC-Bold;
100
- font-size:36px;
101
- color: #666666;
102
- margin-top: 32px;
103
- margin-left: 300px;
104
- margin-bottom: 0px;
105
- }
106
- .operation{
107
- font-family:PingFang-SC-Medium;
108
- font-size: 22px;
109
- color:#666666;
110
- line-height: 5px;
111
- }
112
- .operation-group{
113
- margin-left: 36px;
114
- margin-top: 20px;
115
- }
116
- .photo{
117
- font-family: PingFang-SC-Medium;
118
- font-size: 20px;
119
- color: #ffffff;
120
- margin-left: 20px;
121
- border-radius: 4px;
122
- background-color: #2fadf5;
123
- height: 32px;
124
- width: 92px;
125
- line-height:12px;
126
- }
127
- .readIDCard{
128
- font-family: PingFang-SC-Medium;
129
- font-size: 20px;
130
- color: #ffffff;
131
- border-radius: 4px;
132
- background-color: #2fadf5;
133
- margin-left: 20px;
134
- width: 120px;
135
- height: 32px;
136
- line-height: 12px;
137
- }
138
- .stop{
139
- border-radius: 4px;
140
- border: 1px solid #2fadf5;
141
- font-family: PingFang-SC-Medium;
142
- font-size: 20px;
143
- color: #2fadf5;
144
- width: 120px;
145
- height: 32px;
146
- line-height: 12px;
147
- }
148
- .showInfo{
149
- float: left;
150
- width: 640px;
151
- display: inline-block;
152
- margin-top: 20px;
153
- margin-left: 36px;
154
- }
155
- #Console{
156
- margin-left: 18px;
157
- border-radius: 4px;
158
- border: 1px solid #b5b5b5;
159
- height:300px;
160
- width:322px;
161
- resize:none;
162
- background-color: #f6f6f6;
163
- }
164
- .img{
165
- height:300px;
166
- width:300px;
167
- float: left;
168
- border-radius: 4px;
169
- border: 1px solid #b5b5b5;
170
- }
171
- #cam{
172
- border-radius: 4px;
173
- border:1px solid #b5b5b5;
174
- display: inline-block
175
- }
176
- .IdCard{
177
- height: 950px;
178
- width: 692px;
179
- display: inline-block;
180
- border-radius: 20px;
181
- background-color: #fafafa;
182
- border: 1px solid #d8f1ff;
183
- margin-left: 40px;
184
- margin-top: 20px;
185
- }
186
- .IdInput{
187
- border-radius: 4px;
188
- border: 1px solid #939393;
189
- width: 400px;
190
- height: 38px;
191
- margin-left: 20px;
192
- }
193
- .IdInputDiv{
194
- margin-top: 20px;
195
- margin-left: 100px;
196
- }
197
- .IdHint{
198
- font-family: PingFang-SC-Medium;
199
- font-size: 18px;
200
- color: #7e7c81;
201
- }
202
- #PhotoBuffer,#PhotoDisplay{
203
- border-radius: 4px;
204
- background-color: #ffffff;
205
- border: 1px solid #939393;
206
- margin-left: 20px;
207
- }
208
- </style>
1
+ <template>
2
+ <modal :show.sync="show" v-ref:modal backdrop="false">
3
+ <header slot="modal-header" class="modal-header">
4
+ <button type="button" class="close" @click="show = !show"><span class="glyphicon glyphicon-remove"></span></button>
5
+ <h4 class="modal-title" style="text-align: center">高拍仪</h4>
6
+ </header>
7
+ <article slot="modal-body" class="modal-body form-horizontal">
8
+ <div class="form-group" v-if="isusetype">
9
+ <label class="col-sm-2 control-label">文件类型:</label>
10
+ <div class="col-sm-10">
11
+ <input-select
12
+ class="select select_list"
13
+ :value.sync="fusetype"
14
+ v-model="fusetype"
15
+ :options="$appdata.getParam('使用类型')"
16
+ :valueSingle="true"></input-select>
17
+ </div>
18
+ </div>
19
+ <div class="form-group" v-if="isremark">
20
+ <label class="col-sm-2 control-label">文件说明:</label>
21
+ <div class="col-sm-10">
22
+ <input class="form-control input_view" style=""
23
+ v-model="fremarks"
24
+ :value="fremarks"/>
25
+ </div>
26
+ </div>
27
+ <div class="form-group">
28
+ <img id="cam" :src="cameraurl" style="height: 100%;width: 100%">
29
+ </div>
30
+ </article>
31
+ <footer slot="modal-footer" class="modal-footer">
32
+ <button type="button" class="btn btn-primary" @click="photo()">确认</button>
33
+ </footer>
34
+ </modal>
35
+ </template>
36
+
37
+ <script>
38
+ export default {
39
+ title: '高拍仪',
40
+ data () {
41
+ return {
42
+ cameraurl: null,
43
+ fusetype: null,
44
+ fremarks: null
45
+ }
46
+ },
47
+ props: ['show', 'isusetype', 'isremark'],
48
+ methods: {
49
+ // 打开视频
50
+ cam_switch (capID) {
51
+ if (capID === 1) {
52
+ this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=0'
53
+ }
54
+ if (capID === 2) {
55
+ this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=1'
56
+ }
57
+ },
58
+ async photo () {
59
+ let camidx = 0
60
+ if (this.cameraurl === 'http://127.0.0.1:38088/video=stream&camidx=0') {
61
+ camidx = 0
62
+ } else if (this.cameraurl === 'http://127.0.0.1:38088/video=stream&camidx=1') {
63
+ camidx = 1
64
+ } else {
65
+ this.$showAlert('请先打开视频', 'warning', 2000)
66
+ return
67
+ }
68
+ let param = {
69
+ camidx: camidx
70
+ }
71
+ let res = await this.$resetpost(
72
+ 'http://127.0.0.1:38088/video=grabimage',
73
+ param,
74
+ {warnMsg: null, resolveMsg: null}
75
+ )
76
+ if (res.data.code != '0') {
77
+ this.$showAlert(res.data.message, 'warning', 2000)
78
+ return
79
+ }
80
+ this.$dispatch('photo-finish', res.data.photoBase64, this.fusetype, this.fremarks)
81
+ }
82
+ },
83
+ ready () {
84
+ this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=0'
85
+ }
86
+ }
87
+ </script>
88
+
89
+ <style scoped>
90
+ .modal-bk{
91
+ border-radius:18px 0;
92
+ }
93
+ .header{
94
+ background-color: #d8e9f3;
95
+ height: 88px;
96
+ }
97
+ .title{
98
+ position: absolute;
99
+ font-family:PingFang-SC-Bold;
100
+ font-size:36px;
101
+ color: #666666;
102
+ margin-top: 32px;
103
+ margin-left: 300px;
104
+ margin-bottom: 0px;
105
+ }
106
+ .operation{
107
+ font-family:PingFang-SC-Medium;
108
+ font-size: 22px;
109
+ color:#666666;
110
+ line-height: 5px;
111
+ }
112
+ .operation-group{
113
+ margin-left: 36px;
114
+ margin-top: 20px;
115
+ }
116
+ .photo{
117
+ font-family: PingFang-SC-Medium;
118
+ font-size: 20px;
119
+ color: #ffffff;
120
+ margin-left: 20px;
121
+ border-radius: 4px;
122
+ background-color: #2fadf5;
123
+ height: 32px;
124
+ width: 92px;
125
+ line-height:12px;
126
+ }
127
+ .readIDCard{
128
+ font-family: PingFang-SC-Medium;
129
+ font-size: 20px;
130
+ color: #ffffff;
131
+ border-radius: 4px;
132
+ background-color: #2fadf5;
133
+ margin-left: 20px;
134
+ width: 120px;
135
+ height: 32px;
136
+ line-height: 12px;
137
+ }
138
+ .stop{
139
+ border-radius: 4px;
140
+ border: 1px solid #2fadf5;
141
+ font-family: PingFang-SC-Medium;
142
+ font-size: 20px;
143
+ color: #2fadf5;
144
+ width: 120px;
145
+ height: 32px;
146
+ line-height: 12px;
147
+ }
148
+ .showInfo{
149
+ float: left;
150
+ width: 640px;
151
+ display: inline-block;
152
+ margin-top: 20px;
153
+ margin-left: 36px;
154
+ }
155
+ #Console{
156
+ margin-left: 18px;
157
+ border-radius: 4px;
158
+ border: 1px solid #b5b5b5;
159
+ height:300px;
160
+ width:322px;
161
+ resize:none;
162
+ background-color: #f6f6f6;
163
+ }
164
+ .img{
165
+ height:300px;
166
+ width:300px;
167
+ float: left;
168
+ border-radius: 4px;
169
+ border: 1px solid #b5b5b5;
170
+ }
171
+ #cam{
172
+ border-radius: 4px;
173
+ border:1px solid #b5b5b5;
174
+ display: inline-block
175
+ }
176
+ .IdCard{
177
+ height: 950px;
178
+ width: 692px;
179
+ display: inline-block;
180
+ border-radius: 20px;
181
+ background-color: #fafafa;
182
+ border: 1px solid #d8f1ff;
183
+ margin-left: 40px;
184
+ margin-top: 20px;
185
+ }
186
+ .IdInput{
187
+ border-radius: 4px;
188
+ border: 1px solid #939393;
189
+ width: 400px;
190
+ height: 38px;
191
+ margin-left: 20px;
192
+ }
193
+ .IdInputDiv{
194
+ margin-top: 20px;
195
+ margin-left: 100px;
196
+ }
197
+ .IdHint{
198
+ font-family: PingFang-SC-Medium;
199
+ font-size: 18px;
200
+ color: #7e7c81;
201
+ }
202
+ #PhotoBuffer,#PhotoDisplay{
203
+ border-radius: 4px;
204
+ background-color: #ffffff;
205
+ border: 1px solid #939393;
206
+ margin-left: 20px;
207
+ }
208
+ </style>
package/src/main.js CHANGED
@@ -1,23 +1,27 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import {ldap} from 'ldap-clients'
5
- import {system} from 'system-clients'
6
- import {sale} from 'sale-client'
7
- import {material} from 'material-client'
8
-
9
- import apply from './apply'
10
-
11
- all()
12
- apply()
13
- ldap()
14
- sale()
15
- material()
16
- system(false)
17
-
18
- require('system-clients/src/styles/less/bootstrap.less')
19
- require('./expandcss.less')
20
- new Vue({
21
- el: 'body',
22
- components: { App }
23
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import {ldap} from 'ldap-clients'
5
+ //import {system} from 'system-clients'
6
+ import {systemphonegrid} from 'system-phone'
7
+ import {sale} from 'sale-client'
8
+ import {material} from 'material-client'
9
+
10
+ //import apply from './apply'
11
+
12
+ import applyAndroid from './applyAndroid'
13
+
14
+ all()
15
+ //apply()
16
+ applyAndroid()
17
+ ldap()
18
+ sale()
19
+ material()
20
+ systemphonegrid(false)
21
+
22
+ require('system-clients/src/styles/less/bootstrap.less')
23
+ require('./expandcss.less')
24
+ new Vue({
25
+ el: 'body',
26
+ components: { App }
27
+ })