【修改】转办接口
This commit is contained in:
@@ -53,8 +53,8 @@ export default {
|
|||||||
changeAssignee (data){
|
changeAssignee (data){
|
||||||
return request({
|
return request({
|
||||||
url: '/api/changeAssigneeNew',
|
url: '/api/changeAssigneeNew',
|
||||||
method: 'get',
|
method: 'post',
|
||||||
params: data
|
data: data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 获取一般的数据
|
// 获取一般的数据
|
||||||
|
|||||||
@@ -85,20 +85,19 @@
|
|||||||
<!-- v-if="workNumFlag"-->
|
<!-- v-if="workNumFlag"-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="部门名称"
|
label="部门名称"
|
||||||
width="120"
|
|
||||||
prop="orgName"
|
prop="orgName"
|
||||||
align="center"
|
align="center"
|
||||||
show-overflow-tooltip>
|
show-overflow-tooltip>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="部门编码"
|
label="部门编码"
|
||||||
width="120"
|
|
||||||
prop="orgCode"
|
prop="orgCode"
|
||||||
align="center"
|
align="center"
|
||||||
show-overflow-tooltip>
|
show-overflow-tooltip>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="orgLevel"
|
prop="orgLevel"
|
||||||
|
width="120"
|
||||||
label="部门级别"
|
label="部门级别"
|
||||||
align="center"
|
align="center"
|
||||||
show-overflow-tooltip>
|
show-overflow-tooltip>
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ export default {
|
|||||||
taskId: this.taskId,
|
taskId: this.taskId,
|
||||||
assignee: treeNode[0].USID,
|
assignee: treeNode[0].USID,
|
||||||
userId: this.$store.getters.userInfo.usid,
|
userId: this.$store.getters.userInfo.usid,
|
||||||
pId: this.prcId,
|
prcId: this.prcId,
|
||||||
approvalOpinion:this.application
|
approvalOpinion:this.application
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$message.success('转办成功')
|
this.$message.success('转办成功')
|
||||||
|
|||||||
@@ -463,11 +463,11 @@ export default {
|
|||||||
let realFileType = file.name.split('.')[file.name.split('.').length - 1];
|
let realFileType = file.name.split('.')[file.name.split('.').length - 1];
|
||||||
const isType = (
|
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
|
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;
|
const isSize = file.size / 1024 / 1024 < 200;
|
||||||
if (!isType) {
|
if (!isType) {
|
||||||
this.$message.error('仅能上传 pdf|xls|xlsx|doc|docx|ppt|pptx 格式文件');
|
this.$message.error('仅能上传 pdf|ppt|pptx 格式文件');
|
||||||
}
|
}
|
||||||
if (!isSize) {
|
if (!isSize) {
|
||||||
this.$message.error('您最大可上传200M文件');
|
this.$message.error('您最大可上传200M文件');
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ export default {
|
|||||||
taskId: this.taskId,
|
taskId: this.taskId,
|
||||||
assignee: treeNode[0].USID,
|
assignee: treeNode[0].USID,
|
||||||
userId: this.$store.getters.userInfo.usid,
|
userId: this.$store.getters.userInfo.usid,
|
||||||
pId: this.prcId,
|
prcId: this.prcId,
|
||||||
approvalOpinion:this.application
|
approvalOpinion:this.application
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$message.success('转办成功')
|
this.$message.success('转办成功')
|
||||||
|
|||||||
Reference in New Issue
Block a user