Commit 23649205 authored by 祁正's avatar 祁正

ccap项目管理-复制新增

parent fcada8e6
......@@ -273,8 +273,12 @@ const groupList = ref([
function getList() {
getDataList(queryParams.value).then(res => {
tableList.value = res.rows.sort((a, b) => {
if (a.id === adminId) return 1
else if (b.id === adminId) return 1
if (a.id === adminId && b.id !== adminId) {
return -1;
} else if (a.id !== adminId && b.id === adminId) {
return 1;
}
return 0;
});
total.value = res.total;
});
......@@ -471,7 +475,10 @@ function dialog2Sure(){
}else{
//复制新增
coypAddCcapManager(tableDialogForm.value).then(res=>{
console.log(res)
if(res.code === 200){
ElMessage.success("复制成功")
dialog2Cancel()
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment