apply-clients 3.4.88-4 → 3.4.88-41
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/package.json +116 -116
- package/src/apply.js +4 -1
- package/src/components/android/AppSign.vue +0 -1
- package/src/components/android/Ignition/VentilationIgnition.vue +3 -99
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +1 -103
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +7 -1
- package/src/components/product/Function/InstallInfoSelect.vue +7 -1
- package/src/components/product/Function/Service/FunctionServiceControl.vue +53 -1
- package/src/components/product/Ignition/IgnitionListManage.vue +1 -1
- package/src/components/product/Material/MaterialDetailed.vue +7 -1
- package/src/components/product/Material/Materiallist.vue +74 -0
- package/src/components/product/Material/Materialmanger.vue +58 -0
- package/src/components/product/Material/Materialuser.vue +222 -0
- package/src/components/product/Process/ExplorationSelect.vue +7 -1
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -8
- package/src/components/product/Process/Service/ServiceControl.vue +1 -3
- package/src/components/product/Stop/StopApplyList.vue +8 -2
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +0 -1
- package/src/components/product/Supervisory/SupervisoryList.vue +9 -2
- package/src/filiale/hongda/android/AppAddMaterialScience.vue +195 -196
- package/src/filiale/hongda/pc/ApplyChargeList.vue +44 -42
- package/src/filiale/hongda/pc/CollectivelyList.vue +122 -0
- package/src/filiale/hongda/pc/ExplorationSelect.vue +48 -36
- package/src/filiale/hongda/pc/FunctionServiceControl.vue +504 -0
- package/src/filiale/hongda/pc/InstallInfoSelect.vue +331 -0
- package/src/filiale/hongda/pc/MaterialDetailed.vue +268 -0
- package/src/filiale/hongda/pc/Materialuser.vue +246 -0
- package/src/filiale/hongda/pc/ServiceControl.vue +28 -4
- package/src/filiale/hongda/pc/ServiceView.vue +7 -5
- package/src/filiale/hongda/pc/StopApplyList.vue +280 -0
- package/src/filiale/hongda/pc/SupervisoryList.vue +417 -0
- package/src/filiale/hongda/pc/addMaterialScience.vue +78 -25
- package/src/filiale/hongda/pc/addressAndUserinfoManagement.vue +202 -0
- package/src/filiale/hongda/pc/chargeManagement.vue +1 -0
- package/src/filiale/hongda/pc/printChargepc.vue +15 -37
- package/src/filiale/hongda/pc/printactivatecard.vue +2 -4
- package/src/filiale/hongda/pc/printinstall.vue +3 -25
- package/src/filiale/hongda/pc.js +18 -1
- package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -0
- package/src/filiale/linzhou/pc/ServiceControl.vue +12 -5
- package/src/filiale/linzhou/pc/devicesManagement.vue +494 -0
- package/src/filiale/linzhou/pc.js +3 -1
- package/src/filiale/shexian/android/AppDevicesManagement.vue +531 -0
- package/src/filiale/shexian/android/AppExplorationUser.vue +184 -135
- package/src/filiale/shexian/android/AppInstallationDetails.vue +27 -27
- package/src/filiale/shexian/android/AppProcessSupervisory.vue +346 -0
- package/src/filiale/shexian/android/AppServiceControl.vue +10 -4
- package/src/filiale/shexian/android/AppServiceView.vue +746 -745
- package/src/filiale/shexian/android/AppSign.vue +152 -0
- package/src/filiale/shexian/android/AppTakePic.vue +140 -0
- package/src/filiale/shexian/android.js +13 -9
- package/src/filiale/shexian/pc/ApplyChargeList.vue +471 -0
- package/src/filiale/shexian/pc/ExplorationSelect.vue +79 -3
- package/src/filiale/shexian/pc/InstallInfoSelect.vue +320 -0
- package/src/filiale/shexian/pc/InstallationDetails.vue +28 -26
- package/src/filiale/shexian/pc/ServiceControl.vue +1947 -1955
- package/src/filiale/shexian/pc/ServiceView.vue +7 -2
- package/src/filiale/shexian/pc/StopApplyList.vue +271 -0
- package/src/filiale/shexian/pc/SupervisoryList.vue +409 -0
- package/src/filiale/shexian/pc/SupervisoryServiceControl.vue +902 -902
- package/src/filiale/shexian/pc/chargeManagement.vue +654 -654
- package/src/filiale/shexian/pc/devicesManagement.vue +496 -0
- package/src/filiale/shexian/pc.js +16 -11
- package/src/main.js +23 -23
package/build/dev-server.js
CHANGED
|
@@ -1,119 +1,119 @@
|
|
|
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
|
-
// var ldap = 'http://121.36.79.201:8400'
|
|
10
|
-
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://221.193.244.147:8400'
|
|
12
|
-
var applyinstall = 'http://221.193.244.147:8400'
|
|
13
|
-
|
|
14
|
-
var proxyTable = {
|
|
15
|
-
'/rs/logic/getSaleInitData': {
|
|
16
|
-
target: ldap
|
|
17
|
-
},
|
|
18
|
-
'/rs/workflow': {
|
|
19
|
-
target: applyinstall
|
|
20
|
-
},
|
|
21
|
-
'/rs/vue': {
|
|
22
|
-
target: ldap
|
|
23
|
-
},
|
|
24
|
-
// 查找资源服务数据
|
|
25
|
-
'/rs/search': {
|
|
26
|
-
target: ldap
|
|
27
|
-
},
|
|
28
|
-
// 街道查询
|
|
29
|
-
'/rs/sql/address_getstreetlist': {
|
|
30
|
-
target: ldap
|
|
31
|
-
},
|
|
32
|
-
// 创建街道
|
|
33
|
-
'/rs/logic/address_updatestreet': {
|
|
34
|
-
target: ldap
|
|
35
|
-
},
|
|
36
|
-
// 创建小区
|
|
37
|
-
'/rs/logic/address_updatearea': {
|
|
38
|
-
target: ldap
|
|
39
|
-
},
|
|
40
|
-
// 用户登录服务地址
|
|
41
|
-
'/rs/user': {
|
|
42
|
-
target: ldap
|
|
43
|
-
},
|
|
44
|
-
'/rs/logic/getInitData': {
|
|
45
|
-
target: ldap?ldap:applyinstall
|
|
46
|
-
},
|
|
47
|
-
'/rs/logic/getLogin': {
|
|
48
|
-
target: ldap
|
|
49
|
-
},
|
|
50
|
-
'/rs/file': { // 文件上传
|
|
51
|
-
target: applyinstall
|
|
52
|
-
},
|
|
53
|
-
'/project': { // 文件回显
|
|
54
|
-
target: applyinstall
|
|
55
|
-
},
|
|
56
|
-
'/rs': {
|
|
57
|
-
target: applyinstall
|
|
58
|
-
},
|
|
59
|
-
'/ws': {
|
|
60
|
-
target: applyinstall,
|
|
61
|
-
ws: true // 代理webSocket
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
66
|
-
publicPath: config.output.publicPath,
|
|
67
|
-
stats: {
|
|
68
|
-
colors: true,
|
|
69
|
-
chunks: false
|
|
70
|
-
}
|
|
71
|
-
})
|
|
72
|
-
|
|
73
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
74
|
-
// force page reload when html-webpack-plugin template changes
|
|
75
|
-
compiler.plugin('compilation', function (compilation) {
|
|
76
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
77
|
-
hotMiddleware.publish({action: 'reload'})
|
|
78
|
-
cb()
|
|
79
|
-
})
|
|
80
|
-
})
|
|
81
|
-
|
|
82
|
-
// proxy api requests
|
|
83
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
84
|
-
var options = proxyTable[context]
|
|
85
|
-
if (typeof options === 'string') {
|
|
86
|
-
options = {target: options}
|
|
87
|
-
}
|
|
88
|
-
app.use(proxyMiddleware(context, options))
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
// handle fallback for HTML5 history API
|
|
92
|
-
app.use(require('connect-history-api-fallback')())
|
|
93
|
-
// app.use(function (req, res, next) {
|
|
94
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
95
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
96
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
97
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
98
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
99
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
100
|
-
// next()
|
|
101
|
-
// })
|
|
102
|
-
|
|
103
|
-
// serve webpack bundle output
|
|
104
|
-
app.use(devMiddleware)
|
|
105
|
-
|
|
106
|
-
// enable hot-reload and state-preserving
|
|
107
|
-
// compilation error display
|
|
108
|
-
app.use(hotMiddleware)
|
|
109
|
-
|
|
110
|
-
// serve pure static assets
|
|
111
|
-
app.use('/static', express.static('./static'))
|
|
112
|
-
|
|
113
|
-
module.exports = app.listen(8300, function (err) {
|
|
114
|
-
if (err) {
|
|
115
|
-
console.log(err)
|
|
116
|
-
return
|
|
117
|
-
}
|
|
118
|
-
console.log('Listening at http://localhost:8300')
|
|
119
|
-
})
|
|
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
|
+
// var ldap = 'http://121.36.79.201:8400'
|
|
10
|
+
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
+
var ldap = 'http://221.193.244.147:8400'
|
|
12
|
+
var applyinstall = 'http://221.193.244.147:8400'
|
|
13
|
+
|
|
14
|
+
var proxyTable = {
|
|
15
|
+
'/rs/logic/getSaleInitData': {
|
|
16
|
+
target: ldap
|
|
17
|
+
},
|
|
18
|
+
'/rs/workflow': {
|
|
19
|
+
target: applyinstall
|
|
20
|
+
},
|
|
21
|
+
'/rs/vue': {
|
|
22
|
+
target: ldap
|
|
23
|
+
},
|
|
24
|
+
// 查找资源服务数据
|
|
25
|
+
'/rs/search': {
|
|
26
|
+
target: ldap
|
|
27
|
+
},
|
|
28
|
+
// 街道查询
|
|
29
|
+
'/rs/sql/address_getstreetlist': {
|
|
30
|
+
target: ldap
|
|
31
|
+
},
|
|
32
|
+
// 创建街道
|
|
33
|
+
'/rs/logic/address_updatestreet': {
|
|
34
|
+
target: ldap
|
|
35
|
+
},
|
|
36
|
+
// 创建小区
|
|
37
|
+
'/rs/logic/address_updatearea': {
|
|
38
|
+
target: ldap
|
|
39
|
+
},
|
|
40
|
+
// 用户登录服务地址
|
|
41
|
+
'/rs/user': {
|
|
42
|
+
target: ldap
|
|
43
|
+
},
|
|
44
|
+
'/rs/logic/getInitData': {
|
|
45
|
+
target: ldap?ldap:applyinstall
|
|
46
|
+
},
|
|
47
|
+
'/rs/logic/getLogin': {
|
|
48
|
+
target: ldap
|
|
49
|
+
},
|
|
50
|
+
'/rs/file': { // 文件上传
|
|
51
|
+
target: applyinstall
|
|
52
|
+
},
|
|
53
|
+
'/project': { // 文件回显
|
|
54
|
+
target: applyinstall
|
|
55
|
+
},
|
|
56
|
+
'/rs': {
|
|
57
|
+
target: applyinstall
|
|
58
|
+
},
|
|
59
|
+
'/ws': {
|
|
60
|
+
target: applyinstall,
|
|
61
|
+
ws: true // 代理webSocket
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
66
|
+
publicPath: config.output.publicPath,
|
|
67
|
+
stats: {
|
|
68
|
+
colors: true,
|
|
69
|
+
chunks: false
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
74
|
+
// force page reload when html-webpack-plugin template changes
|
|
75
|
+
compiler.plugin('compilation', function (compilation) {
|
|
76
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
77
|
+
hotMiddleware.publish({action: 'reload'})
|
|
78
|
+
cb()
|
|
79
|
+
})
|
|
80
|
+
})
|
|
81
|
+
|
|
82
|
+
// proxy api requests
|
|
83
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
84
|
+
var options = proxyTable[context]
|
|
85
|
+
if (typeof options === 'string') {
|
|
86
|
+
options = {target: options}
|
|
87
|
+
}
|
|
88
|
+
app.use(proxyMiddleware(context, options))
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
// handle fallback for HTML5 history API
|
|
92
|
+
app.use(require('connect-history-api-fallback')())
|
|
93
|
+
// app.use(function (req, res, next) {
|
|
94
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
95
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
96
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
97
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
98
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
99
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
100
|
+
// next()
|
|
101
|
+
// })
|
|
102
|
+
|
|
103
|
+
// serve webpack bundle output
|
|
104
|
+
app.use(devMiddleware)
|
|
105
|
+
|
|
106
|
+
// enable hot-reload and state-preserving
|
|
107
|
+
// compilation error display
|
|
108
|
+
app.use(hotMiddleware)
|
|
109
|
+
|
|
110
|
+
// serve pure static assets
|
|
111
|
+
app.use('/static', express.static('./static'))
|
|
112
|
+
|
|
113
|
+
module.exports = app.listen(8300, function (err) {
|
|
114
|
+
if (err) {
|
|
115
|
+
console.log(err)
|
|
116
|
+
return
|
|
117
|
+
}
|
|
118
|
+
console.log('Listening at http://localhost:8300')
|
|
119
|
+
})
|
package/package.json
CHANGED
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "apply-clients",
|
|
3
|
-
"version": "3.4.88-
|
|
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
|
-
"crypto-js": "^4.1.1",
|
|
44
|
-
"babel-core": "^6.0.0",
|
|
45
|
-
"babel-loader": "^6.0.0",
|
|
46
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
47
|
-
"babel-preset-es2015": "^6.0.0",
|
|
48
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
49
|
-
"chai": "^3.5.0",
|
|
50
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
51
|
-
"cross-env": "^1.0.7",
|
|
52
|
-
"cross-spawn": "^2.1.5",
|
|
53
|
-
"css-loader": "^0.23.0",
|
|
54
|
-
"echarts": "^4.1.0",
|
|
55
|
-
"eslint": "^2.0.0",
|
|
56
|
-
"eslint-config-standard": "^5.1.0",
|
|
57
|
-
"eslint-friendly-formatter": "^1.2.2",
|
|
58
|
-
"eslint-loader": "^1.3.0",
|
|
59
|
-
"eslint-plugin-html": "^1.3.0",
|
|
60
|
-
"eslint-plugin-promise": "^1.0.8",
|
|
61
|
-
"eslint-plugin-standard": "^1.3.2",
|
|
62
|
-
"eslint-plugin-vue": "^0.1.1",
|
|
63
|
-
"eventsource-polyfill": "^0.9.6",
|
|
64
|
-
"express": "^4.17.0",
|
|
65
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
66
|
-
"file-loader": "^0.8.4",
|
|
67
|
-
"form-create": "^1.6.6",
|
|
68
|
-
"function-bind": "^1.0.2",
|
|
69
|
-
"html-webpack-plugin": "^2.8.1",
|
|
70
|
-
"http-proxy-middleware": "^0.11.0",
|
|
71
|
-
"inject-loader": "^2.0.1",
|
|
72
|
-
"isparta-loader": "^2.0.0",
|
|
73
|
-
"jasmine-core": "^2.4.1",
|
|
74
|
-
"jquery": "^3.3.1",
|
|
75
|
-
"json-loader": "^0.5.4",
|
|
76
|
-
"karma": "^1.4.1",
|
|
77
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
78
|
-
"karma-coverage": "^1.1.1",
|
|
79
|
-
"karma-mocha": "^1.3.0",
|
|
80
|
-
"karma-sinon-chai": "^1.3.1",
|
|
81
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
82
|
-
"karma-spec-reporter": "0.0.31",
|
|
83
|
-
"karma-webpack": "^2.0.2",
|
|
84
|
-
"ldap-clients": "3.0.18",
|
|
85
|
-
"material-client": "^1.1.2",
|
|
86
|
-
"mkdirp": "^0.5.1",
|
|
87
|
-
"mocha": "^3.2.0",
|
|
88
|
-
"ncp": "^2.0.0",
|
|
89
|
-
"nightwatch": "^0.8.18",
|
|
90
|
-
"rimraf": "^2.5.0",
|
|
91
|
-
"sale-client": "^1.4.33",
|
|
92
|
-
"selenium-server": "2.52.0",
|
|
93
|
-
"sinon": "^2.1.0",
|
|
94
|
-
"sinon-chai": "^2.8.0",
|
|
95
|
-
"style": "0.0.3",
|
|
96
|
-
"style-loader": "^0.20.3",
|
|
97
|
-
"system-clients": "3.2.63",
|
|
98
|
-
"system-phone": "1.2.80-49",
|
|
99
|
-
"url-loader": "^0.5.7",
|
|
100
|
-
"vue-client": "1.24.80",
|
|
101
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
102
|
-
"vue-html-loader": "^1.0.0",
|
|
103
|
-
"vue-loader": "^8.2.1",
|
|
104
|
-
"vue-resource": "^1.5.0",
|
|
105
|
-
"vue-router": "^0.7.13",
|
|
106
|
-
"vue-strap": "^1.0.9",
|
|
107
|
-
"vue-style-loader": "^1.0.0",
|
|
108
|
-
"vue-validator": "^2.1.7",
|
|
109
|
-
"vux": "^2.9.4",
|
|
110
|
-
"webpack": "^1.12.2",
|
|
111
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
112
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
113
|
-
"webpack-merge": "^0.8.3",
|
|
114
|
-
"weixin-js-sdk": "^1.2.0"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "apply-clients",
|
|
3
|
+
"version": "3.4.88-41",
|
|
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
|
+
"crypto-js": "^4.1.1",
|
|
44
|
+
"babel-core": "^6.0.0",
|
|
45
|
+
"babel-loader": "^6.0.0",
|
|
46
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
47
|
+
"babel-preset-es2015": "^6.0.0",
|
|
48
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
49
|
+
"chai": "^3.5.0",
|
|
50
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
51
|
+
"cross-env": "^1.0.7",
|
|
52
|
+
"cross-spawn": "^2.1.5",
|
|
53
|
+
"css-loader": "^0.23.0",
|
|
54
|
+
"echarts": "^4.1.0",
|
|
55
|
+
"eslint": "^2.0.0",
|
|
56
|
+
"eslint-config-standard": "^5.1.0",
|
|
57
|
+
"eslint-friendly-formatter": "^1.2.2",
|
|
58
|
+
"eslint-loader": "^1.3.0",
|
|
59
|
+
"eslint-plugin-html": "^1.3.0",
|
|
60
|
+
"eslint-plugin-promise": "^1.0.8",
|
|
61
|
+
"eslint-plugin-standard": "^1.3.2",
|
|
62
|
+
"eslint-plugin-vue": "^0.1.1",
|
|
63
|
+
"eventsource-polyfill": "^0.9.6",
|
|
64
|
+
"express": "^4.17.0",
|
|
65
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
66
|
+
"file-loader": "^0.8.4",
|
|
67
|
+
"form-create": "^1.6.6",
|
|
68
|
+
"function-bind": "^1.0.2",
|
|
69
|
+
"html-webpack-plugin": "^2.8.1",
|
|
70
|
+
"http-proxy-middleware": "^0.11.0",
|
|
71
|
+
"inject-loader": "^2.0.1",
|
|
72
|
+
"isparta-loader": "^2.0.0",
|
|
73
|
+
"jasmine-core": "^2.4.1",
|
|
74
|
+
"jquery": "^3.3.1",
|
|
75
|
+
"json-loader": "^0.5.4",
|
|
76
|
+
"karma": "^1.4.1",
|
|
77
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
78
|
+
"karma-coverage": "^1.1.1",
|
|
79
|
+
"karma-mocha": "^1.3.0",
|
|
80
|
+
"karma-sinon-chai": "^1.3.1",
|
|
81
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
82
|
+
"karma-spec-reporter": "0.0.31",
|
|
83
|
+
"karma-webpack": "^2.0.2",
|
|
84
|
+
"ldap-clients": "3.0.18",
|
|
85
|
+
"material-client": "^1.1.2",
|
|
86
|
+
"mkdirp": "^0.5.1",
|
|
87
|
+
"mocha": "^3.2.0",
|
|
88
|
+
"ncp": "^2.0.0",
|
|
89
|
+
"nightwatch": "^0.8.18",
|
|
90
|
+
"rimraf": "^2.5.0",
|
|
91
|
+
"sale-client": "^1.4.33",
|
|
92
|
+
"selenium-server": "2.52.0",
|
|
93
|
+
"sinon": "^2.1.0",
|
|
94
|
+
"sinon-chai": "^2.8.0",
|
|
95
|
+
"style": "0.0.3",
|
|
96
|
+
"style-loader": "^0.20.3",
|
|
97
|
+
"system-clients": "3.2.63",
|
|
98
|
+
"system-phone": "1.2.80-49",
|
|
99
|
+
"url-loader": "^0.5.7",
|
|
100
|
+
"vue-client": "1.24.80",
|
|
101
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
102
|
+
"vue-html-loader": "^1.0.0",
|
|
103
|
+
"vue-loader": "^8.2.1",
|
|
104
|
+
"vue-resource": "^1.5.0",
|
|
105
|
+
"vue-router": "^0.7.13",
|
|
106
|
+
"vue-strap": "^1.0.9",
|
|
107
|
+
"vue-style-loader": "^1.0.0",
|
|
108
|
+
"vue-validator": "^2.1.7",
|
|
109
|
+
"vux": "^2.9.4",
|
|
110
|
+
"webpack": "^1.12.2",
|
|
111
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
112
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
113
|
+
"webpack-merge": "^0.8.3",
|
|
114
|
+
"weixin-js-sdk": "^1.2.0"
|
|
115
|
+
}
|
|
116
|
+
}
|
package/src/apply.js
CHANGED
|
@@ -97,7 +97,10 @@ export default function (filiale) {
|
|
|
97
97
|
// 点火界面
|
|
98
98
|
Vue.component('ignition-list-manage', (resolve) => { require(['./components/product/ignition/IgnitionListManage.vue'], resolve) })
|
|
99
99
|
Vue.component('ignition-record', (resolve) => { require(['./components/product/ignition/IgnitionRecord.vue'], resolve) })
|
|
100
|
-
|
|
100
|
+
// 材料查看
|
|
101
|
+
Vue.component('material-manger', (resolve) => { require(['./components/product/Material/Materialmanger'], resolve) })
|
|
102
|
+
Vue.component('material-user', (resolve) => { require(['./components/product/Material/Materialuser'], resolve) })
|
|
103
|
+
Vue.component('apply-material-list', (resolve) => { require(['./components/product/Material/Materiallist'], resolve) })
|
|
101
104
|
|
|
102
105
|
Vue.component('business-apply', (resolve) => { require(['./components/product/Business/BusinessApply'], resolve) })
|
|
103
106
|
Vue.component('civil-apply', (resolve) => { require(['./components/product/Business/CivilApply'], resolve) })
|
|
@@ -1,25 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab" :active.sync="active">
|
|
4
|
-
<tab header='任务地图'>
|
|
5
|
-
<div class="auto tip">
|
|
6
|
-
<p>当前任务数量:{{ tasknumber }}</p>
|
|
7
|
-
<p>当前任务点:{{labelmarksarray.length}}</p>
|
|
8
|
-
</div>
|
|
9
|
-
<amap-location
|
|
10
|
-
:islocation="true"
|
|
11
|
-
:locationzoomcenter="false"
|
|
12
|
-
:usenative="true"
|
|
13
|
-
:isshowsearch="false"
|
|
14
|
-
:mylocationinfo="false"
|
|
15
|
-
:islocationclearmark="false"
|
|
16
|
-
:isshowmapmodel="false"
|
|
17
|
-
:locationwindow="false"
|
|
18
|
-
mapmodel="dragMarker"
|
|
19
|
-
:labelmarksarray="labelmarksarray"
|
|
20
|
-
@diyspotmouseclick="diyspotmouseclick"
|
|
21
|
-
></amap-location>
|
|
22
|
-
</tab>
|
|
23
4
|
<tab header='任务列表'>
|
|
24
5
|
<div class="p-10">
|
|
25
6
|
<criteria-paged :model="model" v-ref:cp>
|
|
@@ -122,13 +103,6 @@
|
|
|
122
103
|
<p class="col-xs-3 text-left font"><b>地  址:</b></p>
|
|
123
104
|
<p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
|
|
124
105
|
</div>
|
|
125
|
-
<div class="col-xs-12">
|
|
126
|
-
<p class="col-xs-3 text-left font"><b>定位地址:</b></p>
|
|
127
|
-
<p class="col-xs-9 text-left input-font">
|
|
128
|
-
{{ row.f_location_address }}
|
|
129
|
-
<svg v-if="row.f_location_address" @click.prevent="$parent.$parent.$parent.$parent.$parent.openAmap(row)" style="width: 25px;height: 25px;position: absolute;" t="1628575336648" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3201" width="200" height="200"><path d="M512 956h-1.1c-10.9 0-20.5-6.9-24.7-17L369.9 654.1 85 537.8c-10.1-4.1-16.8-13.7-17.2-24.6-0.4-10.9 5.6-21 15.3-25.9l833-416.5c10.7-5.3 23.6-3.2 32.1 5.2s10.5 21.4 5.2 32.1L536.8 940.9c-4.7 9.4-14.3 15.1-24.8 15.1zM162.7 509.6l239 97.6c6.9 2.8 12.4 8.3 15.2 15.2l97.6 239 351.9-703.8-703.7 352z" fill="#666666" p-id="3202"></path></svg>
|
|
130
|
-
</p>
|
|
131
|
-
</div>
|
|
132
106
|
<div class="col-xs-12">
|
|
133
107
|
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
134
108
|
<p class="col-xs-9 text-left input-font">
|
|
@@ -163,8 +137,6 @@ export default {
|
|
|
163
137
|
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getWaitIgnitionTaskApp`, 20, null),
|
|
164
138
|
// model: new PagedList(`rs/sql/getWaitIgnitionTask`, 20, null),
|
|
165
139
|
criteriaShow: false,
|
|
166
|
-
tasknumber: 0,
|
|
167
|
-
labelmarksarray: [],
|
|
168
140
|
active: 0,
|
|
169
141
|
f_lat: null,
|
|
170
142
|
f_lng: null,
|
|
@@ -177,7 +149,6 @@ export default {
|
|
|
177
149
|
},
|
|
178
150
|
methods: {
|
|
179
151
|
refresh () {
|
|
180
|
-
this.getWaitIgnitionTaskDot()
|
|
181
152
|
this.getArea()
|
|
182
153
|
this.search()
|
|
183
154
|
},
|
|
@@ -193,7 +164,7 @@ export default {
|
|
|
193
164
|
row.f_apply_type = '通气点火'
|
|
194
165
|
// row.f_process_id = row.f_blobid
|
|
195
166
|
console.log('----------------------++++++++++++++++++',row.f_process_id)
|
|
196
|
-
this.$goto('
|
|
167
|
+
this.$goto('app-ignition-handle', {selectdata: row}, 'self', _this.refresh)
|
|
197
168
|
},
|
|
198
169
|
dialNumber (tel) {
|
|
199
170
|
this.$showMessage(`是否拨打电话:${tel}`, ['confirm']).then((res) => {
|
|
@@ -202,68 +173,6 @@ export default {
|
|
|
202
173
|
}
|
|
203
174
|
})
|
|
204
175
|
},
|
|
205
|
-
// 导航
|
|
206
|
-
openAmap (row) {
|
|
207
|
-
HostApp.openThirdPartyMap({
|
|
208
|
-
lon: row.f_lng,
|
|
209
|
-
lat: row.f_lat,
|
|
210
|
-
address: row.f_location_address
|
|
211
|
-
})
|
|
212
|
-
},
|
|
213
|
-
diyspotmouseclick (data) {
|
|
214
|
-
console.log('************************************')
|
|
215
|
-
console.log(data)
|
|
216
|
-
this.f_lat = data.f_lat
|
|
217
|
-
this.f_lng = data.f_lng
|
|
218
|
-
this.search()
|
|
219
|
-
|
|
220
|
-
this.active = 1
|
|
221
|
-
},
|
|
222
|
-
async getWaitIgnitionTaskDot () {
|
|
223
|
-
this.tasknumber = 0
|
|
224
|
-
let http = new HttpResetClass()
|
|
225
|
-
let data = {
|
|
226
|
-
userid: Vue.user.id
|
|
227
|
-
// userid: this.$login.f.id
|
|
228
|
-
}
|
|
229
|
-
let res = await http.load(
|
|
230
|
-
'POST',
|
|
231
|
-
`${this.$androidUtil.getProxyUrl()}/rs/sql/getWaitIgnitionTaskDot`,
|
|
232
|
-
// `rs/sql/getWaitIgnitionTaskDot`,
|
|
233
|
-
{data: data},
|
|
234
|
-
{
|
|
235
|
-
resolveMsg: null,
|
|
236
|
-
rejectMsg: '任务点获取失败!!!'
|
|
237
|
-
})
|
|
238
|
-
this.labelmarksarray = res.data.map(item => {
|
|
239
|
-
this.tasknumber += item.count
|
|
240
|
-
return {
|
|
241
|
-
data: {
|
|
242
|
-
data: item,
|
|
243
|
-
content: `<p>任务数:${item.count}</p>`
|
|
244
|
-
},
|
|
245
|
-
position: [item.f_lng, item.f_lat],
|
|
246
|
-
isclearmarker: false,
|
|
247
|
-
islabel: false
|
|
248
|
-
}
|
|
249
|
-
})
|
|
250
|
-
// for (const item of res.data) {
|
|
251
|
-
// this.tasknumber += item.count
|
|
252
|
-
// if (isEmpty(item.f_lng) || isEmpty(item.f_lat)) {
|
|
253
|
-
// continue
|
|
254
|
-
// }
|
|
255
|
-
//
|
|
256
|
-
// this.labelmarksarray.push({
|
|
257
|
-
// data: {
|
|
258
|
-
// data: item,
|
|
259
|
-
// content: `<p>任务数:${item.count}</p>`
|
|
260
|
-
// },
|
|
261
|
-
// position: [item.f_lng, item.f_lat],
|
|
262
|
-
// isclearmarker: true,
|
|
263
|
-
// islabel: false
|
|
264
|
-
// })
|
|
265
|
-
// }
|
|
266
|
-
},
|
|
267
176
|
searchCondition (args) {
|
|
268
177
|
args.condition += `and ir.f_ignition_operator_id = '${Vue.user.id}' and ir.f_state = '正在进行'`
|
|
269
178
|
// args.condition += `and ir.f_ignition_operator_id = '${this.$login.f.id}' and ir.f_state = '正在进行'`
|
|
@@ -272,13 +181,8 @@ export default {
|
|
|
272
181
|
// args.condition = args.condition.replace(`ir.f_ignition_operator_id = \'${this.$login.f.id}\'`, 'ir.f_shared_dispatch = \'是\'');
|
|
273
182
|
args.condition = args.condition.replace(`ir.f_ignition_operator_id = \'${Vue.user.id}\'`, 'ir.f_shared_dispatch = \'是\'');
|
|
274
183
|
}
|
|
275
|
-
if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
|
|
276
|
-
args.condition += `and ui.f_lat = '${this.f_lat}' and ui.f_lng = '${this.f_lng}'`
|
|
277
|
-
}
|
|
278
184
|
this.model.search(args.condition, args.model)
|
|
279
185
|
|
|
280
|
-
this.f_lng = null
|
|
281
|
-
this.f_lat = null
|
|
282
186
|
},
|
|
283
187
|
// 查询
|
|
284
188
|
search () {
|
|
@@ -313,14 +217,14 @@ export default {
|
|
|
313
217
|
async getArea () {
|
|
314
218
|
let data = {
|
|
315
219
|
tablename: 't_area_address',
|
|
316
|
-
condition: `f_filiale = '${Vue.user.
|
|
220
|
+
condition: `f_filiale = '${Vue.user.orgid}' and f_area_status = '启用'`
|
|
317
221
|
// condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
|
|
318
222
|
}
|
|
319
223
|
let http = new HttpResetClass()
|
|
320
224
|
let res = await http.load(
|
|
321
225
|
'POST',
|
|
322
226
|
// `rs/sql/applySingleTable`,
|
|
323
|
-
`${this.$androidUtil.getProxyUrl()}/rs/sql/
|
|
227
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`,
|
|
324
228
|
{data: data},
|
|
325
229
|
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
326
230
|
)
|