hd-idevvue3 3.0.2 → 3.0.4

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 (147) hide show
  1. package/dist/assets/index.9c127719.css +1 -0
  2. package/dist/hd-idevvue3.mjs +3521 -3305
  3. package/dist/hd-idevvue3.umd.js +29 -29
  4. package/npminstall-debug.log +2 -10
  5. package/package.json +4 -2
  6. package/pnpm-lock.yaml +37 -4
  7. package/src/App.vue +11 -15
  8. package/src/assets/sound/notify.wav +0 -0
  9. package/src/demo/demo.vue +9 -10
  10. package/src/demo/dropdemo.vue +42 -43
  11. package/src/demo/extsets.vue +140 -39
  12. package/src/demo/formedit.vue +157 -145
  13. package/src/demo/hightquery.vue +263 -66
  14. package/src/demo/inlineedit.vue +129 -35
  15. package/src/demo/selfdrop.vue +32 -15
  16. package/src/directive/el-dragDialog/drag.js +13 -13
  17. package/src/directive/el-dragDialog/index.js +13 -13
  18. package/src/errorLog.js +3 -3
  19. package/src/hdcom/BigGrid.js +54 -48
  20. package/src/hdcom/BillShow.vue +84 -63
  21. package/src/hdcom/BillUpload.vue +144 -86
  22. package/src/hdcom/BtnRight.vue +26 -23
  23. package/src/hdcom/ErrHint.vue +36 -24
  24. package/src/hdcom/ExtendColumn.vue +97 -90
  25. package/src/hdcom/ExtendCommon.js +24 -13
  26. package/src/hdcom/ExtendForm.vue +107 -80
  27. package/src/hdcom/FacePicUpload.vue +59 -50
  28. package/src/hdcom/FaceRecTest.vue +87 -77
  29. package/src/hdcom/GridChart.vue +175 -162
  30. package/src/hdcom/GridExField.vue +328 -234
  31. package/src/hdcom/GridShow.vue +89 -39
  32. package/src/hdcom/HdAside.vue +192 -145
  33. package/src/hdcom/HdBtn.vue +44 -32
  34. package/src/hdcom/HdButton.vue +141 -117
  35. package/src/hdcom/HdComFaceRec.vue +80 -32
  36. package/src/hdcom/HdComGrid.vue +329 -229
  37. package/src/hdcom/HdComQuery.vue +179 -90
  38. package/src/hdcom/HdComQueryDetail.vue +159 -115
  39. package/src/hdcom/HdComSortDetail.vue +136 -130
  40. package/src/hdcom/HdDatePicker.vue +32 -16
  41. package/src/hdcom/HdDialog.vue +62 -44
  42. package/src/hdcom/HdDrop.vue +163 -138
  43. package/src/hdcom/HdFileUpload.vue +138 -119
  44. package/src/hdcom/HdFilterBox.vue +62 -62
  45. package/src/hdcom/HdFooter.vue +152 -119
  46. package/src/hdcom/HdForm.vue +276 -203
  47. package/src/hdcom/HdFormBtn.vue +81 -39
  48. package/src/hdcom/HdFormItem.vue +14 -10
  49. package/src/hdcom/HdGrid.vue +353 -156
  50. package/src/hdcom/HdGridEditBtn.vue +34 -20
  51. package/src/hdcom/HdGridExt.js +78 -47
  52. package/src/hdcom/HdGridSel.vue +227 -193
  53. package/src/hdcom/HdHeader.vue +149 -117
  54. package/src/hdcom/HdHotKey.vue +70 -67
  55. package/src/hdcom/HdInputHint.vue +40 -36
  56. package/src/hdcom/HdMain.vue +25 -27
  57. package/src/hdcom/HdMessage.vue +180 -171
  58. package/src/hdcom/HdNum.vue +67 -57
  59. package/src/hdcom/HdPopSel.vue +46 -24
  60. package/src/hdcom/HdRightMenu.vue +63 -61
  61. package/src/hdcom/HdSel/SelGridFieldcod.vue +46 -28
  62. package/src/hdcom/HdTableColumn.vue +156 -109
  63. package/src/hdcom/HdTempSave.vue +138 -116
  64. package/src/hdcom/HdTree.vue +89 -72
  65. package/src/hdcom/HdTreeTable/eval.js +8 -3
  66. package/src/hdcom/HdTreeTable/index.vue +229 -174
  67. package/src/hdcom/ImportExcel.vue +69 -34
  68. package/src/hdcom/index.js +39 -44
  69. package/src/idev.common.js +54 -47
  70. package/src/index.js +3 -6
  71. package/src/utils/HdQuery.js +25 -14
  72. package/src/utils/comutils.js +50 -28
  73. package/src/utils/gogocodeTransfer.js +59 -0
  74. package/src/utils/utils.js +30 -19
  75. package/src/vendor/Blob.js +187 -179
  76. package/src/vendor/Export2Excel.js +231 -220
  77. package/src/vendor/Export2Zip.js +25 -22
  78. package/src/views/layout/AppMain.vue +34 -32
  79. package/src/views/layout/HdLayout.vue +64 -52
  80. package/src/views/layout/header/ElasticSearch.vue +196 -159
  81. package/src/views/layout/header/HZRecorder.js +163 -135
  82. package/src/views/layout/header/HeaderSearch.vue +165 -145
  83. package/src/views/layout/header/Levelbar.vue +55 -49
  84. package/src/views/layout/header/MainHeader.vue +233 -189
  85. package/src/views/layout/header/Navbar.vue +74 -78
  86. package/src/views/layout/header/ScrollPane.vue +103 -81
  87. package/src/views/layout/header/TagsView.vue +169 -164
  88. package/src/views/layout/header/VocRec.vue +86 -78
  89. package/src/views/layout/header/changepswform.vue +98 -64
  90. package/src/views/layout/index.js +5 -7
  91. package/src/views/layout/menu/Hamburger.vue +63 -45
  92. package/src/views/layout/menu/HdMenu.vue +155 -118
  93. package/src/views/layout/menu/index.vue +21 -19
  94. package/src/views/privilege/commsg/commsg.vue +115 -41
  95. package/src/views/privilege/commsg/commsgOrgn.vue +40 -31
  96. package/src/views/privilege/commsg/commsgRole.vue +180 -109
  97. package/src/views/privilege/commsg/commsgform.vue +125 -101
  98. package/src/views/privilege/commsg/commsgiframe.vue +30 -23
  99. package/src/views/privilege/commsg/commsgto.vue +163 -84
  100. package/src/views/privilege/commsg/commsgtoform.vue +64 -58
  101. package/src/views/privilege/commsg/commsgtrans.vue +187 -115
  102. package/src/views/privilege/exfield/comexcolumn.vue +133 -43
  103. package/src/views/privilege/exfield/comexcolumnform.vue +85 -58
  104. package/src/views/privilege/exfield/comexfield.vue +15 -17
  105. package/src/views/privilege/exfield/comexfieldform.vue +71 -53
  106. package/src/views/privilege/exfield/comexfieldsub.vue +137 -46
  107. package/src/views/privilege/index.js +19 -20
  108. package/src/views/privilege/menu/comMenu.vue +49 -41
  109. package/src/views/privilege/menu/menu.vue +166 -49
  110. package/src/views/privilege/menu/menuinfo.vue +41 -34
  111. package/src/views/privilege/menu/rolelist.vue +78 -33
  112. package/src/views/privilege/menu/userlist.vue +76 -33
  113. package/src/views/privilege/mobile/authmobileupdate.vue +119 -43
  114. package/src/views/privilege/mobile/authmobileupdateform.vue +76 -46
  115. package/src/views/privilege/orgDept/authOrgn.vue +157 -65
  116. package/src/views/privilege/orgDept/authorgnform.vue +50 -38
  117. package/src/views/privilege/orgDept/orgDept.vue +38 -37
  118. package/src/views/privilege/orgDept/orgTree.vue +99 -88
  119. package/src/views/privilege/orgDept/orgnselect.vue +132 -111
  120. package/src/views/privilege/personDept/authuser.vue +197 -91
  121. package/src/views/privilege/personDept/authuserform.vue +123 -71
  122. package/src/views/privilege/personDept/facerec.vue +128 -83
  123. package/src/views/privilege/personDept/orgncascader.vue +134 -115
  124. package/src/views/privilege/personDept/personDept.vue +9 -7
  125. package/src/views/privilege/quartz/comquartzjob.vue +123 -38
  126. package/src/views/privilege/quartz/comquartzjobform.vue +67 -51
  127. package/src/views/privilege/quartz/comquartzlog.vue +116 -32
  128. package/src/views/privilege/role/btnRole.vue +123 -67
  129. package/src/views/privilege/role/menuRole.vue +65 -45
  130. package/src/views/privilege/role/orgnRole.vue +63 -41
  131. package/src/views/privilege/role/role.vue +26 -9
  132. package/src/views/privilege/role/rolelist.vue +114 -45
  133. package/src/views/privilege/role/roleselect.vue +34 -17
  134. package/src/views/privilege/search/comsearch.vue +164 -73
  135. package/src/views/privilege/search/menu.vue +38 -22
  136. package/src/views/privilege/syscode/syscode.vue +157 -69
  137. package/src/views/privilege/syscode/sysfield.vue +96 -43
  138. package/src/views/privilege/syscode/sysfieldframe.vue +30 -30
  139. package/src/views/privilege/syslog/menulog.vue +38 -22
  140. package/src/views/privilege/syslog/syslog.vue +145 -78
  141. package/src/views/privilege/syslog/syslogconfig.vue +91 -24
  142. package/src/views/privilege/syslog/syslogform.vue +45 -43
  143. package/src/views/privilege/syslog/syslogframe.vue +26 -26
  144. package/src/views/privilege/userRole/userRole.vue +187 -89
  145. package/vite.config.js +7 -0
  146. package/dist/assets/index.774ef40e.css +0 -1
  147. package/src/views/privilege.zip +0 -0
