vue2-client 1.2.35 → 1.2.36

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.
Files changed (27) hide show
  1. package/.eslintrc.js +82 -82
  2. package/CHANGELOG.md +10 -0
  3. package/package.json +1 -1
  4. package/src/base-client/all.js +59 -59
  5. package/src/base-client/components/common/CreateQuery/CreateQuery.vue +1342 -1335
  6. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +752 -752
  7. package/src/base-client/components/common/Upload/Upload.vue +124 -124
  8. package/src/base-client/components/common/Upload/index.js +3 -3
  9. package/src/base-client/components/common/XAddForm/XAddForm.vue +338 -338
  10. package/src/base-client/components/common/XForm/XFormItem.vue +280 -280
  11. package/src/base-client/components/common/XFormTable/XFormTable.vue +484 -484
  12. package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsException.vue +57 -57
  13. package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsRead.vue +131 -131
  14. package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
  15. package/src/config/config.js +2 -0
  16. package/src/config/default/setting.config.js +34 -34
  17. package/src/layouts/AdminLayout.vue +2 -2
  18. package/src/layouts/tabs/TabsView.vue +6 -0
  19. package/src/pages/login/Login.vue +198 -198
  20. package/src/pages/resourceManage/resourceManageMain.vue +0 -1
  21. package/src/pages/system/ticket/index.vue +440 -440
  22. package/src/router/async/config.async.js +26 -26
  23. package/src/router/async/router.map.js +59 -59
  24. package/src/router/index.js +27 -27
  25. package/src/services/api/restTools.js +24 -24
  26. package/src/utils/request.js +198 -198
  27. package/vue.config.js +27 -27
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,16 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
+ **##1.2.36 -2022-04-21 @张振宇**
5
+ - `CreateQuery.vue` 还原不小心删除的内容
6
+ - `CreateQuery.vue` 调整v_if的位置
7
+
8
+ **##1.2.36 -2022-04-21 @苗艳强**
9
+ - 样式修改:
10
+ - 修正了一处布局问题
11
+ - 布局配置:
12
+ - 默认开启 TabsHead 固定位置
13
+
4
14
  **##1.2.35 -2022-04-13 @江超**
5
15
  - 功能修改:
6
16
  - [工单提交] 页面不再需要登录,而是通过路径传参获取信息
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.2.35",
3
+ "version": "1.2.36",
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)