Compare commits

..

No commits in common. "a29e449ebeed06dc5f1a263dcdd44dbf40bce10d" and "c3f06d18ee10539fcd7979e54125c85af18b36c1" have entirely different histories.

3 changed files with 384 additions and 447 deletions

View File

@ -35,7 +35,6 @@
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 getDetailApi = (id: any) => {
return get(`/material-mall/dev/getInfo/${id}`, {})
export const getDetail = (id = '') => {
return get(`/material-mall/dev/getInfo/${id}`)
}
// 新增装备
export const equipmentAddApi = (data: any) => {
export const equipmentDeploymentApi = (data: any) => {
return post('/material-mall/dev', data)
}

File diff suppressed because it is too large Load Diff