diff --git a/src/api/login.js b/src/api/login.js index 310e09c..d6ce3f3 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -50,7 +50,7 @@ url: '/system/upload', method: 'post', data: data, - timeout: 60 * 1000, + timeout: 600 * 1000, }); } diff --git a/src/api/login.js b/src/api/login.js index 310e09c..d6ce3f3 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -50,7 +50,7 @@ url: '/system/upload', method: 'post', data: data, - timeout: 60 * 1000, + timeout: 600 * 1000, }); } diff --git a/src/api/project/imgwh.js b/src/api/project/imgwh.js index 8f58cba..9578aaf 100644 --- a/src/api/project/imgwh.js +++ b/src/api/project/imgwh.js @@ -1,55 +1,43 @@ - -import request from '@/utils/request' +import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { - return request({ - url: `/business/projectInfoNew/selectProjectImageList`, - method: 'get', - params - }) + return request({ + url: `/business/projectInfoNew/selectProjectImageList`, + method: 'get', + params, + }); } export const projectInfoAdd = data => { - return request({ - url: `/business/projectProbablyBudget/add`, - method: "post", - data - }); + return request({ + url: `/business/projectProbablyBudget/add`, + method: 'post', + data, + }); }; export const projectInfoEdit = data => { - return request({ - url: `/business/projectProbablyBudget/edit`, - method: "put", - data - }); + return request({ + url: `/business/projectProbablyBudget/edit`, + method: 'put', + data, + }); }; export const projectInfoDelete = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "delete", - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'delete', + }); }; export const projectInfoGet = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "get", - }); -}; - -export const systemUpload = data => { - return request({ - url: `/system/upload`, - method: "post", - data, - headers: { "Content-Type": "multipart/form-data" } - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'get', + }); }; export const saveProjectImageInfo = data => { - return request({ - url: `/business/projectInfoNew/saveProjectImageInfo`, - method: "post", - data, - - }); + return request({ + url: `/business/projectInfoNew/saveProjectImageInfo`, + method: 'post', + data, + }); }; - diff --git a/src/api/login.js b/src/api/login.js index 310e09c..d6ce3f3 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -50,7 +50,7 @@ url: '/system/upload', method: 'post', data: data, - timeout: 60 * 1000, + timeout: 600 * 1000, }); } diff --git a/src/api/project/imgwh.js b/src/api/project/imgwh.js index 8f58cba..9578aaf 100644 --- a/src/api/project/imgwh.js +++ b/src/api/project/imgwh.js @@ -1,55 +1,43 @@ - -import request from '@/utils/request' +import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { - return request({ - url: `/business/projectInfoNew/selectProjectImageList`, - method: 'get', - params - }) + return request({ + url: `/business/projectInfoNew/selectProjectImageList`, + method: 'get', + params, + }); } export const projectInfoAdd = data => { - return request({ - url: `/business/projectProbablyBudget/add`, - method: "post", - data - }); + return request({ + url: `/business/projectProbablyBudget/add`, + method: 'post', + data, + }); }; export const projectInfoEdit = data => { - return request({ - url: `/business/projectProbablyBudget/edit`, - method: "put", - data - }); + return request({ + url: `/business/projectProbablyBudget/edit`, + method: 'put', + data, + }); }; export const projectInfoDelete = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "delete", - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'delete', + }); }; export const projectInfoGet = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "get", - }); -}; - -export const systemUpload = data => { - return request({ - url: `/system/upload`, - method: "post", - data, - headers: { "Content-Type": "multipart/form-data" } - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'get', + }); }; export const saveProjectImageInfo = data => { - return request({ - url: `/business/projectInfoNew/saveProjectImageInfo`, - method: "post", - data, - - }); + return request({ + url: `/business/projectInfoNew/saveProjectImageInfo`, + method: 'post', + data, + }); }; - diff --git a/src/api/system/file.js b/src/api/system/file.js index c8efe7a..e3c2512 100644 --- a/src/api/system/file.js +++ b/src/api/system/file.js @@ -1,58 +1,49 @@ -import request from "@/utils/request"; +import request from '@/utils/request'; // 查询附件列表 -export function fileList (data) { +export function fileList(data) { return request({ - url: "/system/list", - method: "get", + url: '/system/list', + method: 'get', data: data, }); } // 查询附件分页 -export function filePage (query) { +export function filePage(query) { return request({ - url: "/system/page", - method: "get", + url: '/system/page', + method: 'get', params: query, }); } // 查询附件详细 -export function getFile (id) { +export function getFile(id) { return request({ - url: "/system/" + id, - method: "get", - }); -} - -// 上传附件 -export function upLoad (data) { - return request({ - url: "/system/upload", - method: "post", - data: data, + url: '/system/' + id, + method: 'get', }); } // 新增附件 -export function addConfig (data) { +export function addConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 批量新增附件 -export function addBatchConfig (data) { +export function addBatchConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 删除附件 -export function delConfig (ids) { +export function delConfig(ids) { return request({ - url: "/system/" + ids, - method: "delete", + url: '/system/' + ids, + method: 'delete', }); } diff --git a/src/api/login.js b/src/api/login.js index 310e09c..d6ce3f3 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -50,7 +50,7 @@ url: '/system/upload', method: 'post', data: data, - timeout: 60 * 1000, + timeout: 600 * 1000, }); } diff --git a/src/api/project/imgwh.js b/src/api/project/imgwh.js index 8f58cba..9578aaf 100644 --- a/src/api/project/imgwh.js +++ b/src/api/project/imgwh.js @@ -1,55 +1,43 @@ - -import request from '@/utils/request' +import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { - return request({ - url: `/business/projectInfoNew/selectProjectImageList`, - method: 'get', - params - }) + return request({ + url: `/business/projectInfoNew/selectProjectImageList`, + method: 'get', + params, + }); } export const projectInfoAdd = data => { - return request({ - url: `/business/projectProbablyBudget/add`, - method: "post", - data - }); + return request({ + url: `/business/projectProbablyBudget/add`, + method: 'post', + data, + }); }; export const projectInfoEdit = data => { - return request({ - url: `/business/projectProbablyBudget/edit`, - method: "put", - data - }); + return request({ + url: `/business/projectProbablyBudget/edit`, + method: 'put', + data, + }); }; export const projectInfoDelete = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "delete", - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'delete', + }); }; export const projectInfoGet = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "get", - }); -}; - -export const systemUpload = data => { - return request({ - url: `/system/upload`, - method: "post", - data, - headers: { "Content-Type": "multipart/form-data" } - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'get', + }); }; export const saveProjectImageInfo = data => { - return request({ - url: `/business/projectInfoNew/saveProjectImageInfo`, - method: "post", - data, - - }); + return request({ + url: `/business/projectInfoNew/saveProjectImageInfo`, + method: 'post', + data, + }); }; - diff --git a/src/api/system/file.js b/src/api/system/file.js index c8efe7a..e3c2512 100644 --- a/src/api/system/file.js +++ b/src/api/system/file.js @@ -1,58 +1,49 @@ -import request from "@/utils/request"; +import request from '@/utils/request'; // 查询附件列表 -export function fileList (data) { +export function fileList(data) { return request({ - url: "/system/list", - method: "get", + url: '/system/list', + method: 'get', data: data, }); } // 查询附件分页 -export function filePage (query) { +export function filePage(query) { return request({ - url: "/system/page", - method: "get", + url: '/system/page', + method: 'get', params: query, }); } // 查询附件详细 -export function getFile (id) { +export function getFile(id) { return request({ - url: "/system/" + id, - method: "get", - }); -} - -// 上传附件 -export function upLoad (data) { - return request({ - url: "/system/upload", - method: "post", - data: data, + url: '/system/' + id, + method: 'get', }); } // 新增附件 -export function addConfig (data) { +export function addConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 批量新增附件 -export function addBatchConfig (data) { +export function addBatchConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 删除附件 -export function delConfig (ids) { +export function delConfig(ids) { return request({ - url: "/system/" + ids, - method: "delete", + url: '/system/' + ids, + method: 'delete', }); } diff --git a/src/components/ImageFileUpload/ggFileUpload.vue b/src/components/ImageFileUpload/ggFileUpload.vue deleted file mode 100644 index a721a5f..0000000 --- a/src/components/ImageFileUpload/ggFileUpload.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/api/login.js b/src/api/login.js index 310e09c..d6ce3f3 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -50,7 +50,7 @@ url: '/system/upload', method: 'post', data: data, - timeout: 60 * 1000, + timeout: 600 * 1000, }); } diff --git a/src/api/project/imgwh.js b/src/api/project/imgwh.js index 8f58cba..9578aaf 100644 --- a/src/api/project/imgwh.js +++ b/src/api/project/imgwh.js @@ -1,55 +1,43 @@ - -import request from '@/utils/request' +import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { - return request({ - url: `/business/projectInfoNew/selectProjectImageList`, - method: 'get', - params - }) + return request({ + url: `/business/projectInfoNew/selectProjectImageList`, + method: 'get', + params, + }); } export const projectInfoAdd = data => { - return request({ - url: `/business/projectProbablyBudget/add`, - method: "post", - data - }); + return request({ + url: `/business/projectProbablyBudget/add`, + method: 'post', + data, + }); }; export const projectInfoEdit = data => { - return request({ - url: `/business/projectProbablyBudget/edit`, - method: "put", - data - }); + return request({ + url: `/business/projectProbablyBudget/edit`, + method: 'put', + data, + }); }; export const projectInfoDelete = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "delete", - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'delete', + }); }; export const projectInfoGet = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "get", - }); -}; - -export const systemUpload = data => { - return request({ - url: `/system/upload`, - method: "post", - data, - headers: { "Content-Type": "multipart/form-data" } - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'get', + }); }; export const saveProjectImageInfo = data => { - return request({ - url: `/business/projectInfoNew/saveProjectImageInfo`, - method: "post", - data, - - }); + return request({ + url: `/business/projectInfoNew/saveProjectImageInfo`, + method: 'post', + data, + }); }; - diff --git a/src/api/system/file.js b/src/api/system/file.js index c8efe7a..e3c2512 100644 --- a/src/api/system/file.js +++ b/src/api/system/file.js @@ -1,58 +1,49 @@ -import request from "@/utils/request"; +import request from '@/utils/request'; // 查询附件列表 -export function fileList (data) { +export function fileList(data) { return request({ - url: "/system/list", - method: "get", + url: '/system/list', + method: 'get', data: data, }); } // 查询附件分页 -export function filePage (query) { +export function filePage(query) { return request({ - url: "/system/page", - method: "get", + url: '/system/page', + method: 'get', params: query, }); } // 查询附件详细 -export function getFile (id) { +export function getFile(id) { return request({ - url: "/system/" + id, - method: "get", - }); -} - -// 上传附件 -export function upLoad (data) { - return request({ - url: "/system/upload", - method: "post", - data: data, + url: '/system/' + id, + method: 'get', }); } // 新增附件 -export function addConfig (data) { +export function addConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 批量新增附件 -export function addBatchConfig (data) { +export function addBatchConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 删除附件 -export function delConfig (ids) { +export function delConfig(ids) { return request({ - url: "/system/" + ids, - method: "delete", + url: '/system/' + ids, + method: 'delete', }); } diff --git a/src/components/ImageFileUpload/ggFileUpload.vue b/src/components/ImageFileUpload/ggFileUpload.vue deleted file mode 100644 index a721a5f..0000000 --- a/src/components/ImageFileUpload/ggFileUpload.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/components/ImageFileUpload/index.vue b/src/components/ImageFileUpload/index.vue index a7514a2..6603758 100644 --- a/src/components/ImageFileUpload/index.vue +++ b/src/components/ImageFileUpload/index.vue @@ -46,7 +46,7 @@ // 大小限制(MB) fileSize: { type: Number, - default: 5, + default: 1000, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { diff --git a/src/api/login.js b/src/api/login.js index 310e09c..d6ce3f3 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -50,7 +50,7 @@ url: '/system/upload', method: 'post', data: data, - timeout: 60 * 1000, + timeout: 600 * 1000, }); } diff --git a/src/api/project/imgwh.js b/src/api/project/imgwh.js index 8f58cba..9578aaf 100644 --- a/src/api/project/imgwh.js +++ b/src/api/project/imgwh.js @@ -1,55 +1,43 @@ - -import request from '@/utils/request' +import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { - return request({ - url: `/business/projectInfoNew/selectProjectImageList`, - method: 'get', - params - }) + return request({ + url: `/business/projectInfoNew/selectProjectImageList`, + method: 'get', + params, + }); } export const projectInfoAdd = data => { - return request({ - url: `/business/projectProbablyBudget/add`, - method: "post", - data - }); + return request({ + url: `/business/projectProbablyBudget/add`, + method: 'post', + data, + }); }; export const projectInfoEdit = data => { - return request({ - url: `/business/projectProbablyBudget/edit`, - method: "put", - data - }); + return request({ + url: `/business/projectProbablyBudget/edit`, + method: 'put', + data, + }); }; export const projectInfoDelete = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "delete", - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'delete', + }); }; export const projectInfoGet = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "get", - }); -}; - -export const systemUpload = data => { - return request({ - url: `/system/upload`, - method: "post", - data, - headers: { "Content-Type": "multipart/form-data" } - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'get', + }); }; export const saveProjectImageInfo = data => { - return request({ - url: `/business/projectInfoNew/saveProjectImageInfo`, - method: "post", - data, - - }); + return request({ + url: `/business/projectInfoNew/saveProjectImageInfo`, + method: 'post', + data, + }); }; - diff --git a/src/api/system/file.js b/src/api/system/file.js index c8efe7a..e3c2512 100644 --- a/src/api/system/file.js +++ b/src/api/system/file.js @@ -1,58 +1,49 @@ -import request from "@/utils/request"; +import request from '@/utils/request'; // 查询附件列表 -export function fileList (data) { +export function fileList(data) { return request({ - url: "/system/list", - method: "get", + url: '/system/list', + method: 'get', data: data, }); } // 查询附件分页 -export function filePage (query) { +export function filePage(query) { return request({ - url: "/system/page", - method: "get", + url: '/system/page', + method: 'get', params: query, }); } // 查询附件详细 -export function getFile (id) { +export function getFile(id) { return request({ - url: "/system/" + id, - method: "get", - }); -} - -// 上传附件 -export function upLoad (data) { - return request({ - url: "/system/upload", - method: "post", - data: data, + url: '/system/' + id, + method: 'get', }); } // 新增附件 -export function addConfig (data) { +export function addConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 批量新增附件 -export function addBatchConfig (data) { +export function addBatchConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 删除附件 -export function delConfig (ids) { +export function delConfig(ids) { return request({ - url: "/system/" + ids, - method: "delete", + url: '/system/' + ids, + method: 'delete', }); } diff --git a/src/components/ImageFileUpload/ggFileUpload.vue b/src/components/ImageFileUpload/ggFileUpload.vue deleted file mode 100644 index a721a5f..0000000 --- a/src/components/ImageFileUpload/ggFileUpload.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/components/ImageFileUpload/index.vue b/src/components/ImageFileUpload/index.vue index a7514a2..6603758 100644 --- a/src/components/ImageFileUpload/index.vue +++ b/src/components/ImageFileUpload/index.vue @@ -46,7 +46,7 @@ // 大小限制(MB) fileSize: { type: Number, - default: 5, + default: 1000, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { diff --git a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue index cb6d626..1b6b6eb 100644 --- a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue +++ b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue @@ -4,29 +4,30 @@ - + - - + + - + - + - - + + - - diff --git a/src/components/ImageFileUpload/index.vue b/src/components/ImageFileUpload/index.vue index a7514a2..6603758 100644 --- a/src/components/ImageFileUpload/index.vue +++ b/src/components/ImageFileUpload/index.vue @@ -46,7 +46,7 @@ // 大小限制(MB) fileSize: { type: Number, - default: 5, + default: 1000, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { diff --git a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue index cb6d626..1b6b6eb 100644 --- a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue +++ b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue @@ -4,29 +4,30 @@ - + - - + + - + - + - - + + - - diff --git a/src/components/ImageFileUpload/index.vue b/src/components/ImageFileUpload/index.vue index a7514a2..6603758 100644 --- a/src/components/ImageFileUpload/index.vue +++ b/src/components/ImageFileUpload/index.vue @@ -46,7 +46,7 @@ // 大小限制(MB) fileSize: { type: Number, - default: 5, + default: 1000, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { diff --git a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue index cb6d626..1b6b6eb 100644 --- a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue +++ b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue @@ -4,29 +4,30 @@ - + - - + + - + - + - - + + - - diff --git a/src/api/login.js b/src/api/login.js index 310e09c..d6ce3f3 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -50,7 +50,7 @@ url: '/system/upload', method: 'post', data: data, - timeout: 60 * 1000, + timeout: 600 * 1000, }); } diff --git a/src/api/project/imgwh.js b/src/api/project/imgwh.js index 8f58cba..9578aaf 100644 --- a/src/api/project/imgwh.js +++ b/src/api/project/imgwh.js @@ -1,55 +1,43 @@ - -import request from '@/utils/request' +import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { - return request({ - url: `/business/projectInfoNew/selectProjectImageList`, - method: 'get', - params - }) + return request({ + url: `/business/projectInfoNew/selectProjectImageList`, + method: 'get', + params, + }); } export const projectInfoAdd = data => { - return request({ - url: `/business/projectProbablyBudget/add`, - method: "post", - data - }); + return request({ + url: `/business/projectProbablyBudget/add`, + method: 'post', + data, + }); }; export const projectInfoEdit = data => { - return request({ - url: `/business/projectProbablyBudget/edit`, - method: "put", - data - }); + return request({ + url: `/business/projectProbablyBudget/edit`, + method: 'put', + data, + }); }; export const projectInfoDelete = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "delete", - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'delete', + }); }; export const projectInfoGet = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "get", - }); -}; - -export const systemUpload = data => { - return request({ - url: `/system/upload`, - method: "post", - data, - headers: { "Content-Type": "multipart/form-data" } - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'get', + }); }; export const saveProjectImageInfo = data => { - return request({ - url: `/business/projectInfoNew/saveProjectImageInfo`, - method: "post", - data, - - }); + return request({ + url: `/business/projectInfoNew/saveProjectImageInfo`, + method: 'post', + data, + }); }; - diff --git a/src/api/system/file.js b/src/api/system/file.js index c8efe7a..e3c2512 100644 --- a/src/api/system/file.js +++ b/src/api/system/file.js @@ -1,58 +1,49 @@ -import request from "@/utils/request"; +import request from '@/utils/request'; // 查询附件列表 -export function fileList (data) { +export function fileList(data) { return request({ - url: "/system/list", - method: "get", + url: '/system/list', + method: 'get', data: data, }); } // 查询附件分页 -export function filePage (query) { +export function filePage(query) { return request({ - url: "/system/page", - method: "get", + url: '/system/page', + method: 'get', params: query, }); } // 查询附件详细 -export function getFile (id) { +export function getFile(id) { return request({ - url: "/system/" + id, - method: "get", - }); -} - -// 上传附件 -export function upLoad (data) { - return request({ - url: "/system/upload", - method: "post", - data: data, + url: '/system/' + id, + method: 'get', }); } // 新增附件 -export function addConfig (data) { +export function addConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 批量新增附件 -export function addBatchConfig (data) { +export function addBatchConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 删除附件 -export function delConfig (ids) { +export function delConfig(ids) { return request({ - url: "/system/" + ids, - method: "delete", + url: '/system/' + ids, + method: 'delete', }); } diff --git a/src/components/ImageFileUpload/ggFileUpload.vue b/src/components/ImageFileUpload/ggFileUpload.vue deleted file mode 100644 index a721a5f..0000000 --- a/src/components/ImageFileUpload/ggFileUpload.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/components/ImageFileUpload/index.vue b/src/components/ImageFileUpload/index.vue index a7514a2..6603758 100644 --- a/src/components/ImageFileUpload/index.vue +++ b/src/components/ImageFileUpload/index.vue @@ -46,7 +46,7 @@ // 大小限制(MB) fileSize: { type: Number, - default: 5, + default: 1000, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { diff --git a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue index cb6d626..1b6b6eb 100644 --- a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue +++ b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue @@ -4,29 +4,30 @@ - + - - + + - + - + - - + + - - diff --git a/src/views/project/projectInformation/index.vue b/src/views/project/projectInformation/index.vue index d70c4c8..79eb775 100644 --- a/src/views/project/projectInformation/index.vue +++ b/src/views/project/projectInformation/index.vue @@ -68,7 +68,6 @@ 新增项目 批量删除 修改进度 - 工改项目数据 导出 @@ -198,10 +197,6 @@ - - - - @@ -211,7 +206,6 @@ import { optTextMap } from '@/utils/map'; import operate from './operate.vue'; import detail from './details.vue'; -import GongGaiProject from './projectGG.vue'; //工改项目信息 import MapPosition from '@/components/Map/index.vue'; //地图选点获取经纬度位置组件 import { required } from '@/utils/validate-helper'; import { inheritAttr } from '@/utils/v3'; @@ -224,7 +218,6 @@ } from '@/api/project/projectInformationNew'; const { proxy } = getCurrentInstance(); -const showGongGai = ref(false); const { build_category, project_library_type, project_content_type, build_status, findText } = useDicts(proxy); const { project_data_sources } = proxy.useDict('project_data_sources'); const showSearch = ref(true); @@ -324,10 +317,6 @@ }) .catch(() => {}); }; -// 工改项目信息点击 -function editGongGai() { - showGongGai.value = true; -} const editSchedule = async () => { const list = proxy.$refs.multipleTableRef.getSelectionRows(); diff --git a/src/api/login.js b/src/api/login.js index 310e09c..d6ce3f3 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -50,7 +50,7 @@ url: '/system/upload', method: 'post', data: data, - timeout: 60 * 1000, + timeout: 600 * 1000, }); } diff --git a/src/api/project/imgwh.js b/src/api/project/imgwh.js index 8f58cba..9578aaf 100644 --- a/src/api/project/imgwh.js +++ b/src/api/project/imgwh.js @@ -1,55 +1,43 @@ - -import request from '@/utils/request' +import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { - return request({ - url: `/business/projectInfoNew/selectProjectImageList`, - method: 'get', - params - }) + return request({ + url: `/business/projectInfoNew/selectProjectImageList`, + method: 'get', + params, + }); } export const projectInfoAdd = data => { - return request({ - url: `/business/projectProbablyBudget/add`, - method: "post", - data - }); + return request({ + url: `/business/projectProbablyBudget/add`, + method: 'post', + data, + }); }; export const projectInfoEdit = data => { - return request({ - url: `/business/projectProbablyBudget/edit`, - method: "put", - data - }); + return request({ + url: `/business/projectProbablyBudget/edit`, + method: 'put', + data, + }); }; export const projectInfoDelete = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "delete", - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'delete', + }); }; export const projectInfoGet = ids => { - return request({ - url: `/business/projectProbablyBudget/${ids}`, - method: "get", - }); -}; - -export const systemUpload = data => { - return request({ - url: `/system/upload`, - method: "post", - data, - headers: { "Content-Type": "multipart/form-data" } - }); + return request({ + url: `/business/projectProbablyBudget/${ids}`, + method: 'get', + }); }; export const saveProjectImageInfo = data => { - return request({ - url: `/business/projectInfoNew/saveProjectImageInfo`, - method: "post", - data, - - }); + return request({ + url: `/business/projectInfoNew/saveProjectImageInfo`, + method: 'post', + data, + }); }; - diff --git a/src/api/system/file.js b/src/api/system/file.js index c8efe7a..e3c2512 100644 --- a/src/api/system/file.js +++ b/src/api/system/file.js @@ -1,58 +1,49 @@ -import request from "@/utils/request"; +import request from '@/utils/request'; // 查询附件列表 -export function fileList (data) { +export function fileList(data) { return request({ - url: "/system/list", - method: "get", + url: '/system/list', + method: 'get', data: data, }); } // 查询附件分页 -export function filePage (query) { +export function filePage(query) { return request({ - url: "/system/page", - method: "get", + url: '/system/page', + method: 'get', params: query, }); } // 查询附件详细 -export function getFile (id) { +export function getFile(id) { return request({ - url: "/system/" + id, - method: "get", - }); -} - -// 上传附件 -export function upLoad (data) { - return request({ - url: "/system/upload", - method: "post", - data: data, + url: '/system/' + id, + method: 'get', }); } // 新增附件 -export function addConfig (data) { +export function addConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 批量新增附件 -export function addBatchConfig (data) { +export function addBatchConfig(data) { return request({ - url: "/system/add", - method: "post", + url: '/system/add', + method: 'post', data: data, }); } // 删除附件 -export function delConfig (ids) { +export function delConfig(ids) { return request({ - url: "/system/" + ids, - method: "delete", + url: '/system/' + ids, + method: 'delete', }); } diff --git a/src/components/ImageFileUpload/ggFileUpload.vue b/src/components/ImageFileUpload/ggFileUpload.vue deleted file mode 100644 index a721a5f..0000000 --- a/src/components/ImageFileUpload/ggFileUpload.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/components/ImageFileUpload/index.vue b/src/components/ImageFileUpload/index.vue index a7514a2..6603758 100644 --- a/src/components/ImageFileUpload/index.vue +++ b/src/components/ImageFileUpload/index.vue @@ -46,7 +46,7 @@ // 大小限制(MB) fileSize: { type: Number, - default: 5, + default: 1000, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { diff --git a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue index cb6d626..1b6b6eb 100644 --- a/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue +++ b/src/views/project/compensation/noticeRewardComponents/tableDalgo.vue @@ -4,29 +4,30 @@ - + - - + + - + - + - - + + - - diff --git a/src/views/project/projectInformation/index.vue b/src/views/project/projectInformation/index.vue index d70c4c8..79eb775 100644 --- a/src/views/project/projectInformation/index.vue +++ b/src/views/project/projectInformation/index.vue @@ -68,7 +68,6 @@ 新增项目 批量删除 修改进度 - 工改项目数据 导出 @@ -198,10 +197,6 @@ - - - - @@ -211,7 +206,6 @@ import { optTextMap } from '@/utils/map'; import operate from './operate.vue'; import detail from './details.vue'; -import GongGaiProject from './projectGG.vue'; //工改项目信息 import MapPosition from '@/components/Map/index.vue'; //地图选点获取经纬度位置组件 import { required } from '@/utils/validate-helper'; import { inheritAttr } from '@/utils/v3'; @@ -224,7 +218,6 @@ } from '@/api/project/projectInformationNew'; const { proxy } = getCurrentInstance(); -const showGongGai = ref(false); const { build_category, project_library_type, project_content_type, build_status, findText } = useDicts(proxy); const { project_data_sources } = proxy.useDict('project_data_sources'); const showSearch = ref(true); @@ -324,10 +317,6 @@ }) .catch(() => {}); }; -// 工改项目信息点击 -function editGongGai() { - showGongGai.value = true; -} const editSchedule = async () => { const list = proxy.$refs.multipleTableRef.getSelectionRows(); diff --git a/src/views/project/projectInformation/projectGG.vue b/src/views/project/projectInformation/projectGG.vue deleted file mode 100644 index 37d7276..0000000 --- a/src/views/project/projectInformation/projectGG.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - - -