修改标准征求意见流程审批历史

This commit is contained in:
范强强
2024-02-05 10:03:21 +08:00
parent 5b069a66a7
commit a08a845a23
@@ -9,7 +9,7 @@
<!-- <span class="flow-chart-title">{{ $route.params.processNumber }} {{ $route.params.processTypeName }} 流程图</span>--> <!-- <span class="flow-chart-title">{{ $route.params.processNumber }} {{ $route.params.processTypeName }} 流程图</span>-->
</div> </div>
<div class="flow-group" style="margin-top: 30px;overflow: auto;"> <div class="flow-group" style="margin-top: 30px;overflow: auto;">
<div v-if="$route.query.oldAndNew == 'new' && $route.query.flowType == '3'" class="flow-group-process"> <div v-if="$route.query.oldAndNew == 'new' && ($route.query.flowType == '3' || $route.query.flowType == 'buss1')" class="flow-group-process">
<div class="flow-group-process-stard"> <div class="flow-group-process-stard">
开始 开始
</div> </div>
@@ -112,7 +112,7 @@
</div> </div>
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
v-if="$route.query.oldAndNew == 'new' && $route.query.flowType == '3'" v-if="$route.query.oldAndNew == 'new' && ($route.query.flowType == '3' || $route.query.flowType == 'buss1')"
ref="selection" ref="selection"
height="100%" height="100%"
:data="detailData" :data="detailData"
@@ -361,7 +361,7 @@
if (res.success) { if (res.success) {
this.drawerModal = false this.drawerModal = false
this.$message.success('调整成功') this.$message.success('调整成功')
if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3') { if (this.$route.query.oldAndNew == 'new' && (this.$route.query.flowType == '3' || this.$route.query.flowType == 'buss1')) {
this.getProcessList() this.getProcessList()
} else { } else {
this.processNum() this.processNum()
@@ -398,7 +398,7 @@
const isEnd = true const isEnd = true
let prcType = '' let prcType = ''
let row = {} let row = {}
if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3') { if (this.$route.query.oldAndNew == 'new' && (this.$route.query.flowType == '3' || this.$route.query.flowType == 'buss1')) {
row = this.integrateData(JSON.parse(JSON.stringify(this.detailData))) row = this.integrateData(JSON.parse(JSON.stringify(this.detailData)))
prcType = row.flowType prcType = row.flowType
row.taskInfo = row.taskKeyShow row.taskInfo = row.taskKeyShow
@@ -527,7 +527,7 @@
let prcType = '' let prcType = ''
const index = this.detailData.length - 1 // 当前流程任务最后一步index const index = this.detailData.length - 1 // 当前流程任务最后一步index
const isEnd = true const isEnd = true
if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3') { if (this.$route.query.oldAndNew == 'new' && (this.$route.query.flowType == '3' || this.$route.query.flowType == 'buss1')) {
prcType = row.flowType prcType = row.flowType
row.taskInfo = row.taskKeyShow row.taskInfo = row.taskKeyShow
row.taskIds = row.taskId row.taskIds = row.taskId
@@ -1298,7 +1298,7 @@
// 调整处理人 // 调整处理人
adjustmentHandler() { adjustmentHandler() {
if (this.tableRow.length === 1 && !this.tableRow[0].endTime) { if (this.tableRow.length === 1 && !this.tableRow[0].endTime) {
if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3'){ if (this.$route.query.oldAndNew == 'new' && (this.$route.query.flowType == '3' || this.$route.query.flowType == 'buss1')){
if (this.tableRow[0].taskId){ if (this.tableRow[0].taskId){
this.drawerModal = true this.drawerModal = true
this.drawerTitle = '调整处理人' this.drawerTitle = '调整处理人'
@@ -1361,7 +1361,7 @@
if (res.success) { if (res.success) {
this.drawerModal = false this.drawerModal = false
this.$message.success('调整成功') this.$message.success('调整成功')
if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3') { if (this.$route.query.oldAndNew == 'new' && (this.$route.query.flowType == '3' || this.$route.query.flowType == 'buss1')) {
this.getProcessList() this.getProcessList()
} else { } else {
this.processNum() this.processNum()
@@ -1415,7 +1415,7 @@
processTable() { processTable() {
let url = '' let url = ''
let query = {} let query = {}
if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3') { if (this.$route.query.oldAndNew == 'new' && (this.$route.query.flowType == '3' || this.$route.query.flowType == 'buss1')) {
url = '/lawss/activiti/queryFlowHistoryList' url = '/lawss/activiti/queryFlowHistoryList'
query = { query = {
actiProcInstId: this.$route.query.actiProcInstId, actiProcInstId: this.$route.query.actiProcInstId,
@@ -1450,7 +1450,7 @@
}, },
// 导出事件 // 导出事件
exportStandard() { exportStandard() {
if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3') { if (this.$route.query.oldAndNew == 'new' && (this.$route.query.flowType == '3' || this.$route.query.flowType == 'buss1')) {
const ids = [] const ids = []
if (this.tableRow.length > 0) { if (this.tableRow.length > 0) {
this.tableRow.map(item => { this.tableRow.map(item => {
@@ -1639,7 +1639,7 @@
} }
}, },
mounted() { mounted() {
if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3') { if (this.$route.query.oldAndNew == 'new' && (this.$route.query.flowType == '3' || this.$route.query.flowType == 'buss1')) {
this.getProcessList() this.getProcessList()
} else { } else {
this.processNum() this.processNum()