Q-ABAB 1 年之前
父節點
當前提交
9b947715d0
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      src/views/projectApply/projectApplication.vue

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

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