fix: 修复key批次时间错误

This commit is contained in:
zhangds 2022-09-30 18:32:02 +08:00
parent 496197b6bf
commit f80077095f
1 changed files with 5 additions and 0 deletions

View File

@ -303,6 +303,7 @@ export default class acclist extends React.Component {
onInputChange(e) {}
//营销系统名称
linkTo(row) {
console.log("row =>", row);
sessionStorage.setItem("showflag", true);
let arr = [
{
@ -319,6 +320,10 @@ export default class acclist extends React.Component {
sessionStorage.setItem("linkshowname", "营销计划管理");
sessionStorage.setItem("key_plan_id", row.id);
sessionStorage.setItem("key_plan_status", row.status);
sessionStorage.setItem(
"datetime",
JSON.stringify([row.begin_time, row.end_time])
);
// this.props.history.push('/home/key-list');
window.open("#/home/key-list");
}