From c8b434a69d2a4af806fe998eea12292bbd3f4766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Thu, 27 Apr 2023 14:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/trainingItem/index.vue | 79 ++++++++++++------------ src/views/system/trainingOrder/index.vue | 15 +++-- 2 files changed, 51 insertions(+), 43 deletions(-) diff --git a/src/views/system/trainingItem/index.vue b/src/views/system/trainingItem/index.vue index b50dcc5..c161e64 100644 --- a/src/views/system/trainingItem/index.vue +++ b/src/views/system/trainingItem/index.vue @@ -357,7 +357,7 @@ /> - - + --> {{ form.trainingParentName }} - {{ form.trainingCategoryName }} - + --> @@ -861,7 +861,7 @@ export default { idd: 1, innerVisiblepd: false, loading: true, - innerVisible: false, + // innerVisible: false, trainingParentqueryParams: { pageNum: 1, pageSize: 10, @@ -1113,15 +1113,16 @@ export default { console.log(item); this.imgsurl.pictureUrlList.push(item); }, - addresetQuerylist() { - this.trainingCategoryqueryParams = { - pageNum: 1, - pageSize: 10, - trainingCategoryCode: "", - trainingCategoryName: "", - }; - this.info(); - }, + // 重置 + // addresetQuerylist() { + // this.trainingCategoryqueryParams = { + // pageNum: 1, + // pageSize: 10, + // trainingCategoryCode: "", + // trainingCategoryName: "", + // }; + // this.info(); + // }, // 重置 resetQuerylist() { this.trainingParentqueryParams = { @@ -1133,42 +1134,42 @@ export default { this.trainingParentinfo(); }, // 培训分类 - clickitem() { - this.info(); - this.innerVisible = true; - }, + // clickitem() { + // this.info(); + // this.innerVisible = true; + // }, // 父级课程组 trainingParentitem() { this.trainingParentinfo(); this.innerVisiblepd = true; }, - innerVisiblecancelzx() { - this.innerVisible = false; - }, + // innerVisiblecancelzx() { + // this.innerVisible = false; + // }, innerVisiblecancelpd() { this.innerVisiblepd = false; }, - nurseclick(row) { - this.form.trainingCategoryId = row.id; - this.form.trainingCategoryName = row.trainingCategoryName; - this.innerVisible = false; - }, + // nurseclick(row) { + // this.form.trainingCategoryId = row.id; + // this.form.trainingCategoryName = row.trainingCategoryName; + // this.innerVisible = false; + // }, // 父级课程组 trainingParentitemlist(row) { this.form.trainingParentId = row.id; this.form.trainingParentName = row.trainingParentName; this.innerVisiblepd = false; }, - info() { - this.loading = true; - listTrainingCategory(this.trainingCategoryqueryParams).then( - (response) => { - this.trainingCategoryList = response.rows; - this.total2 = response.total; - this.loading = false; - } - ); - }, + // info() { + // this.loading = true; + // listTrainingCategory(this.trainingCategoryqueryParams).then( + // (response) => { + // this.trainingCategoryList = response.rows; + // this.total2 = response.total; + // this.loading = false; + // } + // ); + // }, // 父级课程组 trainingParentinfo() { this.loading = true; @@ -1182,6 +1183,7 @@ export default { imgUrl(imgUrl) { this.form.trainingCategoryPictureUrl = imgUrl; }, + // 图片 imgUrl2(imgUrl) { this.form.trainingItemCoverUrl = imgUrl; }, @@ -1189,6 +1191,7 @@ export default { console.log(imgUrl); this.form.trainingItemPosterUrl = imgUrl; }, + //上架 uptrainingShelfFlag(row) { console.log(row); if (row.trainingShelfFlag == false) { diff --git a/src/views/system/trainingOrder/index.vue b/src/views/system/trainingOrder/index.vue index 98c7258..d41bc1c 100644 --- a/src/views/system/trainingOrder/index.vue +++ b/src/views/system/trainingOrder/index.vue @@ -349,10 +349,16 @@ label-width="130px" :model="formlist" > - +
{{ formlist.trainingItemDetails }}
- + - @@ -372,9 +377,9 @@ alt /> - { this.formlist.list = response.rows; this.loading = false;