sale-client 3.6.337 → 3.6.338-by
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 +104 -108
- package/package.json +120 -120
- package/src/App.vue +16 -17
- package/src/components/revenue/base/leftview/ServiceSubstitution.vue +158 -156
- package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +1 -1
- package/src/main.js +33 -33
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,108 +1,104 @@
|
|
|
1
|
-
var path = require('path')
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
'/rs/
|
|
41
|
-
target: serverRul
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
'/rs/logic/
|
|
52
|
-
target: serverRul
|
|
53
|
-
},
|
|
54
|
-
//
|
|
55
|
-
'/rs/
|
|
56
|
-
target: serverRul
|
|
57
|
-
},
|
|
58
|
-
'/rs/
|
|
59
|
-
target: serverRul
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
module.exports = merge(baseConfig, devConfig)
|
|
1
|
+
var path = require('path')
|
|
2
|
+
const [ serverRul, localUrl, v4Url ] =
|
|
3
|
+
['http://192.168.50.4:8400/', 'http://192.168.50.4:8400/', 'http://192.168.50.4:8400/']
|
|
4
|
+
var merge = require('webpack-merge')
|
|
5
|
+
var baseConfig = require('./webpack.dev.conf')
|
|
6
|
+
var devConfig = {
|
|
7
|
+
devServer: {
|
|
8
|
+
contentBase: path.join(__dirname, 'src'),
|
|
9
|
+
hot: true,
|
|
10
|
+
publicPath: baseConfig.output.publicPath,
|
|
11
|
+
historyApiFallback: true,
|
|
12
|
+
host: '127.0.0.1',
|
|
13
|
+
port: 8089,
|
|
14
|
+
open: false,
|
|
15
|
+
stats: {
|
|
16
|
+
colors: false, // 配置控制台输出彩色日志
|
|
17
|
+
chunks: false, // 不输出构建 chunk 信息
|
|
18
|
+
children: false // 不输出子模块构建信息
|
|
19
|
+
},
|
|
20
|
+
proxy: {
|
|
21
|
+
'/api': {
|
|
22
|
+
target: v4Url
|
|
23
|
+
},
|
|
24
|
+
'/invoice/rs/logic/getInvoice': {
|
|
25
|
+
target: serverRul
|
|
26
|
+
},
|
|
27
|
+
'/rs/file': {
|
|
28
|
+
target: serverRul
|
|
29
|
+
},
|
|
30
|
+
'/webapps': {
|
|
31
|
+
target: serverRul
|
|
32
|
+
},
|
|
33
|
+
'/rs/sql/singleTable': {
|
|
34
|
+
target: serverRul
|
|
35
|
+
},
|
|
36
|
+
'/invoice': {
|
|
37
|
+
target: serverRul
|
|
38
|
+
},
|
|
39
|
+
// 查找资源服务数据
|
|
40
|
+
'/rs/search': {
|
|
41
|
+
target: serverRul
|
|
42
|
+
},
|
|
43
|
+
// 查找资源服务数据
|
|
44
|
+
'/rs/logic/getLogin': {
|
|
45
|
+
target: serverRul
|
|
46
|
+
},
|
|
47
|
+
// 查找资源服务数据
|
|
48
|
+
'/rs/logic/getInitData': {
|
|
49
|
+
target: serverRul
|
|
50
|
+
},
|
|
51
|
+
'/rs/logic/getSaleInitData': {
|
|
52
|
+
target: serverRul
|
|
53
|
+
},
|
|
54
|
+
// 用户登录服务地址
|
|
55
|
+
'/rs/user': {
|
|
56
|
+
target: serverRul
|
|
57
|
+
},
|
|
58
|
+
'/rs/path': {
|
|
59
|
+
target: serverRul
|
|
60
|
+
},
|
|
61
|
+
'/rs/data': {
|
|
62
|
+
target: serverRul
|
|
63
|
+
},
|
|
64
|
+
'/rs/license': {
|
|
65
|
+
target: serverRul
|
|
66
|
+
},
|
|
67
|
+
'/rs/db': {
|
|
68
|
+
target: serverRul
|
|
69
|
+
},
|
|
70
|
+
'/excel': {
|
|
71
|
+
target: serverRul
|
|
72
|
+
},
|
|
73
|
+
'/rs/config': {
|
|
74
|
+
target: serverRul
|
|
75
|
+
},
|
|
76
|
+
'/rs/report': {
|
|
77
|
+
target: serverRul
|
|
78
|
+
},
|
|
79
|
+
'/rs/vue': {
|
|
80
|
+
target: serverRul
|
|
81
|
+
},
|
|
82
|
+
'/rs/logic/webHandReverse': {
|
|
83
|
+
target: 'http://localhost:8085'
|
|
84
|
+
},
|
|
85
|
+
'/rs/logic': {
|
|
86
|
+
target: localUrl
|
|
87
|
+
},
|
|
88
|
+
'/rs/sql/serviceDetails': {
|
|
89
|
+
target: serverRul
|
|
90
|
+
},
|
|
91
|
+
'/rs/sql': {
|
|
92
|
+
target: localUrl
|
|
93
|
+
},
|
|
94
|
+
'/webmeter': {
|
|
95
|
+
target: 'http://219.138.226.181:8450/'
|
|
96
|
+
},
|
|
97
|
+
'/rs': {
|
|
98
|
+
target: serverRul
|
|
99
|
+
// changeOrigin: true
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
module.exports = merge(baseConfig, devConfig)
|
package/package.json
CHANGED
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sale-client",
|
|
3
|
-
"version": "3.6.
|
|
4
|
-
"description": "收费模块前台组件",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"example": "node build/example-server.js",
|
|
8
|
-
"dev": "webpack-dev-server --config ./build/dev-server.js",
|
|
9
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
10
|
-
"unit": "karma start test/unit/karma.conf.js",
|
|
11
|
-
"build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
12
|
-
"e2e": "node test/e2e/runner.js",
|
|
13
|
-
"release": "bash build/release.sh"
|
|
14
|
-
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://gitee.com/aote/product.git"
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"crypto-js": "^4.1.1",
|
|
21
|
-
"examples": "^0.1.0",
|
|
22
|
-
"js-file-download": "0.4.12",
|
|
23
|
-
"less-loader": "^2.2.3",
|
|
24
|
-
"qrcodejs2": "^0.0.2",
|
|
25
|
-
"vue": "^1.0.17",
|
|
26
|
-
"webpack-dev-server": "^2.11.5",
|
|
27
|
-
"vue-client": "1.24.
|
|
28
|
-
"yarn": "^1.22.10"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"address-client": "3.2.
|
|
32
|
-
"axios": "0.15.3",
|
|
33
|
-
"babel-core": "^6.0.0",
|
|
34
|
-
"babel-loader": "^6.0.0",
|
|
35
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
36
|
-
"babel-preset-es2015": "^6.0.0",
|
|
37
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
38
|
-
"chai": "^3.5.0",
|
|
39
|
-
"co": "^4.6.0",
|
|
40
|
-
"compression-webpack-plugin": "1.1.2",
|
|
41
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
42
|
-
"cross-env": "^1.0.7",
|
|
43
|
-
"cross-spawn": "^2.1.5",
|
|
44
|
-
"css-loader": "^0.23.0",
|
|
45
|
-
"echarts": "^4.1.0",
|
|
46
|
-
"eslint": "^3.19.0",
|
|
47
|
-
"eslint-config-standard": "^10.2.1",
|
|
48
|
-
"eslint-friendly-formatter": "^3.0.0",
|
|
49
|
-
"eslint-loader": "^1.7.1",
|
|
50
|
-
"eslint-plugin-html": "^3.0.0",
|
|
51
|
-
"eslint-plugin-import": "^2.7.0",
|
|
52
|
-
"eslint-plugin-node": "^5.2.0",
|
|
53
|
-
"eslint-plugin-promise": "^3.4.0",
|
|
54
|
-
"eslint-plugin-standard": "^3.0.1",
|
|
55
|
-
"eventsource-polyfill": "^0.9.6",
|
|
56
|
-
"express": "^4.13.3",
|
|
57
|
-
"extract-text-webpack-plugin": "^3.0.2",
|
|
58
|
-
"terser-webpack-plugin-legacy": "^1.2.5",
|
|
59
|
-
"file-loader": "^0.8.4",
|
|
60
|
-
"filemanager-webpack-plugin": "^2.0.5",
|
|
61
|
-
"function-bind": "^1.0.2",
|
|
62
|
-
"html-webpack-plugin": "^2.8.1",
|
|
63
|
-
"http-proxy-middleware": "^0.11.0",
|
|
64
|
-
"inject-loader": "^2.0.1",
|
|
65
|
-
"isparta-loader": "^2.0.0",
|
|
66
|
-
"jasmine-core": "^2.4.1",
|
|
67
|
-
"jquery": "^3.3.1",
|
|
68
|
-
"jsencrypt": "3.0.0-rc.1",
|
|
69
|
-
"json-loader": "^0.5.4",
|
|
70
|
-
"karma": "^1.4.1",
|
|
71
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
72
|
-
"karma-coverage": "^1.1.1",
|
|
73
|
-
"karma-mocha": "^1.3.0",
|
|
74
|
-
"karma-sinon-chai": "^1.3.1",
|
|
75
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
76
|
-
"karma-spec-reporter": "0.0.31",
|
|
77
|
-
"karma-webpack": "^2.0.2",
|
|
78
|
-
"ldap-clients": "3.0.62",
|
|
79
|
-
"less": "^2.7.3",
|
|
80
|
-
"manage-client": "3.1.8-88",
|
|
81
|
-
"mkdirp": "^0.5.1",
|
|
82
|
-
"mocha": "^3.2.0",
|
|
83
|
-
"moment": "2.24.0",
|
|
84
|
-
"ncp": "^2.0.0",
|
|
85
|
-
"nightwatch": "^0.8.18",
|
|
86
|
-
"qrcodejs2": "0.0.2",
|
|
87
|
-
"rimraf": "^2.5.0",
|
|
88
|
-
"selenium-server": "2.52.0",
|
|
89
|
-
"sinon": "^2.1.0",
|
|
90
|
-
"sinon-chai": "^2.8.0",
|
|
91
|
-
"style": "0.0.3",
|
|
92
|
-
"style-loader": "^0.20.3",
|
|
93
|
-
"system-clients": "3.2.61",
|
|
94
|
-
"url-loader": "^0.5.7",
|
|
95
|
-
"vue-clipboard2": "0.3.1",
|
|
96
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
97
|
-
"vue-html-loader": "^1.0.0",
|
|
98
|
-
"vue-loader": "^8.2.1",
|
|
99
|
-
"vue-resource": "^1.5.0",
|
|
100
|
-
"vue-router": "^0.7.13",
|
|
101
|
-
"vue-strap": "^1.0.9",
|
|
102
|
-
"vue-style-loader": "^1.0.0",
|
|
103
|
-
"vue-validator": "2.1.7",
|
|
104
|
-
"webpack": "^3.12.0",
|
|
105
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
106
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
107
|
-
"webpack-merge": "^0.8.3",
|
|
108
|
-
"webpack-parallel-uglify-plugin": "^1.0.0",
|
|
109
|
-
"weixin-js-sdk": "^1.2.0"
|
|
110
|
-
},
|
|
111
|
-
"keywords": [
|
|
112
|
-
"selling-clients"
|
|
113
|
-
],
|
|
114
|
-
"author": "张桥",
|
|
115
|
-
"license": "ISC",
|
|
116
|
-
"directories": {
|
|
117
|
-
"example": "examples",
|
|
118
|
-
"test": "test"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sale-client",
|
|
3
|
+
"version": "3.6.338-by",
|
|
4
|
+
"description": "收费模块前台组件",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"example": "node build/example-server.js",
|
|
8
|
+
"dev": "webpack-dev-server --config ./build/dev-server.js",
|
|
9
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
10
|
+
"unit": "karma start test/unit/karma.conf.js",
|
|
11
|
+
"build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
12
|
+
"e2e": "node test/e2e/runner.js",
|
|
13
|
+
"release": "bash build/release.sh"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://gitee.com/aote/product.git"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"crypto-js": "^4.1.1",
|
|
21
|
+
"examples": "^0.1.0",
|
|
22
|
+
"js-file-download": "0.4.12",
|
|
23
|
+
"less-loader": "^2.2.3",
|
|
24
|
+
"qrcodejs2": "^0.0.2",
|
|
25
|
+
"vue": "^1.0.17",
|
|
26
|
+
"webpack-dev-server": "^2.11.5",
|
|
27
|
+
"vue-client": "1.24.137",
|
|
28
|
+
"yarn": "^1.22.10"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"address-client": "3.2.56",
|
|
32
|
+
"axios": "0.15.3",
|
|
33
|
+
"babel-core": "^6.0.0",
|
|
34
|
+
"babel-loader": "^6.0.0",
|
|
35
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
36
|
+
"babel-preset-es2015": "^6.0.0",
|
|
37
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
38
|
+
"chai": "^3.5.0",
|
|
39
|
+
"co": "^4.6.0",
|
|
40
|
+
"compression-webpack-plugin": "1.1.2",
|
|
41
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
42
|
+
"cross-env": "^1.0.7",
|
|
43
|
+
"cross-spawn": "^2.1.5",
|
|
44
|
+
"css-loader": "^0.23.0",
|
|
45
|
+
"echarts": "^4.1.0",
|
|
46
|
+
"eslint": "^3.19.0",
|
|
47
|
+
"eslint-config-standard": "^10.2.1",
|
|
48
|
+
"eslint-friendly-formatter": "^3.0.0",
|
|
49
|
+
"eslint-loader": "^1.7.1",
|
|
50
|
+
"eslint-plugin-html": "^3.0.0",
|
|
51
|
+
"eslint-plugin-import": "^2.7.0",
|
|
52
|
+
"eslint-plugin-node": "^5.2.0",
|
|
53
|
+
"eslint-plugin-promise": "^3.4.0",
|
|
54
|
+
"eslint-plugin-standard": "^3.0.1",
|
|
55
|
+
"eventsource-polyfill": "^0.9.6",
|
|
56
|
+
"express": "^4.13.3",
|
|
57
|
+
"extract-text-webpack-plugin": "^3.0.2",
|
|
58
|
+
"terser-webpack-plugin-legacy": "^1.2.5",
|
|
59
|
+
"file-loader": "^0.8.4",
|
|
60
|
+
"filemanager-webpack-plugin": "^2.0.5",
|
|
61
|
+
"function-bind": "^1.0.2",
|
|
62
|
+
"html-webpack-plugin": "^2.8.1",
|
|
63
|
+
"http-proxy-middleware": "^0.11.0",
|
|
64
|
+
"inject-loader": "^2.0.1",
|
|
65
|
+
"isparta-loader": "^2.0.0",
|
|
66
|
+
"jasmine-core": "^2.4.1",
|
|
67
|
+
"jquery": "^3.3.1",
|
|
68
|
+
"jsencrypt": "3.0.0-rc.1",
|
|
69
|
+
"json-loader": "^0.5.4",
|
|
70
|
+
"karma": "^1.4.1",
|
|
71
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
72
|
+
"karma-coverage": "^1.1.1",
|
|
73
|
+
"karma-mocha": "^1.3.0",
|
|
74
|
+
"karma-sinon-chai": "^1.3.1",
|
|
75
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
76
|
+
"karma-spec-reporter": "0.0.31",
|
|
77
|
+
"karma-webpack": "^2.0.2",
|
|
78
|
+
"ldap-clients": "3.0.62",
|
|
79
|
+
"less": "^2.7.3",
|
|
80
|
+
"manage-client": "3.1.8-88",
|
|
81
|
+
"mkdirp": "^0.5.1",
|
|
82
|
+
"mocha": "^3.2.0",
|
|
83
|
+
"moment": "2.24.0",
|
|
84
|
+
"ncp": "^2.0.0",
|
|
85
|
+
"nightwatch": "^0.8.18",
|
|
86
|
+
"qrcodejs2": "0.0.2",
|
|
87
|
+
"rimraf": "^2.5.0",
|
|
88
|
+
"selenium-server": "2.52.0",
|
|
89
|
+
"sinon": "^2.1.0",
|
|
90
|
+
"sinon-chai": "^2.8.0",
|
|
91
|
+
"style": "0.0.3",
|
|
92
|
+
"style-loader": "^0.20.3",
|
|
93
|
+
"system-clients": "3.2.61",
|
|
94
|
+
"url-loader": "^0.5.7",
|
|
95
|
+
"vue-clipboard2": "0.3.1",
|
|
96
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
97
|
+
"vue-html-loader": "^1.0.0",
|
|
98
|
+
"vue-loader": "^8.2.1",
|
|
99
|
+
"vue-resource": "^1.5.0",
|
|
100
|
+
"vue-router": "^0.7.13",
|
|
101
|
+
"vue-strap": "^1.0.9",
|
|
102
|
+
"vue-style-loader": "^1.0.0",
|
|
103
|
+
"vue-validator": "2.1.7",
|
|
104
|
+
"webpack": "^3.12.0",
|
|
105
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
106
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
107
|
+
"webpack-merge": "^0.8.3",
|
|
108
|
+
"webpack-parallel-uglify-plugin": "^1.0.0",
|
|
109
|
+
"weixin-js-sdk": "^1.2.0"
|
|
110
|
+
},
|
|
111
|
+
"keywords": [
|
|
112
|
+
"selling-clients"
|
|
113
|
+
],
|
|
114
|
+
"author": "张桥",
|
|
115
|
+
"license": "ISC",
|
|
116
|
+
"directories": {
|
|
117
|
+
"example": "examples",
|
|
118
|
+
"test": "test"
|
|
119
|
+
}
|
|
120
|
+
}
|
package/src/App.vue
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<app-base class="bg">
|
|
3
|
-
<div class='flex'>
|
|
4
|
-
<article>
|
|
5
|
-
<route :comp="{name: 'login'}"></route>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<app-base class="bg" @click="isTimeOut">
|
|
3
|
+
<div class='flex'>
|
|
4
|
+
<article>
|
|
5
|
+
<route :comp="{name: 'login'}"></route>
|
|
6
|
+
</article>
|
|
7
|
+
</div>
|
|
8
|
+
</app-base>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
ready () {}
|
|
15
|
+
}
|
|
16
|
+
</script>
|
|
@@ -1,156 +1,158 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="panel panel-info auto">
|
|
3
|
-
<div class="panel-heading auto" style="height: 35px">
|
|
4
|
-
<h4 style="display:inline-block;margin-top: auto" title="参数:维修情况查询">置换通气情况</h4>
|
|
5
|
-
</div>
|
|
6
|
-
<table class="table table-striped table-bordered" v-if="pared==1">
|
|
7
|
-
<thead>
|
|
8
|
-
<tr>
|
|
9
|
-
<th colspan="4" style="text-align: center;background-color: #8cbce2;">置换通气情况</th>
|
|
10
|
-
</tr>
|
|
11
|
-
</thead>
|
|
12
|
-
<tbody>
|
|
13
|
-
<tr>
|
|
14
|
-
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上传时间:</td>
|
|
15
|
-
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_date }}</td>
|
|
16
|
-
</tr>
|
|
17
|
-
<tr>
|
|
18
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到达时间:</td>
|
|
19
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_date_come }}</td>
|
|
20
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">离开时间:</td>
|
|
21
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_date_leave }}</td>
|
|
22
|
-
</tr>
|
|
23
|
-
<tr>
|
|
24
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">维修结果:</td>
|
|
25
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_result_status }}</td>
|
|
26
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">维修人:</td>
|
|
27
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_order_man }}</td>
|
|
28
|
-
</tr>
|
|
29
|
-
<tr>
|
|
30
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">工单类型:</td>
|
|
31
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_workorder_type }}</td>
|
|
32
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">工单状态:</td>
|
|
33
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_result_status }}</td>
|
|
34
|
-
</tr>
|
|
35
|
-
<tr>
|
|
36
|
-
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">工单备注:</td>
|
|
37
|
-
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_remarks }}</td>
|
|
38
|
-
</tr>
|
|
39
|
-
</tbody>
|
|
40
|
-
</table>
|
|
41
|
-
<table class="table table-striped table-bordered" v-if="pared == 1">
|
|
42
|
-
<thead>
|
|
43
|
-
<tr>
|
|
44
|
-
<th colspan="4" style="text-align: center;background-color: #8cbce2;">总体图片</th>
|
|
45
|
-
</tr>
|
|
46
|
-
</thead>
|
|
47
|
-
<tbody>
|
|
48
|
-
<tr>
|
|
49
|
-
<td style="margin: auto;text-align: center">
|
|
50
|
-
<div class="container" style="background: #FFFFFF;margin:0;width:100%;">
|
|
51
|
-
<div class="img" v-for="img in model.imgs">
|
|
52
|
-
<img-self :src="'rs/image/file/' + img.android_file" style="float: left" width="140"
|
|
53
|
-
height="150"></img-self>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</td>
|
|
57
|
-
</tr>
|
|
58
|
-
</tbody>
|
|
59
|
-
</table>
|
|
60
|
-
<div class="auto info-content" v-if="pared == 0">
|
|
61
|
-
<div class="row">
|
|
62
|
-
<strong>暂无置换通气信息</strong>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
</template>
|
|
67
|
-
<script>
|
|
68
|
-
/**
|
|
69
|
-
*用户信息
|
|
70
|
-
*维修情况
|
|
71
|
-
*/
|
|
72
|
-
|
|
73
|
-
import {HttpResetClass} from 'vue-client'
|
|
74
|
-
|
|
75
|
-
export default {
|
|
76
|
-
title: '置换通气情况',
|
|
77
|
-
data () {
|
|
78
|
-
return {
|
|
79
|
-
model: {},
|
|
80
|
-
pared: 0
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
props: ['data'],
|
|
84
|
-
ready () {
|
|
85
|
-
},
|
|
86
|
-
methods: {
|
|
87
|
-
async getServiceRepair () {
|
|
88
|
-
if (this.data && this.data.f_userinfo_id) {
|
|
89
|
-
let http = new HttpResetClass()
|
|
90
|
-
let res = await http.load('POST', 'rs/sql/singleTable_OrderBy', {
|
|
91
|
-
data: {
|
|
92
|
-
items: 'w.id',
|
|
93
|
-
tablename: 't_serviceworkorder wo left join t_servicework w on wo.id = w.serviceid',
|
|
94
|
-
condition: `wo.f_userinfo_id = '${this.data.f_userinfo_id}'`,
|
|
95
|
-
orderitem: 'w.id desc'
|
|
96
|
-
}
|
|
97
|
-
}, {resolveMsg: null, rejectMsg: null})
|
|
98
|
-
if (res.data.length > 0) {
|
|
99
|
-
let http2 = new HttpResetClass()
|
|
100
|
-
let result = await http2.load('POST', 'rs/path/serviceWork', {
|
|
101
|
-
data: {
|
|
102
|
-
id: res.data[0].id
|
|
103
|
-
}
|
|
104
|
-
}, {resolveMsg: null, rejectMsg: null})
|
|
105
|
-
this.model = result.data[0]
|
|
106
|
-
console.log('看看维修情况', result, this.model)
|
|
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
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="panel panel-info auto">
|
|
3
|
+
<div class="panel-heading auto" style="height: 35px">
|
|
4
|
+
<h4 style="display:inline-block;margin-top: auto" title="参数:维修情况查询">置换通气情况</h4>
|
|
5
|
+
</div>
|
|
6
|
+
<table class="table table-striped table-bordered" v-if="pared==1">
|
|
7
|
+
<thead>
|
|
8
|
+
<tr>
|
|
9
|
+
<th colspan="4" style="text-align: center;background-color: #8cbce2;">置换通气情况</th>
|
|
10
|
+
</tr>
|
|
11
|
+
</thead>
|
|
12
|
+
<tbody>
|
|
13
|
+
<tr>
|
|
14
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上传时间:</td>
|
|
15
|
+
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_date }}</td>
|
|
16
|
+
</tr>
|
|
17
|
+
<tr>
|
|
18
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到达时间:</td>
|
|
19
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_date_come }}</td>
|
|
20
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">离开时间:</td>
|
|
21
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_date_leave }}</td>
|
|
22
|
+
</tr>
|
|
23
|
+
<tr>
|
|
24
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">维修结果:</td>
|
|
25
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_result_status }}</td>
|
|
26
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">维修人:</td>
|
|
27
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_order_man }}</td>
|
|
28
|
+
</tr>
|
|
29
|
+
<tr>
|
|
30
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">工单类型:</td>
|
|
31
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_workorder_type }}</td>
|
|
32
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">工单状态:</td>
|
|
33
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_result_status }}</td>
|
|
34
|
+
</tr>
|
|
35
|
+
<tr>
|
|
36
|
+
<td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">工单备注:</td>
|
|
37
|
+
<td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_remarks }}</td>
|
|
38
|
+
</tr>
|
|
39
|
+
</tbody>
|
|
40
|
+
</table>
|
|
41
|
+
<table class="table table-striped table-bordered" v-if="pared == 1">
|
|
42
|
+
<thead>
|
|
43
|
+
<tr>
|
|
44
|
+
<th colspan="4" style="text-align: center;background-color: #8cbce2;">总体图片</th>
|
|
45
|
+
</tr>
|
|
46
|
+
</thead>
|
|
47
|
+
<tbody>
|
|
48
|
+
<tr>
|
|
49
|
+
<td style="margin: auto;text-align: center">
|
|
50
|
+
<div class="container" style="background: #FFFFFF;margin:0;width:100%;">
|
|
51
|
+
<div class="img" v-for="img in model.imgs">
|
|
52
|
+
<img-self :src="'rs/image/file/' + img.android_file" style="float: left" width="140"
|
|
53
|
+
height="150"></img-self>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</td>
|
|
57
|
+
</tr>
|
|
58
|
+
</tbody>
|
|
59
|
+
</table>
|
|
60
|
+
<div class="auto info-content" v-if="pared == 0">
|
|
61
|
+
<div class="row">
|
|
62
|
+
<strong>暂无置换通气信息</strong>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</template>
|
|
67
|
+
<script>
|
|
68
|
+
/**
|
|
69
|
+
*用户信息
|
|
70
|
+
*维修情况
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
import {HttpResetClass} from 'vue-client'
|
|
74
|
+
|
|
75
|
+
export default {
|
|
76
|
+
title: '置换通气情况',
|
|
77
|
+
data () {
|
|
78
|
+
return {
|
|
79
|
+
model: {},
|
|
80
|
+
pared: 0
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
props: ['data'],
|
|
84
|
+
ready () {
|
|
85
|
+
},
|
|
86
|
+
methods: {
|
|
87
|
+
async getServiceRepair () {
|
|
88
|
+
if (this.data && this.data.f_userinfo_id) {
|
|
89
|
+
let http = new HttpResetClass()
|
|
90
|
+
let res = await http.load('POST', 'rs/sql/singleTable_OrderBy', {
|
|
91
|
+
data: {
|
|
92
|
+
items: 'w.id',
|
|
93
|
+
tablename: 't_serviceworkorder wo left join t_servicework w on wo.id = w.serviceid',
|
|
94
|
+
condition: `wo.f_userinfo_id = '${this.data.f_userinfo_id}'`,
|
|
95
|
+
orderitem: 'w.id desc'
|
|
96
|
+
}
|
|
97
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
98
|
+
if (res.data.length > 0) {
|
|
99
|
+
let http2 = new HttpResetClass()
|
|
100
|
+
let result = await http2.load('POST', 'rs/path/serviceWork', {
|
|
101
|
+
data: {
|
|
102
|
+
id: res.data[0].id
|
|
103
|
+
}
|
|
104
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
105
|
+
this.model = result.data[0]
|
|
106
|
+
console.log('看看维修情况', result, this.model)
|
|
107
|
+
if (this.model) {
|
|
108
|
+
this.pared = 1
|
|
109
|
+
} else {
|
|
110
|
+
this.pared = 0
|
|
111
|
+
}
|
|
112
|
+
} else {
|
|
113
|
+
this.pared = 0
|
|
114
|
+
}
|
|
115
|
+
} else {
|
|
116
|
+
this.pared = 0
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
watch: {
|
|
121
|
+
'data' () {
|
|
122
|
+
console.log('维修情况', this.data)
|
|
123
|
+
this.getServiceRepair()
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
</script>
|
|
128
|
+
<style scoped>
|
|
129
|
+
.img {
|
|
130
|
+
border: 1px solid #9773ed;
|
|
131
|
+
width: auto;
|
|
132
|
+
height: auto;
|
|
133
|
+
float: left;
|
|
134
|
+
text-align: center;
|
|
135
|
+
margin: 6px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
img {
|
|
139
|
+
margin: 6px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
.container {
|
|
144
|
+
margin: 10px auto;
|
|
145
|
+
width: 80%;
|
|
146
|
+
height: auto;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
div::-webkit-scrollbar {
|
|
150
|
+
width: 0 !important;
|
|
151
|
+
height: 0 !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
div {
|
|
155
|
+
-ms-overflow-style: none;
|
|
156
|
+
overflow: -moz-scrollbars-none;
|
|
157
|
+
}
|
|
158
|
+
</style>
|
package/src/main.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import all from 'vue-client/src/all'
|
|
3
|
-
import App from './App'
|
|
4
|
-
import system from 'system-clients/src/system'
|
|
5
|
-
import sale from './sale'
|
|
6
|
-
import FilialeSale from './filiale/
|
|
7
|
-
import address from 'address-client/src/address'
|
|
8
|
-
import ldap from 'ldap-clients/src/ldap'
|
|
9
|
-
import VueClipboard from 'vue-clipboard2'
|
|
10
|
-
|
|
11
|
-
// 开启 nginx 加密
|
|
12
|
-
// Vue.mmType = 'nginx'
|
|
13
|
-
// Vue.HWQMM = [51, 150, 231, 300, 565, 708, 721, 952, 738, 560, 935, 912, 1274, 1148, 840, 1440]
|
|
14
|
-
|
|
15
|
-
// 开启 AES 加密
|
|
16
|
-
// Vue.mmType = 'AES'
|
|
17
|
-
// Vue.mm = '3KMKqvgwR8ULbR8Z'
|
|
18
|
-
|
|
19
|
-
Vue.use(VueClipboard)
|
|
20
|
-
Vue.config.silent = true
|
|
21
|
-
|
|
22
|
-
all()
|
|
23
|
-
system(false)
|
|
24
|
-
sale()
|
|
25
|
-
FilialeSale()
|
|
26
|
-
address()
|
|
27
|
-
ldap()
|
|
28
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
29
|
-
|
|
30
|
-
new Vue({
|
|
31
|
-
el: 'body',
|
|
32
|
-
components: { App }
|
|
33
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import all from 'vue-client/src/all'
|
|
3
|
+
import App from './App'
|
|
4
|
+
import system from 'system-clients/src/system'
|
|
5
|
+
import sale from './sale'
|
|
6
|
+
import FilialeSale from './filiale/bayan/sale'
|
|
7
|
+
import address from 'address-client/src/address'
|
|
8
|
+
import ldap from 'ldap-clients/src/ldap'
|
|
9
|
+
import VueClipboard from 'vue-clipboard2'
|
|
10
|
+
|
|
11
|
+
// 开启 nginx 加密
|
|
12
|
+
// Vue.mmType = 'nginx'
|
|
13
|
+
// Vue.HWQMM = [51, 150, 231, 300, 565, 708, 721, 952, 738, 560, 935, 912, 1274, 1148, 840, 1440]
|
|
14
|
+
|
|
15
|
+
// 开启 AES 加密
|
|
16
|
+
// Vue.mmType = 'AES'
|
|
17
|
+
// Vue.mm = '3KMKqvgwR8ULbR8Z'
|
|
18
|
+
|
|
19
|
+
Vue.use(VueClipboard)
|
|
20
|
+
Vue.config.silent = true
|
|
21
|
+
|
|
22
|
+
all()
|
|
23
|
+
system(false)
|
|
24
|
+
sale()
|
|
25
|
+
FilialeSale()
|
|
26
|
+
address()
|
|
27
|
+
ldap()
|
|
28
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
29
|
+
|
|
30
|
+
new Vue({
|
|
31
|
+
el: 'body',
|
|
32
|
+
components: { App }
|
|
33
|
+
})
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|