fix: 修复白名单 包码结算

This commit is contained in:
zhangds 2024-03-03 17:19:46 +08:00
parent 3c38a9fa99
commit cfe12e4d4c
2 changed files with 5 additions and 1 deletions

View File

@ -932,6 +932,9 @@ export default class acclist extends React.Component {
let data = { let data = {
excel: req.path excel: req.path
} }
if (sessionStorage.getItem("plan_id")) {
data.plan_id = sessionStorage.getItem("plan_id")
}
this.setState({ mobile_excel: req.path }) this.setState({ mobile_excel: req.path })
getAccessVerification(data).then((res) => { getAccessVerification(data).then((res) => {
this.setState({ file_loading: false }) this.setState({ file_loading: false })

View File

@ -404,7 +404,8 @@ const UseKeyAddEdit = () => {
res, res,
(req, msg) => { (req, msg) => {
let data = { let data = {
excel: req.path excel: req.path,
plan_id: state.plan_id
} }
setModel({ mobile_excel: req.path }) setModel({ mobile_excel: req.path })
getAccessVerification(data).then((res) => { getAccessVerification(data).then((res) => {