更新部分接口传参
This commit is contained in:
parent
b82eb59b1d
commit
943ef313cf
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in New Issue