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

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