manage-client 3.3.83 → 3.3.84-wn
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/package.json
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "manage-client",
|
|
3
|
-
"version": "3.3.
|
|
4
|
-
"description": "经营管控模块前台组件",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"directories": {
|
|
7
|
-
"test": "test"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"crypto-js": "^4.1.1",
|
|
11
|
-
"swiper": "^5.4.5"
|
|
12
|
-
},
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"axios": "0.15.3",
|
|
15
|
-
"babel-core": "^6.0.0",
|
|
16
|
-
"babel-loader": "^6.0.0",
|
|
17
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
18
|
-
"babel-preset-es2015": "^6.0.0",
|
|
19
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
20
|
-
"chai": "^3.5.0",
|
|
21
|
-
"co": "^4.6.0",
|
|
22
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
23
|
-
"cross-env": "^1.0.7",
|
|
24
|
-
"cross-spawn": "^2.1.5",
|
|
25
|
-
"css-loader": "^0.23.0",
|
|
26
|
-
"echarts": "^4.1.0",
|
|
27
|
-
"eslint": "^2.0.0",
|
|
28
|
-
"eslint-config-standard": "^5.1.0",
|
|
29
|
-
"eslint-friendly-formatter": "^1.2.2",
|
|
30
|
-
"eslint-loader": "^1.3.0",
|
|
31
|
-
"eslint-plugin-html": "^1.3.0",
|
|
32
|
-
"eslint-plugin-promise": "^1.0.8",
|
|
33
|
-
"eslint-plugin-standard": "^1.3.2",
|
|
34
|
-
"eslint-plugin-vue": "^0.1.1",
|
|
35
|
-
"eventsource-polyfill": "^0.9.6",
|
|
36
|
-
"express": "^4.13.3",
|
|
37
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
38
|
-
"filemanager-webpack-plugin": "^2.0.5",
|
|
39
|
-
"file-loader": "^0.8.4",
|
|
40
|
-
"function-bind": "^1.0.2",
|
|
41
|
-
"html-webpack-plugin": "^2.8.1",
|
|
42
|
-
"http-proxy-middleware": "^0.11.0",
|
|
43
|
-
"inject-loader": "^2.0.1",
|
|
44
|
-
"isparta-loader": "^2.0.0",
|
|
45
|
-
"jasmine-core": "^2.4.1",
|
|
46
|
-
"jquery": "^3.3.1",
|
|
47
|
-
"jsencrypt": "3.0.0-rc.1",
|
|
48
|
-
"json-loader": "^0.5.4",
|
|
49
|
-
"karma": "^1.4.1",
|
|
50
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
51
|
-
"karma-coverage": "^1.1.1",
|
|
52
|
-
"karma-mocha": "^1.3.0",
|
|
53
|
-
"karma-sinon-chai": "^1.3.1",
|
|
54
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
55
|
-
"karma-spec-reporter": "0.0.31",
|
|
56
|
-
"karma-webpack": "^2.0.2",
|
|
57
|
-
"ldap-clients": "3.0.7",
|
|
58
|
-
"less": "^2.7.3",
|
|
59
|
-
"mkdirp": "^0.5.1",
|
|
60
|
-
"mocha": "^3.2.0",
|
|
61
|
-
"moment": "2.24.0",
|
|
62
|
-
"ncp": "^2.0.0",
|
|
63
|
-
"rimraf": "^2.5.0",
|
|
64
|
-
"sale-client": "3.4.14",
|
|
65
|
-
"selenium-server": "2.52.0",
|
|
66
|
-
"sinon": "^2.1.0",
|
|
67
|
-
"sinon-chai": "^2.8.0",
|
|
68
|
-
"style": "0.0.3",
|
|
69
|
-
"style-loader": "^0.20.3",
|
|
70
|
-
"swiper": "^5.4.5",
|
|
71
|
-
"system-clients": "3.2.61",
|
|
72
|
-
"url-loader": "^0.5.7",
|
|
73
|
-
"vue-amap": "0.5.10",
|
|
74
|
-
"vue-client": "1.24.
|
|
75
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
76
|
-
"vue-html-loader": "^1.0.0",
|
|
77
|
-
"vue-loader": "8.2.1",
|
|
78
|
-
"vue-resource": "^1.5.0",
|
|
79
|
-
"vue-router": "^0.7.13",
|
|
80
|
-
"vue-strap": "^1.0.9",
|
|
81
|
-
"vue-style-loader": "^1.0.0",
|
|
82
|
-
"vue-validator": "2.1.7",
|
|
83
|
-
"webpack": "1.12.2",
|
|
84
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
85
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
86
|
-
"webpack-merge": "^0.8.3",
|
|
87
|
-
"webpack-parallel-uglify-plugin": "^1.0.0"
|
|
88
|
-
},
|
|
89
|
-
"scripts": {
|
|
90
|
-
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
91
|
-
"example": "node build/example-server.js",
|
|
92
|
-
"dev": "node build/dev-server.js",
|
|
93
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
94
|
-
"oldbuild": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.oldprod.conf.js",
|
|
95
|
-
"build": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_ENTRY=reportManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_BUILDEND=true VUE_APP_ENTRY=webmeterManage webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
96
|
-
"buildSaleManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
97
|
-
"buildReportManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=reportManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
98
|
-
"buildWebmeterManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=webmeterManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
99
|
-
"e2e": "node test/e2e/runner.js",
|
|
100
|
-
"release": "bash build/release.sh"
|
|
101
|
-
},
|
|
102
|
-
"repository": {
|
|
103
|
-
"type": "git",
|
|
104
|
-
"url": "https://gitee.com/aote/management_modules.git"
|
|
105
|
-
},
|
|
106
|
-
"keywords": [
|
|
107
|
-
"manage"
|
|
108
|
-
],
|
|
109
|
-
"author": "liuxudong",
|
|
110
|
-
"license": "ISC"
|
|
111
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "manage-client",
|
|
3
|
+
"version": "3.3.84-wn",
|
|
4
|
+
"description": "经营管控模块前台组件",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"test": "test"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"crypto-js": "^4.1.1",
|
|
11
|
+
"swiper": "^5.4.5"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"axios": "0.15.3",
|
|
15
|
+
"babel-core": "^6.0.0",
|
|
16
|
+
"babel-loader": "^6.0.0",
|
|
17
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
18
|
+
"babel-preset-es2015": "^6.0.0",
|
|
19
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
20
|
+
"chai": "^3.5.0",
|
|
21
|
+
"co": "^4.6.0",
|
|
22
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
23
|
+
"cross-env": "^1.0.7",
|
|
24
|
+
"cross-spawn": "^2.1.5",
|
|
25
|
+
"css-loader": "^0.23.0",
|
|
26
|
+
"echarts": "^4.1.0",
|
|
27
|
+
"eslint": "^2.0.0",
|
|
28
|
+
"eslint-config-standard": "^5.1.0",
|
|
29
|
+
"eslint-friendly-formatter": "^1.2.2",
|
|
30
|
+
"eslint-loader": "^1.3.0",
|
|
31
|
+
"eslint-plugin-html": "^1.3.0",
|
|
32
|
+
"eslint-plugin-promise": "^1.0.8",
|
|
33
|
+
"eslint-plugin-standard": "^1.3.2",
|
|
34
|
+
"eslint-plugin-vue": "^0.1.1",
|
|
35
|
+
"eventsource-polyfill": "^0.9.6",
|
|
36
|
+
"express": "^4.13.3",
|
|
37
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
38
|
+
"filemanager-webpack-plugin": "^2.0.5",
|
|
39
|
+
"file-loader": "^0.8.4",
|
|
40
|
+
"function-bind": "^1.0.2",
|
|
41
|
+
"html-webpack-plugin": "^2.8.1",
|
|
42
|
+
"http-proxy-middleware": "^0.11.0",
|
|
43
|
+
"inject-loader": "^2.0.1",
|
|
44
|
+
"isparta-loader": "^2.0.0",
|
|
45
|
+
"jasmine-core": "^2.4.1",
|
|
46
|
+
"jquery": "^3.3.1",
|
|
47
|
+
"jsencrypt": "3.0.0-rc.1",
|
|
48
|
+
"json-loader": "^0.5.4",
|
|
49
|
+
"karma": "^1.4.1",
|
|
50
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
51
|
+
"karma-coverage": "^1.1.1",
|
|
52
|
+
"karma-mocha": "^1.3.0",
|
|
53
|
+
"karma-sinon-chai": "^1.3.1",
|
|
54
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
55
|
+
"karma-spec-reporter": "0.0.31",
|
|
56
|
+
"karma-webpack": "^2.0.2",
|
|
57
|
+
"ldap-clients": "3.0.7",
|
|
58
|
+
"less": "^2.7.3",
|
|
59
|
+
"mkdirp": "^0.5.1",
|
|
60
|
+
"mocha": "^3.2.0",
|
|
61
|
+
"moment": "2.24.0",
|
|
62
|
+
"ncp": "^2.0.0",
|
|
63
|
+
"rimraf": "^2.5.0",
|
|
64
|
+
"sale-client": "3.4.14",
|
|
65
|
+
"selenium-server": "2.52.0",
|
|
66
|
+
"sinon": "^2.1.0",
|
|
67
|
+
"sinon-chai": "^2.8.0",
|
|
68
|
+
"style": "0.0.3",
|
|
69
|
+
"style-loader": "^0.20.3",
|
|
70
|
+
"swiper": "^5.4.5",
|
|
71
|
+
"system-clients": "3.2.61",
|
|
72
|
+
"url-loader": "^0.5.7",
|
|
73
|
+
"vue-amap": "0.5.10",
|
|
74
|
+
"vue-client": "1.24.108",
|
|
75
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
76
|
+
"vue-html-loader": "^1.0.0",
|
|
77
|
+
"vue-loader": "8.2.1",
|
|
78
|
+
"vue-resource": "^1.5.0",
|
|
79
|
+
"vue-router": "^0.7.13",
|
|
80
|
+
"vue-strap": "^1.0.9",
|
|
81
|
+
"vue-style-loader": "^1.0.0",
|
|
82
|
+
"vue-validator": "2.1.7",
|
|
83
|
+
"webpack": "1.12.2",
|
|
84
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
85
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
86
|
+
"webpack-merge": "^0.8.3",
|
|
87
|
+
"webpack-parallel-uglify-plugin": "^1.0.0"
|
|
88
|
+
},
|
|
89
|
+
"scripts": {
|
|
90
|
+
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
91
|
+
"example": "node build/example-server.js",
|
|
92
|
+
"dev": "node build/dev-server.js",
|
|
93
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
94
|
+
"oldbuild": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.oldprod.conf.js",
|
|
95
|
+
"build": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_ENTRY=reportManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_BUILDEND=true VUE_APP_ENTRY=webmeterManage webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
96
|
+
"buildSaleManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
97
|
+
"buildReportManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=reportManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
98
|
+
"buildWebmeterManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=webmeterManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
99
|
+
"e2e": "node test/e2e/runner.js",
|
|
100
|
+
"release": "bash build/release.sh"
|
|
101
|
+
},
|
|
102
|
+
"repository": {
|
|
103
|
+
"type": "git",
|
|
104
|
+
"url": "https://gitee.com/aote/management_modules.git"
|
|
105
|
+
},
|
|
106
|
+
"keywords": [
|
|
107
|
+
"manage"
|
|
108
|
+
],
|
|
109
|
+
"author": "liuxudong",
|
|
110
|
+
"license": "ISC"
|
|
111
|
+
}
|
|
@@ -80,6 +80,8 @@
|
|
|
80
80
|
:options='$parent.$parent.usertypes'
|
|
81
81
|
placeholder='请选择' v-model="model.f_user_type"
|
|
82
82
|
condition="f_user_type = '{}'"
|
|
83
|
+
:value-single="true"
|
|
84
|
+
@change="$parent.$parent.userTypeChange()"
|
|
83
85
|
close-on-select></v-select>
|
|
84
86
|
</div>
|
|
85
87
|
<div class="col-sm-2 form-group">
|
|
@@ -87,6 +89,7 @@
|
|
|
87
89
|
<v-select :value.sync="model.f_user_usetype" :search="false"
|
|
88
90
|
@change="$parent.$parent.userUseTypeChange()"
|
|
89
91
|
v-model="model.f_user_usetype"
|
|
92
|
+
:value-single="true"
|
|
90
93
|
:options='$parent.$parent.userusetypes'
|
|
91
94
|
condition="f_user_usetype = '{}'"
|
|
92
95
|
placeholder='用气类型'
|
|
@@ -98,6 +101,7 @@
|
|
|
98
101
|
<v-select :value.sync="model.f_use_institution" :search="false"
|
|
99
102
|
@change="$parent.$parent.userUseInstitutionChange()"
|
|
100
103
|
v-model="model.f_use_institution"
|
|
104
|
+
:value-single="true"
|
|
101
105
|
:options='$parent.$parent.useinstitutions'
|
|
102
106
|
condition="f_use_institution = '{}'"
|
|
103
107
|
placeholder='用气机构'
|
|
@@ -108,6 +112,7 @@
|
|
|
108
112
|
<label for="f_user_usenature" class="font_normal_body ">使用性质</label>
|
|
109
113
|
<v-select :value.sync="model.f_user_usenature" :search="false"
|
|
110
114
|
v-model="model.f_user_usenature"
|
|
115
|
+
:value-single="true"
|
|
111
116
|
:options='$parent.$parent.userusenatures'
|
|
112
117
|
condition="f_user_usenature = '{}'"
|
|
113
118
|
placeholder='使用性质'
|
|
@@ -431,20 +436,36 @@ export default {
|
|
|
431
436
|
}
|
|
432
437
|
}
|
|
433
438
|
},
|
|
434
|
-
|
|
439
|
+
userTypeChange () {
|
|
440
|
+
this.userusetypes = []
|
|
435
441
|
this.userusenatures = []
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
442
|
+
this.useinstitutions = []
|
|
443
|
+
this.$refs.paged.$refs.cri.model.f_user_usetype = ''
|
|
444
|
+
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
445
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
446
|
+
if (this.$refs.paged.$refs.cri.model.f_user_type) {
|
|
447
|
+
let str = this.$refs.paged.$refs.cri.model.f_user_type + '用气类型'
|
|
448
|
+
this.userusetypes = this.$appdata.getParam(str)
|
|
439
449
|
}
|
|
440
450
|
},
|
|
441
451
|
userUseTypeChange () {
|
|
442
452
|
this.useinstitutions = []
|
|
443
|
-
|
|
444
|
-
|
|
453
|
+
this.userusenatures = []
|
|
454
|
+
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
455
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
456
|
+
if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
|
|
457
|
+
let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
|
|
445
458
|
this.useinstitutions = this.$appdata.getParam(str)
|
|
446
459
|
}
|
|
447
460
|
},
|
|
461
|
+
userUseInstitutionChange () {
|
|
462
|
+
this.userusenatures = []
|
|
463
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
464
|
+
if (this.$refs.paged.$refs.cri.model.f_use_institution) {
|
|
465
|
+
let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
|
|
466
|
+
this.userusenatures = this.$appdata.getParam(str)
|
|
467
|
+
}
|
|
468
|
+
},
|
|
448
469
|
hidden () {
|
|
449
470
|
this.criteriaShow = !this.criteriaShow
|
|
450
471
|
},
|
|
@@ -593,9 +614,6 @@ export default {
|
|
|
593
614
|
}
|
|
594
615
|
return field
|
|
595
616
|
},
|
|
596
|
-
userusetypes () {
|
|
597
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
598
|
-
},
|
|
599
617
|
useTypes () {
|
|
600
618
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
601
619
|
},
|
|
@@ -83,20 +83,6 @@
|
|
|
83
83
|
<!-- restype='organization'>-->
|
|
84
84
|
<!-- </res-select>-->
|
|
85
85
|
<!-- </div>-->
|
|
86
|
-
|
|
87
|
-
<div class="col-sm-2 form-group">
|
|
88
|
-
<label class="font_normal_body">客户类型</label>
|
|
89
|
-
<v-select :options='$parent.$parent.Gasusertype'
|
|
90
|
-
:value.sync="model.f_user_type"
|
|
91
|
-
close-on-select
|
|
92
|
-
style="width:60%"
|
|
93
|
-
condition="f_user_type = '{}'"
|
|
94
|
-
id="f_user_type"
|
|
95
|
-
placeholder='客户类型'
|
|
96
|
-
v-model="model.f_user_type"
|
|
97
|
-
value-single="true">
|
|
98
|
-
</v-select>
|
|
99
|
-
</div>
|
|
100
86
|
<div class="col-sm-2 form-group">
|
|
101
87
|
<label class="font_normal_body">用气性质</label>
|
|
102
88
|
<v-select :options='$parent.$parent.Gasproperties'
|
|
@@ -197,6 +183,20 @@
|
|
|
197
183
|
condition="f_curbalance <= {} " placeholder="">
|
|
198
184
|
</div>
|
|
199
185
|
</div>
|
|
186
|
+
<div class="col-sm-2 form-group">
|
|
187
|
+
<label class="font_normal_body">用户类型</label>
|
|
188
|
+
<v-select :options='$parent.$parent.Gasusertype'
|
|
189
|
+
:value.sync="model.f_user_type"
|
|
190
|
+
close-on-select
|
|
191
|
+
style="width:60%"
|
|
192
|
+
condition="f_user_type = '{}'"
|
|
193
|
+
id="f_user_type"
|
|
194
|
+
placeholder='用户类型'
|
|
195
|
+
@change="$parent.$parent.userTypeChange()"
|
|
196
|
+
v-model="model.f_user_type"
|
|
197
|
+
:value-single="true">
|
|
198
|
+
</v-select>
|
|
199
|
+
</div>
|
|
200
200
|
<div class="col-sm-2 form-group">
|
|
201
201
|
<label for="f_user_usetype" class="font_normal_body ">用气类型</label>
|
|
202
202
|
<v-select :value.sync="model.f_user_usetype" :search="false"
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
:options='$parent.$parent.userusetypes'
|
|
206
206
|
condition="f_user_usetype = '{}'"
|
|
207
207
|
placeholder='用气类型'
|
|
208
|
-
value-single="true"
|
|
208
|
+
:value-single="true"
|
|
209
209
|
close-on-select>
|
|
210
210
|
</v-select>
|
|
211
211
|
</div>
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
:options='$parent.$parent.useinstitutions'
|
|
218
218
|
condition="f_use_institution = '{}'"
|
|
219
219
|
placeholder='用气机构'
|
|
220
|
-
value-single="true"
|
|
220
|
+
:value-single="true"
|
|
221
221
|
close-on-select>
|
|
222
222
|
</v-select>
|
|
223
223
|
</div>
|
|
@@ -228,10 +228,15 @@
|
|
|
228
228
|
:options='$parent.$parent.userusenatures'
|
|
229
229
|
condition="f_user_usenature = '{}'"
|
|
230
230
|
placeholder='使用性质'
|
|
231
|
-
value-single="true"
|
|
231
|
+
:value-single="true"
|
|
232
232
|
close-on-select>
|
|
233
233
|
</v-select>
|
|
234
234
|
</div>
|
|
235
|
+
<div class="col-sm-2 form-group">
|
|
236
|
+
<label class="font_normal_body">单位名称</label>
|
|
237
|
+
<input style="width:60%" class="input_search" condition="f_corporate_name like '%{}%'" placeholder='单位名称' type="text"
|
|
238
|
+
v-el:corporatename v-model="model.f_corporate_name" v-next-el='corporatename'>
|
|
239
|
+
</div>
|
|
235
240
|
</div>
|
|
236
241
|
</div>
|
|
237
242
|
</criteria>
|
|
@@ -405,6 +410,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
405
410
|
searchshow: true,
|
|
406
411
|
startDate1:'',
|
|
407
412
|
endDate1:'',
|
|
413
|
+
userusetypes: [],
|
|
408
414
|
useinstitutions: [],
|
|
409
415
|
userusenatures: [],
|
|
410
416
|
// startDate: '',
|
|
@@ -454,26 +460,41 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
454
460
|
this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
455
461
|
this.startDate1 = Util.addDate(new Date(),-4).substring(0,10)
|
|
456
462
|
this.endDate1 = Util.toStandardDateString()
|
|
457
|
-
this.$refs.paged.$refs.cri.search()
|
|
463
|
+
// this.$refs.paged.$refs.cri.search()
|
|
458
464
|
this.getfield = this.config.excelHeaders
|
|
459
465
|
},
|
|
460
466
|
methods: {
|
|
461
|
-
|
|
467
|
+
userTypeChange () {
|
|
468
|
+
this.userusetypes = []
|
|
462
469
|
this.userusenatures = []
|
|
470
|
+
this.useinstitutions = []
|
|
471
|
+
this.$refs.paged.$refs.cri.model.f_user_usetype = ''
|
|
472
|
+
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
463
473
|
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
464
|
-
if (this.$refs.paged.$refs.cri.model.
|
|
465
|
-
|
|
466
|
-
|
|
474
|
+
if (this.$refs.paged.$refs.cri.model.f_user_type) {
|
|
475
|
+
console.log('this.$refs.paged.$refs.cri.model.f_user_type', this.$refs.paged.$refs.cri.model.f_user_type)
|
|
476
|
+
let str = this.$refs.paged.$refs.cri.model.f_user_type + '用气类型'
|
|
477
|
+
this.userusetypes = this.$appdata.getParam(str)
|
|
467
478
|
}
|
|
468
479
|
},
|
|
469
480
|
userUseTypeChange () {
|
|
470
481
|
this.useinstitutions = []
|
|
482
|
+
this.userusenatures = []
|
|
471
483
|
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
484
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
472
485
|
if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
|
|
473
486
|
let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
|
|
474
487
|
this.useinstitutions = this.$appdata.getParam(str)
|
|
475
488
|
}
|
|
476
489
|
},
|
|
490
|
+
userUseInstitutionChange () {
|
|
491
|
+
this.userusenatures = []
|
|
492
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
493
|
+
if (this.$refs.paged.$refs.cri.model.f_use_institution) {
|
|
494
|
+
let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
|
|
495
|
+
this.userusenatures = this.$appdata.getParam(str)
|
|
496
|
+
}
|
|
497
|
+
},
|
|
477
498
|
// 查询开关
|
|
478
499
|
hidden() {
|
|
479
500
|
this.criteriaShow = !this.criteriaShow
|
|
@@ -592,9 +613,6 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
592
613
|
}
|
|
593
614
|
},
|
|
594
615
|
computed: {
|
|
595
|
-
userusetypes () {
|
|
596
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
597
|
-
},
|
|
598
616
|
startDate(){
|
|
599
617
|
return this.startDate1 + ' 00:00:00'
|
|
600
618
|
},
|
|
@@ -433,7 +433,6 @@
|
|
|
433
433
|
import exportConfig from '../config/exportConfig'
|
|
434
434
|
|
|
435
435
|
let readySomething = async function (self) {
|
|
436
|
-
|
|
437
436
|
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
438
437
|
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
439
438
|
|
|
@@ -441,7 +440,7 @@
|
|
|
441
440
|
// self.$refs.paged.$refs.cri.search()
|
|
442
441
|
await self.$MagLoadParams.loadParam()
|
|
443
442
|
self.initParams()
|
|
444
|
-
self.getaddress()
|
|
443
|
+
// self.getaddress()
|
|
445
444
|
// self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
446
445
|
}
|
|
447
446
|
export default {
|
|
@@ -502,6 +501,7 @@
|
|
|
502
501
|
this.startDate=this.$parent.startDate
|
|
503
502
|
this.endDate=this.$parent.endDate
|
|
504
503
|
console.log("this",this)
|
|
504
|
+
this.getaddress()
|
|
505
505
|
readySomething(this)
|
|
506
506
|
},
|
|
507
507
|
methods: {
|
package/src/main.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
|
|
5
|
-
// import { sale } from 'sale-client'
|
|
6
|
-
import { system } from 'system-clients'
|
|
7
|
-
import { ldap } from 'ldap-clients'
|
|
8
|
-
import saleManage from './saleManage'
|
|
9
|
-
import ShanXianSaleManage from './filiale/
|
|
10
|
-
import ShanXianWebmeterManage from './filiale/
|
|
11
|
-
import webmeterManage from './webmeterManage'
|
|
12
|
-
import reportManage from './reportManage'
|
|
13
|
-
import newmanage from './newmanage'
|
|
14
|
-
import ManageHome from './ManageHome'
|
|
15
|
-
import echarts from 'echarts'
|
|
16
|
-
import AMap from 'vue-amap'
|
|
17
|
-
|
|
18
|
-
Vue.config.silent = true
|
|
19
|
-
// Vue.mmType = 'AES'
|
|
20
|
-
|
|
21
|
-
Vue.use(AMap);
|
|
22
|
-
|
|
23
|
-
// 初始化vue-amap
|
|
24
|
-
AMap.initAMapApiLoader({
|
|
25
|
-
// 高德key
|
|
26
|
-
key: '3cec9ae8e2349207f7ac29279e3f4abe',
|
|
27
|
-
// 插件集合 (插件按需引入)
|
|
28
|
-
plugin: [
|
|
29
|
-
"AMap.Autocomplete", //输入提示插件
|
|
30
|
-
"AMap.PlaceSearch", //POI搜索插件
|
|
31
|
-
"AMap.Scale", //右下角缩略图插件 比例尺
|
|
32
|
-
"AMap.OverView", //地图鹰眼插件
|
|
33
|
-
"AMap.ToolBar", //地图工具条0
|
|
34
|
-
"AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
|
|
35
|
-
"AMap.PolyEditor", //编辑 折线多,边形
|
|
36
|
-
"AMap.CircleEditor", //圆形编辑器插件
|
|
37
|
-
"AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
|
|
38
|
-
],
|
|
39
|
-
uiVersion: "1.0"
|
|
40
|
-
});
|
|
41
|
-
/** **************************通用组件******************************/
|
|
42
|
-
|
|
43
|
-
Vue.prototype.$echarts = echarts
|
|
44
|
-
all()
|
|
45
|
-
// sale()
|
|
46
|
-
ldap()
|
|
47
|
-
system(false)
|
|
48
|
-
|
|
49
|
-
saleManage()
|
|
50
|
-
ShanXianSaleManage()
|
|
51
|
-
webmeterManage()
|
|
52
|
-
ShanXianWebmeterManage()
|
|
53
|
-
ManageHome()
|
|
54
|
-
newmanage()
|
|
55
|
-
reportManage()
|
|
56
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
57
|
-
require('./components/qinhua/Style/qinhuaStyle.less')
|
|
58
|
-
// require('./bootstrap/less/manageStyle/manageChile.less')
|
|
59
|
-
// require('./bootstrap/less/manageStyle/safeStyle.less')
|
|
60
|
-
|
|
61
|
-
//大屏展示要放开的样式
|
|
62
|
-
// require('system-clients/src/styles/less/manageStyle/manageChile.less')
|
|
63
|
-
// require('system-clients/src/styles/less/manageStyle/safeStyle.less')
|
|
64
|
-
// require('system-clients/src/styles/less/manageStyle/manageStyle.less')
|
|
65
|
-
|
|
66
|
-
new Vue({
|
|
67
|
-
el: 'body',
|
|
68
|
-
components: { App }
|
|
69
|
-
})
|
|
70
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
|
|
5
|
+
// import { sale } from 'sale-client'
|
|
6
|
+
import { system } from 'system-clients'
|
|
7
|
+
import { ldap } from 'ldap-clients'
|
|
8
|
+
import saleManage from './saleManage'
|
|
9
|
+
import ShanXianSaleManage from './filiale/WEINAN/sale'
|
|
10
|
+
import ShanXianWebmeterManage from './filiale/WEINAN/webmeterManage'
|
|
11
|
+
import webmeterManage from './webmeterManage'
|
|
12
|
+
import reportManage from './reportManage'
|
|
13
|
+
import newmanage from './newmanage'
|
|
14
|
+
import ManageHome from './ManageHome'
|
|
15
|
+
import echarts from 'echarts'
|
|
16
|
+
import AMap from 'vue-amap'
|
|
17
|
+
|
|
18
|
+
Vue.config.silent = true
|
|
19
|
+
// Vue.mmType = 'AES'
|
|
20
|
+
|
|
21
|
+
Vue.use(AMap);
|
|
22
|
+
|
|
23
|
+
// 初始化vue-amap
|
|
24
|
+
AMap.initAMapApiLoader({
|
|
25
|
+
// 高德key
|
|
26
|
+
key: '3cec9ae8e2349207f7ac29279e3f4abe',
|
|
27
|
+
// 插件集合 (插件按需引入)
|
|
28
|
+
plugin: [
|
|
29
|
+
"AMap.Autocomplete", //输入提示插件
|
|
30
|
+
"AMap.PlaceSearch", //POI搜索插件
|
|
31
|
+
"AMap.Scale", //右下角缩略图插件 比例尺
|
|
32
|
+
"AMap.OverView", //地图鹰眼插件
|
|
33
|
+
"AMap.ToolBar", //地图工具条0
|
|
34
|
+
"AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
|
|
35
|
+
"AMap.PolyEditor", //编辑 折线多,边形
|
|
36
|
+
"AMap.CircleEditor", //圆形编辑器插件
|
|
37
|
+
"AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
|
|
38
|
+
],
|
|
39
|
+
uiVersion: "1.0"
|
|
40
|
+
});
|
|
41
|
+
/** **************************通用组件******************************/
|
|
42
|
+
|
|
43
|
+
Vue.prototype.$echarts = echarts
|
|
44
|
+
all()
|
|
45
|
+
// sale()
|
|
46
|
+
ldap()
|
|
47
|
+
system(false)
|
|
48
|
+
|
|
49
|
+
saleManage()
|
|
50
|
+
ShanXianSaleManage()
|
|
51
|
+
webmeterManage()
|
|
52
|
+
ShanXianWebmeterManage()
|
|
53
|
+
ManageHome()
|
|
54
|
+
newmanage()
|
|
55
|
+
reportManage()
|
|
56
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
57
|
+
require('./components/qinhua/Style/qinhuaStyle.less')
|
|
58
|
+
// require('./bootstrap/less/manageStyle/manageChile.less')
|
|
59
|
+
// require('./bootstrap/less/manageStyle/safeStyle.less')
|
|
60
|
+
|
|
61
|
+
//大屏展示要放开的样式
|
|
62
|
+
// require('system-clients/src/styles/less/manageStyle/manageChile.less')
|
|
63
|
+
// require('system-clients/src/styles/less/manageStyle/safeStyle.less')
|
|
64
|
+
// require('system-clients/src/styles/less/manageStyle/manageStyle.less')
|
|
65
|
+
|
|
66
|
+
new Vue({
|
|
67
|
+
el: 'body',
|
|
68
|
+
components: { App }
|
|
69
|
+
})
|
|
70
|
+
|