style: 格式化代码

This commit is contained in:
zyn
2023-12-29 10:25:41 +08:00
parent 00f80ac617
commit cdf80001bc
3 changed files with 1190 additions and 1435 deletions
@@ -4,7 +4,7 @@
<div class="flow-chart"> <div class="flow-chart">
<div class="flow-header"> <div class="flow-header">
<div class="back" title="返回" @click="back"> <div class="back" title="返回" @click="back">
<i class="el-icon-back"></i> <i class="el-icon-back" />
</div> </div>
<!-- <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>
@@ -16,26 +16,35 @@
<el-button <el-button
class="common-button-default export-button" class="common-button-default export-button"
round round
@click="exportStandard"
icon="export" icon="export"
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项" title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
>导出</el-button> @click="exportStandard"
>
导出
</el-button>
<el-button <el-button
class="common-button-default" class="common-button-default"
round round
@click="seeProcessLast" @click="seeProcessLast"
>查看流程数据</el-button> >
查看流程数据
</el-button>
<el-button <el-button
v-if="tzclrEnable" v-if="tzclrEnable"
class="common-button-default" class="common-button-default"
round
@click="adjustmentHandler" @click="adjustmentHandler"
round >
>调整处理人</el-button> 调整处理人
<el-button v-if="approveShow" </el-button>
<el-button
v-if="approveShow"
class="common-button-default" class="common-button-default"
@click="approveHandler"
round round
>汇总流程</el-button> @click="approveHandler"
>
汇总流程
</el-button>
<!--临时屏蔽 start--> <!--临时屏蔽 start-->
<!--<el-button--> <!--<el-button-->
<!-- class="common-button-default"--> <!-- class="common-button-default"-->
@@ -51,8 +60,8 @@
</div> </div>
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%"
ref="selection" ref="selection"
height="100%"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
@@ -66,28 +75,27 @@
<el-table-column <el-table-column
type="selection" type="selection"
width="55" width="55"
align="center"> align="center"
</el-table-column> />
<el-table-column type="index" width="55" label="序号" align="center" /> <el-table-column type="index" width="55" label="序号" align="center" />
<el-table-column <el-table-column
prop="name" prop="name"
label="任务步骤" label="任务步骤"
align="center" align="center"
sortable="custom" sortable="custom"
> />
</el-table-column>
<el-table-column <el-table-column
prop="assignee" prop="assignee"
label="任务受理人" label="任务受理人"
align="center" align="center"
sortable="custom" sortable="custom"
> />
</el-table-column>
<el-table-column <el-table-column
prop="createTime" prop="createTime"
label="创建时间" label="创建时间"
sortable="custom" sortable="custom"
align="center"> align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span> <span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
</template> </template>
@@ -95,7 +103,8 @@
<el-table-column <el-table-column
prop="endTime" prop="endTime"
label="完成时间" label="完成时间"
align="center"> align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span> <span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
</template> </template>
@@ -103,7 +112,8 @@
<el-table-column <el-table-column
prop="comment" prop="comment"
label="流程信息" label="流程信息"
align="center"> align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.commentText }}</span> <span>{{ scope.row.commentText }}</span>
</template> </template>
@@ -111,7 +121,8 @@
<el-table-column <el-table-column
prop="completeFlag" prop="completeFlag"
label="状态" label="状态"
align="center"> align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.endTime ? '已完成' : scope.row.receiveStatus ? '已接收' : '未完成' }}</span> <span>{{ scope.row.endTime ? '已完成' : scope.row.receiveStatus ? '已接收' : '未完成' }}</span>
</template> </template>
@@ -123,9 +134,9 @@
check-box check-box
:is-title="drawerTitle" :is-title="drawerTitle"
:is-visible.sync="drawerModal" :is-visible.sync="drawerModal"
@checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> @checkedRole="checkedRole"
/>
<!-- <org-table--> <!-- <org-table-->
<!-- title="调整处理人"--> <!-- title="调整处理人"-->
<!-- :visible.sync="drawerModal"--> <!-- :visible.sync="drawerModal"-->
@@ -147,7 +158,7 @@ import axios from 'axios'
import eventBus from '@/common/eventHub' import eventBus from '@/common/eventHub'
export default { export default {
name: 'processDetail', name: 'ProcessDetail',
data () { data () {
return { return {
approveShow: false, approveShow: false,
@@ -206,8 +217,8 @@ export default {
}, },
// 汇总流程 // 汇总流程
approveHandler () { approveHandler () {
let index = this.detailData.length - 1 // 当前流程任务最后一步index const index = this.detailData.length - 1 // 当前流程任务最后一步index
let isEnd = true const isEnd = true
let row = { ...this.detailData[this.approveRowIndex + 1] }// 汇总页下一步拿到数据 let row = { ...this.detailData[this.approveRowIndex + 1] }// 汇总页下一步拿到数据
if(this.approveRowIndex === this.detailData.length - 1) { // 最后一步 if(this.approveRowIndex === this.detailData.length - 1) { // 最后一步
row = { ...this.detailData[this.approveRowIndex] } row = { ...this.detailData[this.approveRowIndex] }
@@ -216,13 +227,13 @@ export default {
row.taskInfo = row.name row.taskInfo = row.name
row.tabsName = this.$route.query.tabsName row.tabsName = this.$route.query.tabsName
let currentItem = this.detailData[this.approveRowIndex] const currentItem = this.detailData[this.approveRowIndex]
row.currentItem = currentItem row.currentItem = currentItem
let prcType = this.detailData[index].prcType // 流程类型 const prcType = this.detailData[index].prcType // 流程类型
if (isEnd) { if (isEnd) {
if (this.$store.state.detailMap !== '') { if (this.$store.state.detailMap !== '') {
let lastDetailMap = this.$store.getters.getLastDetailMap const lastDetailMap = this.$store.getters.getLastDetailMap
lastDetailMap.push(this.$store.state.detailMap) lastDetailMap.push(this.$store.state.detailMap)
this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap)) this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap))
} }
@@ -278,7 +289,7 @@ export default {
// 企标制修订计划立项 1 // 企标制修订计划立项 1
this.toProcessDetail('qbzxdlxStep1-1', row) this.toProcessDetail('qbzxdlxStep1-1', row)
} else if (prcType === '33') { } else if (prcType === '33') {
let data = [] const data = []
this.detailData.forEach(res => { this.detailData.forEach(res => {
if (res.taskDefinitionKey == 'PolicySolicitOpinionProcessKey11') { if (res.taskDefinitionKey == 'PolicySolicitOpinionProcessKey11') {
data.push(res) data.push(res)
@@ -297,7 +308,7 @@ export default {
} }
}) })
} else if (prcType === '34') { } else if (prcType === '34') {
let data = [] const data = []
this.detailData.forEach(res => { this.detailData.forEach(res => {
if (res.taskDefinitionKey == 'PolicyComplianceProgramReviewProcessKey11') { if (res.taskDefinitionKey == 'PolicyComplianceProgramReviewProcessKey11') {
data.push(res) data.push(res)
@@ -324,13 +335,13 @@ export default {
* @Description: 查看流程最后一步 * @Description: 查看流程最后一步
*/ */
seeProcessLast () { seeProcessLast () {
let index = this.detailData.length - 1 // 当前流程任务最后一步index const index = this.detailData.length - 1 // 当前流程任务最后一步index
let isEnd = true const isEnd = true
let row = {...this.detailData[0]} const row = { ...this.detailData[0] }
row.taskIds = row.id row.taskIds = row.id
row.taskInfo = row.name row.taskInfo = row.name
row.tabsName = this.$route.query.tabsName row.tabsName = this.$route.query.tabsName
let prcType = this.detailData[index].prcType // 流程类型 const prcType = this.detailData[index].prcType // 流程类型
console.log(prcType); console.log(prcType);
// 判断当前流程是否已全部办理完成 // 判断当前流程是否已全部办理完成
// this.detailData.map(item => { // this.detailData.map(item => {
@@ -340,7 +351,7 @@ export default {
// }) // })
if (isEnd) { if (isEnd) {
if (this.$store.state.detailMap !== '') { if (this.$store.state.detailMap !== '') {
let lastDetailMap = this.$store.getters.getLastDetailMap const lastDetailMap = this.$store.getters.getLastDetailMap
lastDetailMap.push(this.$store.state.detailMap) lastDetailMap.push(this.$store.state.detailMap)
this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap)) this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap))
} }
@@ -492,7 +503,7 @@ export default {
}) })
}, },
toProcessDetail (componentName, row, unShowReceipt) { toProcessDetail (componentName, row, unShowReceipt) {
let data = { const data = {
name: componentName, name: componentName,
query: { query: {
bpnId: row.bpnId, bpnId: row.bpnId,
@@ -513,8 +524,8 @@ export default {
if (unShowReceipt) { if (unShowReceipt) {
data.query.unShowReceipt = true data.query.unShowReceipt = true
} }
let routeUrl =this.$router.resolve(data) const routeUrl = this.$router.resolve(data)
window.open(routeUrl.href, "_blank") window.open(routeUrl.href, '_blank')
// this.$router.push(data) // this.$router.push(data)
}, },
// table行选择事件 // 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.tableRow.length === 1 && !this.tableRow[0].endTime && this.tableRow[0].assigneeId === this.$store.getters.userInfo.userId) {
if (this.$store.state.detailMap !== '') { if (this.$store.state.detailMap !== '') {
let lastDetailMap = this.$store.getters.getLastDetailMap const lastDetailMap = this.$store.getters.getLastDetailMap
lastDetailMap.push(this.$store.state.detailMap) lastDetailMap.push(this.$store.state.detailMap)
this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap)) this.$store.commit('setLastDetailMap', JSON.stringify(lastDetailMap))
} }
// this.tableRow[0].processType = this.$route.params.processType // this.tableRow[0].processType = this.$route.params.processType
this.$store.commit('setDetailMap', this.$route.path) this.$store.commit('setDetailMap', this.$route.path)
let row = { const row = {
taskIds: this.tableRow[0].id, taskIds: this.tableRow[0].id,
prcId: this.tableRow[0].processDefinitionId, prcId: this.tableRow[0].processDefinitionId,
prcNum: this.tableRow[0].prcNum, prcNum: this.tableRow[0].prcNum,
@@ -1213,7 +1224,7 @@ export default {
}, },
// 导出事件 // 导出事件
exportStandard () { exportStandard () {
let ids = [] const ids = []
if (this.tableRow.length > 0) { if (this.tableRow.length > 0) {
this.tableRow.map(item => { this.tableRow.map(item => {
ids.push(item.id) ids.push(item.id)
@@ -1231,7 +1242,7 @@ export default {
if (sortObj.column.order !== 'normal') { if (sortObj.column.order !== 'normal') {
this.shunxu = '' this.shunxu = ''
this.paixu = '' this.paixu = ''
let order = sortObj.column.order const order = sortObj.column.order
switch (sortObj.column.property) { switch (sortObj.column.property) {
// 任务步骤 // 任务步骤
case 'name' : case 'name' :
File diff suppressed because it is too large Load Diff
@@ -2,7 +2,7 @@
<template> <template>
<div class="task-draft v-class"> <div class="task-draft v-class">
<div class="search-area"> <div class="search-area">
<el-form :inline="true" :model="searchForm" ref="processSearch" class="label-input-form"> <el-form ref="processSearch" :inline="true" :model="searchForm" class="label-input-form">
<div class="search-area-item"> <div class="search-area-item">
<!-- <el-form-item label="流程名称" class="search-item" @keyup.enter.native="selectProcessBtn">--> <!-- <el-form-item label="流程名称" class="search-item" @keyup.enter.native="selectProcessBtn">-->
<!-- <el-input--> <!-- <el-input-->
@@ -29,51 +29,61 @@
> >
<el-option <el-option
v-for="item in processTypeList" v-for="item in processTypeList"
:value="item.value"
:key="item.value" :key="item.value"
:value="item.value"
:label="item.label" :label="item.label"
></el-option> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item class="search-item btn-box"> <el-form-item class="search-item btn-box">
<el-button <el-button
v-btn-permission="'255351d90836fad911d347da0e8c65b5'"
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
v-btn-permission="'255351d90836fad911d347da0e8c65b5'" @click="selectProcessBtn"
@click="selectProcessBtn">查询</el-button> >
查询
</el-button>
<el-button <el-button
v-btn-permission="'568cc2a4431e8ea0d1f65bd0c0805907'"
class="common-button-default" class="common-button-default"
size="mini" size="mini"
v-btn-permission="'568cc2a4431e8ea0d1f65bd0c0805907'" @click="resetSelect"
@click="resetSelect">清空</el-button> >
<el-button size="mini" type="danger" 清空
</el-button>
<el-button
v-btn-permission="'de85dfbf1ca4fff1f47d4908af13c284'" v-btn-permission="'de85dfbf1ca4fff1f47d4908af13c284'"
size="mini"
type="danger"
@click="dataDel" @click="dataDel"
>删除</el-button> >
删除
</el-button>
</el-form-item> </el-form-item>
</div> </div>
<div class="search-area-item"> <div class="search-area-item" />
</div>
</el-form> </el-form>
</div> </div>
<div class="content"> <div class="content">
<div class="table-wrap"> <div class="table-wrap">
<el-table <el-table
height="100%"
ref="selection" ref="selection"
height="100%"
:data="processList" :data="processList"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%; flex: auto;" style="width: 100%; flex: auto;"
border border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange"
>
<el-table-column <el-table-column
type="selection" type="selection"
width="55" width="55"
align="center"> align="center"
</el-table-column> />
<!-- <el-table-column--> <!-- <el-table-column-->
<!-- prop="prcNum"--> <!-- prop="prcNum"-->
<!-- label="流程编号"--> <!-- label="流程编号"-->
@@ -86,7 +96,8 @@
fixed="left" fixed="left"
width="55" width="55"
label="序号" label="序号"
align="center"> align="center"
>
<template slot-scope="{scope, column, $index}"> <template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (pageNo - 1) * pageSize }} {{ ($index + 1) + (pageNo - 1) * pageSize }}
</template> </template>
@@ -97,7 +108,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<a @click="dealWith(scope.row)" class="table-jump">{{ scope.row.prcName|| getPrcName(scope.row.prcType) }}</a> <a class="table-jump" @click="dealWith(scope.row)">{{ scope.row.prcName|| getPrcName(scope.row.prcType) }}</a>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column--> <!-- <el-table-column-->
@@ -112,8 +123,7 @@
prop="creatUserName" prop="creatUserName"
label="发起人" label="发起人"
align="center" align="center"
> />
</el-table-column>
<el-table-column <el-table-column
prop="creatTime" prop="creatTime"
label="创建日期" label="创建日期"
@@ -144,7 +154,8 @@
:page="pageNo" :page="pageNo"
:total="total" :total="total"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"></pagination> @pageSizeChange="pageSizeChange"
/>
<loading :loading="loading">数据获取中</loading> <loading :loading="loading">数据获取中</loading>
</div> </div>
</div> </div>
@@ -213,12 +224,12 @@ export default {
/** 删除按钮 */ /** 删除按钮 */
dataDel () { dataDel () {
if (this.processListSelect.length > 0) { if (this.processListSelect.length > 0) {
let msgIds = [] const msgIds = []
for (let i = 0; i < this.processListSelect.length; i++) { for (let i = 0; i < this.processListSelect.length; i++) {
let msgId = this.processListSelect[i].id const msgId = this.processListSelect[i].id
msgIds.push(msgId) msgIds.push(msgId)
} }
let delId = { const delId = {
id: msgIds.join(',') id: msgIds.join(',')
} }
this.$confirm('确定删除这些数据?', '提示', { this.$confirm('确定删除这些数据?', '提示', {
@@ -276,7 +287,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
} else if (mes.taskInfo === '申请人修订') { } else if (mes.taskInfo === '申请人修订') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bzrkStep4', name: 'bzrkStep4',
@@ -286,7 +296,6 @@ export default {
bpnId: id bpnId: id
} }
}) })
} }
}else { }else {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
@@ -298,7 +307,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
} }
break break
case 'buss1': case 'buss1':
@@ -313,7 +321,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '起草') { }else if (mes.taskInfo === '起草') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary1', name: 'bussLibrary1',
@@ -324,7 +331,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新起草') { }else if (mes.taskInfo === '重新起草') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryC1', name: 'bussLibraryC1',
@@ -336,7 +342,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '企标编写汇总') { }else if (mes.taskInfo === '企标编写汇总') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary3', name: 'bussLibrary3',
@@ -348,7 +353,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '标准化初审') { }else if (mes.taskInfo === '标准化初审') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary4', name: 'bussLibrary4',
@@ -359,7 +363,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新企标编写汇总') { }else if (mes.taskInfo === '重新企标编写汇总') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryC3', name: 'bussLibraryC3',
@@ -371,7 +374,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '征求意见') { }else if (mes.taskInfo === '征求意见') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary5', name: 'bussLibrary5',
@@ -383,7 +385,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '技术委员会评审、评审意见修改') { }else if (mes.taskInfo === '技术委员会评审、评审意见修改') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary6', name: 'bussLibrary6',
@@ -395,7 +396,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '标准化复审') { }else if (mes.taskInfo === '标准化复审') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary7', name: 'bussLibrary7',
@@ -407,7 +407,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新技术委员会评审、评审意见修改') { }else if (mes.taskInfo === '重新技术委员会评审、评审意见修改') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryC6', name: 'bussLibraryC6',
@@ -419,7 +418,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '起草单位高级经理审核') { }else if (mes.taskInfo === '起草单位高级经理审核') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary8', name: 'bussLibrary8',
@@ -431,7 +429,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '标准法规部高级经理审核') { }else if (mes.taskInfo === '标准法规部高级经理审核') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary9', name: 'bussLibrary9',
@@ -443,7 +440,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '审定') { }else if (mes.taskInfo === '审定') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary10', name: 'bussLibrary10',
@@ -454,7 +450,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '批准') { }else if (mes.taskInfo === '批准') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary11', name: 'bussLibrary11',
@@ -465,7 +460,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '主起草人培训') { }else if (mes.taskInfo === '主起草人培训') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary12', name: 'bussLibrary12',
@@ -476,7 +470,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '发布') { }else if (mes.taskInfo === '发布') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary13', name: 'bussLibrary13',
@@ -488,7 +481,6 @@ export default {
} }
}) })
} }
}else { }else {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibrary1', name: 'bussLibrary1',
@@ -499,7 +491,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
} }
break break
case 'buss2': case 'buss2':
@@ -514,7 +505,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '起草') { }else if (mes.taskInfo === '起草') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryProduct1', name: 'bussLibraryProduct1',
@@ -525,7 +515,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '企标编写汇总') { }else if (mes.taskInfo === '企标编写汇总') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryProduct3', name: 'bussLibraryProduct3',
@@ -536,7 +525,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新企标编写汇总') { }else if (mes.taskInfo === '重新企标编写汇总') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryProductC3', name: 'bussLibraryProductC3',
@@ -547,7 +535,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '征求意见') { }else if (mes.taskInfo === '征求意见') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryProduct5', name: 'bussLibraryProduct5',
@@ -558,7 +545,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '意见汇总及标准修改') { }else if (mes.taskInfo === '意见汇总及标准修改') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryProduct6', name: 'bussLibraryProduct6',
@@ -569,7 +555,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新意见汇总及标准修改') { }else if (mes.taskInfo === '重新意见汇总及标准修改') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryProductC6', name: 'bussLibraryProductC6',
@@ -580,7 +565,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '发布') { }else if (mes.taskInfo === '发布') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryProduct13', name: 'bussLibraryProduct13',
@@ -592,7 +576,6 @@ export default {
} }
}) })
} }
}else { }else {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussLibraryProduct1', name: 'bussLibraryProduct1',
@@ -603,7 +586,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
} }
break break
case 'buss3': case 'buss3':
@@ -618,7 +600,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '汇总') { }else if (mes.taskInfo === '汇总') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussFs2', name: 'bussFs2',
@@ -629,7 +610,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '重新汇总') { }else if (mes.taskInfo === '重新汇总') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bussFsC2', name: 'bussFsC2',
@@ -640,7 +620,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if (mes.taskInfo === '复审') { }else if (mes.taskInfo === '复审') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'qbfsStepSub2', name: 'qbfsStepSub2',
@@ -652,7 +631,6 @@ export default {
} }
}) })
} }
}else { }else {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'qbfsStep1', name: 'qbfsStep1',
@@ -663,7 +641,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
} }
break break
// 法规入库及评估流程 // 法规入库及评估流程
@@ -702,7 +679,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
} else if (mes.taskInfo === '根据会签意见修订') { } else if (mes.taskInfo === '根据会签意见修订') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bzqdfbStep1-3', name: 'bzqdfbStep1-3',
@@ -713,7 +689,6 @@ export default {
} }
}) })
} }
}else { }else {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'bzqdfbStep1-1', name: 'bzqdfbStep1-1',
@@ -724,7 +699,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
} }
break break
case '5': case '5':
@@ -824,7 +798,7 @@ export default {
bpnId: id bpnId: id
} }
}) })
window.open(routeUrl10.href, "_blank"); window.open(routeUrl10.href, '_blank');
break break
case '15': case '15':
if(mes !== null && mes.taskInfo !== null) { if(mes !== null && mes.taskInfo !== null) {
@@ -838,7 +812,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if(mes.taskInfo === '入会信息填报') { }else if(mes.taskInfo === '入会信息填报') {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'jrbzhxhStep2', name: 'jrbzhxhStep2',
@@ -848,7 +821,6 @@ export default {
bpnId: id, bpnId: id,
} }
}) })
} }
}else{ }else{
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
@@ -859,7 +831,6 @@ export default {
bpnId: id bpnId: id
} }
}) })
} }
break break
case '16': case '16':
@@ -871,7 +842,7 @@ export default {
bpnId: id bpnId: id
} }
}) })
window.open(routeUrl11.href, "_blank"); window.open(routeUrl11.href, '_blank');
break break
case '20': case '20':
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
@@ -882,7 +853,7 @@ export default {
bpnId: id bpnId: id
} }
}) })
window.open(routeUrl12.href, "_blank"); window.open(routeUrl12.href, '_blank');
break break
// 政策入库、 // 政策入库、
case 'laws1': case 'laws1':
@@ -988,7 +959,6 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else { }else {
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
name: 'qbzxdjhgkStep1', name: 'qbzxdjhgkStep1',
@@ -998,7 +968,6 @@ export default {
bpnId: id bpnId: id
} }
}) })
} }
}else{ }else{
routeUrl = this.$router.resolve({ routeUrl = this.$router.resolve({
@@ -1009,7 +978,6 @@ export default {
bpnId: id bpnId: id
} }
}) })
} }
break break
@@ -1102,7 +1070,7 @@ export default {
break break
} }
window.open(routeUrl.href,"_blank") window.open(routeUrl.href, '_blank')
}, },
...mapMutations([ 'setProcess', 'setHandleInfo' ]), ...mapMutations([ 'setProcess', 'setHandleInfo' ]),
...mapActions([ 'setMenu' ]) ...mapActions([ 'setMenu' ])