vue2-client 1.2.34 → 1.2.35

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/.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
@@ -1,6 +1,11 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
+ **##1.2.35 -2022-04-13 @江超**
5
+ - 功能修改:
6
+ - [工单提交] 页面不再需要登录,而是通过路径传参获取信息
7
+ - 生成环境不再使用CDN加速
8
+
4
9
  **##1.2.34 -2022-04-11 @张振宇**
5
10
  - 功能修改:
6
11
  - 文件上传组件完善
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.2.34",
3
+ "version": "1.2.35",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1,59 +1,59 @@
1
- import Vue from 'vue'
2
-
3
- import CustomColumnsDrawer from '@vue2-client/base-client/components/common/CustomColumnsDrawer'
4
- import InstructDetailsView from '@vue2-client/base-client/components/iot/InstructDetailsView'
5
- import MeterDetailsView from '@vue2-client/base-client/components/iot/MeterDetailsView'
6
- import CustomerDetailsView from '@vue2-client/base-client/components/iot/CustomerDetailsView'
7
- import LogDetailsView from '@vue2-client/base-client/components/iot/LogDetailsView'
8
- import WebmeterAnalysisView from '@vue2-client/base-client/components/iot/WebmeterAnalysisView'
9
- import XCard from '@vue2-client/base-client/components/common/XCard/XCard'
10
- import XFormCol from '@vue2-client/base-client/components/common/XFormCol'
11
- import XBadge from '@vue2-client/base-client/components/common/XBadge'
12
- import DataAnalysisView from '@vue2-client/base-client/components/iot/DataAnalysisView'
13
- import DataAnalysisUser from '@vue2-client/base-client/components/iot/DataAnalysisUser'
14
- import SrcollList from '@vue2-client/base-client/components/common/ScrollList'
15
- import DeviceTypeDetailsView from '@vue2-client/base-client/components/iot/DeviceTypeDetailsView'
16
- import DeviceBrandDetailsView from '@vue2-client/base-client/components/iot/DeviceBrandDetailsView'
17
- import DictionaryDetailsView from '@vue2-client/base-client/components/system/DictionaryDetailsView'
18
- import QueryParamsDetailsView from '@vue2-client/base-client/components/system/QueryParamsDetailsView'
19
- import DeviceDetailsView from '@vue2-client/base-client/components/iot/DeviceDetailsView'
20
- import TicketDetailsView from '@vue2-client/base-client/components/ticket/TicketDetailsView'
21
- import EmployeeDetailsView from '@vue2-client/base-client/components/ticket/EmployeeDetailsView'
22
- import submitTicketSuccess from '@vue2-client/base-client/components/ticket/TicketSubmitSuccessView'
23
- import CreateQuery from '@vue2-client/base-client/components/common/CreateQuery'
24
- import CreateSimpleFormQuery from '@vue2-client/base-client/components/common/CreateSimpleFormQuery'
25
- import FormGroupQuery from '@vue2-client/base-client/components/common/FormGroupQuery'
26
- import FormGroupEdit from '@vue2-client/base-client/components/common/FormGroupEdit'
27
- import JSONToTree from '@vue2-client/base-client/components/common/JSONToTree'
28
- import Upload from '@vue2-client/base-client/components/common/Upload'
29
-
30
- // 插件
31
- import Plugins from '@vue2-client/base-client/plugins'
32
- Vue.use(Plugins)
33
-
34
- Vue.component('custom-columns-drawer', CustomColumnsDrawer)
35
- Vue.component('InstructDetailsView', InstructDetailsView)
36
- Vue.component('MeterDetailsView', MeterDetailsView)
37
- Vue.component('CustomerDetailsView', CustomerDetailsView)
38
- Vue.component('LogDetailsView', LogDetailsView)
39
- Vue.component('WebmeterAnalysisView', WebmeterAnalysisView)
40
- Vue.component('XCard', XCard)
41
- Vue.component('XBadge', XBadge)
42
- Vue.component('XFormCol', XFormCol)
43
- Vue.component('DataAnalysisView', DataAnalysisView)
44
- Vue.component('DataAnalysisUser', DataAnalysisUser)
45
- Vue.component('SrcollList', SrcollList)
46
- Vue.component('DeviceTypeDetailsView', DeviceTypeDetailsView)
47
- Vue.component('DeviceBrandDetailsView', DeviceBrandDetailsView)
48
- Vue.component('DeviceDetailsView', DeviceDetailsView)
49
- Vue.component('DictionaryDetailsView', DictionaryDetailsView)
50
- Vue.component('QueryParamsDetailsView', QueryParamsDetailsView)
51
- Vue.component('TicketDetailsView', TicketDetailsView)
52
- Vue.component('EmployeeDetailsView', EmployeeDetailsView)
53
- Vue.component('submitTicketSuccess', submitTicketSuccess)
54
- Vue.component('CreateQuery', CreateQuery)
55
- Vue.component('CreateSimpleFormQuery', CreateSimpleFormQuery)
56
- Vue.component('FormGroupQuery', FormGroupQuery)
57
- Vue.component('FormGroupEdit', FormGroupEdit)
58
- Vue.component('JSONToTree', JSONToTree)
59
- Vue.component('Upload', Upload)
1
+ import Vue from 'vue'
2
+
3
+ import CustomColumnsDrawer from '@vue2-client/base-client/components/common/CustomColumnsDrawer'
4
+ import InstructDetailsView from '@vue2-client/base-client/components/iot/InstructDetailsView'
5
+ import MeterDetailsView from '@vue2-client/base-client/components/iot/MeterDetailsView'
6
+ import CustomerDetailsView from '@vue2-client/base-client/components/iot/CustomerDetailsView'
7
+ import LogDetailsView from '@vue2-client/base-client/components/iot/LogDetailsView'
8
+ import WebmeterAnalysisView from '@vue2-client/base-client/components/iot/WebmeterAnalysisView'
9
+ import XCard from '@vue2-client/base-client/components/common/XCard/XCard'
10
+ import XFormCol from '@vue2-client/base-client/components/common/XFormCol'
11
+ import XBadge from '@vue2-client/base-client/components/common/XBadge'
12
+ import DataAnalysisView from '@vue2-client/base-client/components/iot/DataAnalysisView'
13
+ import DataAnalysisUser from '@vue2-client/base-client/components/iot/DataAnalysisUser'
14
+ import SrcollList from '@vue2-client/base-client/components/common/ScrollList'
15
+ import DeviceTypeDetailsView from '@vue2-client/base-client/components/iot/DeviceTypeDetailsView'
16
+ import DeviceBrandDetailsView from '@vue2-client/base-client/components/iot/DeviceBrandDetailsView'
17
+ import DictionaryDetailsView from '@vue2-client/base-client/components/system/DictionaryDetailsView'
18
+ import QueryParamsDetailsView from '@vue2-client/base-client/components/system/QueryParamsDetailsView'
19
+ import DeviceDetailsView from '@vue2-client/base-client/components/iot/DeviceDetailsView'
20
+ import TicketDetailsView from '@vue2-client/base-client/components/ticket/TicketDetailsView'
21
+ import EmployeeDetailsView from '@vue2-client/base-client/components/ticket/EmployeeDetailsView'
22
+ import submitTicketSuccess from '@vue2-client/base-client/components/ticket/TicketSubmitSuccessView'
23
+ import CreateQuery from '@vue2-client/base-client/components/common/CreateQuery'
24
+ import CreateSimpleFormQuery from '@vue2-client/base-client/components/common/CreateSimpleFormQuery'
25
+ import FormGroupQuery from '@vue2-client/base-client/components/common/FormGroupQuery'
26
+ import FormGroupEdit from '@vue2-client/base-client/components/common/FormGroupEdit'
27
+ import JSONToTree from '@vue2-client/base-client/components/common/JSONToTree'
28
+ import Upload from '@vue2-client/base-client/components/common/Upload'
29
+
30
+ // 插件
31
+ import Plugins from '@vue2-client/base-client/plugins'
32
+ Vue.use(Plugins)
33
+
34
+ Vue.component('custom-columns-drawer', CustomColumnsDrawer)
35
+ Vue.component('InstructDetailsView', InstructDetailsView)
36
+ Vue.component('MeterDetailsView', MeterDetailsView)
37
+ Vue.component('CustomerDetailsView', CustomerDetailsView)
38
+ Vue.component('LogDetailsView', LogDetailsView)
39
+ Vue.component('WebmeterAnalysisView', WebmeterAnalysisView)
40
+ Vue.component('XCard', XCard)
41
+ Vue.component('XBadge', XBadge)
42
+ Vue.component('XFormCol', XFormCol)
43
+ Vue.component('DataAnalysisView', DataAnalysisView)
44
+ Vue.component('DataAnalysisUser', DataAnalysisUser)
45
+ Vue.component('SrcollList', SrcollList)
46
+ Vue.component('DeviceTypeDetailsView', DeviceTypeDetailsView)
47
+ Vue.component('DeviceBrandDetailsView', DeviceBrandDetailsView)
48
+ Vue.component('DeviceDetailsView', DeviceDetailsView)
49
+ Vue.component('DictionaryDetailsView', DictionaryDetailsView)
50
+ Vue.component('QueryParamsDetailsView', QueryParamsDetailsView)
51
+ Vue.component('TicketDetailsView', TicketDetailsView)
52
+ Vue.component('EmployeeDetailsView', EmployeeDetailsView)
53
+ Vue.component('submitTicketSuccess', submitTicketSuccess)
54
+ Vue.component('CreateQuery', CreateQuery)
55
+ Vue.component('CreateSimpleFormQuery', CreateSimpleFormQuery)
56
+ Vue.component('FormGroupQuery', FormGroupQuery)
57
+ Vue.component('FormGroupEdit', FormGroupEdit)
58
+ Vue.component('JSONToTree', JSONToTree)
59
+ Vue.component('Upload', Upload)