mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 10:56:46 +08:00
-- 复制项目
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user