mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
-- 复制项目
This commit is contained in:
@@ -1230,22 +1230,13 @@ export default {
|
|||||||
};
|
};
|
||||||
//确认复制
|
//确认复制
|
||||||
const copyProject = () => {
|
const copyProject = () => {
|
||||||
let obj = {
|
state.tableLoading = true
|
||||||
|
api.handleProject({
|
||||||
projectId: state.copyProjectId,
|
projectId: state.copyProjectId,
|
||||||
type: 2,
|
type: 2,
|
||||||
};
|
}).then(() => getTableDate())
|
||||||
api
|
message.success("复制成功");
|
||||||
.handleProject(obj)
|
state.copyModal = false;
|
||||||
.then((res) => {
|
|
||||||
console.log("复制成功", res);
|
|
||||||
message.destroy();
|
|
||||||
message.success("复制成功");
|
|
||||||
state.copyModal = false;
|
|
||||||
getTableDate();
|
|
||||||
})
|
|
||||||
.catch((err) => {
|
|
||||||
console.log("复制失败", err);
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
//打开提交审核弹窗
|
//打开提交审核弹窗
|
||||||
const showReviewModal = (projectId) => {
|
const showReviewModal = (projectId) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user