From f69ea4a22ad1f4169d193dc6aa5fb1444c79cb85 Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Tue, 16 May 2023 14:18:48 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E8=BD=AC?= =?UTF-8?q?=E5=8A=9E=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/process.js | 4 ++-- src/components/OrgTable.vue | 3 +-- src/views/permissionApplication/examine.vue | 2 +- src/views/reportProcess/components/reportForm.vue | 4 ++-- src/views/reportProcess/examine.vue | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/api/modules/process.js b/src/api/modules/process.js index 5889d64..f37ae66 100644 --- a/src/api/modules/process.js +++ b/src/api/modules/process.js @@ -53,8 +53,8 @@ export default { changeAssignee (data){ return request({ url: '/api/changeAssigneeNew', - method: 'get', - params: data + method: 'post', + data: data }) }, // 获取一般的数据 diff --git a/src/components/OrgTable.vue b/src/components/OrgTable.vue index b2db968..30784ee 100644 --- a/src/components/OrgTable.vue +++ b/src/components/OrgTable.vue @@ -85,20 +85,19 @@ diff --git a/src/views/permissionApplication/examine.vue b/src/views/permissionApplication/examine.vue index bd85cfa..e95b590 100644 --- a/src/views/permissionApplication/examine.vue +++ b/src/views/permissionApplication/examine.vue @@ -207,7 +207,7 @@ export default { taskId: this.taskId, assignee: treeNode[0].USID, userId: this.$store.getters.userInfo.usid, - pId: this.prcId, + prcId: this.prcId, approvalOpinion:this.application }).then(() => { this.$message.success('转办成功') diff --git a/src/views/reportProcess/components/reportForm.vue b/src/views/reportProcess/components/reportForm.vue index 9545a72..105de47 100644 --- a/src/views/reportProcess/components/reportForm.vue +++ b/src/views/reportProcess/components/reportForm.vue @@ -463,11 +463,11 @@ export default { let realFileType = file.name.split('.')[file.name.split('.').length - 1]; const isType = ( file.type === fileType.pdf || file.type === fileType.xls || file.type === fileType.xlsx || file.type === fileType.doc || file.type === fileType.docx || file.type === fileType.ppt || file.type === fileType.pptx - || realFileType === 'pdf' || realFileType === 'xls' || realFileType === 'xlsx' || realFileType === 'doc' || realFileType === 'docx' || realFileType === 'ppt' || realFileType === 'pptx' + || realFileType === 'pdf' || realFileType === 'ppt' || realFileType === 'pptx' ); const isSize = file.size / 1024 / 1024 < 200; if (!isType) { - this.$message.error('仅能上传 pdf|xls|xlsx|doc|docx|ppt|pptx 格式文件'); + this.$message.error('仅能上传 pdf|ppt|pptx 格式文件'); } if (!isSize) { this.$message.error('您最大可上传200M文件'); diff --git a/src/views/reportProcess/examine.vue b/src/views/reportProcess/examine.vue index 4237c82..b27a0d1 100644 --- a/src/views/reportProcess/examine.vue +++ b/src/views/reportProcess/examine.vue @@ -139,7 +139,7 @@ export default { taskId: this.taskId, assignee: treeNode[0].USID, userId: this.$store.getters.userInfo.usid, - pId: this.prcId, + prcId: this.prcId, approvalOpinion:this.application }).then(() => { this.$message.success('转办成功')