diff --git a/src/views/HomePage/index.vue b/src/views/HomePage/index.vue
index b35688c..03f19f9 100644
--- a/src/views/HomePage/index.vue
+++ b/src/views/HomePage/index.vue
@@ -133,10 +133,10 @@
- 今日
- 本周
- 本月
- 全年
+ 今日
+ 本周
+ 本月
+ 全年
@@ -187,7 +187,9 @@ export default defineComponent({
type: 1,
});
const playNumForm = reactive({
- type: 1,
+ dateCondition: 1,
+ beginTime: undefined,
+ endTime: undefined,
})
const totalData = ref({});
const tableData = ref([]);
@@ -213,9 +215,13 @@ export default defineComponent({
}
}).catch(() => {});
},
+ changeDateType(value) {
+ this.playNumForm.dateCondition = value;
+ this.drawChart();
+ },
drawChart() {
let myChart = echarts.init(document.getElementById('chartItem'));
- this.proxy.$post("/statistics/data2", {}).then(res => {
+ this.proxy.$post("/statistics/data2", this.playNumForm).then(res => {
}).catch(() => {});
let option = {
diff --git a/src/views/MemberManage/_memberList/index.vue b/src/views/MemberManage/_memberList/index.vue
index baf1240..26b732a 100644
--- a/src/views/MemberManage/_memberList/index.vue
+++ b/src/views/MemberManage/_memberList/index.vue
@@ -62,7 +62,6 @@ export default defineComponent({
}
},
mounted() {
- this.getApi()
this.getData()
watch(() => (this.pagination.pageSize), () => {
this.getData()
@@ -72,12 +71,6 @@ export default defineComponent({
})
},
methods: {
- getApi() {
- let obj = Object.assign(this.form,{pageNum: this.pagination.current,pageSize: this.pagination.pageSize})
- this.proxy.$post("/user/department", obj).then(res => {
- const data = res.data
- }).catch(() => {});
- },
getData() {
let obj = Object.assign(this.form,{pageNum: this.pagination.current,pageSize: this.pagination.pageSize})
this.proxy.$post("/user/list", obj).then(res => {
@@ -116,7 +109,6 @@ export default defineComponent({
this.proxy.$post("/user/departmentRefresh", {}).then(res => {
if(res.code == 200) {
this.$message.success('更新成功');
- this.getApi();
this.getData();
} else {
this.$message.error(res.msg)
diff --git a/src/views/MemberManage/_pointManage/index.vue b/src/views/MemberManage/_pointManage/index.vue
index 902a4d6..b47d267 100644
--- a/src/views/MemberManage/_pointManage/index.vue
+++ b/src/views/MemberManage/_pointManage/index.vue
@@ -19,7 +19,7 @@
-
+
修改积分
@@ -35,11 +35,31 @@
:total="pagination.total"
/>
+
+
+
+
+ 增加积分
+ 扣除积分
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确定
+
+