|
|
@@ -46,8 +46,8 @@
|
|
|
<!-- <th>{{item.Describe}}</th> -->
|
|
|
<th>{{item.Type}}</th>
|
|
|
<th>{{item.CreateUserName}}</th>
|
|
|
- <th style="position: relative;"><button type="default" size="mini" @click="edit(index)" class="m_edit">修改</button></th>
|
|
|
- <th style="position: relative;"><button type="default" size="mini" @click="delete1(index)" class="m_delete">删除</button></th>
|
|
|
+ <th style="position: relative;"><button type="default" size="mini" @click="editProject(index)" class="m_edit">修改</button></th>
|
|
|
+ <th style="position: relative;"><button type="default" size="mini" @click="deleteProject(index)" class="m_delete">删除</button></th>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
@@ -197,29 +197,35 @@
|
|
|
audit,
|
|
|
// locationtemp
|
|
|
},
|
|
|
- created() {
|
|
|
- // this.getlist();
|
|
|
- // this.getFileList();
|
|
|
- },
|
|
|
methods: {
|
|
|
paging(obj) {
|
|
|
this.index = obj;
|
|
|
},
|
|
|
- delete1(index) {
|
|
|
+ editProject(index) {
|
|
|
this.title = "是否删除信息?";
|
|
|
this.arr = ["删除", "取消"]
|
|
|
this.show = true;
|
|
|
},
|
|
|
+ deleteProject(index) {
|
|
|
+ this.title = "是否删除信息?";
|
|
|
+ this.arr = ["删除", "取消"]
|
|
|
+ this.show = true;
|
|
|
+ },
|
|
|
+ // delete1(index) {
|
|
|
+ // this.title = "是否删除信息?";
|
|
|
+ // this.arr = ["删除", "取消"]
|
|
|
+ // this.show = true;
|
|
|
+ // },
|
|
|
download(index) {
|
|
|
this.title = "下载成功?";
|
|
|
this.arr = ["确认"];
|
|
|
this.show = true;
|
|
|
},
|
|
|
- edit(index) {
|
|
|
- this.title = "是否删除信息?";
|
|
|
- this.arr = ["删除", "取消"]
|
|
|
- this.show = true;
|
|
|
- },
|
|
|
+ // edit(index) {
|
|
|
+ // this.title = "是否删除信息?";
|
|
|
+ // this.arr = ["删除", "取消"]
|
|
|
+ // this.show = true;
|
|
|
+ // },
|
|
|
audit(index) {
|
|
|
this.title = "是否确认审核?";
|
|
|
this.arr = ["通过", "未通过"]
|
|
|
@@ -241,11 +247,8 @@
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
- // if (this.audit == "audit") {
|
|
|
-
|
|
|
- // }
|
|
|
|
|
|
- console.log(obj)
|
|
|
+ // console.log(obj)
|
|
|
},
|
|
|
auditPost(obj) {
|
|
|
uni.request({
|
|
|
@@ -270,12 +273,7 @@
|
|
|
method: "POST",
|
|
|
dataType: "json",
|
|
|
success: res => {
|
|
|
-
|
|
|
- var {
|
|
|
- data
|
|
|
- } = res;
|
|
|
- this.projectData = data.Projects;
|
|
|
-
|
|
|
+ this.projectData = res.data.Projects;
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -296,26 +294,6 @@
|
|
|
// console.log('this.fileData=',this.fileData)
|
|
|
}
|
|
|
})
|
|
|
- // var temp = {
|
|
|
- // "UserID": this.$UserId,
|
|
|
- // "ProjectID": this.projectData[0].Id
|
|
|
- // }
|
|
|
- // uni.request({
|
|
|
- // url: this.$Api + "/project/getprojectcontent",
|
|
|
- // data: temp,
|
|
|
- // method: "POST",
|
|
|
- // dataType: "json",
|
|
|
- // success: res => {
|
|
|
- // var {
|
|
|
- // data
|
|
|
- // } = res;
|
|
|
- // if (data.code == 100) {
|
|
|
- // this.fileData = data.ProjectItem;
|
|
|
- // console.log('this.fileData=',this.fileData)
|
|
|
- // }
|
|
|
- // }
|
|
|
- // })
|
|
|
-
|
|
|
},
|
|
|
viewProject(obj) {
|
|
|
this.projectData = [obj];
|
|
|
@@ -332,10 +310,10 @@
|
|
|
method: "POST",
|
|
|
dataType: "json",
|
|
|
success: res => {
|
|
|
- console.log("请求学生", res);
|
|
|
+ // console.log("请求学生", res);
|
|
|
if (res.data.Code == 100) {
|
|
|
this.projectMembers = res.data.Users;
|
|
|
- console.log();
|
|
|
+ // console.log();
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
@@ -357,7 +335,7 @@
|
|
|
method: "POST",
|
|
|
dataType: "json",
|
|
|
success: res => {
|
|
|
- console.log("请求学生", res);
|
|
|
+ // console.log("请求学生", res);
|
|
|
if (res.data.Code == 100) {
|
|
|
this.projectMembers = res.data.Users;
|
|
|
console.log();
|