diff --git a/src/views/modules/book/bookchaptercontent-add-or-update.vue b/src/views/modules/book/bookchaptercontent-add-or-update.vue index 052e6cf..93b66fd 100644 --- a/src/views/modules/book/bookchaptercontent-add-or-update.vue +++ b/src/views/modules/book/bookchaptercontent-add-or-update.vue @@ -44,15 +44,15 @@ -

+ + @@ -173,9 +173,9 @@ export default { }) }, // 表单提交 - dataFormSubmit() { - this.$refs['dataForm'].validate((valid) => { - this.getContent() + async dataFormSubmit() { + this.$refs['dataForm'].validate(async(valid) => { + await this.getContent() if (valid) { this.$http({ url: this.$http.adornUrl(`/book/bookchaptercontent/${!this.dataForm.id ? 'save' : 'update'}`), diff --git a/src/views/modules/order/buyorder.vue b/src/views/modules/order/buyorder.vue index 7169a90..f18a370 100644 --- a/src/views/modules/order/buyorder.vue +++ b/src/views/modules/order/buyorder.vue @@ -69,6 +69,14 @@ + +

+ 过滤预售书 + +
+ 查询 @@ -704,6 +712,10 @@ } }, methods: { + changeFilterPresale(){ +this.pageIndex = 1 + this.getDataList() + }, seeBooks(arr) { this.currBookLIst = arr this.booksShow = true @@ -954,6 +966,7 @@ "orderStatus": this.tabChange.tabActiveName, "pageIndex": this.pageIndex, "pageSize": this.pageSize, + "filterPresale": this.dataForm.filterPresale?1:0, }) }).then(({ data