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.
Files changed (27) hide show
  1. package/CHANGELOG.md +300 -287
  2. package/package.json +76 -76
  3. package/src/base-client/all.js +62 -62
  4. package/src/base-client/components/common/CreateQuery/CreateQuery.vue +551 -547
  5. package/src/base-client/components/common/XCard/XCard.vue +64 -64
  6. package/src/base-client/components/common/XFormTable/XFormTable.vue +503 -514
  7. package/src/base-client/components/common/XFormTable/index.md +96 -96
  8. package/src/base-client/components/iot/DeviceDetailsView/DeviceDetailsView.vue +232 -232
  9. package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsCount.vue +678 -678
  10. package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsException.vue +57 -57
  11. package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsRead.vue +131 -131
  12. package/src/base-client/components/iot/DeviceTypeDetailsView/DeviceTypeDetailsView.vue +300 -300
  13. package/src/base-client/components/iot/InstructDetailsView/InstructDetailsView.vue +464 -461
  14. package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
  15. package/src/base-client/plugins/AppData.js +71 -71
  16. package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
  17. package/src/pages/login/Login.vue +277 -277
  18. package/src/pages/resourceManage/orgListManage.vue +98 -98
  19. package/src/router/async/config.async.js +26 -26
  20. package/src/router/index.js +27 -27
  21. package/src/services/api/common.js +58 -58
  22. package/src/services/api/index.js +39 -39
  23. package/src/services/api/iot/DeviceDetailsView/DeviceDetailsCountApi.js +18 -18
  24. package/src/store/mutation-types.js +2 -2
  25. package/src/theme/default/style.less +47 -47
  26. package/src/utils/request.js +225 -225
  27. package/src/utils/util.js +230 -230
@@ -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>