装备列表
This commit is contained in:
parent
deaaa5508b
commit
6c29ad4446
|
|
@ -35,6 +35,7 @@
|
||||||
import { ElMessage } from 'element-plus'
|
import { ElMessage } from 'element-plus'
|
||||||
// import { Base64 } from 'js-base64'
|
// import { Base64 } from 'js-base64'
|
||||||
const tmpUploadUrl = import.meta.env.VITE_API_URL + '/zlpt-file/file/cos/upload'
|
const tmpUploadUrl = import.meta.env.VITE_API_URL + '/zlpt-file/file/cos/upload'
|
||||||
|
console.log(tmpUploadUrl)
|
||||||
import { mainStore } from 'store/main'
|
import { mainStore } from 'store/main'
|
||||||
const store = mainStore()
|
const store = mainStore()
|
||||||
const headerInfo = reactive({
|
const headerInfo = reactive({
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,12 @@ export const getEquipmentListApi = (data: any) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取装备详情
|
//获取装备详情
|
||||||
export const getDetail = (id = '') => {
|
export const getDetailApi = (id: any) => {
|
||||||
return get(`/material-mall/dev/getInfo/${id}`)
|
return get(`/material-mall/dev/getInfo/${id}`, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 新增装备
|
// 新增装备
|
||||||
export const equipmentDeploymentApi = (data: any) => {
|
export const equipmentAddApi = (data: any) => {
|
||||||
return post('/material-mall/dev', data)
|
return post('/material-mall/dev', data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue