zhongzewei %!s(int64=7) %!d(string=hai) anos
pai
achega
44ae94c8dd

+ 0 - 4
modules/pm/models/project_model.js

@@ -283,10 +283,6 @@ ProjectsDAO.prototype.copyUserProjects = function (userId, datas, callback) {
 
 ProjectsDAO.prototype.rename = async function (userId, compilationId, data, callback){
     try {
-        console.log("------------------------------------");
-        console.log(userId) ;
-        console.log("------------------------------------");
-        console.log(compilationId) ;
         if (data.id === undefined || data.id === '') {
             throw '数据错误!';
         }

+ 1 - 1
web/building_saas/pm/js/pm_ajax.js

@@ -45,7 +45,7 @@ var UpdateProjectData = function (updateData, callback) {
     });
 };
 // 重命名项目
-var RenameProject = function(projId, newName, callback) {
+var RenameProject_ajax = function(projId, newName, callback) {
     $.ajax({
         type: "POST",
         url: '/pm/api/renameProject',

+ 0 - 1
web/building_saas/pm/js/pm_main.js

@@ -1443,7 +1443,6 @@ function GetNewProjectId(count, callback) {
  * @return {void}
  */
 function RenameProject(projectId, newName, parentID, callback) {
-    console.log(parentID);
     $.ajax({
         type: "POST",
         url: '/pm/api/renameProject',