Initial commit: 景耀JY1.0项目

This commit is contained in:
Developer
2026-05-21 09:46:02 +08:00
parent 4969870de8
commit fd70670235
90 changed files with 10278 additions and 1508 deletions

View File

@@ -4,7 +4,11 @@ import {
downloadFileMachine_config,
ExcelDownLoad_config,
MESDownloadFile_config,
MESDownloadFileNew_config,
MESDeleteFileNew_config,
MESUploadFile_config,
MESUploadFileNew_config,
MESUploadFileNew_BasePath_config,
MESUploadFileProcess_config,
MESUploadFileProduct_config,
MESUploadFileProject_config,
@@ -15,6 +19,7 @@ import {
readFile_config,
readImg_config,
request_config,
request_config1,
ServerIP_config,
upload2_config,
upload3_config,
@@ -59,6 +64,10 @@ export const MESUploadFileProduct = MESUploadFileProduct_config
export const MESDownloadFile = MESDownloadFile_config
export const MESUploadFileProject = MESUploadFileProject_config
export const MESUploadFileProcess = MESUploadFileProcess_config
export const MESUploadFileNew = MESUploadFileNew_config // 新的图片上传(存储到文件系统)
export const MESDownloadFileNew = MESDownloadFileNew_config // 新的图片下载(从文件系统读取,返回base64)
export const MESDeleteFileNew = MESDeleteFileNew_config // 新的图片删除(删除文件系统文件)
export const MESUploadFileNew_BasePath = MESUploadFileNew_BasePath_config // 图片保存基础路径
const service = axios.create({
baseURL: request_config,
timeout: 1500000 // 请求超时时间
@@ -82,6 +91,11 @@ service.interceptors.request.use(config => {
Promise.reject(error)
})
export const service1 = axios.create({
baseURL: request_config1,
timeout: 1500000 // 请求超时时间
})
export default service
// async function getSession_id() {