zxz 2 年之前
父节点
当前提交
b5f1a5a6ba
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      pages/clock/the_clock_record.vue

+ 2 - 0
pages/clock/the_clock_record.vue

@@ -121,6 +121,7 @@
 			dateChange(e) {
 				console.log(e)
 				this.createDate = e.year + "-" + e.month
+				this.getList()
 			},
 			getData() {
 				this.isLoadMore = true
@@ -144,6 +145,7 @@
 					pageSize: this.pageSize,
 					currentPage: this.currentPage,
 					pcFlag: 0,
+					yearMonth: this.createDate,
 					compId: uni.getStorageSync('pcUserInfo').compId,
 					commonId: uni.getStorageSync('pcUserInfo').userId,
 				}).then(res => {