hd-idevvue3 3.0.3 → 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.
- package/dist/assets/index.9c127719.css +1 -0
- package/dist/hd-idevvue3.mjs +3521 -3305
- package/dist/hd-idevvue3.umd.js +29 -29
- package/npminstall-debug.log +2 -10
- package/package.json +3 -1
- package/pnpm-lock.yaml +37 -4
- package/src/App.vue +11 -15
- package/src/assets/sound/notify.wav +0 -0
- package/src/demo/demo.vue +9 -10
- package/src/demo/dropdemo.vue +42 -43
- package/src/demo/extsets.vue +140 -39
- package/src/demo/formedit.vue +157 -145
- package/src/demo/hightquery.vue +263 -66
- package/src/demo/inlineedit.vue +129 -35
- package/src/demo/selfdrop.vue +32 -15
- package/src/directive/el-dragDialog/drag.js +13 -13
- package/src/directive/el-dragDialog/index.js +13 -13
- package/src/errorLog.js +3 -3
- package/src/hdcom/BigGrid.js +54 -48
- package/src/hdcom/BillShow.vue +84 -63
- package/src/hdcom/BillUpload.vue +144 -86
- package/src/hdcom/BtnRight.vue +26 -23
- package/src/hdcom/ErrHint.vue +36 -24
- package/src/hdcom/ExtendColumn.vue +97 -90
- package/src/hdcom/ExtendCommon.js +24 -13
- package/src/hdcom/ExtendForm.vue +107 -80
- package/src/hdcom/FacePicUpload.vue +59 -50
- package/src/hdcom/FaceRecTest.vue +87 -77
- package/src/hdcom/GridChart.vue +175 -162
- package/src/hdcom/GridExField.vue +328 -234
- package/src/hdcom/GridShow.vue +89 -39
- package/src/hdcom/HdAside.vue +192 -145
- package/src/hdcom/HdBtn.vue +44 -32
- package/src/hdcom/HdButton.vue +141 -117
- package/src/hdcom/HdComFaceRec.vue +80 -32
- package/src/hdcom/HdComGrid.vue +329 -229
- package/src/hdcom/HdComQuery.vue +179 -90
- package/src/hdcom/HdComQueryDetail.vue +159 -115
- package/src/hdcom/HdComSortDetail.vue +136 -130
- package/src/hdcom/HdDatePicker.vue +32 -16
- package/src/hdcom/HdDialog.vue +62 -44
- package/src/hdcom/HdDrop.vue +163 -138
- package/src/hdcom/HdFileUpload.vue +138 -119
- package/src/hdcom/HdFilterBox.vue +62 -62
- package/src/hdcom/HdFooter.vue +152 -119
- package/src/hdcom/HdForm.vue +276 -203
- package/src/hdcom/HdFormBtn.vue +81 -39
- package/src/hdcom/HdFormItem.vue +14 -10
- package/src/hdcom/HdGrid.vue +353 -156
- package/src/hdcom/HdGridEditBtn.vue +34 -20
- package/src/hdcom/HdGridExt.js +78 -47
- package/src/hdcom/HdGridSel.vue +227 -193
- package/src/hdcom/HdHeader.vue +149 -117
- package/src/hdcom/HdHotKey.vue +70 -67
- package/src/hdcom/HdInputHint.vue +40 -36
- package/src/hdcom/HdMain.vue +25 -27
- package/src/hdcom/HdMessage.vue +180 -171
- package/src/hdcom/HdNum.vue +67 -57
- package/src/hdcom/HdPopSel.vue +46 -24
- package/src/hdcom/HdRightMenu.vue +63 -61
- package/src/hdcom/HdSel/SelGridFieldcod.vue +46 -28
- package/src/hdcom/HdTableColumn.vue +156 -109
- package/src/hdcom/HdTempSave.vue +138 -116
- package/src/hdcom/HdTree.vue +89 -72
- package/src/hdcom/HdTreeTable/eval.js +8 -3
- package/src/hdcom/HdTreeTable/index.vue +229 -174
- package/src/hdcom/ImportExcel.vue +69 -34
- package/src/hdcom/index.js +39 -44
- package/src/idev.common.js +54 -47
- package/src/index.js +3 -6
- package/src/utils/HdQuery.js +25 -14
- package/src/utils/comutils.js +50 -28
- package/src/utils/gogocodeTransfer.js +59 -0
- package/src/utils/utils.js +30 -19
- package/src/vendor/Blob.js +187 -179
- package/src/vendor/Export2Excel.js +231 -220
- package/src/vendor/Export2Zip.js +25 -22
- package/src/views/layout/AppMain.vue +34 -32
- package/src/views/layout/HdLayout.vue +64 -52
- package/src/views/layout/header/ElasticSearch.vue +196 -159
- package/src/views/layout/header/HZRecorder.js +163 -135
- package/src/views/layout/header/HeaderSearch.vue +165 -145
- package/src/views/layout/header/Levelbar.vue +55 -49
- package/src/views/layout/header/MainHeader.vue +233 -189
- package/src/views/layout/header/Navbar.vue +74 -78
- package/src/views/layout/header/ScrollPane.vue +103 -81
- package/src/views/layout/header/TagsView.vue +169 -164
- package/src/views/layout/header/VocRec.vue +86 -78
- package/src/views/layout/header/changepswform.vue +98 -64
- package/src/views/layout/index.js +5 -7
- package/src/views/layout/menu/Hamburger.vue +63 -45
- package/src/views/layout/menu/HdMenu.vue +155 -118
- package/src/views/layout/menu/index.vue +21 -19
- package/src/views/privilege/commsg/commsg.vue +115 -41
- package/src/views/privilege/commsg/commsgOrgn.vue +40 -31
- package/src/views/privilege/commsg/commsgRole.vue +180 -109
- package/src/views/privilege/commsg/commsgform.vue +125 -101
- package/src/views/privilege/commsg/commsgiframe.vue +30 -23
- package/src/views/privilege/commsg/commsgto.vue +163 -84
- package/src/views/privilege/commsg/commsgtoform.vue +64 -58
- package/src/views/privilege/commsg/commsgtrans.vue +187 -115
- package/src/views/privilege/exfield/comexcolumn.vue +133 -43
- package/src/views/privilege/exfield/comexcolumnform.vue +85 -58
- package/src/views/privilege/exfield/comexfield.vue +15 -17
- package/src/views/privilege/exfield/comexfieldform.vue +71 -53
- package/src/views/privilege/exfield/comexfieldsub.vue +137 -46
- package/src/views/privilege/index.js +19 -20
- package/src/views/privilege/menu/comMenu.vue +49 -41
- package/src/views/privilege/menu/menu.vue +166 -49
- package/src/views/privilege/menu/menuinfo.vue +41 -34
- package/src/views/privilege/menu/rolelist.vue +78 -33
- package/src/views/privilege/menu/userlist.vue +76 -33
- package/src/views/privilege/mobile/authmobileupdate.vue +119 -43
- package/src/views/privilege/mobile/authmobileupdateform.vue +76 -46
- package/src/views/privilege/orgDept/authOrgn.vue +157 -65
- package/src/views/privilege/orgDept/authorgnform.vue +50 -38
- package/src/views/privilege/orgDept/orgDept.vue +38 -37
- package/src/views/privilege/orgDept/orgTree.vue +99 -88
- package/src/views/privilege/orgDept/orgnselect.vue +132 -111
- package/src/views/privilege/personDept/authuser.vue +197 -91
- package/src/views/privilege/personDept/authuserform.vue +123 -71
- package/src/views/privilege/personDept/facerec.vue +128 -83
- package/src/views/privilege/personDept/orgncascader.vue +134 -115
- package/src/views/privilege/personDept/personDept.vue +9 -7
- package/src/views/privilege/quartz/comquartzjob.vue +123 -38
- package/src/views/privilege/quartz/comquartzjobform.vue +67 -51
- package/src/views/privilege/quartz/comquartzlog.vue +116 -32
- package/src/views/privilege/role/btnRole.vue +123 -67
- package/src/views/privilege/role/menuRole.vue +65 -45
- package/src/views/privilege/role/orgnRole.vue +63 -41
- package/src/views/privilege/role/role.vue +26 -9
- package/src/views/privilege/role/rolelist.vue +114 -45
- package/src/views/privilege/role/roleselect.vue +34 -17
- package/src/views/privilege/search/comsearch.vue +164 -73
- package/src/views/privilege/search/menu.vue +38 -22
- package/src/views/privilege/syscode/syscode.vue +157 -69
- package/src/views/privilege/syscode/sysfield.vue +96 -43
- package/src/views/privilege/syscode/sysfieldframe.vue +30 -30
- package/src/views/privilege/syslog/menulog.vue +38 -22
- package/src/views/privilege/syslog/syslog.vue +145 -78
- package/src/views/privilege/syslog/syslogconfig.vue +91 -24
- package/src/views/privilege/syslog/syslogform.vue +45 -43
- package/src/views/privilege/syslog/syslogframe.vue +26 -26
- package/src/views/privilege/userRole/userRole.vue +187 -89
- package/vite.config.js +7 -0
- package/dist/assets/index.774ef40e.css +0 -1
- 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
|
|
3
|
+
<tags-view style="width: calc(100%); height: 100%"></tags-view>
|
|
4
4
|
</el-menu>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
|
|
37
|
-
|
|
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
|
-
.
|
|
52
|
+
.right-menu-item {
|
|
41
53
|
display: inline-block;
|
|
42
|
-
|
|
54
|
+
margin: 0 8px;
|
|
43
55
|
}
|
|
44
56
|
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
height:
|
|
57
|
+
.screenfull {
|
|
58
|
+
vertical-align: middle;
|
|
59
|
+
height: 40px;
|
|
60
|
+
}
|
|
48
61
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
62
|
+
.international {
|
|
63
|
+
vertical-align: top;
|
|
52
64
|
|
|
53
|
-
.
|
|
54
|
-
|
|
55
|
-
|
|
65
|
+
.international-icon {
|
|
66
|
+
font-size: 20px;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
vertical-align: -5px;
|
|
56
69
|
}
|
|
70
|
+
}
|
|
57
71
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
72
|
+
.theme-switch {
|
|
73
|
+
vertical-align: 15px;
|
|
74
|
+
}
|
|
62
75
|
|
|
63
|
-
|
|
64
|
-
|
|
76
|
+
.avatar-container {
|
|
77
|
+
height: 40px;
|
|
78
|
+
margin-right: 30px;
|
|
65
79
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
}
|
|
80
|
+
.avatar-wrapper {
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
margin-top: 5px;
|
|
83
|
+
position: relative;
|
|
72
84
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
85
|
+
.user-avatar {
|
|
86
|
+
width: 30px;
|
|
87
|
+
height: 30px;
|
|
88
|
+
border-radius: 10px;
|
|
89
|
+
}
|
|
76
90
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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>
|