装备列表接口修改

This commit is contained in:
zzyuan 2024-11-26 14:26:34 +08:00
parent ce52f40c31
commit 631f13fefd
3 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
//装备列表 //装备列表
export function getDevList(data) { export function getDevList(data) {
return request({ return request({
url: '/material-mall/dev/list', url: '/material-mall/dev/devList',
method: 'post', method: 'post',
data: data, data: data,
}) })

View File

@ -239,8 +239,8 @@ export default {
this.queryParams.endTime = undefined this.queryParams.endTime = undefined
} }
getDevList(this.queryParams).then(response => { getDevList(this.queryParams).then(response => {
this.tableList = response.data.rows; this.tableList = response.rows;
this.total = response.data.total; this.total = response.total;
this.loading = false; this.loading = false;
}); });
}, },

View File

@ -38,7 +38,8 @@ module.exports = {
// target: `http://localhost:18080`, // target: `http://localhost:18080`,
// target: `http://192.168.2.246:18080`,//马 // target: `http://192.168.2.246:18080`,//马
// target: `http://192.168.0.110:18080`,//洪 // target: `http://192.168.0.110:18080`,//洪
target: `http://192.168.0.234:18080`,//阮 // target: `http://192.168.0.234:18080`,//阮
target: `http://192.168.2.216:18080`,//
// target: `http://192.168.137.1:18080`,// // target: `http://192.168.137.1:18080`,//
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {