Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
f7dae8b6
Commit
f7dae8b6
authored
Jun 02, 2021
by
季圣华
Browse files
用户增加批量删除功能
parent
974117b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
jshERP-web/public/index.html
View file @
f7dae8b6
...
...
@@ -241,6 +241,7 @@
<script>
window
.
_CONFIG
=
{};
window
.
_CONFIG
[
'
domianURL
'
]
=
'
/jshERP-boot
'
;
let
statisticsCode
=
'
1cd9bcbaae133f03a6eb19da6579aaba
'
let
sysTitle
;
let
ajax
=
new
XMLHttpRequest
();
let
url
=
window
.
_CONFIG
[
'
domianURL
'
]
+
'
/platformConfig/getPlatformName
'
...
...
@@ -254,8 +255,16 @@
ajax
.
open
(
'
get
'
,
url
,
false
);
ajax
.
send
(
null
);
window
.
SYS_TITLE
=
sysTitle
;
window
.
_statistics
=
'
https://hm.baidu.com/hm.js?
'
+
statisticsCode
document
.
title
=
window
.
SYS_TITLE
;
//statistics
var
_hmt
=
_hmt
||
[];
(
function
()
{
var
hm
=
document
.
createElement
(
"
script
"
);
hm
.
src
=
window
.
_statistics
;
var
s
=
document
.
getElementsByTagName
(
"
script
"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);
})();
</script>
</head>
...
...
@@ -271,14 +280,5 @@
</div>
</div>
</div>
<script>
var
_hmt
=
_hmt
||
[];
(
function
()
{
var
hm
=
document
.
createElement
(
"
script
"
);
hm
.
src
=
"
https://hm.baidu.com/hm.js?7007d53664243dc0e53bcf92791a712d
"
;
var
s
=
document
.
getElementsByTagName
(
"
script
"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);
})();
</script>
</body>
</html>
jshERP-web/src/permission.js
View file @
f7dae8b6
...
...
@@ -47,9 +47,7 @@ router.beforeEach((to, from, next) => {
})
}
else
{
if
(
to
.
path
)
{
if
(
window
.
_hmt
)
{
window
.
_hmt
.
push
([
'
_trackPageview
'
,
'
/#
'
+
to
.
fullPath
])
}
_hmt
.
push
([
'
_trackPageview
'
,
'
/#
'
+
to
.
fullPath
]);
}
next
()
}
...
...
@@ -64,6 +62,7 @@ router.beforeEach((to, from, next) => {
}
}
})
router
.
afterEach
(()
=>
{
NProgress
.
done
()
// finish progress bar
})
jshERP-web/src/views/system/UserList.vue
View file @
f7dae8b6
...
...
@@ -28,7 +28,7 @@
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"handleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
><a-icon
type=
"delete"
@
click=
"batchDel"
/>
删除
</a-menu-item>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment