更新部分接口传参
This commit is contained in:
parent
b82eb59b1d
commit
943ef313cf
|
|
@ -628,7 +628,7 @@
|
||||||
dataSelect() {
|
dataSelect() {
|
||||||
this.tableDataLoading = true
|
this.tableDataLoading = true
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl('admin/sdkType/getSdkTypeList'),
|
url: this.$http.adornUrl('sdkType/getSdkTypeList'),
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: this.$http.adornParams({
|
params: this.$http.adornParams({
|
||||||
'page': this.page,
|
'page': this.page,
|
||||||
|
|
@ -784,7 +784,7 @@
|
||||||
// this.startTime = this.info2.stockDate2
|
// this.startTime = this.info2.stockDate2
|
||||||
// }
|
// }
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl('admin/sdkInfo/getSdkList'),
|
url: this.$http.adornUrl('/admin/sdkInfo/getSdkList'),
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: this.$http.adornParams({
|
params: this.$http.adornParams({
|
||||||
'page': this.page,
|
'page': this.page,
|
||||||
|
|
|
||||||
|
|
@ -148,7 +148,9 @@
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl(`/sys/menu/info/${this.dataForm.id}`),
|
url: this.$http.adornUrl(`/sys/menu/info/${this.dataForm.id}`),
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: this.$http.adornParams()
|
params: this.$http.adornParams({
|
||||||
|
menuId: this.dataForm.id
|
||||||
|
})
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
this.dataForm.id = data.menu.menuId
|
this.dataForm.id = data.menu.menuId
|
||||||
this.dataForm.type = data.menu.type
|
this.dataForm.type = data.menu.type
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,9 @@
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl(`/sys/menu/delete/${id}`),
|
url: this.$http.adornUrl(`/sys/menu/delete/${id}`),
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: this.$http.adornData()
|
data: this.$http.adornData({
|
||||||
|
menuId: id
|
||||||
|
})
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
if (data && data.code === 0) {
|
if (data && data.code === 0) {
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue