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