here is no way the,buss node 7 reject
This commit is contained in:
@@ -208,12 +208,15 @@
|
||||
<!-- 保存||提交-->
|
||||
<ProcessFooter
|
||||
v-show="verifySarStandard"
|
||||
show-save
|
||||
show-submit
|
||||
:saveLoading="saveLoading"
|
||||
:show-save="false"
|
||||
show-over2
|
||||
show-submit2
|
||||
show-transfer
|
||||
:submitLoading="isSubmit"
|
||||
@save="handleSave"
|
||||
@submit="handleSubmit"
|
||||
:saveLoading="saveLoading"
|
||||
@transfer="handleTransfer"
|
||||
@submit2="handle2"
|
||||
@over2="handle1"
|
||||
>
|
||||
</ProcessFooter>
|
||||
<el-dialog width='400px' :visible.sync="fileMadel" title="上传文件">
|
||||
@@ -352,6 +355,13 @@
|
||||
@checkedRole="checkedRole"
|
||||
:nodeList="nodeList"
|
||||
></Role-tree>
|
||||
<Role-tree
|
||||
check-box
|
||||
:is-title="drawerTitle"
|
||||
:is-visible.sync="drawerModal"
|
||||
@checkedRole="checkedRoleTransfer"
|
||||
:nodeList="nodeList"
|
||||
></Role-tree>
|
||||
<!-- <el-drawer-->
|
||||
<!-- :title="drawerTitle"-->
|
||||
<!-- :visible.sync="modalShowFlag"-->
|
||||
@@ -560,7 +570,7 @@
|
||||
import ProcessHeader from '../../components/ProcessHeader'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail} from "api/process";
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,changeAssigneeNew} from "api/process";
|
||||
import {getEvaluationIndex} from "api/businessApi";
|
||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
|
||||
@@ -2310,6 +2320,37 @@
|
||||
this.rules.commentText[0].required = true;
|
||||
}
|
||||
},
|
||||
checkedRoleTransfer (data) {
|
||||
this.assigneeNewLoading = true
|
||||
changeAssigneeNew({
|
||||
taskId: this.$route.query.taskIds, // 任务id
|
||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||
assignee: data[0].id, // 被委托人
|
||||
pId: this.$route.query.prcId, // 流程实例
|
||||
}).then(res => {
|
||||
this.assigneeNewLoading = false
|
||||
if (res.success) {
|
||||
this.drawerModal = false
|
||||
this.$message.success('调整成功')
|
||||
this.processNum()
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
},
|
||||
handleTransfer() {
|
||||
this.drawerModal = true
|
||||
this.drawerTitle = '转办处理人'
|
||||
},
|
||||
handle1(){
|
||||
this.formTongGuo.approvalOpinion = 1
|
||||
this.handleSubmit()
|
||||
},
|
||||
handle2(){
|
||||
this.formTongGuo.approvalOpinion = 0
|
||||
this.handleSubmit()
|
||||
},
|
||||
handleSubmit() {
|
||||
this.getRule()
|
||||
// const val= this.form.country;
|
||||
|
||||
@@ -314,13 +314,18 @@
|
||||
<ProcessFooter
|
||||
v-show="verifySarStandard"
|
||||
show-save
|
||||
show-submit
|
||||
:saveLoading="saveLoading"
|
||||
show-over2
|
||||
show-submit2
|
||||
show-transfer
|
||||
:submitLoading="isSubmit"
|
||||
:saveLoading="saveLoading"
|
||||
@save="handleSave"
|
||||
@submit="handleSubmit"
|
||||
@transfer="handleTransfer"
|
||||
@submit2="handle2"
|
||||
@over2="handle1"
|
||||
>
|
||||
</ProcessFooter>
|
||||
</ProcessFooter>
|
||||
<el-dialog width='400px' :visible.sync="fileMadel" title="上传文件">
|
||||
<el-upload
|
||||
multiple
|
||||
@@ -457,6 +462,14 @@
|
||||
@checkedRole="checkedRole"
|
||||
:nodeList="nodeList"
|
||||
></Role-tree>
|
||||
<!-- 福田全公司选人解决方案 -->
|
||||
<Role-tree
|
||||
check-box
|
||||
:is-title="drawerTitle"
|
||||
:is-visible.sync="drawerModal"
|
||||
@checkedRole="checkedRoleTransfer"
|
||||
:nodeList="nodeList"
|
||||
></Role-tree>
|
||||
<!-- <el-drawer-->
|
||||
<!-- :title="drawerTitle"-->
|
||||
<!-- :visible.sync="modalShowFlag"-->
|
||||
@@ -665,7 +678,7 @@
|
||||
import ProcessHeader from '../../components/ProcessHeader'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail} from "api/process";
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,changeAssigneeNew} from "api/process";
|
||||
import {getEvaluationIndex} from "api/businessApi";
|
||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
|
||||
@@ -1383,6 +1396,25 @@
|
||||
this.roleForm.hqUserName=nameList;
|
||||
}
|
||||
},
|
||||
checkedRoleTransfer (data) {
|
||||
this.assigneeNewLoading = true
|
||||
changeAssigneeNew({
|
||||
taskId: this.$route.query.taskIds, // 任务id
|
||||
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||
assignee: data[0].id, // 被委托人
|
||||
pId: this.$route.query.prcId, // 流程实例
|
||||
}).then(res => {
|
||||
this.assigneeNewLoading = false
|
||||
if (res.success) {
|
||||
this.drawerModal = false
|
||||
this.$message.success('调整成功')
|
||||
this.processNum()
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
},
|
||||
checkedRole (data) {
|
||||
if (this.type === 0) {
|
||||
this.roleForm.deptUserId = data[0].id
|
||||
@@ -2234,6 +2266,22 @@
|
||||
handleTabs(name) {
|
||||
this.active = name
|
||||
},
|
||||
handleTransfer() {
|
||||
this.drawerModal = true
|
||||
this.drawerTitle = '转办处理人'
|
||||
},
|
||||
handle1(){
|
||||
this.formTongGuo.approvalOpinion = 1
|
||||
this.handleSubmit()
|
||||
},
|
||||
handle2(){
|
||||
this.formTongGuo.approvalOpinion = 0
|
||||
this.$refs['form'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.handleSubmit()
|
||||
}
|
||||
})
|
||||
},
|
||||
//保存
|
||||
handleSave() {
|
||||
this.form.country=this.countryArr;
|
||||
|
||||
Reference in New Issue
Block a user