|
@@ -60,7 +60,7 @@
|
|
getCooperations() {
|
|
getCooperations() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
request({
|
|
request({
|
|
- url: "/feedback/listFeedback",
|
|
|
|
|
|
+ url: "/recruitment/list",
|
|
method: "post",
|
|
method: "post",
|
|
params: {pageIndex:1,pageSize: 9999999}
|
|
params: {pageIndex:1,pageSize: 9999999}
|
|
})
|
|
})
|
|
@@ -80,7 +80,7 @@
|
|
//删除合作信息
|
|
//删除合作信息
|
|
deleteCooperation(id) {
|
|
deleteCooperation(id) {
|
|
request({
|
|
request({
|
|
- url: "/feedback/deleteFeedback",
|
|
|
|
|
|
+ url: "/recruitment/delete",
|
|
method: "post",
|
|
method: "post",
|
|
params: { id: id }
|
|
params: { id: id }
|
|
})
|
|
})
|
|
@@ -102,28 +102,6 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
|
|
- //切换置顶
|
|
|
|
- switchSticky(id) {
|
|
|
|
- request({
|
|
|
|
- url: "/cooperations/switchCooperationSticky",
|
|
|
|
- method: "post",
|
|
|
|
- params: { id: id }
|
|
|
|
- })
|
|
|
|
- .then(response => {
|
|
|
|
- this.$message({
|
|
|
|
- message: "操作成功",
|
|
|
|
- type: "success"
|
|
|
|
- });
|
|
|
|
- this.getCooperations();
|
|
|
|
- })
|
|
|
|
- .catch(error => {
|
|
|
|
- this.$message({
|
|
|
|
- message: error,
|
|
|
|
- type: "error"
|
|
|
|
- });
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
showAll(i) {
|
|
showAll(i) {
|
|
this.detail = this.cooperations[i].content;
|
|
this.detail = this.cooperations[i].content;
|
|
this.addDialogVisible = true;
|
|
this.addDialogVisible = true;
|