diff --git a/src/views/ProcessApprovalSubPage/contractApproval.vue b/src/views/ProcessApprovalSubPage/contractApproval.vue index e81e52e..4b5a0a2 100644 --- a/src/views/ProcessApprovalSubPage/contractApproval.vue +++ b/src/views/ProcessApprovalSubPage/contractApproval.vue @@ -13,7 +13,7 @@ 选取文件 -
文件大小且不超过5M
+
文件大小且不超过500M
@@ -92,7 +92,7 @@ function httpRequest(option) { // 上传前处理 function beforeUpload(file) { let fileSize = file.size - const FIVE_M = 5 * 1024 * 1024; + const FIVE_M = 500 * 1024 * 1024; const fileSuffix = file.name.substring(file.name.lastIndexOf(".") + 1); let whiteList = ["xls", "xlsx"]; @@ -103,7 +103,7 @@ function beforeUpload(file) { } //大于5M,不允许上传 if (fileSize > FIVE_M) { - ElMessage.error("最大上传5M") + ElMessage.error("最大上传500M") return false } diff --git a/src/views/ProcessApprovalSubPage/fieldChangeApproval.vue b/src/views/ProcessApprovalSubPage/fieldChangeApproval.vue index 88d0760..7aafc3b 100644 --- a/src/views/ProcessApprovalSubPage/fieldChangeApproval.vue +++ b/src/views/ProcessApprovalSubPage/fieldChangeApproval.vue @@ -6,7 +6,7 @@ 选取文件 -
文件大小且不超过5M
+
文件大小且不超过500M
@@ -60,10 +60,10 @@ function httpRequest(option) { // 上传前处理 async function beforeUpload(file) { let fileSize = file.size - const FIVE_M = 5 * 1024 * 1024; + const FIVE_M = 500 * 1024 * 1024; //大于5M,不允许上传 if (fileSize > FIVE_M) { - ElMessage.error("最大上传5M") + ElMessage.error("最大上传500M") return false } return true diff --git a/src/views/ProcessApprovalSubPage/initiatesProjectsApproval.vue b/src/views/ProcessApprovalSubPage/initiatesProjectsApproval.vue index f60187c..91e6d05 100644 --- a/src/views/ProcessApprovalSubPage/initiatesProjectsApproval.vue +++ b/src/views/ProcessApprovalSubPage/initiatesProjectsApproval.vue @@ -2,6 +2,8 @@
+ 资金承若函 +
选取文件 -
只能上传{{ item }}且不超过5M
+
只能上传{{ item }}且不超过500M
@@ -30,7 +30,7 @@ 选取文件 -
文件大小且不超过5M
+
文件大小且不超过500M
@@ -152,10 +152,10 @@ function httpRequestadvice(option) { async function beforeUpload(file, item) { console.log("file,item", file, item) let fileSize = file.size - const FIVE_M = 5 * 1024 * 1024; + const FIVE_M = 500 * 1024 * 1024; //大于5M,不允许上传 if (fileSize > FIVE_M) { - ElMessage.error("最大上传5M") + ElMessage.error("最大上传500M") return false } let geShi = ["xlx", "xlsx", "docx", "doc", "pdf"] as Array @@ -179,10 +179,10 @@ function handleExceed() { function beforeAdviceUpload(file) { console.log("file,item", file) let fileSize = file.size - const FIVE_M = 5 * 1024 * 1024; + const FIVE_M = 500 * 1024 * 1024; //大于5M,不允许上传 if (fileSize > FIVE_M) { - ElMessage.error("最大上传5M") + ElMessage.error("最大上传500M") return false } let geShi = ["xlx", "xlsx", "docx", "doc", "pdf"] as Array diff --git a/src/views/ProcessApprovalSubPage/projectPlanApproval.vue b/src/views/ProcessApprovalSubPage/projectPlanApproval.vue index 05f91b7..a0e4e2b 100644 --- a/src/views/ProcessApprovalSubPage/projectPlanApproval.vue +++ b/src/views/ProcessApprovalSubPage/projectPlanApproval.vue @@ -11,7 +11,7 @@ 选取文件 -
文件大小且不超过5M
+
文件大小且不超过500M
@@ -85,7 +85,7 @@ function httpRequest(option) { // 上传前处理 function beforeUpload(file) { let fileSize = file.size - const FIVE_M = 5 * 1024 * 1024; + const FIVE_M = 500 * 1024 * 1024; const fileSuffix = file.name.substring(file.name.lastIndexOf(".") + 1); let whiteList = ["xls", "xlsx"]; @@ -96,7 +96,7 @@ function beforeUpload(file) { } //大于5M,不允许上传 if (fileSize > FIVE_M) { - ElMessage.error("最大上传5M") + ElMessage.error("最大上传500M") return false } diff --git a/src/views/ProcessApprovalSubPage/uploadfileApproval.vue b/src/views/ProcessApprovalSubPage/uploadfileApproval.vue index ef46625..31f3c02 100644 --- a/src/views/ProcessApprovalSubPage/uploadfileApproval.vue +++ b/src/views/ProcessApprovalSubPage/uploadfileApproval.vue @@ -22,7 +22,7 @@ 选取文件 -
文件大小且不超过5M
+
文件大小且不超过500M
@@ -31,7 +31,7 @@ 选取文件 -
文件大小且不超过5M
+
文件大小且不超过500M
@@ -91,10 +91,10 @@ function httpRequestadvice(option) { // 上传前处理 function beforeUpload(file) { let fileSize = file.size - const FIVE_M = 5 * 1024 * 1024; + const FIVE_M = 500 * 1024 * 1024; //大于5M,不允许上传 if (fileSize > FIVE_M) { - ElMessage.error("最大上传5M") + ElMessage.error("最大上传500M") return false } diff --git a/src/views/Regulation/RegulationLab/addAndModify.vue b/src/views/Regulation/RegulationLab/addAndModify.vue index a0d365e..97b04ec 100644 --- a/src/views/Regulation/RegulationLab/addAndModify.vue +++ b/src/views/Regulation/RegulationLab/addAndModify.vue @@ -11,7 +11,7 @@ 选取文件 -
文件大小且不超过10M
+
文件大小且不超过500M
@@ -84,10 +84,10 @@ function removeFile(option) { // 上传前处理 function beforeUpload(file) { let fileSize = file.size - const FIVE_M = 10 * 1024 * 1024; + const FIVE_M = 500 * 1024 * 1024; //大于5M,不允许上传 if (fileSize > FIVE_M) { - ElMessage.error("最大上传10M") + ElMessage.error("最大上传500M") return false } diff --git a/src/views/addressBook/address/index.vue b/src/views/addressBook/address/index.vue index fed7d30..0653327 100644 --- a/src/views/addressBook/address/index.vue +++ b/src/views/addressBook/address/index.vue @@ -4,7 +4,7 @@ diff --git a/src/views/performanceIndicator/projectAssessment/addProjectAssessment.vue b/src/views/performanceIndicator/projectAssessment/addProjectAssessment.vue index f420f04..a60e379 100644 --- a/src/views/performanceIndicator/projectAssessment/addProjectAssessment.vue +++ b/src/views/performanceIndicator/projectAssessment/addProjectAssessment.vue @@ -4,10 +4,10 @@ diff --git a/src/views/projectLib/projectPlan/projectPlan.api.ts b/src/views/projectLib/projectPlan/projectPlan.api.ts index 713ed11..62c883b 100644 --- a/src/views/projectLib/projectPlan/projectPlan.api.ts +++ b/src/views/projectLib/projectPlan/projectPlan.api.ts @@ -16,6 +16,8 @@ export enum Api { modifyPlaninfo="/huzhouPlan/modifyPlaninfo", approvePlaninfo='/huzhouPlan/approvePlaninfo', planFilePageList="/huzhouPlaninfofile/planFilePageList", + getProcessName="/huzhouPlaninfofile/getProcessName", + getplaninfoByid="/huzhouPlan/qetplaninfoByid", getPlanFileApprovalInfoByPlaninfoId="/huzhouPlaninfofile/getPlanFileApprovalInfoByPlaninfoId", downloadPlanInfo="/huzhouPlan/downloadPlanInfo", @@ -24,6 +26,8 @@ export enum Api { * 提交入库申请流程 */ export const projectPlanPageList = (params) => defHttp.get({ url: Api.projectPlanPageList, params }) +export const getProcessName = (params) => defHttp.get({ url: Api.getProcessName, params }) + export const queryPlanModuleDetailPage = (params) => defHttp.get({ url: Api.queryPlanModuleDetailPage, params }) export const queryPlanModuleone = (params) => defHttp.get({ url: Api.queryPlanModuleone, params }) export const getPlanFileApprovalInfoByPlaninfoId = (params) => defHttp.get({ url: Api.getPlanFileApprovalInfoByPlaninfoId, params }) diff --git a/src/views/projectLib/projectPlan/viewPlanDetail.vue b/src/views/projectLib/projectPlan/viewPlanDetail.vue index 0533c6d..ce41cb6 100644 --- a/src/views/projectLib/projectPlan/viewPlanDetail.vue +++ b/src/views/projectLib/projectPlan/viewPlanDetail.vue @@ -192,7 +192,7 @@ function handleDetail(record) { planinfoid.value = record.id taskName.value = record.taskName isfinish.value = record.isfinish - openFileInfo() + openFileInfo(true,{planinfoid:record.id,taskName:record.taskName,isfinish:record.isfinish}) } function handleuploadfile(record) { diff --git a/src/views/projectLib/workReport/addModifyWorkreport.vue b/src/views/projectLib/workReport/addModifyWorkreport.vue index c89ab1b..81221f4 100644 --- a/src/views/projectLib/workReport/addModifyWorkreport.vue +++ b/src/views/projectLib/workReport/addModifyWorkreport.vue @@ -11,7 +11,7 @@ 选取文件 -
文件大小且不超过10M
+
文件大小且不超过500M
@@ -94,10 +94,10 @@ function removeFile(option) { // 上传前处理 function beforeUpload(file) { let fileSize = file.size - const FIVE_M = 10 * 1024 * 1024; + const FIVE_M = 500 * 1024 * 1024; //大于5M,不允许上传 if (fileSize > FIVE_M) { - ElMessage.error("最大上传10M") + ElMessage.error("最大上传500M") return false } diff --git a/src/views/projectSummary/planSummary/index.vue b/src/views/projectSummary/planSummary/index.vue index a00cd0d..3938032 100644 --- a/src/views/projectSummary/planSummary/index.vue +++ b/src/views/projectSummary/planSummary/index.vue @@ -6,7 +6,7 @@