From d229adaf6fd79956ab87524fed0fcb9a0ca8ed2c Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Tue, 10 Sep 2024 17:18:26 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=84=8F=E8=A7=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/book/appointment.vue | 12 +-
src/views/book/components/addType.vue | 27 ++++-
src/views/book/count.vue | 15 ++-
src/views/book/index.vue | 140 ++++++++++++----------
src/views/config/banner.vue | 13 +-
src/views/config/donate.vue | 11 +-
src/views/config/info.vue | 10 ++
src/views/config/teacher.vue | 10 +-
src/views/course/apply.vue | 10 +-
src/views/course/apply_list.vue | 14 +++
src/views/course/attendance.vue | 11 +-
src/views/course/class.vue | 10 ++
src/views/course/components/addCourse.vue | 7 +-
src/views/course/components/addTypes.vue | 10 +-
src/views/course/components/applyForm.vue | 9 +-
src/views/course/components/editPane.vue | 48 +++++---
src/views/course/history.vue | 68 ++++++-----
src/views/course/index.vue | 14 ++-
src/views/course/pay.vue | 12 +-
src/views/course/txl.vue | 15 ++-
src/views/student/components/detail.vue | 3 +-
src/views/student/index.vue | 50 +++++---
src/views/student/search.vue | 26 +++-
23 files changed, 392 insertions(+), 153 deletions(-)
diff --git a/src/views/book/appointment.vue b/src/views/book/appointment.vue
index 8a92e40..65f3a32 100644
--- a/src/views/book/appointment.vue
+++ b/src/views/book/appointment.vue
@@ -12,6 +12,10 @@
查询
+
+ 重置
+
+
新增
@@ -145,6 +149,12 @@
this.select.page_size = e
this.select.page = 1
this.getList()
+ },
+ resetSelect(){
+
+ this.select.name = ''
+ this.select.page=1
+ this.getList()
},
async getList() {
const res = await index({
@@ -154,7 +164,7 @@
sort_name:'sort',
sort_type:'ASC',
filter: [{
- key: 'name',
+ key: 'real_name',
op: 'like',
value: this.select.name
}]
diff --git a/src/views/book/components/addType.vue b/src/views/book/components/addType.vue
index 9420c48..fbde5d1 100644
--- a/src/views/book/components/addType.vue
+++ b/src/views/book/components/addType.vue
@@ -102,6 +102,16 @@
+
+
+
@@ -121,7 +131,8 @@
isShow: false,
type: 'add',
id: '',
- showTinymce: false,
+ showTinymce: false,
+ showTinymce1: false,
form: {
name: '',
introduce: '',
@@ -133,7 +144,8 @@
image_id: [],
start_time: '09:00',
end_time: '17:30',
- content: ''
+ content: '',
+ tips:''
},
action: `${process.env.VUE_APP_UPLOAD_API}`,
fileList: [],
@@ -149,6 +161,9 @@
methods: {
saveContent(e) {
this.form.content = e
+ },
+ saveContent1(e) {
+ this.form.tips = e
},
changeDateRange(e) {
console.log(e)
@@ -201,9 +216,10 @@
this.form = this.base.requestToForm(res, this.form)
this.fileList = res.image
this.form.dateRange = res.start_time ? [res.start_time, res.end_time] : ['', ''],
- this.form.sort = res.sort ? res.sort : 0
+ this.form.sort = res.sort ? res.sort : 0
this.form.is_book = res.is_book ? res.is_book : 0
- this.showTinymce = true
+ this.showTinymce = true
+ this.showTinymce1 = true
})
},
@@ -230,7 +246,8 @@