@@ -1,105 +1,101 @@
1
1
  <template>
2
2
  <el-menu class="navbar" mode="horizontal">
3
- <tags-view style="width: calc(100%);height: 100%;"></tags-view>
3
+ <tags-view style="width: calc(100%); height: 100%"></tags-view>
4
4
  </el-menu>
5
5
  </template>
6
6
 
7
7
  <script>
8
- import TagsView from './TagsView'
9
-
10
- export default {
11
- components: {
12
- TagsView
13
- },
14
- data() {
15
- return {}
16
- },
17
- computed: {},
18
- methods: {
19
- }
20
- }
8
+ import TagsView from './TagsView'
9
+
10
+ export default {
11
+ components: {
12
+ TagsView,
13
+ },
14
+ data() {
15
+ return {}
16
+ },
17
+ computed: {},
18
+ methods: {},
19
+ }
21
20
  </script>
22
21
 
23
- <style rel="stylesheet/scss" lang="scss" scoped>
24
- .navbar {
25
- height: 30px; //jianglinghao 513
26
- line-height: 40px;
27
- border-radius: 0px !important;
28
-
29
- .hamburger-container {
30
- /*line-height: 40px;*/
31
- /*height: 40px;*/
32
- float: left;
33
- padding: 0 10px;
34
- }
22
+ <style lang="scss" rel="stylesheet/scss" scoped>
23
+ .navbar {
24
+ height: 30px; //jianglinghao 513
25
+ line-height: 40px;
26
+ border-radius: 0px !important;
27
+
28
+ .hamburger-container {
29
+ /*line-height: 40px;*/
30
+ /*height: 40px;*/
31
+ float: left;
32
+ padding: 0 10px;
33
+ }
34
+
35
+ .breadcrumb-container {
36
+ float: left;
37
+ }
35
38
 
36
- .breadcrumb-container {
37
- float: left;
39
+ .errLog-container {
40
+ display: inline-block;
41
+ vertical-align: top;
42
+ }
43
+
44
+ .right-menu {
45
+ float: right;
46
+ height: 100%;
47
+
48
+ &:focus {
49
+ outline: none;
38
50
  }
39
51
 
40
- .errLog-container {
52
+ .right-menu-item {
41
53
  display: inline-block;
42
- vertical-align: top;
54
+ margin: 0 8px;
43
55
  }
44
56
 
45
- .right-menu {
46
- float: right;
47
- height: 100%;
57
+ .screenfull {
58
+ vertical-align: middle;
59
+ height: 40px;
60
+ }
48
61
 
49
- &:focus {
50
- outline: none;
51
- }
62
+ .international {
63
+ vertical-align: top;
52
64
 
53
- .right-menu-item {
54
- display: inline-block;
55
- margin: 0 8px;
65
+ .international-icon {
66
+ font-size: 20px;
67
+ cursor: pointer;
68
+ vertical-align: -5px;
56
69
  }
70
+ }
57
71
 
58
- .screenfull {
59
- vertical-align: middle;
60
- height: 40px;
61
- }
72
+ .theme-switch {
73
+ vertical-align: 15px;
74
+ }
62
75
 
63
- .international {
64
- vertical-align: top;
76
+ .avatar-container {
77
+ height: 40px;
78
+ margin-right: 30px;
65
79
 
66
- .international-icon {
67
- font-size: 20px;
68
- cursor: pointer;
69
- vertical-align: -5px;
70
- }
71
- }
80
+ .avatar-wrapper {
81
+ cursor: pointer;
82
+ margin-top: 5px;
83
+ position: relative;
72
84
 
73
- .theme-switch {
74
- vertical-align: 15px;
75
- }
85
+ .user-avatar {
86
+ width: 30px;
87
+ height: 30px;
88
+ border-radius: 10px;
89
+ }
76
90
 
77
- .avatar-container {
78
- height: 40px;
79
- margin-right: 30px;
80
-
81
- .avatar-wrapper {
82
- cursor: pointer;
83
- margin-top: 5px;
84
- position: relative;
85
-
86
- .user-avatar {
87
- width: 30px;
88
- height: 30px;
89
- border-radius: 10px;
90
- }
91
-
92
- .el-icon-caret-bottom {
93
- position: absolute;
94
- right: -20px;
95
- top: 25px;
96
- font-size: 12px;
97
- }
91
+ .el-icon-caret-bottom {
92
+ position: absolute;
93
+ right: -20px;
94
+ top: 25px;
95
+ font-size: 12px;
98
96
  }
99
97
  }
100
98
  }
101
99
  }
100
+ }
102
101
  </style>
103
-
104
-
105
-
@@ -1,81 +1,103 @@
1
- <template>
2
- <div class="scroll-container" ref="scrollContainer" @mousewheel="handleScroll" @DOMMouseScroll="handleFoxScroll">
3
- <div class="scroll-wrapper" ref="scrollWrapper" :style="{left: left + 'px'}">
4
- <slot></slot>
5
- </div>
6
- </div>
7
- </template>
8
-
9
- <script>
10
- export default {
11
- name: 'scrollPane',
12
- data() {
13
- return {
14
- left: 0,
15
- tmpWrapperWidth: 0
16
- }
17
- },
18
- updated: function () {
19
- if (this.tmpWrapperWidth != this.$refs.scrollWrapper.offsetWidth) {
20
- this.tmpWrapperWidth = this.$refs.scrollWrapper.offsetWidth;
21
- if (this.$refs.scrollContainer.offsetWidth - this.$refs.scrollWrapper.offsetWidth < 100) {
22
- this.left = this.$refs.scrollContainer.offsetWidth - this.$refs.scrollWrapper.offsetWidth - 100;
23
- }
24
- }
25
- },
26
- methods: {
27
- handleScroll(e) {
28
- e.preventDefault()
29
- const $container = this.$refs.scrollContainer
30
- const $containerWidth = $container.offsetWidth
31
- const $wrapper = this.$refs.scrollWrapper
32
- const $wrapperWidth = $wrapper.offsetWidth
33
- if (e.wheelDelta > 0) {
34
- this.left = Math.min(0, this.left + e.wheelDelta)
35
- } else {
36
- if ($containerWidth - 100 < $wrapperWidth) {
37
- if (this.left < -($wrapperWidth - $containerWidth + 100)) {
38
- this.left = this.left
39
- } else {
40
- this.left = Math.max(this.left + e.wheelDelta, $containerWidth - $wrapperWidth - 100)
41
- }
42
- } else {
43
- this.left = 0
44
- }
45
- }
46
- },
47
- handleFoxScroll(e) {
48
- e.preventDefault()
49
- const $container = this.$refs.scrollContainer
50
- const $containerWidth = $container.offsetWidth
51
- const $wrapper = this.$refs.scrollWrapper
52
- const $wrapperWidth = $wrapper.offsetWidth
53
- let pos = e.detail * (-10);
54
- if (pos > 0) {
55
- this.left = Math.min(0, this.left + pos)
56
- } else {
57
- if ($containerWidth - 100 < $wrapperWidth) {
58
- if (this.left < -($wrapperWidth - $containerWidth + 100)) {
59
- this.left = this.left
60
- } else {
61
- this.left = Math.max(this.left + pos, $containerWidth - $wrapperWidth - 100)
62
- }
63
- } else {
64
- this.left = 0
65
- }
66
- }
67
- }
68
- }
69
- }
70
- </script>
71
-
72
- <style rel="stylesheet/scss" lang="scss" scoped>
73
- .scroll-container {
74
- white-space: nowrap;
75
- position: relative;
76
- overflow: hidden;
77
- .scroll-wrapper {
78
- position: absolute;
79
- }
80
- }
81
- </style>
1
+ <template>
2
+ <div
3
+ class="scroll-container"
4
+ ref="scrollContainer"
5
+ @mousewheel="handleScroll"
6
+ @DOMMouseScroll="handleFoxScroll"
7
+ >
8
+ <div
9
+ class="scroll-wrapper"
10
+ ref="scrollWrapper"
11
+ :style="{ left: left + 'px' }"
12
+ >
13
+ <slot></slot>
14
+ </div>
15
+ </div>
16
+ </template>
17
+
18
+ <script>
19
+ export default {
20
+ name: 'scrollPane',
21
+ data() {
22
+ return {
23
+ left: 0,
24
+ tmpWrapperWidth: 0,
25
+ }
26
+ },
27
+ updated: function () {
28
+ if (this.tmpWrapperWidth != this.$refs.scrollWrapper.offsetWidth) {
29
+ this.tmpWrapperWidth = this.$refs.scrollWrapper.offsetWidth
30
+ if (
31
+ this.$refs.scrollContainer.offsetWidth -
32
+ this.$refs.scrollWrapper.offsetWidth <
33
+ 100
34
+ ) {
35
+ this.left =
36
+ this.$refs.scrollContainer.offsetWidth -
37
+ this.$refs.scrollWrapper.offsetWidth -
38
+ 100
39
+ }
40
+ }
41
+ },
42
+ methods: {
43
+ handleScroll(e) {
44
+ e.preventDefault()
45
+ const $container = this.$refs.scrollContainer
46
+ const $containerWidth = $container.offsetWidth
47
+ const $wrapper = this.$refs.scrollWrapper
48
+ const $wrapperWidth = $wrapper.offsetWidth
49
+ if (e.wheelDelta > 0) {
50
+ this.left = Math.min(0, this.left + e.wheelDelta)
51
+ } else {
52
+ if ($containerWidth - 100 < $wrapperWidth) {
53
+ if (this.left < -($wrapperWidth - $containerWidth + 100)) {
54
+ this.left = this.left
55
+ } else {
56
+ this.left = Math.max(
57
+ this.left + e.wheelDelta,
58
+ $containerWidth - $wrapperWidth - 100
59
+ )
60
+ }
61
+ } else {
62
+ this.left = 0
63
+ }
64
+ }
65
+ },
66
+ handleFoxScroll(e) {
67
+ e.preventDefault()
68
+ const $container = this.$refs.scrollContainer
69
+ const $containerWidth = $container.offsetWidth
70
+ const $wrapper = this.$refs.scrollWrapper
71
+ const $wrapperWidth = $wrapper.offsetWidth
72
+ let pos = e.detail * -10
73
+ if (pos > 0) {
74
+ this.left = Math.min(0, this.left + pos)
75
+ } else {
76
+ if ($containerWidth - 100 < $wrapperWidth) {
77
+ if (this.left < -($wrapperWidth - $containerWidth + 100)) {
78
+ this.left = this.left
79
+ } else {
80
+ this.left = Math.max(
81
+ this.left + pos,
82
+ $containerWidth - $wrapperWidth - 100
83
+ )
84
+ }
85
+ } else {
86
+ this.left = 0
87
+ }
88
+ }
89
+ },
90
+ },
91
+ }
92
+ </script>
93
+
94
+ <style lang="scss" rel="stylesheet/scss" scoped>
95
+ .scroll-container {
96
+ white-space: nowrap;
97
+ position: relative;
98
+ overflow: hidden;
99
+ .scroll-wrapper {
100
+ position: absolute;
101
+ }
102
+ }
103
+ </style>