apply-clients 3.3.42 → 3.3.46
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.
- package/package.json +2 -2
- package/src/AndroidApp.vue +35 -30
- package/src/apply.js +2 -1
- package/src/applyAndroid.js +3 -0
- package/src/components/android/AppServiceView.vue +1 -7
- package/src/components/android/AppSign.vue +97 -0
- package/src/components/android/Process/AppExplorationUser.vue +306 -306
- package/src/components/android/Process/AppServiceControl.vue +757 -757
- package/src/components/android/Process/Processes/AppBuildSign.vue +38 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +13 -19
- package/src/components/product/Material/MaterialDetailed.vue +1 -1
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
- package/src/components/product/ServiceView.vue +1 -8
- package/src/components/product/Supervisory/SupervisoryList.vue +1 -1
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -262
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.46",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"style": "0.0.3",
|
|
94
94
|
"style-loader": "^0.20.3",
|
|
95
95
|
"system-clients": "3.1.87",
|
|
96
|
-
"system-phone": "1.
|
|
96
|
+
"system-phone": "1.2.80-49",
|
|
97
97
|
"url-loader": "^0.5.7",
|
|
98
98
|
"vue-client": "1.24.31",
|
|
99
99
|
"vue-hot-reload-api": "^1.2.0",
|
package/src/AndroidApp.vue
CHANGED
|
@@ -1,30 +1,35 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- <app-base> -->
|
|
3
|
-
<div id="android-app">
|
|
4
|
-
<article>
|
|
5
|
-
<route :comp="{name: 'app-exploration-user'}" name="root"></route>
|
|
6
|
-
<!-- <route :comp="{name: 'app-process-supervisory'}" name="root"></route>-->
|
|
7
|
-
<!-- <route :comp="{name: 'apply-reserve'}" name="root"></route>-->
|
|
8
|
-
<!-- <route :comp="{name: 'task-graph'}" name="root"></route>-->
|
|
9
|
-
<!-- <route :comp="{name: 'app-istall-function'}" name="root"></route>-->
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
<alert-box
|
|
15
|
-
|
|
16
|
-
</
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <app-base> -->
|
|
3
|
+
<div id="android-app">
|
|
4
|
+
<article>
|
|
5
|
+
<route :comp="{name: 'app-exploration-user'}" name="root"></route>
|
|
6
|
+
<!-- <route :comp="{name: 'app-process-supervisory'}" name="root"></route>-->
|
|
7
|
+
<!-- <route :comp="{name: 'apply-reserve'}" name="root"></route>-->
|
|
8
|
+
<!-- <route :comp="{name: 'task-graph'}" name="root"></route>-->
|
|
9
|
+
<!-- <route :comp="{name: 'app-istall-function'}" name="root"></route>-->
|
|
10
|
+
<!-- <route :comp="{name: 'login-app'}" name="root"></route>-->
|
|
11
|
+
</article>
|
|
12
|
+
<time-out></time-out>
|
|
13
|
+
<message-box></message-box>
|
|
14
|
+
<alert-box></alert-box>
|
|
15
|
+
<alert-box-batch></alert-box-batch>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
|
|
21
|
+
import AlertBox from "vue-client/src/components/AlertBox";
|
|
22
|
+
import AlertBoxBatch from "vue-client/src/components/AlertBoxBatch";
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
ready () {
|
|
26
|
+
if(!window.onerror) {
|
|
27
|
+
window.onerror = function (message, file, line, col, error) {
|
|
28
|
+
// HostApp.alert("Error occured: " + error.message)
|
|
29
|
+
return false
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
components: { AlertBox, AlertBoxBatch }
|
|
34
|
+
}
|
|
35
|
+
</script>
|
package/src/apply.js
CHANGED
|
@@ -76,7 +76,8 @@ export default function () {
|
|
|
76
76
|
Vue.component('back-page', (resolve) => { require(['./components/product/VueUtils/ToolsPage'], resolve) })
|
|
77
77
|
Vue.component('tree2', (resolve) => { require(['./components/product/VueUtils/Tree'], resolve) })
|
|
78
78
|
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
79
|
-
Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/GaoPaiYi/HighMeter'], resolve) })
|
|
79
|
+
// Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/GaoPaiYi/HighMeter'], resolve) })
|
|
80
|
+
Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/HighMeter'], resolve) })
|
|
80
81
|
|
|
81
82
|
// 旧报装处理入口
|
|
82
83
|
Vue.component('old-apply', (resolve) => { require(['./components/product/OldApply/OldApply'], resolve) })
|
package/src/applyAndroid.js
CHANGED
|
@@ -17,6 +17,7 @@ export default function () {
|
|
|
17
17
|
Vue.component('app-istall-function', (resolve) => { require(['./components/android/Function/AppInstallFunction'], resolve) })
|
|
18
18
|
Vue.component('app-function-service-control', (resolve) => { require(['./components/android/Function/AppFunctionServiceControl'], resolve) })
|
|
19
19
|
|
|
20
|
+
Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
|
|
20
21
|
Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
|
|
21
22
|
Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
|
|
22
23
|
Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
|
|
@@ -25,4 +26,6 @@ export default function () {
|
|
|
25
26
|
Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
26
27
|
Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
|
|
27
28
|
Vue.component('app-supplemental-agreement', (resolve) => { require(['./components/android/Process/Processes/AppSupplementalAgreement'], resolve) })
|
|
29
|
+
|
|
30
|
+
Vue.component('app-build-sign', (resolve) => { require(['./components/android/Process/Processes/AppBuildSign'], resolve) })
|
|
28
31
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<work-busy :is-busy="showWork" v-show="showWork"></work-busy>
|
|
3
|
-
|
|
4
2
|
<div class="form-horizontal select-overspread">
|
|
5
3
|
<div v-for="(index,item) in data.fields">
|
|
6
4
|
<!--input-->
|
|
@@ -279,8 +277,7 @@ export default {
|
|
|
279
277
|
model: {}, // 公司等属性
|
|
280
278
|
disable_button: true, // 控制按钮禁用
|
|
281
279
|
disable_modal_button: true, // 控制按钮禁用
|
|
282
|
-
showButModal: false
|
|
283
|
-
showWork: false
|
|
280
|
+
showButModal: false
|
|
284
281
|
}
|
|
285
282
|
},
|
|
286
283
|
watch: {
|
|
@@ -377,7 +374,6 @@ export default {
|
|
|
377
374
|
},
|
|
378
375
|
// 点击按钮组按钮
|
|
379
376
|
async click_but (button) {
|
|
380
|
-
this.showWork = true
|
|
381
377
|
this.disable_button = true
|
|
382
378
|
|
|
383
379
|
this.data.fields.forEach(item => {
|
|
@@ -388,7 +384,6 @@ export default {
|
|
|
388
384
|
|
|
389
385
|
if (button.button_fields && button.button_fields.length > 0) {
|
|
390
386
|
this.showButModal = true
|
|
391
|
-
this.showWork = false
|
|
392
387
|
return
|
|
393
388
|
}
|
|
394
389
|
|
|
@@ -399,7 +394,6 @@ export default {
|
|
|
399
394
|
}
|
|
400
395
|
},
|
|
401
396
|
confirmModal () {
|
|
402
|
-
this.showWork = true
|
|
403
397
|
this.closeModal()
|
|
404
398
|
|
|
405
399
|
this.data.button.button_fields.forEach(item => {
|
|
@@ -0,0 +1,97 @@
|
|
|
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: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign">签名</button>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<script>
|
|
14
|
+
import {getNowDate, guid, isEmpty} from '../Util'
|
|
15
|
+
import {PagedList} from 'vue-client'
|
|
16
|
+
import {HttpResetClass} from 'vue-client'
|
|
17
|
+
import QRCode from 'qrcodejs2'
|
|
18
|
+
import Vue from "vue";
|
|
19
|
+
|
|
20
|
+
export default {
|
|
21
|
+
title: '签字',
|
|
22
|
+
props: {
|
|
23
|
+
f_file_path: {
|
|
24
|
+
type: Object,
|
|
25
|
+
default: null
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
data () {
|
|
29
|
+
return {
|
|
30
|
+
f_sign_path: null
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
ready () {
|
|
34
|
+
console.log('============进入签字==============')
|
|
35
|
+
this.f_sign_path = this.f_file_path
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
sign () {
|
|
39
|
+
this.delAudioFile(this.f_sign_path)
|
|
40
|
+
let fileName = guid() + '.jpg'
|
|
41
|
+
console.log('===================生成文件名=======================')
|
|
42
|
+
console.log(fileName)
|
|
43
|
+
HostApp.__callback__ = this.signCallback
|
|
44
|
+
HostApp.__this__ = this
|
|
45
|
+
HostApp.getSignature({
|
|
46
|
+
file: fileName,
|
|
47
|
+
requestCode: 111,
|
|
48
|
+
callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
|
|
49
|
+
})
|
|
50
|
+
},
|
|
51
|
+
// 签名回调
|
|
52
|
+
signCallback (prop, filePath) {
|
|
53
|
+
console.log('==============签字回调========================')
|
|
54
|
+
console.log(filePath)
|
|
55
|
+
HostApp.__this__.$set(prop, filePath)
|
|
56
|
+
HostApp.__callback__ = null
|
|
57
|
+
HostApp.__this__ = null
|
|
58
|
+
},
|
|
59
|
+
delAudioFile (filePath) {
|
|
60
|
+
if (!filePath) {
|
|
61
|
+
return
|
|
62
|
+
}
|
|
63
|
+
HostApp.delfile(filePath)
|
|
64
|
+
this.f_sign_path = null
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
events: {
|
|
68
|
+
},
|
|
69
|
+
computed: {
|
|
70
|
+
},
|
|
71
|
+
watch: {
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
</script>
|
|
75
|
+
<style scoped lang="less">
|
|
76
|
+
.qrcode {
|
|
77
|
+
display: inline-block !important;
|
|
78
|
+
margin: 10px 0px;
|
|
79
|
+
}
|
|
80
|
+
.panel-self{
|
|
81
|
+
border-radius: 10px;
|
|
82
|
+
border:1px solid #499EDF;
|
|
83
|
+
background-color: #F8F8F8;
|
|
84
|
+
}
|
|
85
|
+
.vertical-center {
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
text-align: center;
|
|
89
|
+
}
|
|
90
|
+
/*清除model中的浮动*/
|
|
91
|
+
.clearfix:after,.clearfix:before{
|
|
92
|
+
display: table;
|
|
93
|
+
}
|
|
94
|
+
.clearfix:after{
|
|
95
|
+
clear: both;
|
|
96
|
+
}
|
|
97
|
+
</style>
|