apply-clients 3.3.92 → 3.3.94-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.
- package/build/dev-server.js +5 -38
- package/package.json +1 -1
- package/src/App.vue +20 -22
- package/src/components/android/AppServiceView.vue +20 -10
- package/src/components/android/AppSign.vue +143 -151
- package/src/components/android/Process/AppExplorationUser.vue +495 -495
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +317 -311
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +30 -2
- package/src/components/product/Material/MaterialDetailed.vue +0 -11
- package/src/main.js +26 -27
package/build/dev-server.js
CHANGED
|
@@ -8,28 +8,22 @@ var compiler = webpack(config)
|
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
+
// var ldap = 'http://192.168.20.27:8555'
|
|
12
|
+
// var applyinstall = 'http://192.168.20.27:8555'
|
|
11
13
|
var ldap = 'http://192.168.20.28:8400'
|
|
12
|
-
var applyinstall = 'http://
|
|
13
|
-
// var ldap = 'http://192.168.20.28:8556'
|
|
14
|
-
// var applyinstall = 'http://192.168.20.28:8556'
|
|
14
|
+
var applyinstall = 'http://192.168.20.28:8400'
|
|
15
15
|
var proxyTable = {
|
|
16
16
|
'/wx': {
|
|
17
17
|
target: ldap
|
|
18
18
|
},
|
|
19
|
-
'/ncc': {
|
|
20
|
-
target: 'http://192.168.20.27:7890'
|
|
21
|
-
},
|
|
22
19
|
'/rs/sql/filemanage_getUserfies/n': {
|
|
23
20
|
target: ldap
|
|
24
21
|
},
|
|
25
22
|
'/rs/sql/filemanage_getUserfies': {
|
|
26
23
|
target: ldap
|
|
27
24
|
},
|
|
28
|
-
'/rs/
|
|
29
|
-
target:
|
|
30
|
-
},
|
|
31
|
-
'/rs/logic/ApplyProductService': {
|
|
32
|
-
target: 'http://127.0.0.1:8080'
|
|
25
|
+
'/rs/logic/saveInsInfo': {
|
|
26
|
+
target: ldap
|
|
33
27
|
},
|
|
34
28
|
'/rs/logic/exportfile': {
|
|
35
29
|
target: ldap
|
|
@@ -37,36 +31,9 @@ var proxyTable = {
|
|
|
37
31
|
'/rs/logic/getBatchOperaPro': {
|
|
38
32
|
target: ldap
|
|
39
33
|
},
|
|
40
|
-
'/rs/sql/getApplyCharge': {
|
|
41
|
-
target: 'http://127.0.0.1:8080'
|
|
42
|
-
},
|
|
43
|
-
'/rs/sql/getChargeAll': {
|
|
44
|
-
target: 'http://127.0.0.1:8080'
|
|
45
|
-
},
|
|
46
|
-
'/rs/sql/supervisory': {
|
|
47
|
-
target: 'http://127.0.0.1:8080'
|
|
48
|
-
},
|
|
49
34
|
'/rs/logic/updateApplyOrder': {
|
|
50
35
|
target: ldap
|
|
51
36
|
},
|
|
52
|
-
// '/rs/sql/getAddresAndUserinfoAndUserfilesAmount': {
|
|
53
|
-
// target: 'http://127.0.0.1:8080'
|
|
54
|
-
// },
|
|
55
|
-
// '/rs/sql/singleTable': {
|
|
56
|
-
// target: 'http://127.0.0.1:8080'
|
|
57
|
-
// },
|
|
58
|
-
// '/rs/sql/countApplyUserinfo': {
|
|
59
|
-
// target: 'http://127.0.0.1:8080'
|
|
60
|
-
// },
|
|
61
|
-
// '/rs/sql/getStockMaterial': {
|
|
62
|
-
// target: 'http://127.0.0.1:8080'
|
|
63
|
-
// },
|
|
64
|
-
'/rs/logic/resAreaSelect': {
|
|
65
|
-
target: 'http://127.0.0.1:8080'
|
|
66
|
-
},
|
|
67
|
-
// '/rs/logic/bjqCheck': {
|
|
68
|
-
// target: 'http://127.0.0.1:8080'
|
|
69
|
-
// },
|
|
70
37
|
'/rs/logic/getSaleInitData': {
|
|
71
38
|
target: ldap
|
|
72
39
|
},
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<app-base class="bg">
|
|
4
|
-
<div class='flex'>
|
|
5
|
-
<article>
|
|
6
|
-
<route :comp="{name: 'login'}"></route>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<app-base class="bg">
|
|
4
|
+
<div class='flex'>
|
|
5
|
+
<article>
|
|
6
|
+
<route :comp="{name: 'login'}"></route>
|
|
7
|
+
</article>
|
|
8
|
+
</div>
|
|
9
|
+
</app-base>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
@@ -180,16 +180,16 @@
|
|
|
180
180
|
</div>
|
|
181
181
|
</div>
|
|
182
182
|
<!--区域地址联动-->
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
183
|
+
<!--<div>-->
|
|
184
|
+
<!-- <app-res-area-select-group-->
|
|
185
|
+
<!-- v-if="data.f_apply_type === '报警器报建' && data.defname === '工程施工' && data.title === '工程施工' && data.f_sub_state !='完工'"-->
|
|
186
|
+
<!-- labelstyle = "control-label"-->
|
|
187
|
+
<!-- @shiji-select = "getSelectShijiValue"-->
|
|
188
|
+
<!-- @xian-select = "getSelectXianValue"-->
|
|
189
|
+
<!-- @shequ-select = "getSelectShequValue"-->
|
|
190
|
+
<!-- >-->
|
|
191
|
+
<!-- </app-res-area-select-group>-->
|
|
192
|
+
<!--</div>-->
|
|
193
193
|
<div class="col-sm-12 col-xs-12" id="test11">
|
|
194
194
|
<accordion one-at-a-time="true">
|
|
195
195
|
<panel v-for="(i,item) in data.onetomany" :header="item.title" :is-open="false" type="primary">
|
|
@@ -203,6 +203,16 @@
|
|
|
203
203
|
|
|
204
204
|
<!--自定义组件-->
|
|
205
205
|
<slot>
|
|
206
|
+
<div>
|
|
207
|
+
<app-res-area-select-group
|
|
208
|
+
v-if="data.f_apply_type === '报警器报建' && data.defname === '工程施工' && data.title === '工程施工' && data.f_sub_state !='完工'"
|
|
209
|
+
labelstyle = "control-label"
|
|
210
|
+
@shiji-select = "getSelectShijiValue"
|
|
211
|
+
@xian-select = "getSelectXianValue"
|
|
212
|
+
@shequ-select = "getSelectShequValue"
|
|
213
|
+
>
|
|
214
|
+
</app-res-area-select-group>
|
|
215
|
+
</div>
|
|
206
216
|
</slot>
|
|
207
217
|
|
|
208
218
|
<!-- 按钮组 -->
|
|
@@ -1,151 +1,143 @@
|
|
|
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
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
console.log('
|
|
79
|
-
console.log(JSON.stringify(
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
let
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
/*清除model中的浮动*/
|
|
145
|
-
.clearfix:after,.clearfix:before{
|
|
146
|
-
display: table;
|
|
147
|
-
}
|
|
148
|
-
.clearfix:after{
|
|
149
|
-
clear: both;
|
|
150
|
-
}
|
|
151
|
-
</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
|
+
blodid: HostApp.__this__.blobid,
|
|
66
|
+
username: Vue.user.name,
|
|
67
|
+
fremarks: '报装手机签字文件',
|
|
68
|
+
fileName: HostApp.__this__.fileName,
|
|
69
|
+
fileUrl: HostApp.__this__.f_sign_path
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
console.log('-----------bzLogic-----------------')
|
|
73
|
+
console.log(JSON.stringify(data))
|
|
74
|
+
let res = HostApp.bzLogic({
|
|
75
|
+
'logic': 'appFileUpload',
|
|
76
|
+
'data': data
|
|
77
|
+
})
|
|
78
|
+
console.log('===============上传回调=================')
|
|
79
|
+
console.log(JSON.stringify(res))
|
|
80
|
+
HostApp.__this__.getFiles(res.id)
|
|
81
|
+
},
|
|
82
|
+
async getFiles (fileid) {
|
|
83
|
+
let http = new HttpResetClass()
|
|
84
|
+
|
|
85
|
+
let data = {
|
|
86
|
+
tablename: 't_files',
|
|
87
|
+
condition: `id = '${fileid}'`
|
|
88
|
+
}
|
|
89
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
|
|
90
|
+
// let res = await http.load('POST', `rs/sql/singleTable`, {data: data}, {
|
|
91
|
+
warnMsg: null,
|
|
92
|
+
resolveMsg: null
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
console.log('=========查询回调===============')
|
|
96
|
+
let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
|
|
97
|
+
console.log(fileUrl)
|
|
98
|
+
// HostApp.__this__.$set('f_sign_path', fileUrl)
|
|
99
|
+
// HostApp.__this__.f_sign_path = fileUrl
|
|
100
|
+
this.f_sign_path = fileUrl
|
|
101
|
+
|
|
102
|
+
this.$emit('sign-success', fileUrl)
|
|
103
|
+
},
|
|
104
|
+
delAudioFile (signPath) {
|
|
105
|
+
if (!signPath) {
|
|
106
|
+
return
|
|
107
|
+
}
|
|
108
|
+
HostApp.delfile(signPath)
|
|
109
|
+
this.f_sign_path = null
|
|
110
|
+
this.fileName = null
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
events: {
|
|
114
|
+
},
|
|
115
|
+
computed: {
|
|
116
|
+
},
|
|
117
|
+
watch: {
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
</script>
|
|
121
|
+
<style scoped lang="less">
|
|
122
|
+
.qrcode {
|
|
123
|
+
display: inline-block !important;
|
|
124
|
+
margin: 10px 0px;
|
|
125
|
+
}
|
|
126
|
+
.panel-self{
|
|
127
|
+
border-radius: 10px;
|
|
128
|
+
border:1px solid #499EDF;
|
|
129
|
+
background-color: #F8F8F8;
|
|
130
|
+
}
|
|
131
|
+
.vertical-center {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
text-align: center;
|
|
135
|
+
}
|
|
136
|
+
/*清除model中的浮动*/
|
|
137
|
+
.clearfix:after,.clearfix:before{
|
|
138
|
+
display: table;
|
|
139
|
+
}
|
|
140
|
+
.clearfix:after{
|
|
141
|
+
clear: both;
|
|
142
|
+
}
|
|
143
|
+
</style>
|