vue2-client 1.2.74 → 1.2.75
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/.env +15 -15
- package/.eslintrc.js +82 -82
- package/CHANGELOG.md +5 -0
- package/package.json +46 -46
- package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +225 -225
- package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +113 -113
- package/src/base-client/components/common/CitySelect/CitySelect.vue +244 -244
- package/src/base-client/components/common/CitySelect/index.js +3 -3
- package/src/base-client/components/common/CitySelect/index.md +109 -109
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +539 -539
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +773 -773
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +310 -310
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +553 -553
- package/src/base-client/components/common/Upload/Upload.vue +151 -151
- package/src/base-client/components/common/Upload/index.js +3 -3
- package/src/base-client/components/common/XAddForm/XAddForm.vue +345 -345
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +322 -322
- package/src/base-client/components/common/XForm/XForm.vue +268 -268
- package/src/base-client/components/common/XForm/XFormItem.vue +358 -358
- package/src/base-client/components/common/XFormTable/XFormTable.vue +491 -491
- package/src/base-client/components/common/XTable/XTable.vue +269 -269
- package/src/base-client/components/iot/DeviceDetailsView/DeviceDetailsView.vue +232 -230
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsCount.vue +623 -330
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsException.vue +57 -57
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsRead.vue +131 -131
- package/src/base-client/components/iot/DeviceTypeDetailsView/DeviceTypeDetailsView.vue +300 -300
- package/src/base-client/components/iot/WebmeterAnalysisView/WebmeterAnalysisView.vue +647 -647
- package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
- package/src/base-client/plugins/AppData.js +70 -70
- package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
- package/src/components/Charts/ChartCard.vue +14 -0
- package/src/config/CreateQueryConfig.js +301 -301
- package/src/pages/resourceManage/orgListManage.vue +98 -98
- package/src/router/async/config.async.js +26 -26
- package/src/router/async/router.map.js +60 -60
- package/src/router/index.js +27 -27
- package/src/services/api/common.js +56 -56
- package/src/services/api/index.js +39 -39
- package/src/services/api/iot/DeviceDetailsView/DeviceDetailsCountApi.js +14 -0
- package/src/services/api/manage.js +16 -16
- package/src/services/api/restTools.js +24 -24
- package/src/theme/default/style.less +47 -47
- package/src/utils/map-utils.js +28 -28
- package/src/utils/request.js +198 -198
- package/src/utils/util.js +222 -222
- package/vue.config.js +153 -153
package/.env
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
VUE_APP_PUBLIC_PATH=/
|
|
2
|
-
VUE_APP_NAME=Admin
|
|
3
|
-
VUE_APP_ROUTES_KEY=admin.routes
|
|
4
|
-
VUE_APP_PERMISSIONS_KEY=admin.permissions
|
|
5
|
-
VUE_APP_ROLES_KEY=admin.roles
|
|
6
|
-
VUE_APP_USER_KEY=admin.user
|
|
7
|
-
VUE_APP_LOGIN_KEY=admin.login
|
|
8
|
-
VUE_APP_SETTING_KEY=admin.setting
|
|
9
|
-
VUE_APP_TBAS_KEY=admin.tabs
|
|
10
|
-
VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles
|
|
11
|
-
VUE_APP_DICTIONARY_KEY=admin.dictionary
|
|
12
|
-
VUE_APP_BADGE_KEY=admin.badge
|
|
13
|
-
VUE_APP_SINGLEVALUE_KEY=admin.singlevalue
|
|
14
|
-
VUE_APP_DIVISIONSOHCHINA=admin.divisionsohchina
|
|
15
|
-
VUE_APP_API_BASE_URL=http://123.60.214.109:8405
|
|
1
|
+
VUE_APP_PUBLIC_PATH=/
|
|
2
|
+
VUE_APP_NAME=Admin
|
|
3
|
+
VUE_APP_ROUTES_KEY=admin.routes
|
|
4
|
+
VUE_APP_PERMISSIONS_KEY=admin.permissions
|
|
5
|
+
VUE_APP_ROLES_KEY=admin.roles
|
|
6
|
+
VUE_APP_USER_KEY=admin.user
|
|
7
|
+
VUE_APP_LOGIN_KEY=admin.login
|
|
8
|
+
VUE_APP_SETTING_KEY=admin.setting
|
|
9
|
+
VUE_APP_TBAS_KEY=admin.tabs
|
|
10
|
+
VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles
|
|
11
|
+
VUE_APP_DICTIONARY_KEY=admin.dictionary
|
|
12
|
+
VUE_APP_BADGE_KEY=admin.badge
|
|
13
|
+
VUE_APP_SINGLEVALUE_KEY=admin.singlevalue
|
|
14
|
+
VUE_APP_DIVISIONSOHCHINA=admin.divisionsohchina
|
|
15
|
+
VUE_APP_API_BASE_URL=http://123.60.214.109:8405
|
package/.eslintrc.js
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true
|
|
5
|
-
},
|
|
6
|
-
'extends': [
|
|
7
|
-
'plugin:vue/essential',
|
|
8
|
-
'plugin:vue/strongly-recommended',
|
|
9
|
-
'@vue/standard'
|
|
10
|
-
],
|
|
11
|
-
rules: {
|
|
12
|
-
'comma-dangle': 'off',
|
|
13
|
-
'no-console': 'off',
|
|
14
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
15
|
-
'generator-star-spacing': 'off',
|
|
16
|
-
'no-mixed-operators': 0,
|
|
17
|
-
'vue/max-attributes-per-line': [
|
|
18
|
-
2,
|
|
19
|
-
{
|
|
20
|
-
'singleline': 5,
|
|
21
|
-
'multiline': {
|
|
22
|
-
'max': 1,
|
|
23
|
-
'allowFirstLine': false
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
'vue/attribute-hyphenation': 0,
|
|
28
|
-
'vue/html-self-closing': 0,
|
|
29
|
-
'vue/component-name-in-template-casing': 0,
|
|
30
|
-
'vue/html-closing-bracket-spacing': 0,
|
|
31
|
-
'vue/singleline-html-element-content-newline': 0,
|
|
32
|
-
'vue/no-unused-components': 0,
|
|
33
|
-
'vue/multiline-html-element-content-newline': 0,
|
|
34
|
-
'vue/no-use-v-if-with-v-for': 0,
|
|
35
|
-
'vue/html-closing-bracket-newline': 0,
|
|
36
|
-
'vue/no-parsing-error': 0,
|
|
37
|
-
'vue/name-property-casing': 0,
|
|
38
|
-
'no-tabs': 0,
|
|
39
|
-
'quotes': [
|
|
40
|
-
2,
|
|
41
|
-
'single',
|
|
42
|
-
{
|
|
43
|
-
'avoidEscape': true,
|
|
44
|
-
'allowTemplateLiterals': true
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
'semi': [
|
|
48
|
-
2,
|
|
49
|
-
'never',
|
|
50
|
-
{
|
|
51
|
-
'beforeStatementContinuationChars': 'never'
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
'no-delete-var': 2,
|
|
55
|
-
'prefer-const': [
|
|
56
|
-
2,
|
|
57
|
-
{
|
|
58
|
-
'ignoreReadBeforeAssign': false
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
'template-curly-spacing': 'off',
|
|
62
|
-
'indent': 'off',
|
|
63
|
-
// 必须使用全等: false
|
|
64
|
-
'eqeqeq': 0,
|
|
65
|
-
// 可以使用!! 双重否定
|
|
66
|
-
'no-extra-boolean-cast': 'off'
|
|
67
|
-
},
|
|
68
|
-
parserOptions: {
|
|
69
|
-
parser: 'babel-eslint'
|
|
70
|
-
},
|
|
71
|
-
overrides: [
|
|
72
|
-
{
|
|
73
|
-
files: [
|
|
74
|
-
'**/__tests__/*.{j,t}s?(x)',
|
|
75
|
-
'**/tests/unit/**/*.spec.{j,t}s?(x)'
|
|
76
|
-
],
|
|
77
|
-
env: {
|
|
78
|
-
jest: true
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
node: true
|
|
5
|
+
},
|
|
6
|
+
'extends': [
|
|
7
|
+
'plugin:vue/essential',
|
|
8
|
+
'plugin:vue/strongly-recommended',
|
|
9
|
+
'@vue/standard'
|
|
10
|
+
],
|
|
11
|
+
rules: {
|
|
12
|
+
'comma-dangle': 'off',
|
|
13
|
+
'no-console': 'off',
|
|
14
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
15
|
+
'generator-star-spacing': 'off',
|
|
16
|
+
'no-mixed-operators': 0,
|
|
17
|
+
'vue/max-attributes-per-line': [
|
|
18
|
+
2,
|
|
19
|
+
{
|
|
20
|
+
'singleline': 5,
|
|
21
|
+
'multiline': {
|
|
22
|
+
'max': 1,
|
|
23
|
+
'allowFirstLine': false
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
'vue/attribute-hyphenation': 0,
|
|
28
|
+
'vue/html-self-closing': 0,
|
|
29
|
+
'vue/component-name-in-template-casing': 0,
|
|
30
|
+
'vue/html-closing-bracket-spacing': 0,
|
|
31
|
+
'vue/singleline-html-element-content-newline': 0,
|
|
32
|
+
'vue/no-unused-components': 0,
|
|
33
|
+
'vue/multiline-html-element-content-newline': 0,
|
|
34
|
+
'vue/no-use-v-if-with-v-for': 0,
|
|
35
|
+
'vue/html-closing-bracket-newline': 0,
|
|
36
|
+
'vue/no-parsing-error': 0,
|
|
37
|
+
'vue/name-property-casing': 0,
|
|
38
|
+
'no-tabs': 0,
|
|
39
|
+
'quotes': [
|
|
40
|
+
2,
|
|
41
|
+
'single',
|
|
42
|
+
{
|
|
43
|
+
'avoidEscape': true,
|
|
44
|
+
'allowTemplateLiterals': true
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
'semi': [
|
|
48
|
+
2,
|
|
49
|
+
'never',
|
|
50
|
+
{
|
|
51
|
+
'beforeStatementContinuationChars': 'never'
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
'no-delete-var': 2,
|
|
55
|
+
'prefer-const': [
|
|
56
|
+
2,
|
|
57
|
+
{
|
|
58
|
+
'ignoreReadBeforeAssign': false
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
'template-curly-spacing': 'off',
|
|
62
|
+
'indent': 'off',
|
|
63
|
+
// 必须使用全等: false
|
|
64
|
+
'eqeqeq': 0,
|
|
65
|
+
// 可以使用!! 双重否定
|
|
66
|
+
'no-extra-boolean-cast': 'off'
|
|
67
|
+
},
|
|
68
|
+
parserOptions: {
|
|
69
|
+
parser: 'babel-eslint'
|
|
70
|
+
},
|
|
71
|
+
overrides: [
|
|
72
|
+
{
|
|
73
|
+
files: [
|
|
74
|
+
'**/__tests__/*.{j,t}s?(x)',
|
|
75
|
+
'**/tests/unit/**/*.spec.{j,t}s?(x)'
|
|
76
|
+
],
|
|
77
|
+
env: {
|
|
78
|
+
jest: true
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue2-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.75",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -11,77 +11,77 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
13
13
|
"@antv/data-set": "^0.11.4",
|
|
14
|
-
"@antv/f2": "^3.
|
|
15
|
-
"@antv/g2plot": "^2.
|
|
16
|
-
"@logicflow/core": "^1.1.
|
|
17
|
-
"@logicflow/extension": "^1.1.
|
|
14
|
+
"@antv/f2": "^3.8.11",
|
|
15
|
+
"@antv/g2plot": "^2.4.19",
|
|
16
|
+
"@logicflow/core": "^1.1.20",
|
|
17
|
+
"@logicflow/extension": "^1.1.20",
|
|
18
18
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
|
|
19
19
|
"@vue/babel-preset-jsx": "^1.2.4",
|
|
20
|
-
"animate.css": "^4.1.
|
|
20
|
+
"animate.css": "^4.1.1",
|
|
21
21
|
"ant-design-vue": "1.7.8",
|
|
22
|
-
"axios": "^0.
|
|
23
|
-
"clipboard": "^2.0.
|
|
24
|
-
"core-js": "^3.
|
|
25
|
-
"date-fns": "^2.
|
|
22
|
+
"axios": "^0.27.2",
|
|
23
|
+
"clipboard": "^2.0.11",
|
|
24
|
+
"core-js": "^3.23.1",
|
|
25
|
+
"date-fns": "^2.28.0",
|
|
26
26
|
"default-passive-events": "^2.0.0",
|
|
27
27
|
"enquire.js": "^2.1.6",
|
|
28
28
|
"file-saver": "^2.0.5",
|
|
29
|
-
"highlight.js": "^10.
|
|
29
|
+
"highlight.js": "^10.7.3",
|
|
30
30
|
"js-cookie": "^2.2.1",
|
|
31
|
-
"jsencrypt": "^3.
|
|
31
|
+
"jsencrypt": "^3.2.1",
|
|
32
32
|
"lodash.get": "^4.4.2",
|
|
33
33
|
"mockjs": "^1.1.0",
|
|
34
34
|
"nprogress": "^0.2.0",
|
|
35
35
|
"viser-vue": "^2.4.8",
|
|
36
|
-
"vue": "^2.6.
|
|
37
|
-
"vue-i18n": "^8.
|
|
38
|
-
"vue-json-viewer": "^2.2.15",
|
|
36
|
+
"vue": "^2.6.14",
|
|
37
|
+
"vue-i18n": "^8.27.1",
|
|
39
38
|
"vue-infinite-scroll": "^2.0.2",
|
|
40
|
-
"vue-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
39
|
+
"vue-json-viewer": "^2.2.22",
|
|
40
|
+
"vue-router": "^3.5.4",
|
|
41
|
+
"vuedraggable": "^2.24.3",
|
|
42
|
+
"vuex": "^3.6.2",
|
|
43
|
+
"xlsx": "0.18.5"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@ant-design/colors": "^4.0.
|
|
47
|
-
"@vue/cli-plugin-babel": "^4.
|
|
48
|
-
"@vue/cli-plugin-eslint": "^4.
|
|
49
|
-
"@vue/cli-plugin-router": "^4.
|
|
50
|
-
"@vue/cli-plugin-unit-jest": "~5.0.
|
|
51
|
-
"@vue/cli-plugin-vuex": "^4.
|
|
52
|
-
"@vue/cli-service": "^4.
|
|
46
|
+
"@ant-design/colors": "^4.0.5",
|
|
47
|
+
"@vue/cli-plugin-babel": "^4.5.18",
|
|
48
|
+
"@vue/cli-plugin-eslint": "^4.5.18",
|
|
49
|
+
"@vue/cli-plugin-router": "^4.5.18",
|
|
50
|
+
"@vue/cli-plugin-unit-jest": "~5.0.6",
|
|
51
|
+
"@vue/cli-plugin-vuex": "^4.5.18",
|
|
52
|
+
"@vue/cli-service": "^4.5.18",
|
|
53
53
|
"@vue/eslint-config-standard": "^4.0.0",
|
|
54
|
-
"@vue/test-utils": "^1.
|
|
55
|
-
"@vue/vue2-jest": "^
|
|
56
|
-
"@vuepress/plugin-back-to-top": "^1.
|
|
54
|
+
"@vue/test-utils": "^1.3.0",
|
|
55
|
+
"@vue/vue2-jest": "^28.0.0",
|
|
56
|
+
"@vuepress/plugin-back-to-top": "^1.9.7",
|
|
57
57
|
"babel-eslint": "^10.1.0",
|
|
58
|
-
"babel-jest": "^
|
|
58
|
+
"babel-jest": "^28.1.1",
|
|
59
59
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
60
60
|
"babel-polyfill": "^6.26.0",
|
|
61
|
-
"compression-webpack-plugin": "^
|
|
61
|
+
"compression-webpack-plugin": "^4.0.1",
|
|
62
62
|
"deepmerge": "^4.2.2",
|
|
63
|
-
"echarts": "^
|
|
64
|
-
"eslint": "^6.
|
|
65
|
-
"eslint-plugin-import": "^2.
|
|
63
|
+
"echarts": "^5.3.3",
|
|
64
|
+
"eslint": "^6.8.0",
|
|
65
|
+
"eslint-plugin-import": "^2.26.0",
|
|
66
66
|
"eslint-plugin-node": "^11.1.0",
|
|
67
67
|
"eslint-plugin-standard": "^5.0.0",
|
|
68
68
|
"eslint-plugin-vue": "^6.2.2",
|
|
69
69
|
"fast-deep-equal": "^3.1.3",
|
|
70
|
-
"gh-pages": "^3.
|
|
71
|
-
"jest": "^
|
|
72
|
-
"less-loader": "^6.
|
|
73
|
-
"react-bmap": "^1.0.
|
|
70
|
+
"gh-pages": "^3.2.3",
|
|
71
|
+
"jest": "^28.1.1",
|
|
72
|
+
"less-loader": "^6.2.0",
|
|
73
|
+
"react-bmap": "^1.0.130",
|
|
74
74
|
"script-loader": "^0.7.2",
|
|
75
|
-
"style-resources-loader": "^1.
|
|
75
|
+
"style-resources-loader": "^1.5.0",
|
|
76
76
|
"vue-amap": "^0.5.10",
|
|
77
77
|
"vue-baidu-map": "^0.21.22",
|
|
78
|
-
"vue-bmap-gl": "0.0.
|
|
79
|
-
"vue-cli-plugin-style-resources-loader": "^0.1.
|
|
80
|
-
"vue-mapvgl": "0.0.
|
|
81
|
-
"vue-template-compiler": "^2.6.
|
|
82
|
-
"vuepress": "^1.
|
|
83
|
-
"webpack-theme-color-replacer": "1.
|
|
84
|
-
"whatwg-fetch": "^3.
|
|
78
|
+
"vue-bmap-gl": "0.0.30",
|
|
79
|
+
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
80
|
+
"vue-mapvgl": "0.0.34",
|
|
81
|
+
"vue-template-compiler": "^2.6.14",
|
|
82
|
+
"vuepress": "^1.9.7",
|
|
83
|
+
"webpack-theme-color-replacer": "1.4.1",
|
|
84
|
+
"whatwg-fetch": "^3.6.2"
|
|
85
85
|
},
|
|
86
86
|
"browserslist": [
|
|
87
87
|
"> 1%",
|