Q-ABAB 1 year ago
parent
commit
9b947715d0
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/views/projectApply/projectApplication.vue

+ 3 - 4
src/views/projectApply/projectApplication.vue

@@ -728,15 +728,14 @@ export default {
     },
     dialogDel() {
       //确定删除这个项目
-      // console.log(this.iid)
-      if (this.iid.userid == this.$store.state.userInfo.userid) {
+      // if (this.iid.userid == this.$store.state.userInfo.userid) {
         let param = {
           uid: this.$store.state.userInfo.userid,
           pid: this.iid.courseId,
         };
         this.ajax.post(this.$store.state.api + "/DeleteProject", param).then(
           (res) => {
-            // console.log(res);
+            console.log(res);
             if (res.data) {
               this.$message.success("删除成功");
               this.getData();
@@ -750,7 +749,7 @@ export default {
             console.log(err);
           }
         );
-      }
+      // }
     },
     handleCurrentChange(val) {
       //当页数发生改变的时候调用获取列表数据请求