1) 修改复制请求详情接口
This commit is contained in:
parent
ed4b2266e0
commit
efbf16ebe2
|
@ -897,4 +897,9 @@ export const exportKey = (data) => {
|
|||
return derive("get", baseurl + "/key/export", data);
|
||||
};
|
||||
|
||||
// 复制,获取计划详情
|
||||
export const get_copy_data = (data) => {
|
||||
return req("get", baseurl + "/plan/get_copy_data/" + data);
|
||||
};
|
||||
|
||||
export { req };
|
||||
|
|
|
@ -25,6 +25,7 @@ import {
|
|||
planSend,
|
||||
approvals,
|
||||
getDraftInfo,
|
||||
get_copy_data,
|
||||
} from "../../../assets/api.js";
|
||||
|
||||
export default class add extends React.Component {
|
||||
|
@ -103,7 +104,7 @@ export default class add extends React.Component {
|
|||
*/
|
||||
getDetails(plan_id) {
|
||||
let copy_count_golod = sessionStorage.getItem("copy_count_golod");
|
||||
getDraftInfo(plan_id).then((res) => {
|
||||
get_copy_data(plan_id).then((res) => {
|
||||
console.log("res 1=>", res);
|
||||
handelResponse(
|
||||
res,
|
||||
|
|
Loading…
Reference in New Issue