未符合项结束的跳转,待办中心的跳转

This commit is contained in:
shenyanpei
2021-08-26 14:25:33 +08:00
parent d7d5068f4f
commit 98a08f62b6
4 changed files with 21 additions and 6 deletions
@@ -380,7 +380,10 @@ export default {
},
// 批量删除按钮table,选择数据
selectedDelete(val) {
this.deleteDataList = val
this.deleteDataList = []
for (let i = 0; i < val.length; i++) {
this.deleteDataList.push(val[i].id);
}
},
// 点击批量删除事件
deleteList() {
@@ -308,11 +308,12 @@ export default {
},
getFormFieldList (item) {
this.$nextTick(() => {
let listJSON = JSON.parse(JSON.stringify(item.responUserList))
if (listJSON.length !== undefined) {
this.dataList = listJSON[0].standardInfoList
} else {
if (item.responUserList !== undefined) {
let listJSON = JSON.parse(JSON.stringify(item.responUserList))
this.dataList = [listJSON][0].standardInfoList
} else {
let listJSONInfo = item.info
this.dataList = [listJSONInfo]
}
this.dataList.forEach(item => {
if (item.fileText.length !== 0) {
@@ -196,6 +196,7 @@
</div>
</div>
<ProcessFooter
v-if="taskInfo !== '批准'"
show-submit
show-back
approval
@@ -247,6 +248,7 @@ export default {
backLoading: false,
dataList: [],
json: {},
taskInfo: this.$route.query.taskInfo,
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
// 当前页数
@@ -342,6 +344,9 @@ export default {
handleSubmit() {
this.isSubmit = true
var json = this.json
json.info = {
fileDataList: this.dataList
}
json.actionFlag = 0
json.commentText = this.commentText
this.$http.post('lawss/activiti/completeTask', {
@@ -75,6 +75,9 @@
align="center"
width="150"
>
<template slot-scope="scope">
<a @click="dealWith(scope.row)" class="table-jump">{{ scope.row.prcNum }}</a>
</template>
</el-table-column>
<el-table-column
prop="prcType"
@@ -83,7 +86,7 @@
width="180"
>
<template slot-scope="scope">
<span>{{ getPrcName(scope.row.prcType) }}</span>
<span @click="dealWith(scope.row)" class="table-jump">{{ getPrcName(scope.row.prcType) }}</span>
</template>
</el-table-column>
<el-table-column
@@ -93,6 +96,9 @@
align="center"
min-width="250"
>
<template slot-scope="scope">
<a @click="dealWith(scope.row)" class="table-jump">{{ scope.row.prcName }}</a>
</template>
</el-table-column>
<el-table-column
prop="creatUserName"