apply-clients 3.4.62 → 3.4.64
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 +119 -119
- package/dist-android/static/18.js +2 -2
- package/dist-android/static/18.js.map +1 -1
- package/dist-android/static/19.js +2 -2
- package/dist-android/static/19.js.map +1 -1
- package/dist-android/static/24.js +2 -2
- package/dist-android/static/24.js.map +1 -1
- package/dist-android/static/25.js +2 -2
- package/dist-android/static/25.js.map +1 -1
- package/dist-android/static/26.js +2 -2
- package/dist-android/static/26.js.map +1 -1
- package/dist-android/static/28.js +2 -2
- package/dist-android/static/28.js.map +1 -1
- package/dist-android/static/30.js +2 -2
- package/dist-android/static/30.js.map +1 -1
- package/dist-android/static/34.js +2 -2
- package/dist-android/static/34.js.map +1 -1
- package/dist-android/static/43.js +2 -2
- package/dist-android/static/43.js.map +1 -1
- package/dist-android/static/47.js +2 -2
- package/dist-android/static/47.js.map +1 -1
- package/dist-android/static/50.js +2 -2
- package/dist-android/static/50.js.map +1 -1
- package/dist-android/static/52.js +2 -2
- package/dist-android/static/52.js.map +1 -1
- package/dist-android/static/53.js +2 -2
- package/dist-android/static/53.js.map +1 -1
- package/dist-android/static/54.js +2 -2
- package/dist-android/static/54.js.map +1 -1
- package/dist-android/static/60.js +2 -2
- package/dist-android/static/60.js.map +1 -1
- package/dist-android/static/63.js +2 -2
- package/dist-android/static/63.js.map +1 -1
- package/dist-android/static/64.js +2 -2
- package/dist-android/static/64.js.map +1 -1
- package/dist-android/static/78.js +2 -2
- package/dist-android/static/78.js.map +1 -1
- package/dist-android/static/83.js +2 -2
- package/dist-android/static/83.js.map +1 -1
- package/dist-android/static/84.js +2 -2
- package/dist-android/static/84.js.map +1 -1
- package/dist-android/static/86.js +2 -2
- package/dist-android/static/86.js.map +1 -1
- package/dist-android/static/87.js +2 -2
- package/dist-android/static/87.js.map +1 -1
- package/dist-android/static/89.js +2 -2
- package/dist-android/static/89.js.map +1 -1
- package/dist-android/static/97.js +2 -2
- package/dist-android/static/97.js.map +1 -1
- package/dist-android/static/app.js +80 -80
- package/dist-android/static/app.js.map +1 -1
- package/dist.7z +0 -0
- package/package.json +115 -115
- package/src/components/android/AppSign.vue +154 -154
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
- 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/AppSupplementalAgreement.vue +298 -298
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
- package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -537
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +470 -470
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
- package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
- 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/Processes/supplementalAgreement.vue +298 -298
- package/src/components/product/Process/Service/ServiceControl.vue +23 -46
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
- package/src/components/product/Process/ShowBackReason.vue +33 -33
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +882 -882
- package/src/components/product/VueUtils/ApplyUpload.vue +287 -287
- package/src/filiale/gehua/pc/ServiceControl.vue +1938 -1938
- package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
- package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +520 -520
- package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
- package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
- package/src/filiale/guangxi/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
- package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
- package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +724 -724
- package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
- package/src/filiale/guangxi/pc/Process/Service/ShowBackReason.vue +33 -33
- package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
- package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +517 -517
- package/src/filiale/guangxi/pc/Process/ShowBackReason.vue +33 -33
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -735
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -621
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1108
package/dist.7z
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "apply-clients",
|
|
3
|
-
"version": "3.4.
|
|
4
|
-
"description": "报建前端模块",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"directories": {
|
|
7
|
-
"example": "examples",
|
|
8
|
-
"test": "test"
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"unit": "karma start test/unit/karma.conf.js",
|
|
12
|
-
"example": "node build/example-server.js",
|
|
13
|
-
"dev": "node build/dev-server.js",
|
|
14
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
15
|
-
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
16
|
-
"e2e": "node test/e2e/runner.js",
|
|
17
|
-
"release": "bash build/release.sh",
|
|
18
|
-
"make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js"
|
|
19
|
-
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "https://gitee.com/aote/ApplyInstall.git"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [
|
|
25
|
-
"ApplyInstall"
|
|
26
|
-
],
|
|
27
|
-
"author": "zx <939981212@qq.com>",
|
|
28
|
-
"license": "ISC",
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"@logicflow/core": "^0.4.3",
|
|
31
|
-
"co": "4.6.0",
|
|
32
|
-
"dingtalk-jsapi": "^2.13.68",
|
|
33
|
-
"jsencrypt": "^3.0.0-rc.1",
|
|
34
|
-
"less": "^2.7.1",
|
|
35
|
-
"less-loader": "^2.2.3",
|
|
36
|
-
"lib-flexible": "^0.3.2",
|
|
37
|
-
"px2rem-loader": "^0.1.9",
|
|
38
|
-
"qrcodejs2": "0.0.2",
|
|
39
|
-
"vue": "^1.0.17",
|
|
40
|
-
"vue-bubble": "^1.0.3"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"babel-core": "^6.0.0",
|
|
44
|
-
"babel-loader": "^6.0.0",
|
|
45
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
46
|
-
"babel-preset-es2015": "^6.0.0",
|
|
47
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
48
|
-
"chai": "^3.5.0",
|
|
49
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
50
|
-
"cross-env": "^1.0.7",
|
|
51
|
-
"cross-spawn": "^2.1.5",
|
|
52
|
-
"css-loader": "^0.23.0",
|
|
53
|
-
"echarts": "^4.1.0",
|
|
54
|
-
"eslint": "^2.0.0",
|
|
55
|
-
"eslint-config-standard": "^5.1.0",
|
|
56
|
-
"eslint-friendly-formatter": "^1.2.2",
|
|
57
|
-
"eslint-loader": "^1.3.0",
|
|
58
|
-
"eslint-plugin-html": "^1.3.0",
|
|
59
|
-
"eslint-plugin-promise": "^1.0.8",
|
|
60
|
-
"eslint-plugin-standard": "^1.3.2",
|
|
61
|
-
"eslint-plugin-vue": "^0.1.1",
|
|
62
|
-
"eventsource-polyfill": "^0.9.6",
|
|
63
|
-
"express": "^4.17.0",
|
|
64
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
65
|
-
"file-loader": "^0.8.4",
|
|
66
|
-
"form-create": "^1.6.6",
|
|
67
|
-
"function-bind": "^1.0.2",
|
|
68
|
-
"html-webpack-plugin": "^2.8.1",
|
|
69
|
-
"http-proxy-middleware": "^0.11.0",
|
|
70
|
-
"inject-loader": "^2.0.1",
|
|
71
|
-
"isparta-loader": "^2.0.0",
|
|
72
|
-
"jasmine-core": "^2.4.1",
|
|
73
|
-
"jquery": "^3.3.1",
|
|
74
|
-
"json-loader": "^0.5.4",
|
|
75
|
-
"karma": "^1.4.1",
|
|
76
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
77
|
-
"karma-coverage": "^1.1.1",
|
|
78
|
-
"karma-mocha": "^1.3.0",
|
|
79
|
-
"karma-sinon-chai": "^1.3.1",
|
|
80
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
81
|
-
"karma-spec-reporter": "0.0.31",
|
|
82
|
-
"karma-webpack": "^2.0.2",
|
|
83
|
-
"ldap-clients": "3.0.18",
|
|
84
|
-
"material-client": "^1.1.2",
|
|
85
|
-
"mkdirp": "^0.5.1",
|
|
86
|
-
"mocha": "^3.2.0",
|
|
87
|
-
"ncp": "^2.0.0",
|
|
88
|
-
"nightwatch": "^0.8.18",
|
|
89
|
-
"rimraf": "^2.5.0",
|
|
90
|
-
"sale-client": "^1.4.33",
|
|
91
|
-
"selenium-server": "2.52.0",
|
|
92
|
-
"sinon": "^2.1.0",
|
|
93
|
-
"sinon-chai": "^2.8.0",
|
|
94
|
-
"style": "0.0.3",
|
|
95
|
-
"style-loader": "^0.20.3",
|
|
96
|
-
"system-clients": "3.1.87",
|
|
97
|
-
"system-phone": "1.2.80-49",
|
|
98
|
-
"url-loader": "^0.5.7",
|
|
99
|
-
"vue-client": "1.24.74",
|
|
100
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
101
|
-
"vue-html-loader": "^1.0.0",
|
|
102
|
-
"vue-loader": "^8.2.1",
|
|
103
|
-
"vue-resource": "^1.5.0",
|
|
104
|
-
"vue-router": "^0.7.13",
|
|
105
|
-
"vue-strap": "^1.0.9",
|
|
106
|
-
"vue-style-loader": "^1.0.0",
|
|
107
|
-
"vue-validator": "^2.1.7",
|
|
108
|
-
"vux": "^2.9.4",
|
|
109
|
-
"webpack": "^1.12.2",
|
|
110
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
111
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
112
|
-
"webpack-merge": "^0.8.3",
|
|
113
|
-
"weixin-js-sdk": "^1.2.0"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "apply-clients",
|
|
3
|
+
"version": "3.4.64",
|
|
4
|
+
"description": "报建前端模块",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"example": "examples",
|
|
8
|
+
"test": "test"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"unit": "karma start test/unit/karma.conf.js",
|
|
12
|
+
"example": "node build/example-server.js",
|
|
13
|
+
"dev": "node build/dev-server.js",
|
|
14
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
15
|
+
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
16
|
+
"e2e": "node test/e2e/runner.js",
|
|
17
|
+
"release": "bash build/release.sh",
|
|
18
|
+
"make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://gitee.com/aote/ApplyInstall.git"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"ApplyInstall"
|
|
26
|
+
],
|
|
27
|
+
"author": "zx <939981212@qq.com>",
|
|
28
|
+
"license": "ISC",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@logicflow/core": "^0.4.3",
|
|
31
|
+
"co": "4.6.0",
|
|
32
|
+
"dingtalk-jsapi": "^2.13.68",
|
|
33
|
+
"jsencrypt": "^3.0.0-rc.1",
|
|
34
|
+
"less": "^2.7.1",
|
|
35
|
+
"less-loader": "^2.2.3",
|
|
36
|
+
"lib-flexible": "^0.3.2",
|
|
37
|
+
"px2rem-loader": "^0.1.9",
|
|
38
|
+
"qrcodejs2": "0.0.2",
|
|
39
|
+
"vue": "^1.0.17",
|
|
40
|
+
"vue-bubble": "^1.0.3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"babel-core": "^6.0.0",
|
|
44
|
+
"babel-loader": "^6.0.0",
|
|
45
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
46
|
+
"babel-preset-es2015": "^6.0.0",
|
|
47
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
48
|
+
"chai": "^3.5.0",
|
|
49
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
50
|
+
"cross-env": "^1.0.7",
|
|
51
|
+
"cross-spawn": "^2.1.5",
|
|
52
|
+
"css-loader": "^0.23.0",
|
|
53
|
+
"echarts": "^4.1.0",
|
|
54
|
+
"eslint": "^2.0.0",
|
|
55
|
+
"eslint-config-standard": "^5.1.0",
|
|
56
|
+
"eslint-friendly-formatter": "^1.2.2",
|
|
57
|
+
"eslint-loader": "^1.3.0",
|
|
58
|
+
"eslint-plugin-html": "^1.3.0",
|
|
59
|
+
"eslint-plugin-promise": "^1.0.8",
|
|
60
|
+
"eslint-plugin-standard": "^1.3.2",
|
|
61
|
+
"eslint-plugin-vue": "^0.1.1",
|
|
62
|
+
"eventsource-polyfill": "^0.9.6",
|
|
63
|
+
"express": "^4.17.0",
|
|
64
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
65
|
+
"file-loader": "^0.8.4",
|
|
66
|
+
"form-create": "^1.6.6",
|
|
67
|
+
"function-bind": "^1.0.2",
|
|
68
|
+
"html-webpack-plugin": "^2.8.1",
|
|
69
|
+
"http-proxy-middleware": "^0.11.0",
|
|
70
|
+
"inject-loader": "^2.0.1",
|
|
71
|
+
"isparta-loader": "^2.0.0",
|
|
72
|
+
"jasmine-core": "^2.4.1",
|
|
73
|
+
"jquery": "^3.3.1",
|
|
74
|
+
"json-loader": "^0.5.4",
|
|
75
|
+
"karma": "^1.4.1",
|
|
76
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
77
|
+
"karma-coverage": "^1.1.1",
|
|
78
|
+
"karma-mocha": "^1.3.0",
|
|
79
|
+
"karma-sinon-chai": "^1.3.1",
|
|
80
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
81
|
+
"karma-spec-reporter": "0.0.31",
|
|
82
|
+
"karma-webpack": "^2.0.2",
|
|
83
|
+
"ldap-clients": "3.0.18",
|
|
84
|
+
"material-client": "^1.1.2",
|
|
85
|
+
"mkdirp": "^0.5.1",
|
|
86
|
+
"mocha": "^3.2.0",
|
|
87
|
+
"ncp": "^2.0.0",
|
|
88
|
+
"nightwatch": "^0.8.18",
|
|
89
|
+
"rimraf": "^2.5.0",
|
|
90
|
+
"sale-client": "^1.4.33",
|
|
91
|
+
"selenium-server": "2.52.0",
|
|
92
|
+
"sinon": "^2.1.0",
|
|
93
|
+
"sinon-chai": "^2.8.0",
|
|
94
|
+
"style": "0.0.3",
|
|
95
|
+
"style-loader": "^0.20.3",
|
|
96
|
+
"system-clients": "3.1.87",
|
|
97
|
+
"system-phone": "1.2.80-49",
|
|
98
|
+
"url-loader": "^0.5.7",
|
|
99
|
+
"vue-client": "1.24.74",
|
|
100
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
101
|
+
"vue-html-loader": "^1.0.0",
|
|
102
|
+
"vue-loader": "^8.2.1",
|
|
103
|
+
"vue-resource": "^1.5.0",
|
|
104
|
+
"vue-router": "^0.7.13",
|
|
105
|
+
"vue-strap": "^1.0.9",
|
|
106
|
+
"vue-style-loader": "^1.0.0",
|
|
107
|
+
"vue-validator": "^2.1.7",
|
|
108
|
+
"vux": "^2.9.4",
|
|
109
|
+
"webpack": "^1.12.2",
|
|
110
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
111
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
112
|
+
"webpack-merge": "^0.8.3",
|
|
113
|
+
"weixin-js-sdk": "^1.2.0"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -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/
|
|
101
|
-
// let res = await http.load('POST', `rs/sql/
|
|
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/apply_singleTable`, {data: data}, {
|
|
101
|
+
// let res = await http.load('POST', `rs/sql/apply_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>
|