vue实现的基本功能
1.新增
// 新增活动
addActivity() {
this.$router.push({ name: "ActivityManage" });
},
2.查询
// 查询按钮
async queryActivityButton() {
this.searchLoading = true;
const result = await this.$service.activity.findActivityData(
this.activityForm
);
if (result.status === 200) {
this.activityData = result.data.result.content;
this.count = result.data.result.totalElements;
} else {
this.activityData = [];
}
this.searchLoading = false;
},