|
|
@ -153,11 +153,15 @@ export default defineComponent({
|
|
|
|
handlerChangeSort(value) {
|
|
|
|
handlerChangeSort(value) {
|
|
|
|
let obj = {id: this.activeId,sortWeight: this.sortValue*1}
|
|
|
|
let obj = {id: this.activeId,sortWeight: this.sortValue*1}
|
|
|
|
this.proxy.$post("/topicActivity/updSort", obj).then(res => {
|
|
|
|
this.proxy.$post("/topicActivity/updSort", obj).then(res => {
|
|
|
|
this.getData();
|
|
|
|
if(res.code == 200) {
|
|
|
|
this.isEditing = false;
|
|
|
|
this.getData();
|
|
|
|
this.activeId = undefined;
|
|
|
|
this.isEditing = false;
|
|
|
|
this.sortValue = undefined;
|
|
|
|
this.activeId = undefined;
|
|
|
|
this.$message.success(res.data)
|
|
|
|
this.sortValue = undefined;
|
|
|
|
|
|
|
|
this.$message.success(res.data)
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.$message.error(res.msg)
|
|
|
|
|
|
|
|
}
|
|
|
|
}).catch(() => {});
|
|
|
|
}).catch(() => {});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|