修改 汇总(未符合项整改)
This commit is contained in:
@@ -177,6 +177,7 @@ import ProcessHeader from '../../components/ProcessHeader'
|
|||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {changeAssigneeNew, completeTask, inboundLiaisonDetail, saveTaskForPub} from "@/api/process.js";
|
import {changeAssigneeNew, completeTask, inboundLiaisonDetail, saveTaskForPub} from "@/api/process.js";
|
||||||
|
import eventBus from "@/common/eventHub.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "wfhxzgStep3",
|
name: "wfhxzgStep3",
|
||||||
@@ -257,12 +258,7 @@ export default {
|
|||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
})
|
})
|
||||||
// this.$http.get("lawss/activiti/queryTaskIndex", params, {
|
this.textarea = this.$route.params.currentItem.commentText
|
||||||
// _this: this
|
|
||||||
// }, res => {
|
|
||||||
//
|
|
||||||
// }, e => {
|
|
||||||
// });
|
|
||||||
},
|
},
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
console.log(item)
|
console.log(item)
|
||||||
|
|||||||
@@ -143,6 +143,8 @@
|
|||||||
import { mapMutations } from 'vuex'
|
import { mapMutations } from 'vuex'
|
||||||
import { changeAssigneeNew } from 'api/process'
|
import { changeAssigneeNew } from 'api/process'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
import eventBus from '@/common/eventHub'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'processDetail',
|
name: 'processDetail',
|
||||||
data () {
|
data () {
|
||||||
@@ -205,13 +207,17 @@ export default {
|
|||||||
approveHandler(){
|
approveHandler(){
|
||||||
let index = this.detailData.length - 1 // 当前流程任务最后一步index
|
let index = this.detailData.length - 1 // 当前流程任务最后一步index
|
||||||
let isEnd = true
|
let isEnd = true
|
||||||
let row = {...this.detailData[this.approveRowIndex+1]}//汇总页数据
|
let row = {...this.detailData[this.approveRowIndex+1]}//汇总页下一步拿到数据
|
||||||
if(this.approveRowIndex ===this.detailData.length-1){ //最后一步
|
if(this.approveRowIndex ===this.detailData.length-1){ //最后一步
|
||||||
row = {...this.detailData[this.approveRowIndex]}
|
row = {...this.detailData[this.approveRowIndex]}
|
||||||
}
|
}
|
||||||
row.taskIds = row.id
|
row.taskIds = row.id
|
||||||
row.taskInfo = row.name
|
row.taskInfo = row.name
|
||||||
row.tabsName = this.$route.query.tabsName
|
row.tabsName = this.$route.query.tabsName
|
||||||
|
|
||||||
|
let currentItem = this.detailData[this.approveRowIndex]
|
||||||
|
row.currentItem = currentItem
|
||||||
|
|
||||||
let prcType = this.detailData[index].prcType // 流程类型
|
let prcType = this.detailData[index].prcType // 流程类型
|
||||||
if (isEnd) {
|
if (isEnd) {
|
||||||
if (this.$store.state.detailMap !== '') {
|
if (this.$store.state.detailMap !== '') {
|
||||||
@@ -403,6 +409,9 @@ export default {
|
|||||||
verifySarStandard:true,
|
verifySarStandard:true,
|
||||||
index:this.approveRowIndex,
|
index:this.approveRowIndex,
|
||||||
processInstanceId:row.processInstanceId
|
processInstanceId:row.processInstanceId
|
||||||
|
},
|
||||||
|
params:{
|
||||||
|
currentItem:row.currentItem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (unShowReceipt) {
|
if (unShowReceipt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user