vue2-client 1.2.110 → 1.2.111
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 +278 -275
- package/package.json +95 -95
- package/src/base-client/components/common/XCard/XCard.vue +64 -64
- package/src/base-client/components/common/XFormTable/XFormTable.vue +514 -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/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
- package/src/base-client/plugins/AppData.js +71 -79
- package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
- 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/index.js +39 -39
- package/src/services/api/iot/DeviceDetailsView/DeviceDetailsCountApi.js +18 -18
- package/src/theme/default/style.less +47 -47
- package/src/utils/util.js +230 -230
package/package.json
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue2-client",
|
|
3
|
-
"version": "1.2.
|
|
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/data-set": "^0.11.8",
|
|
14
|
-
"@antv/f2": "^3.8.11",
|
|
15
|
-
"@antv/g2plot": "^2.4.20",
|
|
16
|
-
"@logicflow/core": "^1.1.20",
|
|
17
|
-
"@logicflow/extension": "^1.1.20",
|
|
18
|
-
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
|
|
19
|
-
"@vue/babel-preset-jsx": "^1.2.4",
|
|
20
|
-
"animate.css": "^4.1.1",
|
|
21
|
-
"ant-design-vue": "^1.7.8",
|
|
22
|
-
"axios": "^0.27.2",
|
|
23
|
-
"clipboard": "^2.0.11",
|
|
24
|
-
"core-js": "^3.23.5",
|
|
25
|
-
"date-fns": "^2.28.0",
|
|
26
|
-
"default-passive-events": "^2.0.0",
|
|
27
|
-
"enquire.js": "^2.1.6",
|
|
28
|
-
"file-saver": "^2.0.5",
|
|
29
|
-
"highlight.js": "^10.7.3",
|
|
30
|
-
"js-base64": "^3.7.2",
|
|
31
|
-
"js-cookie": "^2.2.1",
|
|
32
|
-
"jsencrypt": "^3.2.1",
|
|
33
|
-
"lodash.get": "^4.4.2",
|
|
34
|
-
"mockjs": "^1.1.0",
|
|
35
|
-
"nprogress": "^0.2.0",
|
|
36
|
-
"viser-vue": "^2.4.8",
|
|
37
|
-
"vue": "2.6.14",
|
|
38
|
-
"vue-i18n": "^8.27.2",
|
|
39
|
-
"vue-infinite-scroll": "^2.0.2",
|
|
40
|
-
"vue-json-viewer": "^2.2.22",
|
|
41
|
-
"vue-router": "^3.5.4",
|
|
42
|
-
"vuedraggable": "^2.24.3",
|
|
43
|
-
"vuex": "^3.6.2",
|
|
44
|
-
"xlsx": "0.18.5"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@ant-design/colors": "^4.0.5",
|
|
48
|
-
"@babel/cli": "^7.18.10",
|
|
49
|
-
"@babel/core": "^7.18.10",
|
|
50
|
-
"@vue/cli-plugin-babel": "^4.5.19",
|
|
51
|
-
"@vue/cli-plugin-eslint": "^4.5.19",
|
|
52
|
-
"@vue/cli-plugin-router": "^4.5.19",
|
|
53
|
-
"@vue/cli-plugin-unit-jest": "~4.5.19",
|
|
54
|
-
"@vue/cli-plugin-vuex": "^4.5.19",
|
|
55
|
-
"@vue/cli-service": "^4.5.19",
|
|
56
|
-
"@vue/eslint-config-standard": "^4.0.0",
|
|
57
|
-
"@vue/test-utils": "^1.3.0",
|
|
58
|
-
"@vue/vue2-jest": "^27.0.0",
|
|
59
|
-
"@vuepress/plugin-back-to-top": "^1.9.7",
|
|
60
|
-
"babel-eslint": "^10.1.0",
|
|
61
|
-
"babel-jest": "^27.1.0",
|
|
62
|
-
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
63
|
-
"babel-polyfill": "^6.26.0",
|
|
64
|
-
"compression-webpack-plugin": "^4.0.1",
|
|
65
|
-
"deepmerge": "^4.2.2",
|
|
66
|
-
"echarts": "^5.3.3",
|
|
67
|
-
"eslint": "^6.8.0",
|
|
68
|
-
"eslint-plugin-import": "^2.26.0",
|
|
69
|
-
"eslint-plugin-node": "^11.1.0",
|
|
70
|
-
"eslint-plugin-standard": "^5.0.0",
|
|
71
|
-
"eslint-plugin-vue": "^6.2.2",
|
|
72
|
-
"fast-deep-equal": "^3.1.3",
|
|
73
|
-
"gh-pages": "^3.2.3",
|
|
74
|
-
"jest": "^27.1.0",
|
|
75
|
-
"less-loader": "^6.2.0",
|
|
76
|
-
"react-bmap": "^1.0.130",
|
|
77
|
-
"script-loader": "^0.7.2",
|
|
78
|
-
"style-resources-loader": "^1.5.0",
|
|
79
|
-
"vue-amap": "^0.5.10",
|
|
80
|
-
"vue-baidu-map": "^0.21.22",
|
|
81
|
-
"vue-bmap-gl": "0.0.30",
|
|
82
|
-
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
83
|
-
"vue-mapvgl": "0.0.34",
|
|
84
|
-
"vue-template-compiler": "2.6.14",
|
|
85
|
-
"vuepress": "^1.9.7",
|
|
86
|
-
"webpack": "^4.46.0",
|
|
87
|
-
"webpack-theme-color-replacer": "1.4.1",
|
|
88
|
-
"whatwg-fetch": "^3.6.2"
|
|
89
|
-
},
|
|
90
|
-
"browserslist": [
|
|
91
|
-
"> 1%",
|
|
92
|
-
"last 2 versions",
|
|
93
|
-
"not ie <= 10"
|
|
94
|
-
]
|
|
95
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vue2-client",
|
|
3
|
+
"version": "1.2.111",
|
|
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/data-set": "^0.11.8",
|
|
14
|
+
"@antv/f2": "^3.8.11",
|
|
15
|
+
"@antv/g2plot": "^2.4.20",
|
|
16
|
+
"@logicflow/core": "^1.1.20",
|
|
17
|
+
"@logicflow/extension": "^1.1.20",
|
|
18
|
+
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
|
|
19
|
+
"@vue/babel-preset-jsx": "^1.2.4",
|
|
20
|
+
"animate.css": "^4.1.1",
|
|
21
|
+
"ant-design-vue": "^1.7.8",
|
|
22
|
+
"axios": "^0.27.2",
|
|
23
|
+
"clipboard": "^2.0.11",
|
|
24
|
+
"core-js": "^3.23.5",
|
|
25
|
+
"date-fns": "^2.28.0",
|
|
26
|
+
"default-passive-events": "^2.0.0",
|
|
27
|
+
"enquire.js": "^2.1.6",
|
|
28
|
+
"file-saver": "^2.0.5",
|
|
29
|
+
"highlight.js": "^10.7.3",
|
|
30
|
+
"js-base64": "^3.7.2",
|
|
31
|
+
"js-cookie": "^2.2.1",
|
|
32
|
+
"jsencrypt": "^3.2.1",
|
|
33
|
+
"lodash.get": "^4.4.2",
|
|
34
|
+
"mockjs": "^1.1.0",
|
|
35
|
+
"nprogress": "^0.2.0",
|
|
36
|
+
"viser-vue": "^2.4.8",
|
|
37
|
+
"vue": "2.6.14",
|
|
38
|
+
"vue-i18n": "^8.27.2",
|
|
39
|
+
"vue-infinite-scroll": "^2.0.2",
|
|
40
|
+
"vue-json-viewer": "^2.2.22",
|
|
41
|
+
"vue-router": "^3.5.4",
|
|
42
|
+
"vuedraggable": "^2.24.3",
|
|
43
|
+
"vuex": "^3.6.2",
|
|
44
|
+
"xlsx": "0.18.5"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@ant-design/colors": "^4.0.5",
|
|
48
|
+
"@babel/cli": "^7.18.10",
|
|
49
|
+
"@babel/core": "^7.18.10",
|
|
50
|
+
"@vue/cli-plugin-babel": "^4.5.19",
|
|
51
|
+
"@vue/cli-plugin-eslint": "^4.5.19",
|
|
52
|
+
"@vue/cli-plugin-router": "^4.5.19",
|
|
53
|
+
"@vue/cli-plugin-unit-jest": "~4.5.19",
|
|
54
|
+
"@vue/cli-plugin-vuex": "^4.5.19",
|
|
55
|
+
"@vue/cli-service": "^4.5.19",
|
|
56
|
+
"@vue/eslint-config-standard": "^4.0.0",
|
|
57
|
+
"@vue/test-utils": "^1.3.0",
|
|
58
|
+
"@vue/vue2-jest": "^27.0.0",
|
|
59
|
+
"@vuepress/plugin-back-to-top": "^1.9.7",
|
|
60
|
+
"babel-eslint": "^10.1.0",
|
|
61
|
+
"babel-jest": "^27.1.0",
|
|
62
|
+
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
63
|
+
"babel-polyfill": "^6.26.0",
|
|
64
|
+
"compression-webpack-plugin": "^4.0.1",
|
|
65
|
+
"deepmerge": "^4.2.2",
|
|
66
|
+
"echarts": "^5.3.3",
|
|
67
|
+
"eslint": "^6.8.0",
|
|
68
|
+
"eslint-plugin-import": "^2.26.0",
|
|
69
|
+
"eslint-plugin-node": "^11.1.0",
|
|
70
|
+
"eslint-plugin-standard": "^5.0.0",
|
|
71
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
72
|
+
"fast-deep-equal": "^3.1.3",
|
|
73
|
+
"gh-pages": "^3.2.3",
|
|
74
|
+
"jest": "^27.1.0",
|
|
75
|
+
"less-loader": "^6.2.0",
|
|
76
|
+
"react-bmap": "^1.0.130",
|
|
77
|
+
"script-loader": "^0.7.2",
|
|
78
|
+
"style-resources-loader": "^1.5.0",
|
|
79
|
+
"vue-amap": "^0.5.10",
|
|
80
|
+
"vue-baidu-map": "^0.21.22",
|
|
81
|
+
"vue-bmap-gl": "0.0.30",
|
|
82
|
+
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
83
|
+
"vue-mapvgl": "0.0.34",
|
|
84
|
+
"vue-template-compiler": "2.6.14",
|
|
85
|
+
"vuepress": "^1.9.7",
|
|
86
|
+
"webpack": "^4.46.0",
|
|
87
|
+
"webpack-theme-color-replacer": "1.4.1",
|
|
88
|
+
"whatwg-fetch": "^3.6.2"
|
|
89
|
+
},
|
|
90
|
+
"browserslist": [
|
|
91
|
+
"> 1%",
|
|
92
|
+
"last 2 versions",
|
|
93
|
+
"not ie <= 10"
|
|
94
|
+
]
|
|
95
|
+
}
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<a-card :body-style="{ margin: 0, padding: 0 }" :bordered="false">
|
|
4
|
-
<a-skeleton v-show="loadState === 'loading'" active style="padding: 16px"/>
|
|
5
|
-
<a-empty v-show="loadState === 'empty'">
|
|
6
|
-
<a-button type="dashed" @click="retry">
|
|
7
|
-
重新加载
|
|
8
|
-
</a-button>
|
|
9
|
-
</a-empty>
|
|
10
|
-
<a-card
|
|
11
|
-
v-show="loadState === 'error'"
|
|
12
|
-
:body-style="{ margin: '0 auto' }"
|
|
13
|
-
:bordered="false"
|
|
14
|
-
:hoverable="true"
|
|
15
|
-
class="retryCard"
|
|
16
|
-
@click="retry" >
|
|
17
|
-
<a-icon :style="{ fontSize: '28px' }" type="global"/>
|
|
18
|
-
<p class="noSelect" style="margin-top: 20px">网络好像开小差了,点击重新加载...</p>
|
|
19
|
-
</a-card>
|
|
20
|
-
<div v-show="loadState === 'success'">
|
|
21
|
-
<slot></slot>
|
|
22
|
-
</div>
|
|
23
|
-
</a-card>
|
|
24
|
-
</div>
|
|
25
|
-
</template>
|
|
26
|
-
|
|
27
|
-
<script>
|
|
28
|
-
|
|
29
|
-
export default {
|
|
30
|
-
name: 'XCard',
|
|
31
|
-
props: {
|
|
32
|
-
loadState: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: 'success'
|
|
35
|
-
},
|
|
36
|
-
retry: {
|
|
37
|
-
type: Function,
|
|
38
|
-
default: () => {
|
|
39
|
-
console.error('未实现重新加载')
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
data () {
|
|
44
|
-
return {
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
</script>
|
|
50
|
-
|
|
51
|
-
<style lang="less" scoped>
|
|
52
|
-
.retryCard {
|
|
53
|
-
text-align: center;
|
|
54
|
-
}
|
|
55
|
-
.noSelect {
|
|
56
|
-
-webkit-touch-callout: none; /* iOS Safari */
|
|
57
|
-
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
58
|
-
-khtml-user-select: none; /* Konqueror */
|
|
59
|
-
-moz-user-select: none; /* Firefox */
|
|
60
|
-
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
61
|
-
user-select: none; /* Non-prefixed version, currently
|
|
62
|
-
not supported by any browser */
|
|
63
|
-
}
|
|
64
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<a-card :body-style="{ margin: 0, padding: 0 }" :bordered="false">
|
|
4
|
+
<a-skeleton v-show="loadState === 'loading'" active style="padding: 16px"/>
|
|
5
|
+
<a-empty v-show="loadState === 'empty'">
|
|
6
|
+
<a-button type="dashed" @click="retry">
|
|
7
|
+
重新加载
|
|
8
|
+
</a-button>
|
|
9
|
+
</a-empty>
|
|
10
|
+
<a-card
|
|
11
|
+
v-show="loadState === 'error'"
|
|
12
|
+
:body-style="{ margin: '0 auto' }"
|
|
13
|
+
:bordered="false"
|
|
14
|
+
:hoverable="true"
|
|
15
|
+
class="retryCard"
|
|
16
|
+
@click="retry" >
|
|
17
|
+
<a-icon :style="{ fontSize: '28px' }" type="global"/>
|
|
18
|
+
<p class="noSelect" style="margin-top: 20px">网络好像开小差了,点击重新加载...</p>
|
|
19
|
+
</a-card>
|
|
20
|
+
<div v-show="loadState === 'success'">
|
|
21
|
+
<slot></slot>
|
|
22
|
+
</div>
|
|
23
|
+
</a-card>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
|
|
29
|
+
export default {
|
|
30
|
+
name: 'XCard',
|
|
31
|
+
props: {
|
|
32
|
+
loadState: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: 'success'
|
|
35
|
+
},
|
|
36
|
+
retry: {
|
|
37
|
+
type: Function,
|
|
38
|
+
default: () => {
|
|
39
|
+
console.error('未实现重新加载')
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
data () {
|
|
44
|
+
return {
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
</script>
|
|
50
|
+
|
|
51
|
+
<style lang="less" scoped>
|
|
52
|
+
.retryCard {
|
|
53
|
+
text-align: center;
|
|
54
|
+
}
|
|
55
|
+
.noSelect {
|
|
56
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
|
57
|
+
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
58
|
+
-khtml-user-select: none; /* Konqueror */
|
|
59
|
+
-moz-user-select: none; /* Firefox */
|
|
60
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
61
|
+
user-select: none; /* Non-prefixed version, currently
|
|
62
|
+
not supported by any browser */
|
|
63
|
+
}
|
|
64
|
+
</style>
|