apply-clients 3.3.94 → 3.3.97
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-app.js +76 -76
- package/build/dev-server.js +6 -43
- package/package.json +1 -1
- package/src/App.vue +20 -22
- package/src/applyAndroid.js +40 -39
- package/src/components/android/AppSign.vue +7 -12
- package/src/components/android/AppTakePic.vue +2 -1
- package/src/components/android/Process/AppExplorationUser.vue +495 -495
- package/src/components/android/Process/AppServiceControl.vue +1 -1
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +6 -0
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +150 -119
- package/src/components/product/Function/InstallInfoSelect.vue +320 -320
- package/src/components/product/Material/MaterialDetailed.vue +0 -11
- 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/Service/ServiceControl.vue +1430 -1430
- package/src/components/product/Supervisory/SupervisoryList.vue +378 -378
- package/src/main.js +5 -6
- package/.project +0 -17
package/build/dev-server-app.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
var express = require('express')
|
|
2
|
-
var webpack = require('webpack')
|
|
3
|
-
var config = require('./webpack.dev.conf')
|
|
4
|
-
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
-
// var httpProxy = require('http-proxy')
|
|
6
|
-
var app = express()
|
|
7
|
-
var compiler = webpack(config)
|
|
8
|
-
// var proxy = httpProxy.createProxyServer()
|
|
9
|
-
|
|
10
|
-
// Define HTTP proxies to your custom API backend
|
|
11
|
-
// https://github.com/chimurai/http-proxy-middleware
|
|
12
|
-
var proxyTable = {
|
|
13
|
-
'/rs': {
|
|
14
|
-
target: 'http://192.168.20.27:8555'
|
|
15
|
-
// target: 'http://192.168.30.86:8077'
|
|
16
|
-
},
|
|
17
|
-
'/AndroidRest/rs': {
|
|
18
|
-
target: 'http://192.168.20.27:8555'
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
23
|
-
publicPath: config.output.publicPath,
|
|
24
|
-
stats: {
|
|
25
|
-
colors: true,
|
|
26
|
-
chunks: false
|
|
27
|
-
}
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
31
|
-
// force page reload when html-webpack-plugin template changes
|
|
32
|
-
compiler.plugin('compilation', function (compilation) {
|
|
33
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
34
|
-
hotMiddleware.publish({action: 'reload'})
|
|
35
|
-
cb()
|
|
36
|
-
})
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
// proxy api requests
|
|
40
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
41
|
-
var options = proxyTable[context]
|
|
42
|
-
if (typeof options === 'string') {
|
|
43
|
-
options = {target: options}
|
|
44
|
-
}
|
|
45
|
-
app.use(proxyMiddleware(context, options))
|
|
46
|
-
})
|
|
47
|
-
|
|
48
|
-
// handle fallback for HTML5 history API
|
|
49
|
-
app.use(require('connect-history-api-fallback')())
|
|
50
|
-
// app.use(function (req, res, next) {
|
|
51
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
52
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
53
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
54
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
55
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
56
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
57
|
-
// next()
|
|
58
|
-
// })
|
|
59
|
-
|
|
60
|
-
// serve webpack bundle output
|
|
61
|
-
app.use(devMiddleware)
|
|
62
|
-
|
|
63
|
-
// enable hot-reload and state-preserving
|
|
64
|
-
// compilation error display
|
|
65
|
-
app.use(hotMiddleware)
|
|
66
|
-
|
|
67
|
-
// serve pure static assets
|
|
68
|
-
app.use('/static', express.static('./static'))
|
|
69
|
-
|
|
70
|
-
module.exports = app.listen(8089, function (err) {
|
|
71
|
-
if (err) {
|
|
72
|
-
console.log(err)
|
|
73
|
-
return
|
|
74
|
-
}
|
|
75
|
-
console.log('Listening at http://localhost:8089')
|
|
76
|
-
})
|
|
1
|
+
var express = require('express')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var config = require('./webpack.dev.conf')
|
|
4
|
+
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
+
// var httpProxy = require('http-proxy')
|
|
6
|
+
var app = express()
|
|
7
|
+
var compiler = webpack(config)
|
|
8
|
+
// var proxy = httpProxy.createProxyServer()
|
|
9
|
+
|
|
10
|
+
// Define HTTP proxies to your custom API backend
|
|
11
|
+
// https://github.com/chimurai/http-proxy-middleware
|
|
12
|
+
var proxyTable = {
|
|
13
|
+
'/rs': {
|
|
14
|
+
target: 'http://192.168.20.27:8555'
|
|
15
|
+
// target: 'http://192.168.30.86:8077'
|
|
16
|
+
},
|
|
17
|
+
'/AndroidRest/rs': {
|
|
18
|
+
target: 'http://192.168.20.27:8555'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
23
|
+
publicPath: config.output.publicPath,
|
|
24
|
+
stats: {
|
|
25
|
+
colors: true,
|
|
26
|
+
chunks: false
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
31
|
+
// force page reload when html-webpack-plugin template changes
|
|
32
|
+
compiler.plugin('compilation', function (compilation) {
|
|
33
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
34
|
+
hotMiddleware.publish({action: 'reload'})
|
|
35
|
+
cb()
|
|
36
|
+
})
|
|
37
|
+
})
|
|
38
|
+
|
|
39
|
+
// proxy api requests
|
|
40
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
41
|
+
var options = proxyTable[context]
|
|
42
|
+
if (typeof options === 'string') {
|
|
43
|
+
options = {target: options}
|
|
44
|
+
}
|
|
45
|
+
app.use(proxyMiddleware(context, options))
|
|
46
|
+
})
|
|
47
|
+
|
|
48
|
+
// handle fallback for HTML5 history API
|
|
49
|
+
app.use(require('connect-history-api-fallback')())
|
|
50
|
+
// app.use(function (req, res, next) {
|
|
51
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
52
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
53
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
54
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
55
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
56
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
57
|
+
// next()
|
|
58
|
+
// })
|
|
59
|
+
|
|
60
|
+
// serve webpack bundle output
|
|
61
|
+
app.use(devMiddleware)
|
|
62
|
+
|
|
63
|
+
// enable hot-reload and state-preserving
|
|
64
|
+
// compilation error display
|
|
65
|
+
app.use(hotMiddleware)
|
|
66
|
+
|
|
67
|
+
// serve pure static assets
|
|
68
|
+
app.use('/static', express.static('./static'))
|
|
69
|
+
|
|
70
|
+
module.exports = app.listen(8089, function (err) {
|
|
71
|
+
if (err) {
|
|
72
|
+
console.log(err)
|
|
73
|
+
return
|
|
74
|
+
}
|
|
75
|
+
console.log('Listening at http://localhost:8089')
|
|
76
|
+
})
|
package/build/dev-server.js
CHANGED
|
@@ -9,30 +9,20 @@ var compiler = webpack(config)
|
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
11
|
var ldap = 'http://192.168.20.28:8400'
|
|
12
|
-
var applyinstall = 'http://
|
|
13
|
-
// var
|
|
14
|
-
// var applyinstall = 'http://192.168.20.28:8556'
|
|
12
|
+
var applyinstall = 'http://192.168.20.28:8400'
|
|
13
|
+
// var applyinstall = 'http://127.0.0.1:8081'
|
|
15
14
|
var proxyTable = {
|
|
16
15
|
'/wx': {
|
|
17
16
|
target: ldap
|
|
18
17
|
},
|
|
19
|
-
'/ncc': {
|
|
20
|
-
target: 'http://192.168.20.27:7890'
|
|
21
|
-
},
|
|
22
18
|
'/rs/sql/filemanage_getUserfies/n': {
|
|
23
19
|
target: ldap
|
|
24
20
|
},
|
|
25
21
|
'/rs/sql/filemanage_getUserfies': {
|
|
26
22
|
target: ldap
|
|
27
23
|
},
|
|
28
|
-
'/rs/
|
|
29
|
-
target:
|
|
30
|
-
},
|
|
31
|
-
'/rs/logic/ApplyProductService': {
|
|
32
|
-
target: 'http://127.0.0.1:8080'
|
|
33
|
-
},
|
|
34
|
-
'/rs/sql/checkuser': {
|
|
35
|
-
target: 'http://127.0.0.1:8080'
|
|
24
|
+
'/rs/logic/saveInsInfo': {
|
|
25
|
+
target: ldap
|
|
36
26
|
},
|
|
37
27
|
'/rs/logic/exportfile': {
|
|
38
28
|
target: ldap
|
|
@@ -40,36 +30,9 @@ var proxyTable = {
|
|
|
40
30
|
'/rs/logic/getBatchOperaPro': {
|
|
41
31
|
target: ldap
|
|
42
32
|
},
|
|
43
|
-
'/rs/sql/getApplyCharge': {
|
|
44
|
-
target: 'http://127.0.0.1:8080'
|
|
45
|
-
},
|
|
46
|
-
'/rs/sql/getChargeAll': {
|
|
47
|
-
target: 'http://127.0.0.1:8080'
|
|
48
|
-
},
|
|
49
|
-
'/rs/sql/supervisory': {
|
|
50
|
-
target: 'http://127.0.0.1:8080'
|
|
51
|
-
},
|
|
52
33
|
'/rs/logic/updateApplyOrder': {
|
|
53
34
|
target: ldap
|
|
54
35
|
},
|
|
55
|
-
// '/rs/sql/getAddresAndUserinfoAndUserfilesAmount': {
|
|
56
|
-
// target: 'http://127.0.0.1:8080'
|
|
57
|
-
// },
|
|
58
|
-
// '/rs/sql/singleTable': {
|
|
59
|
-
// target: 'http://127.0.0.1:8080'
|
|
60
|
-
// },
|
|
61
|
-
// '/rs/sql/countApplyUserinfo': {
|
|
62
|
-
// target: 'http://127.0.0.1:8080'
|
|
63
|
-
// },
|
|
64
|
-
// '/rs/sql/getStockMaterial': {
|
|
65
|
-
// target: 'http://127.0.0.1:8080'
|
|
66
|
-
// },
|
|
67
|
-
'/rs/logic/resAreaSelect': {
|
|
68
|
-
target: 'http://127.0.0.1:8080'
|
|
69
|
-
},
|
|
70
|
-
// '/rs/logic/bjqCheck': {
|
|
71
|
-
// target: 'http://127.0.0.1:8080'
|
|
72
|
-
// },
|
|
73
36
|
'/rs/logic/getSaleInitData': {
|
|
74
37
|
target: ldap
|
|
75
38
|
},
|
|
@@ -156,10 +119,10 @@ app.use(hotMiddleware)
|
|
|
156
119
|
// serve pure static assets
|
|
157
120
|
app.use('/static', express.static('./static'))
|
|
158
121
|
|
|
159
|
-
module.exports = app.listen(
|
|
122
|
+
module.exports = app.listen(8600, function (err) {
|
|
160
123
|
if (err) {
|
|
161
124
|
console.log(err)
|
|
162
125
|
return
|
|
163
126
|
}
|
|
164
|
-
console.log('Listening at http://localhost:
|
|
127
|
+
console.log('Listening at http://localhost:8600')
|
|
165
128
|
})
|
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>
|
package/src/applyAndroid.js
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import { all } from 'vue-client'
|
|
3
|
-
Vue.config.silent = true
|
|
4
|
-
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
-
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
-
/** ****************服务插件*********************/
|
|
7
|
-
|
|
8
|
-
export default function () {
|
|
9
|
-
Vue.use(ApplyGetSaleParam)
|
|
10
|
-
Vue.use(ApplyLoadParams)
|
|
11
|
-
/** ***************************报建模块*********************************/
|
|
12
|
-
// 报建 总入口
|
|
13
|
-
Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
|
|
14
|
-
Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
|
|
15
|
-
Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
|
|
16
|
-
Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
|
|
17
|
-
Vue.component('app-istall-function', (resolve) => { require(['./components/android/Function/AppInstallFunction'], resolve) })
|
|
18
|
-
Vue.component('app-function-service-control', (resolve) => { require(['./components/android/Function/AppFunctionServiceControl'], resolve) })
|
|
19
|
-
|
|
20
|
-
Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
|
|
21
|
-
Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
|
|
22
|
-
Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
|
|
23
|
-
Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
|
|
24
|
-
|
|
25
|
-
Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
|
|
26
|
-
Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
27
|
-
Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
|
|
28
|
-
Vue.component('app-supplemental-agreement', (resolve) => { require(['./components/android/Process/Processes/AppSupplementalAgreement'], resolve) })
|
|
29
|
-
// 选择用户信息
|
|
30
|
-
Vue.component('select-userinfo', (resolve) => { require(['./components/android/Process/Processes/selectUserinfo'], resolve) })
|
|
31
|
-
// 选择报建项目
|
|
32
|
-
Vue.component('select-apply', (resolve) => { require(['./components/android/Process/Processes/selectApply'], resolve) })
|
|
33
|
-
Vue.component('app-build-sign', (resolve) => { require(['./components/android/Process/Processes/AppBuildSign'], resolve) })
|
|
34
|
-
|
|
35
|
-
// 区域 地址下拉框联动组件
|
|
36
|
-
Vue.component('app-res-area-select', (resolve) => { require(['./components/android/AreaSelect/AppResAreaSelect'], resolve) })
|
|
37
|
-
Vue.component('app-res-area-select-group', (resolve) => { require(['./components/android/AreaSelect/AppResAreaSelectGroup'], resolve) })
|
|
38
|
-
Vue.component('area-select', (resolve) => { require(['./components/product/AreaSelect/MyAreaSelect'], resolve) })
|
|
39
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import { all } from 'vue-client'
|
|
3
|
+
Vue.config.silent = true
|
|
4
|
+
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
+
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
+
/** ****************服务插件*********************/
|
|
7
|
+
|
|
8
|
+
export default function () {
|
|
9
|
+
Vue.use(ApplyGetSaleParam)
|
|
10
|
+
Vue.use(ApplyLoadParams)
|
|
11
|
+
/** ***************************报建模块*********************************/
|
|
12
|
+
// 报建 总入口
|
|
13
|
+
Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
|
|
14
|
+
Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
|
|
15
|
+
Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
|
|
16
|
+
Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
|
|
17
|
+
Vue.component('app-istall-function', (resolve) => { require(['./components/android/Function/AppInstallFunction'], resolve) })
|
|
18
|
+
Vue.component('app-function-service-control', (resolve) => { require(['./components/android/Function/AppFunctionServiceControl'], resolve) })
|
|
19
|
+
|
|
20
|
+
Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
|
|
21
|
+
Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
|
|
22
|
+
Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
|
|
23
|
+
Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
|
|
24
|
+
|
|
25
|
+
Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
|
|
26
|
+
Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
27
|
+
Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
|
|
28
|
+
Vue.component('app-supplemental-agreement', (resolve) => { require(['./components/android/Process/Processes/AppSupplementalAgreement'], resolve) })
|
|
29
|
+
// 选择用户信息
|
|
30
|
+
Vue.component('select-userinfo', (resolve) => { require(['./components/android/Process/Processes/selectUserinfo'], resolve) })
|
|
31
|
+
// 选择报建项目
|
|
32
|
+
Vue.component('select-apply', (resolve) => { require(['./components/android/Process/Processes/selectApply'], resolve) })
|
|
33
|
+
Vue.component('app-build-sign', (resolve) => { require(['./components/android/Process/Processes/AppBuildSign'], resolve) })
|
|
34
|
+
|
|
35
|
+
// 区域 地址下拉框联动组件
|
|
36
|
+
Vue.component('app-res-area-select', (resolve) => { require(['./components/android/AreaSelect/AppResAreaSelect'], resolve) })
|
|
37
|
+
Vue.component('app-res-area-select-group', (resolve) => { require(['./components/android/AreaSelect/AppResAreaSelectGroup'], resolve) })
|
|
38
|
+
Vue.component('area-select', (resolve) => { require(['./components/product/AreaSelect/MyAreaSelect'], resolve) })
|
|
39
|
+
Vue.component('apply-print-charge', (resolve) => { require(['./components/product/Process/Processes/Print/printCharge'], resolve) })
|
|
40
|
+
}
|
|
@@ -20,7 +20,7 @@ import Vue from "vue";
|
|
|
20
20
|
|
|
21
21
|
export default {
|
|
22
22
|
title: '签字',
|
|
23
|
-
props: ['filePath'],
|
|
23
|
+
props: ['filePath','blobid'],
|
|
24
24
|
data () {
|
|
25
25
|
return {
|
|
26
26
|
f_sign_path: null,
|
|
@@ -37,17 +37,12 @@ export default {
|
|
|
37
37
|
this.$emit('sign-clean')
|
|
38
38
|
},
|
|
39
39
|
sign () {
|
|
40
|
-
|
|
41
|
-
console.log(this
|
|
42
|
-
console.log(guid() )
|
|
40
|
+
debugger
|
|
41
|
+
console.log('==============签字打印this============',this)
|
|
43
42
|
this.delAudioFile(this.f_sign_path)
|
|
44
|
-
console.log(this.signCallback)
|
|
45
43
|
this.fileName = guid() + '.jpg'
|
|
46
|
-
console.log(this.fileName)
|
|
47
44
|
HostApp.__callback__ = this.signCallback
|
|
48
45
|
HostApp.__this__ = this
|
|
49
|
-
|
|
50
|
-
|
|
51
46
|
HostApp.getSignature({
|
|
52
47
|
file: this.fileName,
|
|
53
48
|
requestCode: 111,
|
|
@@ -68,7 +63,9 @@ export default {
|
|
|
68
63
|
},
|
|
69
64
|
uploadFile () {
|
|
70
65
|
console.log('===================签字文件上传==============')
|
|
66
|
+
console.log('===================打印id==============',HostApp.__this__.blobid)
|
|
71
67
|
let data = {
|
|
68
|
+
blodid: HostApp.__this__.blobid,
|
|
72
69
|
username: Vue.user.name,
|
|
73
70
|
fremarks: '报装手机签字文件',
|
|
74
71
|
fileName: HostApp.__this__.fileName,
|
|
@@ -78,8 +75,8 @@ export default {
|
|
|
78
75
|
console.log('-----------bzLogic-----------------')
|
|
79
76
|
console.log(JSON.stringify(data))
|
|
80
77
|
let res = HostApp.bzLogic({
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
'logic': 'appFileUpload',
|
|
79
|
+
'data': data
|
|
83
80
|
})
|
|
84
81
|
console.log('===============上传回调=================')
|
|
85
82
|
console.log(JSON.stringify(res))
|
|
@@ -108,8 +105,6 @@ export default {
|
|
|
108
105
|
this.$emit('sign-success', fileUrl)
|
|
109
106
|
},
|
|
110
107
|
delAudioFile (signPath) {
|
|
111
|
-
console.log('=========回调===============')
|
|
112
|
-
console.log(signPath)
|
|
113
108
|
if (!signPath) {
|
|
114
109
|
return
|
|
115
110
|
}
|
|
@@ -66,13 +66,14 @@ export default {
|
|
|
66
66
|
this.fileList = res.data
|
|
67
67
|
},
|
|
68
68
|
delfile (file, index) {
|
|
69
|
-
console.log('-----------文件----------------')
|
|
70
69
|
this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
71
70
|
this.$dispatch("delResid", file.id)
|
|
72
71
|
this.getFiles()
|
|
73
72
|
})
|
|
74
73
|
},
|
|
75
74
|
takePic (title) {
|
|
75
|
+
debugger
|
|
76
|
+
console.log('==============签字打印this============',this)
|
|
76
77
|
// 拍照成功回调
|
|
77
78
|
HostApp.__callback__ = this.cameraCallBack
|
|
78
79
|
HostApp.__this__ = this
|