-- 复制项目

This commit is contained in:
yuping
2022-12-26 20:48:19 +08:00
parent daa48a3bb1
commit f00b3e945f

View File

@@ -1230,22 +1230,13 @@ export default {
};
//确认复制
const copyProject = () => {
let obj = {
state.tableLoading = true
api.handleProject({
projectId: state.copyProjectId,
type: 2,
};
api
.handleProject(obj)
.then((res) => {
console.log("复制成功", res);
message.destroy();
message.success("复制成功");
state.copyModal = false;
getTableDate();
})
.catch((err) => {
console.log("复制失败", err);
});
}).then(() => getTableDate())
message.success("复制成功");
state.copyModal = false;
};
//打开提交审核弹窗
const showReviewModal = (projectId) => {