装备列表

This commit is contained in:
zzyuan 2024-11-27 14:39:19 +08:00
parent deaaa5508b
commit 6c29ad4446
3 changed files with 445 additions and 382 deletions

View File

@ -35,6 +35,7 @@
import { ElMessage } from 'element-plus'
// import { Base64 } from 'js-base64'
const tmpUploadUrl = import.meta.env.VITE_API_URL + '/zlpt-file/file/cos/upload'
console.log(tmpUploadUrl)
import { mainStore } from 'store/main'
const store = mainStore()
const headerInfo = reactive({

View File

@ -8,12 +8,12 @@ export const getEquipmentListApi = (data: any) => {
}
//获取装备详情
export const getDetail = (id = '') => {
return get(`/material-mall/dev/getInfo/${id}`)
export const getDetailApi = (id: any) => {
return get(`/material-mall/dev/getInfo/${id}`, {})
}
// 新增装备
export const equipmentDeploymentApi = (data: any) => {
export const equipmentAddApi = (data: any) => {
return post('/material-mall/dev', data)
}

File diff suppressed because it is too large Load Diff