Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
32cbdb6f
Commit
32cbdb6f
authored
Jun 27, 2023
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 拉黑员工优化
parent
315b92db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
env.config.js
config/env.config.js
+1
-1
blacklistModal.jsx
src/pages/EmployeeManagement/components/blacklistModal.jsx
+1
-1
No files found.
config/env.config.js
View file @
32cbdb6f
import
RoleType
,
{
isPlatForm
}
from
'
./role.config
'
;
const
isProduction
=
process
.
env
.
NODE_ENV
===
'
production
'
;
const
isPre
=
process
.
env
.
PRE_ENV
===
'
pre
'
;
const
environment
=
'
sc
'
;
const
environment
=
'
yxm2
'
;
const
envAPi
=
{
api
:
`https://security-
${
environment
}
.liangkebang.net`
,
//'https://security-xyqb.liangkebang.net',
...
...
src/pages/EmployeeManagement/components/blacklistModal.jsx
View file @
32cbdb6f
...
...
@@ -16,7 +16,7 @@ const BlacklistModal = ({ visible, onClose, list, enterpriseId, selectedRows })
isBlack
:
1
,
balanceBackFlag
:
1
,
};
const
res
=
apiStaffBlack
(
params
);
const
res
=
a
wait
a
piStaffBlack
(
params
);
if
(
res
?.
businessCode
===
'
0000
'
)
{
message
.
success
(
'
设置成功
'
);
onClose
(
true
,
'
blacklist
'
);
...
...
Write
Preview
Markdown
is supported
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