更新部分接口传参

This commit is contained in:
YeMingfei666 2025-07-29 15:49:11 +08:00
parent b82eb59b1d
commit 943ef313cf
3 changed files with 27 additions and 23 deletions

View File

@ -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,
@ -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,

View File

@ -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

View File

@ -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({