apply-clients 3.4.39 → 3.4.51
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/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/android.js +21 -21
- package/src/apply.js +113 -113
- package/src/applyAndroid.js +53 -53
- package/src/components/android/AppServiceView.vue +745 -745
- package/src/components/android/AppSign.vue +154 -154
- package/src/components/android/Process/AppExplorationUser.vue +507 -507
- package/src/components/android/Process/AppServiceControl.vue +1708 -1708
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -482
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
- package/src/components/product/Business/BusinessApply.vue +269 -269
- package/src/components/product/Business/CivilApply.vue +269 -269
- package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -253
- package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -53
- package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -376
- package/src/components/product/Material/MaterialDetailed.vue +262 -262
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -360
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -157
- package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
- package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
- package/src/components/product/Process/ExplorationSelect.vue +495 -495
- package/src/components/product/Process/ExplorationUser.vue +189 -189
- package/src/components/product/Process/Processes/InstallationDetails.vue +610 -610
- package/src/components/product/Process/Processes/Print/printCharge.vue +166 -166
- package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
- package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
- package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
- package/src/components/product/Process/Service/ServiceControl.vue +1918 -1920
- package/src/components/product/ServiceView.vue +981 -981
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
- package/src/components/product/Supervisory/SupervisoryList.vue +404 -404
- package/src/components/product/VueUtils/ApplyUpload.vue +275 -280
- package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -483
- package/src/filiale/gehua/pc/ServiceControl.vue +1929 -1929
- package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -137
- package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
- package/src/filiale/gehua/pc/buildOrderList.vue +339 -0
- package/src/filiale/gehua/pc/printBuildOrder.vue +243 -0
- package/src/filiale/gehua/pc.js +3 -2
- package/src/filiale/guangxi/android/Process/AppExplorationUser.vue +503 -503
- package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +470 -470
- package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
- package/src/filiale/guangxi/android/Process/Processes/AppInstallationDetails.vue +482 -482
- package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
- package/src/filiale/guangxi/android/Process/Processes/AppServiceView.vue +766 -766
- package/src/filiale/guangxi/android.js +9 -9
- package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
- package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +702 -702
- package/src/filiale/guangxi/pc/Process/ExplorationSelect.vue +538 -538
- package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
- package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
- package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +482 -482
- package/src/filiale/guangxi/pc.js +15 -15
- package/src/main.js +1 -4
|
@@ -1,154 +1,154 @@
|
|
|
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','blobid','type', 'defname'],
|
|
24
|
-
data () {
|
|
25
|
-
return {
|
|
26
|
-
f_sign_path: null,
|
|
27
|
-
fileName: null
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
ready () {
|
|
31
|
-
console.log('在ready里打印一下this.filePath',this.filePath)
|
|
32
|
-
this.f_sign_path = this.filePath
|
|
33
|
-
console.log('在ready里打印一下this.f_sign_path',this.f_sign_path)
|
|
34
|
-
this.getFiles()
|
|
35
|
-
},
|
|
36
|
-
methods: {
|
|
37
|
-
clean () {
|
|
38
|
-
this.f_sign_path = null
|
|
39
|
-
this.fileName = null
|
|
40
|
-
this.$emit('sign-clean')
|
|
41
|
-
},
|
|
42
|
-
sign () {
|
|
43
|
-
debugger
|
|
44
|
-
this.type='手机签字'
|
|
45
|
-
console.log('==============签字打印this============',this)
|
|
46
|
-
this.delAudioFile(this.f_sign_path)
|
|
47
|
-
this.fileName = guid() + '.jpg'
|
|
48
|
-
HostApp.__callback__ = this.signCallback
|
|
49
|
-
HostApp.__this__ = this
|
|
50
|
-
HostApp.getSignature({
|
|
51
|
-
file: this.fileName,
|
|
52
|
-
requestCode: 111,
|
|
53
|
-
callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
|
|
54
|
-
})
|
|
55
|
-
},
|
|
56
|
-
// 签名回调
|
|
57
|
-
signCallback (prop, signPath) {
|
|
58
|
-
console.log('==============签字回调============')
|
|
59
|
-
console.log(signPath)
|
|
60
|
-
HostApp.__this__.$set(prop, signPath)
|
|
61
|
-
console.log(HostApp.__this__.f_sign_path)
|
|
62
|
-
|
|
63
|
-
HostApp.__this__.uploadFile()
|
|
64
|
-
|
|
65
|
-
HostApp.__callback__ = null
|
|
66
|
-
HostApp.__this__ = null
|
|
67
|
-
},
|
|
68
|
-
uploadFile () {
|
|
69
|
-
console.log('===================签字文件上传==============')
|
|
70
|
-
console.log('===================打印id==============',HostApp.__this__.blobid)
|
|
71
|
-
let data = {
|
|
72
|
-
defname:HostApp.__this__.defname,
|
|
73
|
-
type:HostApp.__this__.type,
|
|
74
|
-
blodid: HostApp.__this__.blobid,
|
|
75
|
-
username: Vue.user.name,
|
|
76
|
-
fremarks: '报装手机签字文件',
|
|
77
|
-
fileName: HostApp.__this__.fileName,
|
|
78
|
-
fileUrl: HostApp.__this__.f_sign_path
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
console.log('-----------bzLogic-----------------')
|
|
82
|
-
console.log(JSON.stringify(data))
|
|
83
|
-
let res = HostApp.bzLogic({
|
|
84
|
-
'logic': 'appFileUpload',
|
|
85
|
-
'data': data
|
|
86
|
-
})
|
|
87
|
-
console.log('===============上传回调=================')
|
|
88
|
-
console.log(JSON.stringify(res))
|
|
89
|
-
HostApp.__this__.getFiles(res.id)
|
|
90
|
-
},
|
|
91
|
-
async getFiles (fileid) {
|
|
92
|
-
debugger
|
|
93
|
-
console.log('=========进来===============')
|
|
94
|
-
let http = new HttpResetClass()
|
|
95
|
-
console.log('=========进来===============')
|
|
96
|
-
let data = {
|
|
97
|
-
tablename: 't_files',
|
|
98
|
-
condition: `f_blobid = '${this.blobid}' and fremarks='报装手机签字文件' `
|
|
99
|
-
}
|
|
100
|
-
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
|
|
101
|
-
// let res = await http.load('POST', `rs/sql/singleTable`, {data: data}, {
|
|
102
|
-
warnMsg: null,
|
|
103
|
-
resolveMsg: null
|
|
104
|
-
})
|
|
105
|
-
|
|
106
|
-
console.log('=========查询回调===============')
|
|
107
|
-
let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
|
|
108
|
-
console.log(fileUrl)
|
|
109
|
-
// HostApp.__this__.$set('f_sign_path', fileUrl)
|
|
110
|
-
// HostApp.__this__.f_sign_path = fileUrl
|
|
111
|
-
this.f_sign_path = fileUrl
|
|
112
|
-
|
|
113
|
-
this.$emit('sign-success', fileUrl)
|
|
114
|
-
},
|
|
115
|
-
delAudioFile (signPath) {
|
|
116
|
-
if (!signPath) {
|
|
117
|
-
return
|
|
118
|
-
}
|
|
119
|
-
HostApp.delfile(signPath)
|
|
120
|
-
this.f_sign_path = null
|
|
121
|
-
this.fileName = null
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
events: {
|
|
125
|
-
},
|
|
126
|
-
computed: {
|
|
127
|
-
},
|
|
128
|
-
watch: {
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
</script>
|
|
132
|
-
<style scoped lang="less">
|
|
133
|
-
.qrcode {
|
|
134
|
-
display: inline-block !important;
|
|
135
|
-
margin: 10px 0px;
|
|
136
|
-
}
|
|
137
|
-
.panel-self{
|
|
138
|
-
border-radius: 10px;
|
|
139
|
-
border:1px solid #499EDF;
|
|
140
|
-
background-color: #F8F8F8;
|
|
141
|
-
}
|
|
142
|
-
.vertical-center {
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
text-align: center;
|
|
146
|
-
}
|
|
147
|
-
/*清除model中的浮动*/
|
|
148
|
-
.clearfix:after,.clearfix:before{
|
|
149
|
-
display: table;
|
|
150
|
-
}
|
|
151
|
-
.clearfix:after{
|
|
152
|
-
clear: both;
|
|
153
|
-
}
|
|
154
|
-
</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','blobid','type', 'defname'],
|
|
24
|
+
data () {
|
|
25
|
+
return {
|
|
26
|
+
f_sign_path: null,
|
|
27
|
+
fileName: null
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
ready () {
|
|
31
|
+
console.log('在ready里打印一下this.filePath',this.filePath)
|
|
32
|
+
this.f_sign_path = this.filePath
|
|
33
|
+
console.log('在ready里打印一下this.f_sign_path',this.f_sign_path)
|
|
34
|
+
this.getFiles()
|
|
35
|
+
},
|
|
36
|
+
methods: {
|
|
37
|
+
clean () {
|
|
38
|
+
this.f_sign_path = null
|
|
39
|
+
this.fileName = null
|
|
40
|
+
this.$emit('sign-clean')
|
|
41
|
+
},
|
|
42
|
+
sign () {
|
|
43
|
+
debugger
|
|
44
|
+
this.type='手机签字'
|
|
45
|
+
console.log('==============签字打印this============',this)
|
|
46
|
+
this.delAudioFile(this.f_sign_path)
|
|
47
|
+
this.fileName = guid() + '.jpg'
|
|
48
|
+
HostApp.__callback__ = this.signCallback
|
|
49
|
+
HostApp.__this__ = this
|
|
50
|
+
HostApp.getSignature({
|
|
51
|
+
file: this.fileName,
|
|
52
|
+
requestCode: 111,
|
|
53
|
+
callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
|
|
54
|
+
})
|
|
55
|
+
},
|
|
56
|
+
// 签名回调
|
|
57
|
+
signCallback (prop, signPath) {
|
|
58
|
+
console.log('==============签字回调============')
|
|
59
|
+
console.log(signPath)
|
|
60
|
+
HostApp.__this__.$set(prop, signPath)
|
|
61
|
+
console.log(HostApp.__this__.f_sign_path)
|
|
62
|
+
|
|
63
|
+
HostApp.__this__.uploadFile()
|
|
64
|
+
|
|
65
|
+
HostApp.__callback__ = null
|
|
66
|
+
HostApp.__this__ = null
|
|
67
|
+
},
|
|
68
|
+
uploadFile () {
|
|
69
|
+
console.log('===================签字文件上传==============')
|
|
70
|
+
console.log('===================打印id==============',HostApp.__this__.blobid)
|
|
71
|
+
let data = {
|
|
72
|
+
defname:HostApp.__this__.defname,
|
|
73
|
+
type:HostApp.__this__.type,
|
|
74
|
+
blodid: HostApp.__this__.blobid,
|
|
75
|
+
username: Vue.user.name,
|
|
76
|
+
fremarks: '报装手机签字文件',
|
|
77
|
+
fileName: HostApp.__this__.fileName,
|
|
78
|
+
fileUrl: HostApp.__this__.f_sign_path
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
console.log('-----------bzLogic-----------------')
|
|
82
|
+
console.log(JSON.stringify(data))
|
|
83
|
+
let res = HostApp.bzLogic({
|
|
84
|
+
'logic': 'appFileUpload',
|
|
85
|
+
'data': data
|
|
86
|
+
})
|
|
87
|
+
console.log('===============上传回调=================')
|
|
88
|
+
console.log(JSON.stringify(res))
|
|
89
|
+
HostApp.__this__.getFiles(res.id)
|
|
90
|
+
},
|
|
91
|
+
async getFiles (fileid) {
|
|
92
|
+
debugger
|
|
93
|
+
console.log('=========进来===============')
|
|
94
|
+
let http = new HttpResetClass()
|
|
95
|
+
console.log('=========进来===============')
|
|
96
|
+
let data = {
|
|
97
|
+
tablename: 't_files',
|
|
98
|
+
condition: `f_blobid = '${this.blobid}' and fremarks='报装手机签字文件' `
|
|
99
|
+
}
|
|
100
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
|
|
101
|
+
// let res = await http.load('POST', `rs/sql/singleTable`, {data: data}, {
|
|
102
|
+
warnMsg: null,
|
|
103
|
+
resolveMsg: null
|
|
104
|
+
})
|
|
105
|
+
|
|
106
|
+
console.log('=========查询回调===============')
|
|
107
|
+
let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
|
|
108
|
+
console.log(fileUrl)
|
|
109
|
+
// HostApp.__this__.$set('f_sign_path', fileUrl)
|
|
110
|
+
// HostApp.__this__.f_sign_path = fileUrl
|
|
111
|
+
this.f_sign_path = fileUrl
|
|
112
|
+
|
|
113
|
+
this.$emit('sign-success', fileUrl)
|
|
114
|
+
},
|
|
115
|
+
delAudioFile (signPath) {
|
|
116
|
+
if (!signPath) {
|
|
117
|
+
return
|
|
118
|
+
}
|
|
119
|
+
HostApp.delfile(signPath)
|
|
120
|
+
this.f_sign_path = null
|
|
121
|
+
this.fileName = null
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
events: {
|
|
125
|
+
},
|
|
126
|
+
computed: {
|
|
127
|
+
},
|
|
128
|
+
watch: {
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
</script>
|
|
132
|
+
<style scoped lang="less">
|
|
133
|
+
.qrcode {
|
|
134
|
+
display: inline-block !important;
|
|
135
|
+
margin: 10px 0px;
|
|
136
|
+
}
|
|
137
|
+
.panel-self{
|
|
138
|
+
border-radius: 10px;
|
|
139
|
+
border:1px solid #499EDF;
|
|
140
|
+
background-color: #F8F8F8;
|
|
141
|
+
}
|
|
142
|
+
.vertical-center {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
text-align: center;
|
|
146
|
+
}
|
|
147
|
+
/*清除model中的浮动*/
|
|
148
|
+
.clearfix:after,.clearfix:before{
|
|
149
|
+
display: table;
|
|
150
|
+
}
|
|
151
|
+
.clearfix:after{
|
|
152
|
+
clear: both;
|
|
153
|
+
}
|
|
154
|
+
</style>
|