From 943ef313cffd55b59db0c32cf52a5c4f4eed45ea Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 29 Jul 2025 15:49:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=83=A8=E5=88=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/campus/coupon.vue | 42 ++++++++++---------- src/views/modules/sys/menu-add-or-update.vue | 4 +- src/views/modules/sys/menu.vue | 4 +- 3 files changed, 27 insertions(+), 23 deletions(-) diff --git a/src/views/campus/coupon.vue b/src/views/campus/coupon.vue index f61cbe8..97f4de6 100644 --- a/src/views/campus/coupon.vue +++ b/src/views/campus/coupon.vue @@ -37,7 +37,7 @@ 生成卡密 - + @@ -104,7 +104,7 @@ - + @@ -115,7 +115,7 @@ - + @@ -169,7 +169,7 @@ 确 定 - +
@@ -235,7 +235,7 @@ - + @@ -284,7 +284,7 @@ @@ -443,7 +443,7 @@ this.page = val; this.dataSelectKm() }, - + handleSizeChangeY(val) { this.size1 = val; this.dataSelectYhq() @@ -525,9 +525,9 @@ }); return } - - - + + + if (this.titles == '添加') { var url = 'couponCard/insertCouponCardType' } else { @@ -566,7 +566,7 @@ } }) } - + }) }, //删除 @@ -628,7 +628,7 @@ dataSelect() { this.tableDataLoading = true this.$http({ - url: this.$http.adornUrl('admin/sdkType/getSdkTypeList'), + url: this.$http.adornUrl('sdkType/getSdkTypeList'), method: 'get', params: this.$http.adornParams({ 'page': this.page, @@ -746,7 +746,7 @@ 'typeId': this.couponCardTypeId, 'num':this.num, 'sysUserId':this.sysUserId, - + }) }).then(({ data @@ -771,7 +771,7 @@ } }) } - + }) }, // 卡密列表 @@ -784,7 +784,7 @@ // this.startTime = this.info2.stockDate2 // } this.$http({ - url: this.$http.adornUrl('admin/sdkInfo/getSdkList'), + url: this.$http.adornUrl('/admin/sdkInfo/getSdkList'), method: 'get', params: this.$http.adornParams({ 'page': this.page, @@ -804,7 +804,7 @@ this.tableDataLoadingKm = false let returnData = data.data; this.tableDataKm = returnData - + }) }, // 详情跳转 @@ -827,7 +827,7 @@ this.dataSelectKm() this.dialogFormVisibleKm = true }, - + // 导出 excelStair(){ // var endTime = this.endTime @@ -847,7 +847,7 @@ 'endTime': this.endTime, 'startTime': this.startTime, 'sysUserName':this.sysUserNameT - + }) }).then(({ data @@ -906,7 +906,7 @@ } }) } - + }) }).catch(() => {}) }, @@ -949,7 +949,7 @@ qudaoBtn(){ this.getDataList() this.dialogFormVisibleQd = true - + }, getDataList() { this.dataListLoading = true @@ -979,7 +979,7 @@ this.sysUserName = row.username this.dialogFormVisibleQd = false }, - + }, mounted() { this.dataSelect() diff --git a/src/views/modules/sys/menu-add-or-update.vue b/src/views/modules/sys/menu-add-or-update.vue index c6e19a5..894c394 100644 --- a/src/views/modules/sys/menu-add-or-update.vue +++ b/src/views/modules/sys/menu-add-or-update.vue @@ -148,7 +148,9 @@ this.$http({ url: this.$http.adornUrl(`/sys/menu/info/${this.dataForm.id}`), method: 'get', - params: this.$http.adornParams() + params: this.$http.adornParams({ + menuId: this.dataForm.id + }) }).then(({data}) => { this.dataForm.id = data.menu.menuId this.dataForm.type = data.menu.type diff --git a/src/views/modules/sys/menu.vue b/src/views/modules/sys/menu.vue index 758fc60..2acab85 100644 --- a/src/views/modules/sys/menu.vue +++ b/src/views/modules/sys/menu.vue @@ -130,7 +130,9 @@ this.$http({ url: this.$http.adornUrl(`/sys/menu/delete/${id}`), method: 'post', - data: this.$http.adornData() + data: this.$http.adornData({ + menuId: id + }) }).then(({data}) => { if (data && data.code === 0) { this.$message({