vue2-client 1.2.102 → 1.2.103
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 +249 -246
- package/package.json +92 -92
- package/src/base-client/all.js +66 -66
- 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 +547 -547
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +778 -778
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +310 -310
- package/src/base-client/components/common/PersonSetting/PersonSetting.vue +210 -210
- package/src/base-client/components/common/PersonSetting/index.js +3 -3
- package/src/base-client/components/common/Upload/Upload.vue +157 -157
- package/src/base-client/components/common/Upload/index.js +3 -3
- package/src/base-client/components/common/XAddForm/XAddForm.vue +349 -349
- 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 +371 -371
- package/src/base-client/components/common/XFormTable/XFormTable.vue +507 -507
- package/src/base-client/components/iot/WebmeterAnalysisView/WebmeterAnalysisView.vue +960 -960
- package/src/config/CreateQueryConfig.js +307 -307
- package/src/layouts/header/HeaderNotice.vue +199 -199
- package/src/layouts/header/InstitutionDetail.vue +177 -177
- package/src/router/async/router.map.js +60 -60
- package/src/services/api/WebmeterAnalysisViewApi.js +24 -24
- package/src/services/api/manage.js +16 -16
- package/src/services/api/restTools.js +24 -24
- package/vue.config.js +163 -163
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
|
+
}
|