|
@@ -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) {
|
|
|
//当页数发生改变的时候调用获取列表数据请求
|