diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue index 273add139..b0e4d6013 100644 --- a/src/pages/processCenter/pages/processDetail/index.vue +++ b/src/pages/processCenter/pages/processDetail/index.vue @@ -4,7 +4,7 @@
- +
@@ -14,28 +14,37 @@
导出 + class="common-button-default export-button" + round + icon="export" + title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项" + @click="exportStandard" + > + 导出 + 查看流程数据 + class="common-button-default" + round + @click="seeProcessLast" + > + 查看流程数据 + 调整处理人 - 汇总流程 + v-if="tzclrEnable" + class="common-button-default" + round + @click="adjustmentHandler" + > + 调整处理人 + + + 汇总流程 + @@ -43,75 +52,77 @@ - - - - - + + + + +
- - + type="selection" + width="55" + align="center" + /> + + + - - - - + prop="endTime" + label="完成时间" + align="center" + > + prop="comment" + label="流程信息" + align="center" + > + prop="completeFlag" + label="状态" + align="center" + > @@ -120,22 +131,22 @@ 流程列表加载中 - - - - - - - - - - + check-box + :is-title="drawerTitle" + :is-visible.sync="drawerModal" + :nodeList="nodeList" + @checkedRole="checkedRole" + /> + + + + + + + + + +
@@ -147,11 +158,11 @@ import axios from 'axios' import eventBus from '@/common/eventHub' export default { - name: 'processDetail', + name: 'ProcessDetail', data () { return { - approveShow:false, - approveRowIndex:0, + approveShow: false, + approveRowIndex: 0, assigneeNewLoading: false, // 调整处理人确定loading loginPeople: '', // 调整处理人抽屉状态 @@ -205,24 +216,24 @@ export default { }) }, // 汇总流程 - approveHandler(){ - let index = this.detailData.length - 1 // 当前流程任务最后一步index - let isEnd = true - let row = {...this.detailData[this.approveRowIndex+1]}//汇总页下一步拿到数据 - if(this.approveRowIndex ===this.detailData.length-1){ //最后一步 - row = {...this.detailData[this.approveRowIndex]} + approveHandler () { + const index = this.detailData.length - 1 // 当前流程任务最后一步index + const isEnd = true + 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] + const currentItem = this.detailData[this.approveRowIndex] row.currentItem = currentItem - let prcType = this.detailData[index].prcType // 流程类型 + const prcType = this.detailData[index].prcType // 流程类型 if (isEnd) { if (this.$store.state.detailMap !== '') { - let lastDetailMap = this.$store.getters.getLastDetailMap + const lastDetailMap = this.$store.getters.getLastDetailMap lastDetailMap.push(this.$store.state.detailMap) this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap)) } @@ -233,88 +244,88 @@ export default { // 根据type判断跳转具体流程页面 if (prcType === '1') { // 标准入库流程数据 //第一步 - this.toProcessDetail('bzrkStep1-1',row) - }else if(prcType === '2'){ - //标准调研流程 //第五步 - this.toProcessDetail('bzdyStep5-1',row) - }else if(prcType === '3'){ - //标准征求意见 第七步 - this.toProcessDetail('bzzqyjStep5-1',row) - }else if(prcType === '4'){ - //标准清单发布流程数据 第一步 - this.toProcessDetail('bzqdfbStep1_1',row) + this.toProcessDetail('bzrkStep1-1', row) + }else if(prcType === '2') { + // 标准调研流程 //第五步 + this.toProcessDetail('bzdyStep5-1', row) + }else if(prcType === '3') { + // 标准征求意见 第七步 + this.toProcessDetail('bzzqyjStep5-1', row) + }else if(prcType === '4') { + // 标准清单发布流程数据 第一步 + this.toProcessDetail('bzqdfbStep1_1', row) } else if(prcType === '9') { - //标准解读流程 数据汇总页面 最后一步 暂时没有 + // 标准解读流程 数据汇总页面 最后一步 暂时没有 this.toProcessDetail('bzjdStep6-1', row) - }else if (prcType === '5'){ - //标准合规评估流程 最后一步 - this.toProcessDetail('bzpgStep8-2',row) - }else if(prcType === '6'){ - //项目合规评估流程 最后一步 + }else if (prcType === '5') { + // 标准合规评估流程 最后一步 + this.toProcessDetail('bzpgStep8-2', row) + }else if(prcType === '6') { + // 项目合规评估流程 最后一步 // this.toProcessDetail('xmpg2Step12-1',row) - this.toProcessDetail('xmpgStep5-1',row) - }else if(prcType === '10'){ - //项目清单确认 最后一步 - this.toProcessDetail('xmqdqrStep4-1',row) + this.toProcessDetail('xmpgStep5-1', row) + }else if(prcType === '10') { + // 项目清单确认 最后一步 + this.toProcessDetail('xmqdqrStep4-1', row) }else if (prcType === '8') { // 未符合项整改 3 - this.toProcessDetail('wfhxzgStep3-1',row) - }else if(prcType === 'buss1'){ - //企标制修订 技术标准 第9 - this.toProcessDetail('bussLibrary11-1',row) - }else if(prcType === 'buss2'){ - //企标 产品标准 6 - this.toProcessDetail('bussLibraryProduct6-1',row) - }else if(prcType === 'buss3'){ - //企标复审 4 - this.toProcessDetail('bussFs2-1',row) - }else if(prcType === '24'){ - //企标废止 3 - this.toProcessDetail('qbfzStep4-1',row) - }else if(prcType === '25'){ - //企标制修订计划管控 1 - this.toProcessDetail('qbzxdjhgkStep1-1',row) - }else if(prcType === '26'){ - //企标制修订计划立项 1 - this.toProcessDetail('qbzxdlxStep1-1', row) + this.toProcessDetail('wfhxzgStep3-1', row) + }else if(prcType === 'buss1') { + // 企标制修订 技术标准 第9 + this.toProcessDetail('bussLibrary11-1', row) + }else if(prcType === 'buss2') { + // 企标 产品标准 6 + this.toProcessDetail('bussLibraryProduct6-1', row) + }else if(prcType === 'buss3') { + // 企标复审 4 + this.toProcessDetail('bussFs2-1', row) + }else if(prcType === '24') { + // 企标废止 3 + this.toProcessDetail('qbfzStep4-1', row) + }else if(prcType === '25') { + // 企标制修订计划管控 1 + this.toProcessDetail('qbzxdjhgkStep1-1', row) + }else if(prcType === '26') { + // 企标制修订计划立项 1 + this.toProcessDetail('qbzxdlxStep1-1', row) } else if (prcType === '33') { - let data = [] - this.detailData.forEach(res => { - if (res.taskDefinitionKey == 'PolicySolicitOpinionProcessKey11') { - data.push(res) - } - }) - this.$router.push({ - path: '/policyConsultation', - query: { - taskIds: data[0].id, - prcNum: data[0].prcNum, - prcName: data[0].prcName, - prcType: data[0].prcType, - prcId: data[0].processInstanceId, - taskDefinitionKey: data[0].taskDefinitionKey, - operate: 'view', - } - }) + const data = [] + this.detailData.forEach(res => { + if (res.taskDefinitionKey == 'PolicySolicitOpinionProcessKey11') { + data.push(res) + } + }) + this.$router.push({ + path: '/policyConsultation', + query: { + taskIds: data[0].id, + prcNum: data[0].prcNum, + prcName: data[0].prcName, + prcType: data[0].prcType, + prcId: data[0].processInstanceId, + taskDefinitionKey: data[0].taskDefinitionKey, + operate: 'view', + } + }) } else if (prcType === '34') { - let data = [] - this.detailData.forEach(res => { - if (res.taskDefinitionKey == 'PolicyComplianceProgramReviewProcessKey11') { - data.push(res) - } - }) - this.$router.push({ - path: '/policyComplianceReview', - query: { - taskIds: data[0].id, - prcNum: data[0].prcNum, - prcName: data[0].prcName, - prcType: data[0].prcType, - prcId: data[0].processInstanceId, - taskDefinitionKey: data[0].taskDefinitionKey, - operate: 'view', - } - }) + const data = [] + this.detailData.forEach(res => { + if (res.taskDefinitionKey == 'PolicyComplianceProgramReviewProcessKey11') { + data.push(res) + } + }) + this.$router.push({ + path: '/policyComplianceReview', + query: { + taskIds: data[0].id, + prcNum: data[0].prcNum, + prcName: data[0].prcName, + prcType: data[0].prcType, + prcId: data[0].processInstanceId, + taskDefinitionKey: data[0].taskDefinitionKey, + operate: 'view', + } + }) } } }, @@ -324,13 +335,13 @@ export default { * @Description: 查看流程最后一步 */ seeProcessLast () { - let index = this.detailData.length - 1 // 当前流程任务最后一步index - let isEnd = true - let row = {...this.detailData[0]} + const index = this.detailData.length - 1 // 当前流程任务最后一步index + const isEnd = true + const row = { ...this.detailData[0] } row.taskIds = row.id row.taskInfo = row.name row.tabsName = this.$route.query.tabsName - let prcType = this.detailData[index].prcType // 流程类型 + const prcType = this.detailData[index].prcType // 流程类型 console.log(prcType); // 判断当前流程是否已全部办理完成 // this.detailData.map(item => { @@ -340,7 +351,7 @@ export default { // }) if (isEnd) { if (this.$store.state.detailMap !== '') { - let lastDetailMap = this.$store.getters.getLastDetailMap + const lastDetailMap = this.$store.getters.getLastDetailMap lastDetailMap.push(this.$store.state.detailMap) this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap)) } @@ -351,133 +362,133 @@ export default { // 根据type判断跳转具体流程页面 if (prcType === '1') { // 标准入库流程数据 - this.toProcessDetail('bzrkStep1',row) - }else if(prcType === 'laws1'){ - //政策入库 + this.toProcessDetail('bzrkStep1', row) + }else if(prcType === 'laws1') { + // 政策入库 // this.toProcessDetail('zcrkStep1',row) - this.toProcessDetailForParams('policyWarehousing1',row) - }else if(prcType === 'laws2'){ - //政策征求意见流程 - this.toProcessDetail('zczqyjStep1',row) - }else if(prcType === 'laws3'){ - //重点认证标准/政策合规性项目审查流程 - this.toProcessDetail('zdrzbzORzchgxxmscStep1',row) - }else if(prcType === 'buss1'){ - //企标入库 - this.toProcessDetail('bussLibrary1',row) - }else if(prcType === 'buss2'){ - //企标入库 - this.toProcessDetail('bussLibraryProduct1',row) - }else if(prcType === 'buss3'){ - //企标复审 - this.toProcessDetail('qbfsStep1',row) - }else if(prcType === '4'){ - //标准清单发布流程数据 - this.toProcessDetail('bzqdfbStep1',row) - }else if (prcType === '5'){ - //标准项目合规评估 - this.toProcessDetail('bzpgStep1',row) - }else if(prcType === '6'){ - //标准项目合规评估 项目维度 - this.toProcessDetail('xmpg2Step1',row) + this.toProcessDetailForParams('policyWarehousing1', row) + }else if(prcType === 'laws2') { + // 政策征求意见流程 + this.toProcessDetail('zczqyjStep1', row) + }else if(prcType === 'laws3') { + // 重点认证标准/政策合规性项目审查流程 + this.toProcessDetail('zdrzbzORzchgxxmscStep1', row) + }else if(prcType === 'buss1') { + // 企标入库 + this.toProcessDetail('bussLibrary1', row) + }else if(prcType === 'buss2') { + // 企标入库 + this.toProcessDetail('bussLibraryProduct1', row) + }else if(prcType === 'buss3') { + // 企标复审 + this.toProcessDetail('qbfsStep1', row) + }else if(prcType === '4') { + // 标准清单发布流程数据 + this.toProcessDetail('bzqdfbStep1', row) + }else if (prcType === '5') { + // 标准项目合规评估 + this.toProcessDetail('bzpgStep1', row) + }else if(prcType === '6') { + // 标准项目合规评估 项目维度 + this.toProcessDetail('xmpg2Step1', row) } else if (prcType === '8') { // 未符合项整改 - this.toProcessDetail('wfhxzgStep1',row) - } else if(prcType === '9'){ - this.toProcessDetail('bzjdStep1',row) - //标准调研流程 - }else if(prcType === '2'){ - this.toProcessDetail('bzdyStep1',row) - }else if(prcType === '3'){ - //标准征求意见 - this.toProcessDetail('bzzqyjStep1',row) - }else if(prcType === '10'){ - //项目清单确认 - this.toProcessDetail('xmqdqrStep1',row, 'unShowReceipt') - }else if(prcType === '14'){ - //加入标准化协会信息备案流程 - this.toProcessDetail('cywbbzzxdStep1',row,) - }else if(prcType === '15'){ - //加入标准化协会信息备案流程 - this.toProcessDetail('jrbzhxhStep1',row,) - } else if(prcType === '16'){ - //外部署名 - this.toProcessDetail('wbsmStep1',row) + this.toProcessDetail('wfhxzgStep1', row) + } else if(prcType === '9') { + this.toProcessDetail('bzjdStep1', row) + // 标准调研流程 + }else if(prcType === '2') { + this.toProcessDetail('bzdyStep1', row) + }else if(prcType === '3') { + // 标准征求意见 + this.toProcessDetail('bzzqyjStep1', row) + }else if(prcType === '10') { + // 项目清单确认 + this.toProcessDetail('xmqdqrStep1', row, 'unShowReceipt') + }else if(prcType === '14') { + // 加入标准化协会信息备案流程 + this.toProcessDetail('cywbbzzxdStep1', row,) + }else if(prcType === '15') { + // 加入标准化协会信息备案流程 + this.toProcessDetail('jrbzhxhStep1', row,) + } else if(prcType === '16') { + // 外部署名 + this.toProcessDetail('wbsmStep1', row) }else if(prcType === '20') { // 入会流程 - this.toProcessDetail('bzrhStep1',row) + this.toProcessDetail('bzrhStep1', row) } else if(prcType === '21') { // 参会流程 - this.toProcessDetail('bzchStep1',row) - } else if(prcType === '23'){ - //企标复审 - this.toProcessDetail('qbfsStep1',row) - }else if(prcType === '24'){ - //企标废止 - this.toProcessDetail('qbfzStep1',row) - }else if(prcType === '25'){ - //企标制修订计划管控 - this.toProcessDetail('qbzxdjhgkStep1',row) - }else if(prcType === '26'){ - //企标制修订计划立项 - this.toProcessDetail('qbzxdlxStep1',row) - }else if(prcType === '17'){ - //政策课题入会发起流程 - this.toProcessDetail('zcrhStep1',row) - }else if(prcType === '18'){ - //政策课题参会发起流程 - this.toProcessDetail('zcchStep1',row) - }else if(prcType === '12'){ - //政策课题参会发起流程 - this.toProcessDetail('zdrzbzORzchgxxmscStep1',row) - }else if(prcType === '29'){ - //内外部会议入库 + this.toProcessDetail('bzchStep1', row) + } else if(prcType === '23') { + // 企标复审 + this.toProcessDetail('qbfsStep1', row) + }else if(prcType === '24') { + // 企标废止 + this.toProcessDetail('qbfzStep1', row) + }else if(prcType === '25') { + // 企标制修订计划管控 + this.toProcessDetail('qbzxdjhgkStep1', row) + }else if(prcType === '26') { + // 企标制修订计划立项 + this.toProcessDetail('qbzxdlxStep1', row) + }else if(prcType === '17') { + // 政策课题入会发起流程 + this.toProcessDetail('zcrhStep1', row) + }else if(prcType === '18') { + // 政策课题参会发起流程 + this.toProcessDetail('zcchStep1', row) + }else if(prcType === '12') { + // 政策课题参会发起流程 + this.toProcessDetail('zdrzbzORzchgxxmscStep1', row) + }else if(prcType === '29') { + // 内外部会议入库 // this.toProcessDetail('policyMeetings1',row) - this.toProcessDetailForParams('policyMeetings1',row) - } else if(prcType === '30'){ - //政策课题入会流程 + this.toProcessDetailForParams('policyMeetings1', row) + } else if(prcType === '30') { + // 政策课题入会流程 const params = { type: 'step1' } - this.toProcessDetailForParams('policyTopicEnrollment',row, params) - } else if(prcType === '31'){ - //政策课题参会流程 + this.toProcessDetailForParams('policyTopicEnrollment', row, params) + } else if(prcType === '31') { + // 政策课题参会流程 const params = { type: 'step1' } this.toProcessDetailForParams('policyTopicParticipation', row, params) - } else if(prcType === '32'){ + } else if(prcType === '32') { // 政策法规资料入库流程 const params = { type: 'step1' } this.toProcessDetailForParams('policyRegulatoryMaterials', row, params) } else if (prcType === '33') { - this.$router.push({ - path: '/policyConsultation', - query: { - taskIds: row.id, - prcNum: row.prcNum, - prcId: row.processInstanceId, - prcName: row.prcName, - prcType: row.prcType, - taskDefinitionKey: row.taskDefinitionKey, - operate: 'view', - } - }) + this.$router.push({ + path: '/policyConsultation', + query: { + taskIds: row.id, + prcNum: row.prcNum, + prcId: row.processInstanceId, + prcName: row.prcName, + prcType: row.prcType, + taskDefinitionKey: row.taskDefinitionKey, + operate: 'view', + } + }) } else if (prcType === '34') { - this.$router.push({ - path: '/policyComplianceReview', - query: { - taskIds: row.id, - prcNum: row.prcNum, - prcName: row.prcName, - prcType: row.prcType, - prcId: row.processInstanceId, - taskDefinitionKey: row.taskDefinitionKey, - operate: 'view', - } - }) + this.$router.push({ + path: '/policyComplianceReview', + query: { + taskIds: row.id, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType, + prcId: row.processInstanceId, + taskDefinitionKey: row.taskDefinitionKey, + operate: 'view', + } + }) } } else { this.$message.warning('当前流程未全部办理完成,无法查看') } }, - toProcessDetailForParams (componentName,row, params) { + toProcessDetailForParams (componentName, row, params) { this.$router.push({ name: componentName, query: { @@ -491,8 +502,8 @@ export default { params }) }, - toProcessDetail(componentName,row,unShowReceipt) { - let data = { + toProcessDetail (componentName, row, unShowReceipt) { + const data = { name: componentName, query: { bpnId: row.bpnId, @@ -501,20 +512,20 @@ export default { prcNum: row.prcNum, prcName: row.prcName, prcType: row.prcType, - disabledXX:true, - verifySarStandard:true, - index:this.approveRowIndex, - processInstanceId:row.processInstanceId + disabledXX: true, + verifySarStandard: true, + index: this.approveRowIndex, + processInstanceId: row.processInstanceId }, - params:{ - currentItem:row.currentItem + params: { + currentItem: row.currentItem } } if (unShowReceipt) { data.query.unShowReceipt = true } - let routeUrl =this.$router.resolve(data) - window.open(routeUrl.href, "_blank") + const routeUrl = this.$router.resolve(data) + window.open(routeUrl.href, '_blank') // this.$router.push(data) }, // table行选择事件 @@ -526,13 +537,13 @@ export default { // 判断选中一条数据、未完成数据、当前登陆人数据 if (this.tableRow.length === 1 && !this.tableRow[0].endTime && this.tableRow[0].assigneeId === this.$store.getters.userInfo.userId) { if (this.$store.state.detailMap !== '') { - let lastDetailMap = this.$store.getters.getLastDetailMap + const lastDetailMap = this.$store.getters.getLastDetailMap lastDetailMap.push(this.$store.state.detailMap) this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap)) } // this.tableRow[0].processType = this.$route.params.processType this.$store.commit('setDetailMap', this.$route.path) - let row = { + const row = { taskIds: this.tableRow[0].id, prcId: this.tableRow[0].processDefinitionId, prcNum: this.tableRow[0].prcNum, @@ -544,7 +555,7 @@ export default { this.setHandleInfo((JSON.stringify(row))) const prcType = row.prcType switch (prcType) { - // 法规入库及评估流程 + // 法规入库及评估流程 case '1': if (row.taskInfo === '法规工程师修改') { this.$router.push({ @@ -1068,15 +1079,15 @@ export default { if (row.taskInfo === '法规联络人发起复审或企标工程师选择法规联络人') { this.$router.push({ path: '/qbfs/step1', - query:{ - taskIds:row.taskIds + query: { + taskIds: row.taskIds } }) } else if (row.taskInfo === '选择法规联络人') { this.$router.push({ path: '/qbfs/step2', - query:{ - taskIds:row.taskIds + query: { + taskIds: row.taskIds } }) } @@ -1156,21 +1167,21 @@ export default { */ urge (row) { this.$http.postData('person/personMsg/saveNew', - { - msgContent: '流程编号为' + row.prcNum + '的流程,请尽快办理。', - msgTitle: '流程编号' + row.prcNum, - userId: row.assigneeId, - msgType: 'TEXT' - }, - { - loading: 'loading', - _this: this - }, res => { - this.clearanceCondition() - this.processTable() - this.$message.success('催办成功') - }, e => { - }) + { + msgContent: '流程编号为' + row.prcNum + '的流程,请尽快办理。', + msgTitle: '流程编号' + row.prcNum, + userId: row.assigneeId, + msgType: 'TEXT' + }, + { + loading: 'loading', + _this: this + }, res => { + this.clearanceCondition() + this.processTable() + this.$message.success('催办成功') + }, e => { + }) }, // 请求转换流程图 processNum () { @@ -1200,7 +1211,7 @@ export default { this.detailData = res }, e => {}) }, - ...mapMutations(['setProcess', 'setHandleInfo', 'setPrcLastDetail']), + ...mapMutations([ 'setProcess', 'setHandleInfo', 'setPrcLastDetail' ]), processFlag (res) { // if (res.data.hisTaskExcelVOList[0].processTypeFlag === '1' || res.data.hisTaskExcelVOList[0].processTypeFlag === '2' || res.data.hisTaskExcelVOList[0].processTypeFlag === '3' || res.data.hisTaskExcelVOList[0].processTypeFlag === '4' || // res.data.hisTaskExcelVOList[0].processTypeFlag === '5' || res.data.hisTaskExcelVOList[0].processTypeFlag === '6' || res.data.hisTaskExcelVOList[0].processTypeFlag === '8') { @@ -1213,7 +1224,7 @@ export default { }, // 导出事件 exportStandard () { - let ids = [] + const ids = [] if (this.tableRow.length > 0) { this.tableRow.map(item => { ids.push(item.id) @@ -1231,13 +1242,13 @@ export default { if (sortObj.column.order !== 'normal') { this.shunxu = '' this.paixu = '' - let order = sortObj.column.order + const order = sortObj.column.order switch (sortObj.column.property) { - // 任务步骤 + // 任务步骤 case 'name' : // 后台联调 this.paixu = 'name' - if (order === 'ascending'){ + if (order === 'ascending') { this.shunxu = 'asc' } else if (order === 'descending') { this.shunxu = 'desc' @@ -1247,7 +1258,7 @@ export default { case 'assignee' : // 后台联调 this.paixu = 'assignee' - if (order === 'ascending'){ + if (order === 'ascending') { this.shunxu = 'asc' } else if (order === 'descending') { this.shunxu = 'desc' @@ -1257,7 +1268,7 @@ export default { case 'createTime' : // 后台联调 this.paixu = 'startTime' - if (order === 'ascending'){ + if (order === 'ascending') { this.shunxu = 'asc' } else if (order === 'descending') { this.shunxu = 'desc' @@ -1268,17 +1279,17 @@ export default { this.processTable() }, // 流程审批按钮是否显示 - getApproveShow(){ - this.$http.get('lawss/activiti/get_gather_by_instance',{ + getApproveShow () { + this.$http.get('lawss/activiti/get_gather_by_instance', { prcNum: this.$route.query.prcNum, sortWord: this.shunxu ? this.paixu : '', shunxu: this.shunxu - },{ + }, { loading: 'loading', _this: this }, res => { - this.approveShow = res[res.length-1].isGather - this.approveRowIndex = res[res.length-1].index + this.approveShow = res[res.length - 1].isGather + this.approveRowIndex = res[res.length - 1].index }, e => {}) } }, @@ -1301,7 +1312,7 @@ export default { /** * 调整处理人按钮是否显示 */ - tzclrEnable() { + tzclrEnable () { return this.$route.query.tabsName === 'MonitorProcess' } }, diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue index 8945ef755..67fe39e9b 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue @@ -2,7 +2,7 @@