修改流程
This commit is contained in:
@@ -695,9 +695,11 @@
|
||||
v-show="verifySarStandard && !disabledXX"
|
||||
show-save
|
||||
show-submit
|
||||
show-confirm
|
||||
:submitLoading="isSubmit"
|
||||
:saveLoading="saveLoading"
|
||||
@save="handleSave"
|
||||
@accept="handleAccept"
|
||||
@submit="handleSubmit"
|
||||
>
|
||||
</ProcessFooter>
|
||||
@@ -1205,7 +1207,7 @@
|
||||
import ProcessHeader from '../../components/ProcessHeader'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,taskDel,inboundLiaisonDetail} from "api/process";
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,taskDel,inboundLiaisonDetail,execTask} from "api/process";
|
||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
|
||||
import treeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
|
||||
@@ -1334,6 +1336,7 @@ export default {
|
||||
kwjFileList: [],
|
||||
glwjFileList: [],
|
||||
filterText:'',
|
||||
todoId:'',
|
||||
textStatusMap: {}, // 文本状态id与name对应
|
||||
standardDrawer: false,
|
||||
loadSarStandard: false,
|
||||
@@ -3055,6 +3058,19 @@ export default {
|
||||
|
||||
return arr;
|
||||
},
|
||||
// 接受按钮
|
||||
handleAccept(){
|
||||
this.isSubmit = true
|
||||
execTask({
|
||||
todoId: this.todoId // 当前节点ID
|
||||
}).then(res => {
|
||||
if (res.sign && res.sign === '0') {
|
||||
this.$message.success('接收成功')
|
||||
this.$router.push('/processCenter')
|
||||
}
|
||||
this.isSubmit = false
|
||||
})
|
||||
},
|
||||
handleSubmit() {
|
||||
// this.form.country=this.countryArr;
|
||||
// test
|
||||
@@ -3196,6 +3212,7 @@ export default {
|
||||
}).then(res => {
|
||||
if (res) {
|
||||
const processForm = JSON.parse(res.mesg)
|
||||
this.todoId = res.id
|
||||
this.form.reviseStatus = processForm.reviseStatus
|
||||
}
|
||||
}).catch(e => {
|
||||
|
||||
@@ -1234,7 +1234,7 @@
|
||||
this.addForm.addFlag = '1'
|
||||
this.addForm.prcCreateUser = this.$store.getters.userInfo.userId
|
||||
this.addForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
||||
this.addForm.esId = res.message
|
||||
this.addForm.nowEsId = res.message
|
||||
this.addForm.type = '5'
|
||||
var json = Object.assign(this.addForm)
|
||||
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||
|
||||
Reference in New Issue
Block a user