【修改】转办接口
This commit is contained in:
@@ -53,8 +53,8 @@ export default {
|
||||
changeAssignee (data){
|
||||
return request({
|
||||
url: '/api/changeAssigneeNew',
|
||||
method: 'get',
|
||||
params: data
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
},
|
||||
// 获取一般的数据
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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('仅能上传 pdf|xls|xlsx|doc|docx|ppt|pptx 格式文件');
|
||||
this.$message.error('仅能上传 pdf|ppt|pptx 格式文件');
|
||||
}
|
||||
if (!isSize) {
|
||||
this.$message.error('您最大可上传200M文件');
|
||||
|
||||
@@ -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('转办成功')
|
||||
|
||||
Reference in New Issue
Block a user