vue2-client 1.2.117 → 1.3.0
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/CHANGELOG.md +300 -287
- package/package.json +76 -76
- package/src/base-client/all.js +62 -62
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +551 -547
- package/src/base-client/components/common/XCard/XCard.vue +64 -64
- package/src/base-client/components/common/XFormTable/XFormTable.vue +503 -514
- package/src/base-client/components/common/XFormTable/index.md +96 -96
- package/src/base-client/components/iot/DeviceDetailsView/DeviceDetailsView.vue +232 -232
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsCount.vue +678 -678
- 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/InstructDetailsView/InstructDetailsView.vue +464 -461
- package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
- package/src/base-client/plugins/AppData.js +71 -71
- package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
- package/src/pages/login/Login.vue +277 -277
- package/src/pages/resourceManage/orgListManage.vue +98 -98
- package/src/router/async/config.async.js +26 -26
- package/src/router/index.js +27 -27
- package/src/services/api/common.js +58 -58
- package/src/services/api/index.js +39 -39
- package/src/services/api/iot/DeviceDetailsView/DeviceDetailsCountApi.js +18 -18
- package/src/store/mutation-types.js +2 -2
- package/src/theme/default/style.less +47 -47
- package/src/utils/request.js +225 -225
- package/src/utils/util.js +230 -230
package/package.json
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue2-client",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"serve": "vue-cli-service serve",
|
|
7
|
-
"build": "vue-cli-service build",
|
|
8
|
-
"test:unit": "vue-cli-service test:unit",
|
|
9
|
-
"lint": "vue-cli-service lint"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
13
|
-
"@antv/g2plot": "^2.4.20",
|
|
14
|
-
"lodash.get": "^4.4.2",
|
|
15
|
-
"js-base64": "^3.7.2",
|
|
16
|
-
"jsencrypt": "^3.2.1",
|
|
17
|
-
"vue-json-viewer": "^2.2.22",
|
|
18
|
-
"xlsx": "0.18.5",
|
|
19
|
-
"file-saver": "^2.0.5",
|
|
20
|
-
"@vue/babel-preset-jsx": "^1.4.0",
|
|
21
|
-
"@antv/data-set": "^0.11.8",
|
|
22
|
-
"animate.css": "^4.1.1",
|
|
23
|
-
"ant-design-vue": "^1.7.8",
|
|
24
|
-
"axios": "^0.27.2",
|
|
25
|
-
"clipboard": "^2.0.11",
|
|
26
|
-
"core-js": "^3.23.5",
|
|
27
|
-
"date-fns": "^2.28.0",
|
|
28
|
-
"default-passive-events": "^2.0.0",
|
|
29
|
-
"enquire.js": "^2.1.6",
|
|
30
|
-
"highlight.js": "^10.7.3",
|
|
31
|
-
"js-cookie": "^2.2.1",
|
|
32
|
-
"mockjs": "^1.1.0",
|
|
33
|
-
"nprogress": "^0.2.0",
|
|
34
|
-
"viser-vue": "^2.4.8",
|
|
35
|
-
"vue": "2.6.14",
|
|
36
|
-
"vue-i18n": "^8.27.2",
|
|
37
|
-
"vue-router": "^3.5.4",
|
|
38
|
-
"vuedraggable": "^2.24.3",
|
|
39
|
-
"vuex": "^3.6.2"
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"script-loader": "^0.7.2",
|
|
43
|
-
"@ant-design/colors": "^4.0.5",
|
|
44
|
-
"@babel/core": "^7.18.10",
|
|
45
|
-
"@vue/cli-plugin-babel": "^4.5.19",
|
|
46
|
-
"@vue/cli-plugin-eslint": "^4.5.19",
|
|
47
|
-
"@vue/cli-service": "^4.5.19",
|
|
48
|
-
"@vue/eslint-config-standard": "^4.0.0",
|
|
49
|
-
"@vuepress/plugin-back-to-top": "^1.9.7",
|
|
50
|
-
"babel-eslint": "^10.1.0",
|
|
51
|
-
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
52
|
-
"babel-polyfill": "^6.26.0",
|
|
53
|
-
"compression-webpack-plugin": "^4.0.1",
|
|
54
|
-
"deepmerge": "^4.2.2",
|
|
55
|
-
"eslint": "^6.8.0",
|
|
56
|
-
"eslint-plugin-import": "^2.26.0",
|
|
57
|
-
"eslint-plugin-node": "^11.1.0",
|
|
58
|
-
"eslint-plugin-vue": "^6.2.2",
|
|
59
|
-
"eslint-plugin-promise": "^4.3.1",
|
|
60
|
-
"eslint-plugin-standard": "^4.1.0",
|
|
61
|
-
"fast-deep-equal": "^3.1.3",
|
|
62
|
-
"less-loader": "^6.2.0",
|
|
63
|
-
"style-resources-loader": "^1.5.0",
|
|
64
|
-
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
65
|
-
"vue-template-compiler": "2.6.14",
|
|
66
|
-
"vuepress": "^1.9.7",
|
|
67
|
-
"webpack": "^4.46.0",
|
|
68
|
-
"webpack-theme-color-replacer": "1.4.1",
|
|
69
|
-
"whatwg-fetch": "^3.6.2"
|
|
70
|
-
},
|
|
71
|
-
"browserslist": [
|
|
72
|
-
"> 1%",
|
|
73
|
-
"last 2 versions",
|
|
74
|
-
"not ie <= 10"
|
|
75
|
-
]
|
|
76
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vue2-client",
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"serve": "vue-cli-service serve",
|
|
7
|
+
"build": "vue-cli-service build",
|
|
8
|
+
"test:unit": "vue-cli-service test:unit",
|
|
9
|
+
"lint": "vue-cli-service lint"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
13
|
+
"@antv/g2plot": "^2.4.20",
|
|
14
|
+
"lodash.get": "^4.4.2",
|
|
15
|
+
"js-base64": "^3.7.2",
|
|
16
|
+
"jsencrypt": "^3.2.1",
|
|
17
|
+
"vue-json-viewer": "^2.2.22",
|
|
18
|
+
"xlsx": "0.18.5",
|
|
19
|
+
"file-saver": "^2.0.5",
|
|
20
|
+
"@vue/babel-preset-jsx": "^1.4.0",
|
|
21
|
+
"@antv/data-set": "^0.11.8",
|
|
22
|
+
"animate.css": "^4.1.1",
|
|
23
|
+
"ant-design-vue": "^1.7.8",
|
|
24
|
+
"axios": "^0.27.2",
|
|
25
|
+
"clipboard": "^2.0.11",
|
|
26
|
+
"core-js": "^3.23.5",
|
|
27
|
+
"date-fns": "^2.28.0",
|
|
28
|
+
"default-passive-events": "^2.0.0",
|
|
29
|
+
"enquire.js": "^2.1.6",
|
|
30
|
+
"highlight.js": "^10.7.3",
|
|
31
|
+
"js-cookie": "^2.2.1",
|
|
32
|
+
"mockjs": "^1.1.0",
|
|
33
|
+
"nprogress": "^0.2.0",
|
|
34
|
+
"viser-vue": "^2.4.8",
|
|
35
|
+
"vue": "2.6.14",
|
|
36
|
+
"vue-i18n": "^8.27.2",
|
|
37
|
+
"vue-router": "^3.5.4",
|
|
38
|
+
"vuedraggable": "^2.24.3",
|
|
39
|
+
"vuex": "^3.6.2"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"script-loader": "^0.7.2",
|
|
43
|
+
"@ant-design/colors": "^4.0.5",
|
|
44
|
+
"@babel/core": "^7.18.10",
|
|
45
|
+
"@vue/cli-plugin-babel": "^4.5.19",
|
|
46
|
+
"@vue/cli-plugin-eslint": "^4.5.19",
|
|
47
|
+
"@vue/cli-service": "^4.5.19",
|
|
48
|
+
"@vue/eslint-config-standard": "^4.0.0",
|
|
49
|
+
"@vuepress/plugin-back-to-top": "^1.9.7",
|
|
50
|
+
"babel-eslint": "^10.1.0",
|
|
51
|
+
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
52
|
+
"babel-polyfill": "^6.26.0",
|
|
53
|
+
"compression-webpack-plugin": "^4.0.1",
|
|
54
|
+
"deepmerge": "^4.2.2",
|
|
55
|
+
"eslint": "^6.8.0",
|
|
56
|
+
"eslint-plugin-import": "^2.26.0",
|
|
57
|
+
"eslint-plugin-node": "^11.1.0",
|
|
58
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
59
|
+
"eslint-plugin-promise": "^4.3.1",
|
|
60
|
+
"eslint-plugin-standard": "^4.1.0",
|
|
61
|
+
"fast-deep-equal": "^3.1.3",
|
|
62
|
+
"less-loader": "^6.2.0",
|
|
63
|
+
"style-resources-loader": "^1.5.0",
|
|
64
|
+
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
65
|
+
"vue-template-compiler": "2.6.14",
|
|
66
|
+
"vuepress": "^1.9.7",
|
|
67
|
+
"webpack": "^4.46.0",
|
|
68
|
+
"webpack-theme-color-replacer": "1.4.1",
|
|
69
|
+
"whatwg-fetch": "^3.6.2"
|
|
70
|
+
},
|
|
71
|
+
"browserslist": [
|
|
72
|
+
"> 1%",
|
|
73
|
+
"last 2 versions",
|
|
74
|
+
"not ie <= 10"
|
|
75
|
+
]
|
|
76
|
+
}
|
package/src/base-client/all.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
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 DataAnalysisUser from '@vue2-client/base-client/components/iot/DataAnalysisUser'
|
|
13
|
-
import AmapPointRendering from '@vue2-client/base-client/components/common/AmapMarker'
|
|
14
|
-
import DeviceTypeDetailsView from '@vue2-client/base-client/components/iot/DeviceTypeDetailsView'
|
|
15
|
-
import DeviceBrandDetailsView from '@vue2-client/base-client/components/iot/DeviceBrandDetailsView'
|
|
16
|
-
import DictionaryDetailsView from '@vue2-client/base-client/components/system/DictionaryDetailsView'
|
|
17
|
-
import QueryParamsDetailsView from '@vue2-client/base-client/components/system/QueryParamsDetailsView'
|
|
18
|
-
import DeviceDetailsView from '@vue2-client/base-client/components/iot/DeviceDetailsView'
|
|
19
|
-
import TicketDetailsView from '@vue2-client/base-client/components/ticket/TicketDetailsView'
|
|
20
|
-
import EmployeeDetailsView from '@vue2-client/base-client/components/ticket/EmployeeDetailsView'
|
|
21
|
-
import submitTicketSuccess from '@vue2-client/base-client/components/ticket/TicketSubmitSuccessView'
|
|
22
|
-
import CreateQuery from '@vue2-client/base-client/components/common/CreateQuery'
|
|
23
|
-
import CreateSimpleFormQuery from '@vue2-client/base-client/components/common/CreateSimpleFormQuery'
|
|
24
|
-
import FormGroupQuery from '@vue2-client/base-client/components/common/FormGroupQuery'
|
|
25
|
-
import FormGroupEdit from '@vue2-client/base-client/components/common/FormGroupEdit'
|
|
26
|
-
import JSONToTree from '@vue2-client/base-client/components/common/JSONToTree'
|
|
27
|
-
import Upload from '@vue2-client/base-client/components/common/Upload'
|
|
28
|
-
import AddressSearchCombobox from '@vue2-client/base-client/components/common/AddressSearchCombobox'
|
|
29
|
-
import CitySelect from '@vue2-client/base-client/components/common/CitySelect'
|
|
30
|
-
import PersonSetting from '@vue2-client/base-client/components/common/PersonSetting'
|
|
31
|
-
// 插件
|
|
32
|
-
import Plugins from '@vue2-client/base-client/plugins'
|
|
33
|
-
Vue.use(Plugins)
|
|
34
|
-
|
|
35
|
-
Vue.component('custom-columns-drawer', CustomColumnsDrawer)
|
|
36
|
-
Vue.component('InstructDetailsView', InstructDetailsView)
|
|
37
|
-
Vue.component('MeterDetailsView', MeterDetailsView)
|
|
38
|
-
Vue.component('CustomerDetailsView', CustomerDetailsView)
|
|
39
|
-
Vue.component('LogDetailsView', LogDetailsView)
|
|
40
|
-
Vue.component('WebmeterAnalysisView', WebmeterAnalysisView)
|
|
41
|
-
Vue.component('XCard', XCard)
|
|
42
|
-
Vue.component('XBadge', XBadge)
|
|
43
|
-
Vue.component('XFormCol', XFormCol)
|
|
44
|
-
Vue.component('DataAnalysisUser', DataAnalysisUser)
|
|
45
|
-
Vue.component('DeviceTypeDetailsView', DeviceTypeDetailsView)
|
|
46
|
-
Vue.component('DeviceBrandDetailsView', DeviceBrandDetailsView)
|
|
47
|
-
Vue.component('DeviceDetailsView', DeviceDetailsView)
|
|
48
|
-
Vue.component('DictionaryDetailsView', DictionaryDetailsView)
|
|
49
|
-
Vue.component('QueryParamsDetailsView', QueryParamsDetailsView)
|
|
50
|
-
Vue.component('TicketDetailsView', TicketDetailsView)
|
|
51
|
-
Vue.component('EmployeeDetailsView', EmployeeDetailsView)
|
|
52
|
-
Vue.component('submitTicketSuccess', submitTicketSuccess)
|
|
53
|
-
Vue.component('CreateQuery', CreateQuery)
|
|
54
|
-
Vue.component('CreateSimpleFormQuery', CreateSimpleFormQuery)
|
|
55
|
-
Vue.component('FormGroupQuery', FormGroupQuery)
|
|
56
|
-
Vue.component('FormGroupEdit', FormGroupEdit)
|
|
57
|
-
Vue.component('JSONToTree', JSONToTree)
|
|
58
|
-
Vue.component('Upload', Upload)
|
|
59
|
-
Vue.component('AmapPointRendering', AmapPointRendering)
|
|
60
|
-
Vue.component('AddressSearchCombobox', AddressSearchCombobox)
|
|
61
|
-
Vue.component('CitySelect', CitySelect)
|
|
62
|
-
Vue.component('PersonSetting', PersonSetting)
|
|
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 DataAnalysisUser from '@vue2-client/base-client/components/iot/DataAnalysisUser'
|
|
13
|
+
import AmapPointRendering from '@vue2-client/base-client/components/common/AmapMarker'
|
|
14
|
+
import DeviceTypeDetailsView from '@vue2-client/base-client/components/iot/DeviceTypeDetailsView'
|
|
15
|
+
import DeviceBrandDetailsView from '@vue2-client/base-client/components/iot/DeviceBrandDetailsView'
|
|
16
|
+
import DictionaryDetailsView from '@vue2-client/base-client/components/system/DictionaryDetailsView'
|
|
17
|
+
import QueryParamsDetailsView from '@vue2-client/base-client/components/system/QueryParamsDetailsView'
|
|
18
|
+
import DeviceDetailsView from '@vue2-client/base-client/components/iot/DeviceDetailsView'
|
|
19
|
+
import TicketDetailsView from '@vue2-client/base-client/components/ticket/TicketDetailsView'
|
|
20
|
+
import EmployeeDetailsView from '@vue2-client/base-client/components/ticket/EmployeeDetailsView'
|
|
21
|
+
import submitTicketSuccess from '@vue2-client/base-client/components/ticket/TicketSubmitSuccessView'
|
|
22
|
+
import CreateQuery from '@vue2-client/base-client/components/common/CreateQuery'
|
|
23
|
+
import CreateSimpleFormQuery from '@vue2-client/base-client/components/common/CreateSimpleFormQuery'
|
|
24
|
+
import FormGroupQuery from '@vue2-client/base-client/components/common/FormGroupQuery'
|
|
25
|
+
import FormGroupEdit from '@vue2-client/base-client/components/common/FormGroupEdit'
|
|
26
|
+
import JSONToTree from '@vue2-client/base-client/components/common/JSONToTree'
|
|
27
|
+
import Upload from '@vue2-client/base-client/components/common/Upload'
|
|
28
|
+
import AddressSearchCombobox from '@vue2-client/base-client/components/common/AddressSearchCombobox'
|
|
29
|
+
import CitySelect from '@vue2-client/base-client/components/common/CitySelect'
|
|
30
|
+
import PersonSetting from '@vue2-client/base-client/components/common/PersonSetting'
|
|
31
|
+
// 插件
|
|
32
|
+
import Plugins from '@vue2-client/base-client/plugins'
|
|
33
|
+
Vue.use(Plugins)
|
|
34
|
+
|
|
35
|
+
Vue.component('custom-columns-drawer', CustomColumnsDrawer)
|
|
36
|
+
Vue.component('InstructDetailsView', InstructDetailsView)
|
|
37
|
+
Vue.component('MeterDetailsView', MeterDetailsView)
|
|
38
|
+
Vue.component('CustomerDetailsView', CustomerDetailsView)
|
|
39
|
+
Vue.component('LogDetailsView', LogDetailsView)
|
|
40
|
+
Vue.component('WebmeterAnalysisView', WebmeterAnalysisView)
|
|
41
|
+
Vue.component('XCard', XCard)
|
|
42
|
+
Vue.component('XBadge', XBadge)
|
|
43
|
+
Vue.component('XFormCol', XFormCol)
|
|
44
|
+
Vue.component('DataAnalysisUser', DataAnalysisUser)
|
|
45
|
+
Vue.component('DeviceTypeDetailsView', DeviceTypeDetailsView)
|
|
46
|
+
Vue.component('DeviceBrandDetailsView', DeviceBrandDetailsView)
|
|
47
|
+
Vue.component('DeviceDetailsView', DeviceDetailsView)
|
|
48
|
+
Vue.component('DictionaryDetailsView', DictionaryDetailsView)
|
|
49
|
+
Vue.component('QueryParamsDetailsView', QueryParamsDetailsView)
|
|
50
|
+
Vue.component('TicketDetailsView', TicketDetailsView)
|
|
51
|
+
Vue.component('EmployeeDetailsView', EmployeeDetailsView)
|
|
52
|
+
Vue.component('submitTicketSuccess', submitTicketSuccess)
|
|
53
|
+
Vue.component('CreateQuery', CreateQuery)
|
|
54
|
+
Vue.component('CreateSimpleFormQuery', CreateSimpleFormQuery)
|
|
55
|
+
Vue.component('FormGroupQuery', FormGroupQuery)
|
|
56
|
+
Vue.component('FormGroupEdit', FormGroupEdit)
|
|
57
|
+
Vue.component('JSONToTree', JSONToTree)
|
|
58
|
+
Vue.component('Upload', Upload)
|
|
59
|
+
Vue.component('AmapPointRendering', AmapPointRendering)
|
|
60
|
+
Vue.component('AddressSearchCombobox', AddressSearchCombobox)
|
|
61
|
+
Vue.component('CitySelect', CitySelect)
|
|
62
|
+
Vue.component('PersonSetting', PersonSetting)
|