【修改】转办接口

This commit is contained in:
zhoulingpo
2023-05-16 14:18:48 +08:00
parent 0bf5e77f40
commit f69ea4a22a
5 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -53,8 +53,8 @@ export default {
changeAssignee (data){
return request({
url: '/api/changeAssigneeNew',
method: 'get',
params: data
method: 'post',
data: data
})
},
// 获取一般的数据
+1 -2
View File
@@ -85,20 +85,19 @@
<!-- v-if="workNumFlag"-->
<el-table-column
label="部门名称"
width="120"
prop="orgName"
align="center"
show-overflow-tooltip>
</el-table-column>
<el-table-column
label="部门编码"
width="120"
prop="orgCode"
align="center"
show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="orgLevel"
width="120"
label="部门级别"
align="center"
show-overflow-tooltip>
+1 -1
View File
@@ -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('转办成功')
@@ -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('仅能上传 pdfxlsxlsxdocdocxpptpptx 格式文件');
this.$message.error('仅能上传 pdfpptpptx 格式文件');
}
if (!isSize) {
this.$message.error('您最大可上传200M文件');
+1 -1
View File
@@ -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('转办成功')