✨ feat: 新增接口
This commit is contained in:
parent
9daa09f302
commit
fb9765329b
|
@ -974,4 +974,9 @@ export const setResellMerchant = (data) => {
|
|||
return req("post", baseurl + "/reseller/resellMerchant/set", data)
|
||||
}
|
||||
|
||||
/* 获取提示列表 */
|
||||
export const getClientPrompt = (planId) => {
|
||||
return req("get", baseurl + `/plan/clientPrompt/query/${planId}`)
|
||||
}
|
||||
|
||||
export { req }
|
||||
|
|
|
@ -573,7 +573,7 @@ export default class acclist extends React.Component {
|
|||
]
|
||||
sessionStorage.setItem("breakchangenav", JSON.stringify(arr))
|
||||
sessionStorage.setItem("linkshowname", "营销计划管理")
|
||||
sessionStorage.setItem("key_plan_id", row.id)
|
||||
sessionStorage.setItem("plan_id", row.id)
|
||||
this.props.history.push("/home/plan-message")
|
||||
return
|
||||
default:
|
||||
|
|
|
@ -5,6 +5,7 @@ import { cloneDeep } from "lodash-es"
|
|||
import { useEffect, useState } from "react"
|
||||
import { Button } from "zent"
|
||||
import "./index.less"
|
||||
import { getClientPrompt } from "@/assets/api.js"
|
||||
const data = [
|
||||
{
|
||||
id: 1,
|
||||
|
@ -131,6 +132,7 @@ export default function Message() {
|
|||
tableData: cloneDeep(data),
|
||||
backupTableData: cloneDeep(data)
|
||||
})
|
||||
getClientPrompt(state.planId)
|
||||
}, [])
|
||||
|
||||
/* 提交 */
|
||||
|
|
Loading…
Reference in New Issue