hd-idevvue3 3.0.5 → 3.0.8
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/static/css/index-DRHIlcVU.css +1 -0
- package/dist/static/js/index-DbUA6jg0.js +184 -0
- package/dist/static/js/index-Dl4O91nB.js +73768 -0
- package/package.json +16 -16
- package/.env.development +0 -5
- package/.env.production +0 -5
- package/.eslintrc.js +0 -151
- package/dist/assets/index.431f21ca.css +0 -1
- package/dist/hd-idevvue3.mjs +0 -45878
- package/dist/hd-idevvue3.umd.js +0 -153
- package/index.html +0 -18
- package/npminstall-debug.log +0 -200
- package/pnpm-lock.yaml +0 -2813
- package/src/App.vue +0 -11
- package/src/assets/sound/notify.wav +0 -0
- package/src/demo/demo.vue +0 -42
- package/src/demo/dropdemo.vue +0 -42
- package/src/demo/extsets.vue +0 -208
- package/src/demo/formedit.vue +0 -157
- package/src/demo/hightquery.vue +0 -366
- package/src/demo/inlineedit.vue +0 -182
- package/src/demo/selfdrop.vue +0 -58
- package/src/demo//350/241/214/345/206/205/347/272/247/350/201/224.txt +0 -2
- package/src/directive/el-dragDialog/drag.js +0 -124
- package/src/directive/el-dragDialog/index.js +0 -13
- package/src/errorLog.js +0 -16
- package/src/hdcom/BigGrid.js +0 -179
- package/src/hdcom/BillShow.vue +0 -111
- package/src/hdcom/BillUpload.vue +0 -311
- package/src/hdcom/BtnRight.vue +0 -101
- package/src/hdcom/ErrHint.vue +0 -42
- package/src/hdcom/ExtendColumn.vue +0 -115
- package/src/hdcom/ExtendCommon.js +0 -40
- package/src/hdcom/ExtendForm.vue +0 -141
- package/src/hdcom/FacePicUpload.vue +0 -80
- package/src/hdcom/FaceRecTest.vue +0 -114
- package/src/hdcom/GridChart.vue +0 -207
- package/src/hdcom/GridExField.vue +0 -375
- package/src/hdcom/GridShow.vue +0 -288
- package/src/hdcom/HdAside.vue +0 -225
- package/src/hdcom/HdBtn.vue +0 -125
- package/src/hdcom/HdButton.vue +0 -161
- package/src/hdcom/HdComFaceRec.vue +0 -106
- package/src/hdcom/HdComGrid.vue +0 -876
- package/src/hdcom/HdComQuery.vue +0 -362
- package/src/hdcom/HdComQueryDetail.vue +0 -205
- package/src/hdcom/HdComSortDetail.vue +0 -161
- package/src/hdcom/HdDatePicker.vue +0 -94
- package/src/hdcom/HdDialog.vue +0 -81
- package/src/hdcom/HdDrop.vue +0 -188
- package/src/hdcom/HdFileUpload.vue +0 -167
- package/src/hdcom/HdFilterBox.vue +0 -90
- package/src/hdcom/HdFooter.vue +0 -182
- package/src/hdcom/HdForm.vue +0 -351
- package/src/hdcom/HdFormBtn.vue +0 -131
- package/src/hdcom/HdFormItem.vue +0 -39
- package/src/hdcom/HdGctosGrid +0 -0
- package/src/hdcom/HdGrid.vue +0 -1022
- package/src/hdcom/HdGridEditBtn.vue +0 -58
- package/src/hdcom/HdGridExt.js +0 -250
- package/src/hdcom/HdGridSel.vue +0 -257
- package/src/hdcom/HdHeader.vue +0 -180
- package/src/hdcom/HdHotKey.vue +0 -84
- package/src/hdcom/HdInputHint.vue +0 -53
- package/src/hdcom/HdMain.vue +0 -41
- package/src/hdcom/HdMessage.vue +0 -201
- package/src/hdcom/HdNum.vue +0 -79
- package/src/hdcom/HdPopSel.vue +0 -80
- package/src/hdcom/HdRightMenu.vue +0 -63
- package/src/hdcom/HdSel/SelGridFieldcod.vue +0 -54
- package/src/hdcom/HdTableColumn.vue +0 -381
- package/src/hdcom/HdTempSave.vue +0 -162
- package/src/hdcom/HdTree.vue +0 -103
- package/src/hdcom/HdTreeTable/eval.js +0 -39
- package/src/hdcom/HdTreeTable/index.vue +0 -229
- package/src/hdcom/ImportExcel.vue +0 -178
- package/src/hdcom/index.js +0 -75
- package/src/idev.common.js +0 -79
- package/src/index.js +0 -11
- package/src/utils/HdQuery.js +0 -65
- package/src/utils/comutils.js +0 -120
- package/src/utils/gogocodeTransfer.js +0 -59
- package/src/utils/utils.js +0 -116
- package/src/vendor/Blob.js +0 -187
- package/src/vendor/Export2Excel.js +0 -231
- package/src/vendor/Export2Zip.js +0 -25
- package/src/views/layout/AppMain.vue +0 -34
- package/src/views/layout/HdLayout.vue +0 -90
- package/src/views/layout/header/ElasticSearch.vue +0 -262
- package/src/views/layout/header/HZRecorder.js +0 -259
- package/src/views/layout/header/HeaderSearch.vue +0 -218
- package/src/views/layout/header/Levelbar.vue +0 -55
- package/src/views/layout/header/MainHeader.vue +0 -315
- package/src/views/layout/header/Navbar.vue +0 -101
- package/src/views/layout/header/ScrollPane.vue +0 -103
- package/src/views/layout/header/TagsView.vue +0 -215
- package/src/views/layout/header/VocRec.vue +0 -105
- package/src/views/layout/header/changepswform.vue +0 -130
- package/src/views/layout/index.js +0 -10
- package/src/views/layout/menu/Hamburger.vue +0 -63
- package/src/views/layout/menu/HdMenu.vue +0 -204
- package/src/views/layout/menu/css/menu.css +0 -288
- package/src/views/layout/menu/index.vue +0 -27
- package/src/views/privilege/commsg/commsg.vue +0 -152
- package/src/views/privilege/commsg/commsgOrgn.vue +0 -51
- package/src/views/privilege/commsg/commsgRole.vue +0 -220
- package/src/views/privilege/commsg/commsgform.vue +0 -184
- package/src/views/privilege/commsg/commsgiframe.vue +0 -40
- package/src/views/privilege/commsg/commsgto.vue +0 -199
- package/src/views/privilege/commsg/commsgtoform.vue +0 -114
- package/src/views/privilege/commsg/commsgtrans.vue +0 -227
- package/src/views/privilege/exfield/comexcolumn.vue +0 -161
- package/src/views/privilege/exfield/comexcolumnform.vue +0 -128
- package/src/views/privilege/exfield/comexfield.vue +0 -29
- package/src/views/privilege/exfield/comexfieldform.vue +0 -112
- package/src/views/privilege/exfield/comexfieldsub.vue +0 -163
- package/src/views/privilege/index.js +0 -41
- package/src/views/privilege/menu/comMenu.vue +0 -49
- package/src/views/privilege/menu/menu.vue +0 -250
- package/src/views/privilege/menu/menuinfo.vue +0 -63
- package/src/views/privilege/menu/rolelist.vue +0 -92
- package/src/views/privilege/menu/userlist.vue +0 -92
- package/src/views/privilege/mobile/authmobileupdate.vue +0 -145
- package/src/views/privilege/mobile/authmobileupdateform.vue +0 -120
- package/src/views/privilege/orgDept/authOrgn.vue +0 -188
- package/src/views/privilege/orgDept/authorgnform.vue +0 -157
- package/src/views/privilege/orgDept/orgDept.vue +0 -38
- package/src/views/privilege/orgDept/orgTree.vue +0 -99
- package/src/views/privilege/orgDept/orgnselect.vue +0 -155
- package/src/views/privilege/personDept/authuser.vue +0 -229
- package/src/views/privilege/personDept/authuserform.vue +0 -206
- package/src/views/privilege/personDept/facerec.vue +0 -162
- package/src/views/privilege/personDept/orgncascader.vue +0 -144
- package/src/views/privilege/personDept/personDept.vue +0 -33
- package/src/views/privilege/quartz/comquartzjob.vue +0 -150
- package/src/views/privilege/quartz/comquartzjobform.vue +0 -115
- package/src/views/privilege/quartz/comquartzlog.vue +0 -143
- package/src/views/privilege/role/btnRole.vue +0 -173
- package/src/views/privilege/role/menuRole.vue +0 -84
- package/src/views/privilege/role/orgnRole.vue +0 -78
- package/src/views/privilege/role/role.vue +0 -84
- package/src/views/privilege/role/rolelist.vue +0 -136
- package/src/views/privilege/role/roleselect.vue +0 -74
- package/src/views/privilege/search/comsearch.vue +0 -196
- package/src/views/privilege/search/menu.vue +0 -68
- package/src/views/privilege/syscode/syscode.vue +0 -191
- package/src/views/privilege/syscode/sysfield.vue +0 -119
- package/src/views/privilege/syscode/sysfieldframe.vue +0 -30
- package/src/views/privilege/syslog/menulog.vue +0 -68
- package/src/views/privilege/syslog/syslog.vue +0 -182
- package/src/views/privilege/syslog/syslogconfig.vue +0 -128
- package/src/views/privilege/syslog/syslogform.vue +0 -85
- package/src/views/privilege/syslog/syslogframe.vue +0 -26
- package/src/views/privilege/userRole/userRole.vue +0 -220
- package/vite.config.js +0 -103
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div class="menuSvg" ref="menuSvg">
|
|
4
|
-
<hamburger
|
|
5
|
-
:isActive="sidebar.opened"
|
|
6
|
-
:toggleClick="toggleSideBar"
|
|
7
|
-
class="hamburger-container"
|
|
8
|
-
></hamburger>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="product_sort">
|
|
11
|
-
<el-scrollbar ref="scrollbar" style="height: 100%">
|
|
12
|
-
<div class="bd">
|
|
13
|
-
<div
|
|
14
|
-
@mouseleave="mouseLeave($event)"
|
|
15
|
-
@mouseover="mouseOver($event)"
|
|
16
|
-
class="item"
|
|
17
|
-
v-for="(item, index) in routes"
|
|
18
|
-
>
|
|
19
|
-
<div class="title" v-show="$store.state.app.sidebar.opened">
|
|
20
|
-
<a href="javascript:void(0)">
|
|
21
|
-
<i
|
|
22
|
-
:class="item.meta.icon"
|
|
23
|
-
style="display: inline"
|
|
24
|
-
v-if="item.meta && item.meta.icon"
|
|
25
|
-
></i>
|
|
26
|
-
<span v-if="item.meta && item.meta.title">{{
|
|
27
|
-
generateTitle(item.meta)
|
|
28
|
-
}}</span>
|
|
29
|
-
<!--<span>{{item.meta.title}}</span>-->
|
|
30
|
-
</a>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="arrow" v-if="$store.state.app.sidebar.opened">></div>
|
|
33
|
-
<div class="arrow" v-else>
|
|
34
|
-
<i
|
|
35
|
-
:class="item.meta.icon"
|
|
36
|
-
style="color: #494949"
|
|
37
|
-
v-if="item.meta && item.meta.icon"
|
|
38
|
-
></i>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="line"></div>
|
|
41
|
-
<div class="subitem">
|
|
42
|
-
<template v-if="item.children && item.children.length > 0">
|
|
43
|
-
<div class="inner" v-for="(itemTwo, indexTwo) in item.children">
|
|
44
|
-
<div class="tit tit1">
|
|
45
|
-
<div class="name" v-if="itemTwo.meta && itemTwo.meta.title">
|
|
46
|
-
<i
|
|
47
|
-
:class="itemTwo.meta.icon"
|
|
48
|
-
style="display: inline"
|
|
49
|
-
v-if="itemTwo.meta.icon"
|
|
50
|
-
></i>
|
|
51
|
-
{{ generateTitle(itemTwo.meta) }}
|
|
52
|
-
</div>
|
|
53
|
-
<ul>
|
|
54
|
-
<li
|
|
55
|
-
@click="clickOne(itemThree)"
|
|
56
|
-
v-for="(itemThree, indexThree) in itemTwo.children"
|
|
57
|
-
>
|
|
58
|
-
<a
|
|
59
|
-
href="javascript:void(0)"
|
|
60
|
-
v-if="itemThree.meta && itemThree.meta.title"
|
|
61
|
-
>
|
|
62
|
-
<i
|
|
63
|
-
:class="itemThree.meta.icon"
|
|
64
|
-
style="display: inline"
|
|
65
|
-
v-if="itemThree.meta.icon"
|
|
66
|
-
></i>
|
|
67
|
-
{{ generateTitle(itemThree.meta) }}
|
|
68
|
-
</a>
|
|
69
|
-
</li>
|
|
70
|
-
</ul>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
</template>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</el-scrollbar>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
</template>
|
|
81
|
-
|
|
82
|
-
<script>
|
|
83
|
-
import { mapGetters } from 'vuex'
|
|
84
|
-
import Hamburger from './Hamburger'
|
|
85
|
-
|
|
86
|
-
export default {
|
|
87
|
-
name: 'SidebarItem',
|
|
88
|
-
components: {
|
|
89
|
-
Hamburger,
|
|
90
|
-
},
|
|
91
|
-
props: {
|
|
92
|
-
routes: {
|
|
93
|
-
type: Array,
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
data() {
|
|
97
|
-
return {
|
|
98
|
-
menuVisitUrl: '',
|
|
99
|
-
menuSelUrl: '',
|
|
100
|
-
isShow: false,
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
mounted() {},
|
|
104
|
-
methods: {
|
|
105
|
-
generateTitle(meta) {
|
|
106
|
-
if (this.$i18n.locale == 'zh') {
|
|
107
|
-
return meta.title //i18n wxl
|
|
108
|
-
} else {
|
|
109
|
-
return meta.enTitle //
|
|
110
|
-
}
|
|
111
|
-
//return this.$t('route.' + title)
|
|
112
|
-
},
|
|
113
|
-
mouseOver(e) {
|
|
114
|
-
if (this.isShow == true) {
|
|
115
|
-
return
|
|
116
|
-
}
|
|
117
|
-
let outerheight =
|
|
118
|
-
document.getElementsByClassName('hd-header')[0].clientHeight
|
|
119
|
-
let subcls = e.currentTarget.getElementsByClassName('subitem')[0]
|
|
120
|
-
e.currentTarget.classList.add('layer')
|
|
121
|
-
subcls.style.left = e.currentTarget.offsetWidth - 10 + 'px'
|
|
122
|
-
subcls.style.position = 'fixed'
|
|
123
|
-
subcls.style.overflow = 'auto'
|
|
124
|
-
//距离页面顶的距离
|
|
125
|
-
let itemTop =
|
|
126
|
-
e.currentTarget.offsetTop -
|
|
127
|
-
this.$refs.scrollbar.wrap$.scrollTop +
|
|
128
|
-
outerheight +
|
|
129
|
-
this.$refs.menuSvg.clientHeight
|
|
130
|
-
let menuHeight = subcls.clientHeight
|
|
131
|
-
let windowHeigth = document.body.clientHeight
|
|
132
|
-
if (itemTop + menuHeight > windowHeigth) {
|
|
133
|
-
if (itemTop + +e.currentTarget.clientHeight - menuHeight < 0) {
|
|
134
|
-
subcls.style.top = '0px'
|
|
135
|
-
subcls.style.bottom = '0px'
|
|
136
|
-
} else {
|
|
137
|
-
subcls.style.top =
|
|
138
|
-
itemTop + e.currentTarget.clientHeight - menuHeight + 'px'
|
|
139
|
-
// subcls.style.bottom = '0px'
|
|
140
|
-
}
|
|
141
|
-
} else {
|
|
142
|
-
subcls.style.top = itemTop + 'px'
|
|
143
|
-
// subcls.style.bottom = '0px'
|
|
144
|
-
}
|
|
145
|
-
this.isShow = true
|
|
146
|
-
},
|
|
147
|
-
mouseLeave(e) {
|
|
148
|
-
this.isShow = false
|
|
149
|
-
e.currentTarget.classList.remove('layer')
|
|
150
|
-
},
|
|
151
|
-
clickOne(item) {
|
|
152
|
-
if (!item.path && !item.redirect) {
|
|
153
|
-
return false
|
|
154
|
-
}
|
|
155
|
-
let obj = {
|
|
156
|
-
path: item.path ? item.path : item.url,
|
|
157
|
-
menuId: item.menuId,
|
|
158
|
-
title: item.meta.title,
|
|
159
|
-
}
|
|
160
|
-
//记录菜单点击
|
|
161
|
-
this.$http
|
|
162
|
-
.post('/webresources/login/com/ComMenuHistory/menuClick', obj)
|
|
163
|
-
.then((response) => {
|
|
164
|
-
this.menuSelUrl = this.menuVisitUrl
|
|
165
|
-
})
|
|
166
|
-
if (item.meta.type === '2') {
|
|
167
|
-
if (item.redirect) {
|
|
168
|
-
window.open(item.redirect, '_blank')
|
|
169
|
-
} else {
|
|
170
|
-
let routeData = this.$router.resolve({
|
|
171
|
-
name: item.name,
|
|
172
|
-
params: item.meta.addQuery,
|
|
173
|
-
})
|
|
174
|
-
window.open(routeData.href, '_blank')
|
|
175
|
-
}
|
|
176
|
-
} else {
|
|
177
|
-
this.$router.push({
|
|
178
|
-
name: item.name,
|
|
179
|
-
params: item.meta.addQuery,
|
|
180
|
-
})
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
toggleSideBar() {
|
|
184
|
-
this.$store.dispatch('toggleSideBar')
|
|
185
|
-
},
|
|
186
|
-
},
|
|
187
|
-
computed: {
|
|
188
|
-
...mapGetters(['sidebar']),
|
|
189
|
-
},
|
|
190
|
-
}
|
|
191
|
-
</script>
|
|
192
|
-
|
|
193
|
-
<style lang="scss" scoped>
|
|
194
|
-
@import 'css/menu.css'; // normalize.css 样式格式化
|
|
195
|
-
.product_sort {
|
|
196
|
-
:deep(.el-scrollbar__wrap) {
|
|
197
|
-
overflow-x: hidden;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
:deep(.is-horizontal) {
|
|
201
|
-
height: 0;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
</style>
|
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
@charset "utf-8";
|
|
2
|
-
/* CSS Document */
|
|
3
|
-
|
|
4
|
-
ul, ol {
|
|
5
|
-
list-style: none;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/*清除浮动*/
|
|
9
|
-
.clearfix:after {
|
|
10
|
-
clear: both;
|
|
11
|
-
content: ".";
|
|
12
|
-
display: block;
|
|
13
|
-
height: 0;
|
|
14
|
-
visibility: hidden;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.clearfix {
|
|
18
|
-
display: inline-table;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
* html .clearfix {
|
|
22
|
-
height: 1%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.clearfix {
|
|
26
|
-
display: block;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ma {
|
|
30
|
-
margin-left: auto;
|
|
31
|
-
margin-right: auto;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.w980 {
|
|
35
|
-
width: 980px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.mt10 {
|
|
39
|
-
margin-top: 10px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.product_sortBg {
|
|
43
|
-
background-color: #ededed;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/*.fa{ margin-right:5px;}*/
|
|
47
|
-
|
|
48
|
-
/*缩进按钮*/
|
|
49
|
-
.menuSvg {
|
|
50
|
-
height: 30px;
|
|
51
|
-
background-color: #ededed;
|
|
52
|
-
border-bottom: solid 1px #bbb;
|
|
53
|
-
text-align: center;
|
|
54
|
-
color: #f0f0f0;
|
|
55
|
-
padding-top: 5px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.hamburger[data-v-4e6f274c] {
|
|
59
|
-
width: 16px !important;
|
|
60
|
-
height: 16px !important;
|
|
61
|
-
fill: #bbbbbb;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.scroll-container .scroll-wrapper { /*background-color:#666666;*/
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/*菜单的高度 height:calc(100vh + 70px) 70 对应ScrllBar\index.vue 32 行的判断尺寸*/
|
|
68
|
-
.product_sort { /*border-bottom:solid 1px #3299fd;border-right:solid 1px #3299fd;*/
|
|
69
|
-
height: calc(100vh - 80px);
|
|
70
|
-
position: relative;
|
|
71
|
-
z-index: 999;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.product_sort .hd {
|
|
75
|
-
line-height: 40px;
|
|
76
|
-
text-indent: 20px;
|
|
77
|
-
font-size: 15px;
|
|
78
|
-
font-weight: bold;
|
|
79
|
-
color: #fff;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.product_sort .bd {
|
|
83
|
-
padding-bottom: 10px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.product_sort .bd .item {
|
|
87
|
-
border-bottom: solid 1px #bbb;
|
|
88
|
-
height: 50px;
|
|
89
|
-
position: relative;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.product_sort .bd .item .title {
|
|
93
|
-
text-indent: 13px;
|
|
94
|
-
height: 50px;
|
|
95
|
-
overflow: hidden;
|
|
96
|
-
line-height: 50px;
|
|
97
|
-
font-size: 15px;
|
|
98
|
-
font-weight: bold;;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.product_sort .bd .item .title a {
|
|
102
|
-
position: relative;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.product_sort .bd .item .title .fa {
|
|
106
|
-
font-size: 16px;
|
|
107
|
-
margin-right: 5px;
|
|
108
|
-
width: 20px !important;
|
|
109
|
-
height: 20px !important;
|
|
110
|
-
display: block !important;
|
|
111
|
-
float: left;
|
|
112
|
-
margin-top: 15px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/*选择和不被选择时的背景色*/
|
|
116
|
-
.product_sortSelected {
|
|
117
|
-
background-color: #409EFF;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.product_sortUnselected {
|
|
121
|
-
background-color: #666666;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/*二级弹出菜单结束*/
|
|
125
|
-
.product_sortTwo {
|
|
126
|
-
width: 820px;
|
|
127
|
-
min-height: 30px;
|
|
128
|
-
max-height: 400px;
|
|
129
|
-
overflow-y: auto;
|
|
130
|
-
position: absolute;
|
|
131
|
-
left: 142px;
|
|
132
|
-
padding-top: 10px;
|
|
133
|
-
padding-bottom: 5px;
|
|
134
|
-
border: 1px solid #b6b6b6;
|
|
135
|
-
color: #494949;
|
|
136
|
-
background: #FFF;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.product_sortTwoDiv {
|
|
140
|
-
width: 770px;
|
|
141
|
-
float: left;
|
|
142
|
-
margin-left: 25px;
|
|
143
|
-
margin-bottom: 5px;
|
|
144
|
-
padding-bottom: 0px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.product_sortTwoBottomLine {
|
|
148
|
-
border: 0px;
|
|
149
|
-
padding-bottom: 0px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.product_sortSpan {
|
|
153
|
-
color: #0555a6;
|
|
154
|
-
font-weight: bold;
|
|
155
|
-
display: block;
|
|
156
|
-
float: left;
|
|
157
|
-
width: 100%;
|
|
158
|
-
height: 30px;
|
|
159
|
-
line-height: 30px;
|
|
160
|
-
margin-right: 10px;
|
|
161
|
-
border-bottom: 1px solid #ccc;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.product_sortSpan a {
|
|
165
|
-
display: inline-block;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.product_sortTwoMenu {
|
|
169
|
-
width: 100%;
|
|
170
|
-
float: left;
|
|
171
|
-
margin-top: 5px;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.product_sortTwoMenu > a {
|
|
175
|
-
min-width: 50px;
|
|
176
|
-
width: auto !important;
|
|
177
|
-
height: 30px;
|
|
178
|
-
line-height: 30px;
|
|
179
|
-
float: left;
|
|
180
|
-
color: #646464;
|
|
181
|
-
display: block;
|
|
182
|
-
margin-right: 10px;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.product_sortTwoMenu a:hover {
|
|
186
|
-
color: #888;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.product_sortTwo678 {
|
|
190
|
-
width: 850px;
|
|
191
|
-
min-height: 30px;
|
|
192
|
-
height: auto !important;
|
|
193
|
-
position: absolute;
|
|
194
|
-
left: 142px;
|
|
195
|
-
padding-top: 10px;
|
|
196
|
-
padding-bottom: 10px;
|
|
197
|
-
border: 1px solid #b6b6b6;
|
|
198
|
-
color: #494949;
|
|
199
|
-
background: #FFF;
|
|
200
|
-
bottom: 0px;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.product_sortTwo9 {
|
|
204
|
-
width: 850px;
|
|
205
|
-
min-height: 30px;
|
|
206
|
-
height: auto !important;
|
|
207
|
-
position: absolute;
|
|
208
|
-
left: 142px;
|
|
209
|
-
padding-top: 10px;
|
|
210
|
-
padding-bottom: 10px;
|
|
211
|
-
border: 1px solid #b6b6b6;
|
|
212
|
-
color: #494949;
|
|
213
|
-
background: #FFF;
|
|
214
|
-
bottom: 0px;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/*二级弹出菜单结束*/
|
|
218
|
-
|
|
219
|
-
.product_sort .bd .item .list {
|
|
220
|
-
padding-left: 5px;
|
|
221
|
-
height: 30px;
|
|
222
|
-
line-height: 30px;
|
|
223
|
-
overflow: hidden;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.product_sort .bd .item .list a {
|
|
227
|
-
color: #333;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.product_sort .bd .item .list a:hover {
|
|
231
|
-
text-decoration: underline;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.product_sort .bd .item .arrow {
|
|
235
|
-
font-size: 12px;
|
|
236
|
-
color: #333;
|
|
237
|
-
position: absolute;
|
|
238
|
-
right: 10px;
|
|
239
|
-
top: 18px;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.product_sort .bd .menuvisit .arrow {
|
|
243
|
-
font-size: 12px;
|
|
244
|
-
color: white;
|
|
245
|
-
position: absolute;
|
|
246
|
-
right: 10px;
|
|
247
|
-
top: 18px;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.product_sort .bd .item .line {
|
|
251
|
-
position: absolute;
|
|
252
|
-
right: -2px;
|
|
253
|
-
top: 0px;
|
|
254
|
-
width: 2px;
|
|
255
|
-
height: 55px;
|
|
256
|
-
background-color: #fff;
|
|
257
|
-
z-index: 999;
|
|
258
|
-
display: none;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.product_sort .bd .item .subitem {
|
|
262
|
-
display: none;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.product_sort .bd .layer .line {
|
|
266
|
-
display: block;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.product_sort .bd .layer .arrow {
|
|
270
|
-
display: block;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.product_sort .bd .layer .subitem {
|
|
274
|
-
width: 731px;
|
|
275
|
-
background: #fff;
|
|
276
|
-
border: solid 1px #dbd4d5;
|
|
277
|
-
border-left: none;
|
|
278
|
-
position: absolute;
|
|
279
|
-
top: -1px;
|
|
280
|
-
z-index: 999;
|
|
281
|
-
min-height: 55px;
|
|
282
|
-
height: auto !important;
|
|
283
|
-
height: 55px;
|
|
284
|
-
padding: 10px 20px;
|
|
285
|
-
display: block;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-menu
|
|
3
|
-
:collapse="isCollapse"
|
|
4
|
-
:default-active="$route.name"
|
|
5
|
-
active-text-color="#ffffff"
|
|
6
|
-
background-color="#ffffff"
|
|
7
|
-
mode="vertical"
|
|
8
|
-
text-color="#fff"
|
|
9
|
-
>
|
|
10
|
-
<HdMenu :routes="hdMenu"></HdMenu>
|
|
11
|
-
</el-menu>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import { mapGetters } from 'vuex'
|
|
16
|
-
import HdMenu from './HdMenu'
|
|
17
|
-
|
|
18
|
-
export default {
|
|
19
|
-
components: { HdMenu },
|
|
20
|
-
computed: {
|
|
21
|
-
...mapGetters(['hdMenu', 'sidebar']),
|
|
22
|
-
isCollapse() {
|
|
23
|
-
return !this.sidebar.opened
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
}
|
|
27
|
-
</script>
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-container>
|
|
3
|
-
<el-main>
|
|
4
|
-
<hd-com-grid
|
|
5
|
-
:hdQuery="hdQuery"
|
|
6
|
-
ref="grid"
|
|
7
|
-
url="/webresources/login/com/ComMsg"
|
|
8
|
-
visualScroll
|
|
9
|
-
>
|
|
10
|
-
<div class="filter-container" slot="query">
|
|
11
|
-
<el-input
|
|
12
|
-
@keyup.enter.native="$refs.grid.doQuery()"
|
|
13
|
-
class="filter-item"
|
|
14
|
-
:placeholder="$t('名称')"
|
|
15
|
-
style="width: 200px"
|
|
16
|
-
v-model="hdQuery.query.anyQuery"
|
|
17
|
-
>
|
|
18
|
-
</el-input>
|
|
19
|
-
<el-button
|
|
20
|
-
@click="$refs.grid.doQuery()"
|
|
21
|
-
class="filter-item"
|
|
22
|
-
:icon="ElIconSearch"
|
|
23
|
-
ref="q"
|
|
24
|
-
type="primary"
|
|
25
|
-
>{{ $t('搜索') }}
|
|
26
|
-
</el-button>
|
|
27
|
-
<el-button
|
|
28
|
-
@click="doEdit('')"
|
|
29
|
-
class="filter-item"
|
|
30
|
-
:icon="ElIconEdit"
|
|
31
|
-
ref="a"
|
|
32
|
-
type="primary"
|
|
33
|
-
>{{ $t('新增') }}
|
|
34
|
-
</el-button>
|
|
35
|
-
<el-button
|
|
36
|
-
@click="$refs.grid.doRemoveAll()"
|
|
37
|
-
class="filter-item"
|
|
38
|
-
ref="d"
|
|
39
|
-
type="danger"
|
|
40
|
-
>{{ $t('删除') }}
|
|
41
|
-
</el-button>
|
|
42
|
-
</div>
|
|
43
|
-
<el-table-column
|
|
44
|
-
align="center"
|
|
45
|
-
fixed="right"
|
|
46
|
-
label="操作"
|
|
47
|
-
width="100px"
|
|
48
|
-
>
|
|
49
|
-
<template slot-scope="scope">
|
|
50
|
-
<hd-btn
|
|
51
|
-
@click.stop="doEdit(scope.row.msgId)"
|
|
52
|
-
hint="编辑"
|
|
53
|
-
icon="el-icon-edit"
|
|
54
|
-
></hd-btn>
|
|
55
|
-
<hd-btn
|
|
56
|
-
@click.stop="$refs.grid.doRemove(scope.row)"
|
|
57
|
-
hint="删除"
|
|
58
|
-
icon="el-icon-delete"
|
|
59
|
-
></hd-btn>
|
|
60
|
-
<hd-btn
|
|
61
|
-
@click.stop="send(scope.row.msgId)"
|
|
62
|
-
hint="发送"
|
|
63
|
-
icon="el-icon-phone"
|
|
64
|
-
></hd-btn>
|
|
65
|
-
</template>
|
|
66
|
-
</el-table-column>
|
|
67
|
-
<el-table-column
|
|
68
|
-
align="center"
|
|
69
|
-
label="CODE"
|
|
70
|
-
prop="msgCode"
|
|
71
|
-
sortable
|
|
72
|
-
width="100px"
|
|
73
|
-
>
|
|
74
|
-
</el-table-column>
|
|
75
|
-
<el-table-column
|
|
76
|
-
align="center"
|
|
77
|
-
label="标题"
|
|
78
|
-
prop="title"
|
|
79
|
-
sortable
|
|
80
|
-
width="100px"
|
|
81
|
-
>
|
|
82
|
-
</el-table-column>
|
|
83
|
-
<el-table-column
|
|
84
|
-
align="center"
|
|
85
|
-
label="类型"
|
|
86
|
-
prop="msgTypeName"
|
|
87
|
-
width="150px"
|
|
88
|
-
>
|
|
89
|
-
</el-table-column>
|
|
90
|
-
<el-table-column
|
|
91
|
-
align="center"
|
|
92
|
-
label="内容"
|
|
93
|
-
prop="content"
|
|
94
|
-
sortable
|
|
95
|
-
width="300px"
|
|
96
|
-
>
|
|
97
|
-
</el-table-column>
|
|
98
|
-
<el-table-column
|
|
99
|
-
align="center"
|
|
100
|
-
label="打开路径"
|
|
101
|
-
prop="url"
|
|
102
|
-
sortable
|
|
103
|
-
width="100px"
|
|
104
|
-
>
|
|
105
|
-
</el-table-column>
|
|
106
|
-
</hd-com-grid>
|
|
107
|
-
</el-main>
|
|
108
|
-
<commsgform @save-ok="$refs.grid.doQuery()" ref="commsgform"></commsgform>
|
|
109
|
-
</el-container>
|
|
110
|
-
</template>
|
|
111
|
-
|
|
112
|
-
<script>
|
|
113
|
-
import { Search as ElIconSearch, Edit as ElIconEdit } from '@element-plus/icons-vue'
|
|
114
|
-
import commsgform from './commsgform'
|
|
115
|
-
|
|
116
|
-
export default {
|
|
117
|
-
data() {
|
|
118
|
-
return {
|
|
119
|
-
hdQuery: new HdQuery(this),
|
|
120
|
-
ElIconSearch,
|
|
121
|
-
ElIconEdit,
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
components: { commsgform },
|
|
125
|
-
mounted() {},
|
|
126
|
-
methods: {
|
|
127
|
-
doEdit(msgId) {
|
|
128
|
-
// 增加或编辑
|
|
129
|
-
this.$refs['commsgform'].show(msgId)
|
|
130
|
-
},
|
|
131
|
-
send(msgId) {
|
|
132
|
-
// 增加或编辑
|
|
133
|
-
this.$http
|
|
134
|
-
.post(`/webresources/login/com/ComMsg/send?msgId=${msgId}`)
|
|
135
|
-
.then((response) => {
|
|
136
|
-
var data = response.data
|
|
137
|
-
if (data.code != '1') {
|
|
138
|
-
this.$message({
|
|
139
|
-
type: 'error',
|
|
140
|
-
message: data.message,
|
|
141
|
-
})
|
|
142
|
-
} else {
|
|
143
|
-
this.$message({
|
|
144
|
-
type: 'success',
|
|
145
|
-
message: this.$t('发送成功'),
|
|
146
|
-
})
|
|
147
|
-
}
|
|
148
|
-
})
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
}
|
|
152
|
-
</script>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="height: 100%; min-height: 400px">
|
|
3
|
-
<hd-tree
|
|
4
|
-
:data="hdTree"
|
|
5
|
-
v-loading="listLoading"
|
|
6
|
-
node-key="id"
|
|
7
|
-
ref="orgnTree"
|
|
8
|
-
style="height: 100%"
|
|
9
|
-
height="100%"
|
|
10
|
-
show-checkbox
|
|
11
|
-
></hd-tree>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
export default {
|
|
17
|
-
name: 'commsgOrgn',
|
|
18
|
-
data: function () {
|
|
19
|
-
return {
|
|
20
|
-
hdTree: [],
|
|
21
|
-
listLoading: false,
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
methods: {
|
|
25
|
-
doQuery() {
|
|
26
|
-
this.listLoading = true
|
|
27
|
-
this.$http
|
|
28
|
-
.get(`../webresources/login/com/ComMsg/findOrgnByMsgId/${this.msgId}`)
|
|
29
|
-
.then((response) => {
|
|
30
|
-
const data = response.data
|
|
31
|
-
this.hdTree = data
|
|
32
|
-
this.listLoading = false
|
|
33
|
-
})
|
|
34
|
-
},
|
|
35
|
-
getOrgIds() {
|
|
36
|
-
const os = this.$refs.orgnTree.getCheckedNodes(false)
|
|
37
|
-
let orgnIds = ''
|
|
38
|
-
for (let i = 0; i < os.length; i++) {
|
|
39
|
-
orgnIds = orgnIds + os[i].id + ','
|
|
40
|
-
}
|
|
41
|
-
return orgnIds
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
props: ['orgnIds', 'msgId'],
|
|
45
|
-
watch: {
|
|
46
|
-
msgId: function (newVal) {
|
|
47
|
-
this.doQuery()
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
}
|
|
51
|
-
</script>
|